2023-08-01 03:28:07 +02:00
|
|
|
export const fileStub = {
|
|
|
|
livePhotoStill: Object.freeze({
|
2024-01-04 22:45:16 +02:00
|
|
|
uuid: 'random-uuid',
|
2023-08-01 03:28:07 +02:00
|
|
|
originalPath: 'fake_path/asset_1.jpeg',
|
|
|
|
checksum: Buffer.from('file hash', 'utf8'),
|
|
|
|
originalName: 'asset_1.jpeg',
|
2024-01-13 02:43:36 +02:00
|
|
|
size: 42,
|
2023-08-01 03:28:07 +02:00
|
|
|
}),
|
|
|
|
livePhotoMotion: Object.freeze({
|
2024-01-22 20:04:45 +02:00
|
|
|
uuid: 'live-photo-motion-asset',
|
2023-08-01 03:28:07 +02:00
|
|
|
originalPath: 'fake_path/asset_1.mp4',
|
|
|
|
checksum: Buffer.from('live photo file hash', 'utf8'),
|
|
|
|
originalName: 'asset_1.mp4',
|
2024-01-13 02:43:36 +02:00
|
|
|
size: 69,
|
2023-08-01 03:28:07 +02:00
|
|
|
}),
|
2024-05-24 02:26:22 +02:00
|
|
|
photo: Object.freeze({
|
|
|
|
uuid: 'photo',
|
|
|
|
originalPath: 'fake_path/photo1.jpeg',
|
|
|
|
mimeType: 'image/jpeg',
|
|
|
|
checksum: Buffer.from('photo file hash', 'utf8'),
|
|
|
|
originalName: 'photo1.jpeg',
|
|
|
|
size: 24,
|
|
|
|
}),
|
|
|
|
photoSidecar: Object.freeze({
|
|
|
|
uuid: 'photo-sidecar',
|
|
|
|
originalPath: 'fake_path/photo1.jpeg.xmp',
|
|
|
|
originalName: 'photo1.jpeg.xmp',
|
|
|
|
checksum: Buffer.from('photo-sidecar file hash', 'utf8'),
|
|
|
|
size: 96,
|
|
|
|
}),
|
2023-08-01 03:28:07 +02:00
|
|
|
};
|