Update index.ts
This commit is contained in:
@@ -22,6 +22,8 @@ interface PhotoMetadata {
|
||||
original_photo: string
|
||||
edited_photo: string
|
||||
thumbnail: string
|
||||
thumbnail_edited: string
|
||||
exif: Record<string, string>
|
||||
[key: string]: any // Custom properties
|
||||
}
|
||||
|
||||
@@ -180,6 +182,7 @@ export const app = new Elysia()
|
||||
original_photo: Bun.file(originalPath).name!,
|
||||
edited_photo: Bun.file(editedPath).name!,
|
||||
thumbnail: Bun.file(thumbnailPath).name!,
|
||||
thumbnail_edited: Bun.file(editedThumb).name!,
|
||||
}
|
||||
|
||||
// 5. Save updated metadata
|
||||
|
||||
Reference in New Issue
Block a user