From 239c48764145d01db6533982aab7f4c14fc0dd61 Mon Sep 17 00:00:00 2001 From: Pram Gurusinga Date: Fri, 17 Nov 2023 15:38:38 +0100 Subject: [PATCH] fix: add missing strapi list field --- app/services/cms/models/StrapiNumericList.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/cms/models/StrapiNumericList.ts b/app/services/cms/models/StrapiNumericList.ts index 19bdaf165..e922728f2 100644 --- a/app/services/cms/models/StrapiNumericList.ts +++ b/app/services/cms/models/StrapiNumericList.ts @@ -16,13 +16,14 @@ export const StrapiNumericListSchema = z __component: z.literal("page.numeric-list").optional(), heading: StrapiHeadingSchema.nullable(), items: z.array(StrapiNumericListItemSchema), + isNumeric: z.boolean(), outerBackground: StrapiBackgroundSchema.nullable(), container: StrapiContainerSchema, }) .merge(HasOptionalStrapiIdSchema) .merge(OptionalStrapiLinkIdentifierSchema); -export type StrapiNumericList = z.infer; +type StrapiNumericList = z.infer; export const getNumericListProps = (cmsData: StrapiNumericList) => { const items = cmsData.items.map(getNumericListItemProps);