Skip to content
Snippets Groups Projects
Commit f2e3e4b9 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: update Image type to account for new thumbnail format

parent 4a702469
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ export type Image = {
ppoi: string
width: number | null
height: number | null
thumbnails: readonly string[]
thumbnails: { width: number; height: number; url: string }[]
}
export type NewImage = Omit<Image, 'id'> & { file: File }
type ReadonlyAttrs = 'id' | 'width' | 'height' | 'thumbnails' | 'file' | 'image'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment