1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-24 10:16:27 +02:00
blog/src/lib/exif/types.ts
2023-10-03 21:14:05 +01:00

26 lines
566 B
TypeScript

export type FastExif = {
image?: Record<string, unknown> | undefined
thumbnail?: Record<string, unknown> | undefined
exif?: Record<string, unknown> | undefined
gps?: any | undefined
interoperability?: Record<string, unknown> | undefined
}
export type ExifFormatted = {
date: string
iso: string
model: any
fstop: string
shutterspeed: string
focalLength: string
lensModel: any
exposure: string | undefined
gps: { latitude: number; longitude: number } | undefined
}
export type Exif = {
image: string
exif: ExifFormatted
iptc: any
}