2021-03-06 02:58:10 +01:00
|
|
|
import { GatsbyImageProps, IGatsbyImageData } from 'gatsby-plugin-image'
|
2019-10-28 23:00:55 +01:00
|
|
|
|
2021-03-06 02:58:10 +01:00
|
|
|
export interface ImageProps extends GatsbyImageProps {
|
2019-10-28 23:00:55 +01:00
|
|
|
title?: string
|
|
|
|
original?: { src: string }
|
2021-03-04 01:20:39 +01:00
|
|
|
className?: string
|
2019-10-28 23:00:55 +01:00
|
|
|
}
|
|
|
|
|
2021-03-06 02:58:10 +01:00
|
|
|
export interface ImageNode extends IGatsbyImageData {
|
|
|
|
fields?: {
|
|
|
|
exif?: Exif
|
2019-10-28 23:00:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-31 00:51:53 +01:00
|
|
|
export interface ExifFormatted {
|
2019-10-28 23:00:55 +01:00
|
|
|
iso: string
|
|
|
|
model: string
|
|
|
|
fstop: string
|
|
|
|
shutterspeed: string
|
|
|
|
focalLength: string
|
|
|
|
lensModel: string
|
|
|
|
exposure: string
|
|
|
|
gps: {
|
|
|
|
latitude: string
|
|
|
|
longitude: string
|
|
|
|
}
|
|
|
|
}
|
2019-10-31 00:51:53 +01:00
|
|
|
|
|
|
|
export interface Exif {
|
2021-11-28 20:05:38 +01:00
|
|
|
formatted: ExifFormatted
|
2019-11-04 19:38:02 +01:00
|
|
|
exif?: any
|
|
|
|
image?: any
|
2019-10-31 00:51:53 +01:00
|
|
|
thumbnail?: any
|
|
|
|
gps?: any
|
|
|
|
iptc?: any
|
|
|
|
}
|