| @@ -22,10 +22,14 @@ | ||
| 22 | 22 | home: homeTemplateShape, |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | 25 | // get-images |
| 26 | +const libraryImageShape = z.looseObject({ url: z.string() }); | |
| 26 | 27 | export const getImagesShape = z.looseObject({ |
| 27 | - siteImages: z.array(z.string()), | |
| 28 | + siteImages: z.object({ | |
| 29 | + hero: z.array(libraryImageShape).default([]), | |
| 30 | + general: z.array(libraryImageShape).default([]), | |
| 31 | + }), | |
| 28 | 32 | }); |
| 29 | 33 | |
| 30 | 34 | // get-logo |
| 31 | 35 | export const getLogoShape = z.looseObject({ |