2023-07-31 20:28:07 -05:00
|
|
|
export const fileStub = {
|
|
|
|
livePhotoStill: Object.freeze({
|
2024-01-04 15:45:16 -05:00
|
|
|
uuid: 'random-uuid',
|
2023-07-31 20:28:07 -05:00
|
|
|
originalPath: 'fake_path/asset_1.jpeg',
|
|
|
|
checksum: Buffer.from('file hash', 'utf8'),
|
|
|
|
originalName: 'asset_1.jpeg',
|
2024-01-12 19:43:36 -05:00
|
|
|
size: 42,
|
2023-07-31 20:28:07 -05:00
|
|
|
}),
|
|
|
|
livePhotoMotion: Object.freeze({
|
2024-01-22 13:04:45 -05:00
|
|
|
uuid: 'live-photo-motion-asset',
|
2023-07-31 20:28:07 -05:00
|
|
|
originalPath: 'fake_path/asset_1.mp4',
|
|
|
|
checksum: Buffer.from('live photo file hash', 'utf8'),
|
|
|
|
originalName: 'asset_1.mp4',
|
2024-01-12 19:43:36 -05:00
|
|
|
size: 69,
|
2023-07-31 20:28:07 -05:00
|
|
|
}),
|
2024-05-23 19:26:22 -05: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-07-31 20:28:07 -05:00
|
|
|
};
|