| 5 | const CMS_API_KEY = process.env.CMS_API_KEY; |
| 6 | |
| 7 | export interface Media { |
| 8 | id: number; |
| 9 | alt?: string | null; |
| 10 | caption?: { |
| 11 | root: { |
| 12 | type: string; |
| 13 | children: { |
| 14 | type: any; |
| 15 | version: number; |
| 16 | [k: string]: unknown; |
| 17 | }[]; |
| 18 | direction: ("ltr" | "rtl") | null; |
| 19 | format: "left" | "start" | "center" | "right" | "end" | "justify" | ""; |
| 20 | indent: number; |
| 21 | version: number; |
| 22 | }; |
| 23 | [k: string]: unknown; |
| 24 | } | null; |
| 25 | updatedAt: string; |
| 26 | createdAt: string; |
| 27 | url?: string | null; |
| 28 | thumbnailURL?: string | null; |
| 29 | filename?: string | null; |
| 30 | mimeType?: string | null; |
| 31 | filesize?: number | null; |
| 32 | width?: number | null; |
| 33 | height?: number | null; |
| 34 | focalX?: number | null; |
| 35 | focalY?: number | null; |
| 36 | sizes?: { |
| 37 | tiny?: { |
| 38 | url?: string | null; |
| 39 | width?: number | null; |
| 40 | height?: number | null; |
| 41 | mimeType?: string | null; |
| 42 | filesize?: number | null; |
| 43 | filename?: string | null; |
| 44 | }; |
| 45 | thumbnail?: { |
| 46 | url?: string | null; |
| 47 | width?: number | null; |
| 48 | height?: number | null; |
| 49 | mimeType?: string | null; |
| 50 | filesize?: number | null; |
| 51 | filename?: string | null; |
| 52 | }; |
| 53 | square?: { |
| 54 | url?: string | null; |
| 55 | width?: number | null; |
| 56 | height?: number | null; |
| 57 | mimeType?: string | null; |
| 58 | filesize?: number | null; |
| 59 | filename?: string | null; |
| 60 | }; |
| 61 | small?: { |
| 62 | url?: string | null; |
| 63 | width?: number | null; |
| 64 | height?: number | null; |
nothing calls this directly
no outgoing calls
no test coverage detected