1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-30 05:31:56 +02:00
blog/src/@types/Image.d.ts
2021-11-28 19:05:38 +00:00

37 lines
634 B
TypeScript

import { GatsbyImageProps, IGatsbyImageData } from 'gatsby-plugin-image'
export interface ImageProps extends GatsbyImageProps {
title?: string
original?: { src: string }
className?: string
}
export interface ImageNode extends IGatsbyImageData {
fields?: {
exif?: Exif
}
}
export interface ExifFormatted {
iso: string
model: string
fstop: string
shutterspeed: string
focalLength: string
lensModel: string
exposure: string
gps: {
latitude: string
longitude: string
}
}
export interface Exif {
formatted: ExifFormatted
exif?: any
image?: any
thumbnail?: any
gps?: any
iptc?: any
}