feat: use stream for template migrations (#16700)

This commit is contained in:
Jason Rasmussen 2025-03-07 14:30:01 -05:00 committed by GitHub
parent c12986d38c
commit f82786a297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 226 additions and 208 deletions

View file

@ -1,4 +1,5 @@
import {
AssetType,
DatabaseExtension,
ExifOrientation,
ImageFormat,
@ -438,3 +439,18 @@ export type SyncAck = {
type: SyncEntityType;
updateId: string;
};
export type StorageAsset = {
id: string;
ownerId: string;
livePhotoVideoId: string | null;
type: AssetType;
isExternal: boolean;
checksum: Buffer;
timeZone: string | null;
fileCreatedAt: Date;
originalPath: string;
originalFileName: string;
sidecarPath: string | null;
fileSizeInByte: number | null;
};