mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
feat(server): add checksum algorithm field (#26573)
* feat: add checksum algorithm field * fix comments * chore: rename migration --------- Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
parent
47b45453c8
commit
22bf7c2005
14 changed files with 69 additions and 6 deletions
|
|
@ -5,6 +5,7 @@ import {
|
|||
AssetFileType,
|
||||
AssetType,
|
||||
AssetVisibility,
|
||||
ChecksumAlgorithm,
|
||||
MemoryType,
|
||||
Permission,
|
||||
PluginContext,
|
||||
|
|
@ -112,6 +113,7 @@ export type Memory = {
|
|||
export type Asset = {
|
||||
id: string;
|
||||
checksum: Buffer<ArrayBufferLike>;
|
||||
checksumAlgorithm: ChecksumAlgorithm;
|
||||
deviceAssetId: string;
|
||||
deviceId: string;
|
||||
fileCreatedAt: Date;
|
||||
|
|
@ -330,6 +332,7 @@ export const columns = {
|
|||
asset: [
|
||||
'asset.id',
|
||||
'asset.checksum',
|
||||
'asset.checksumAlgorithm',
|
||||
'asset.deviceAssetId',
|
||||
'asset.deviceId',
|
||||
'asset.fileCreatedAt',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue