diff --git a/packages/trpc/lib/routers/contentstack/collectionPage/output.ts b/packages/trpc/lib/routers/contentstack/collectionPage/output.ts index 2b842bb0c..e6dd326ef 100644 --- a/packages/trpc/lib/routers/contentstack/collectionPage/output.ts +++ b/packages/trpc/lib/routers/contentstack/collectionPage/output.ts @@ -83,7 +83,7 @@ export const collectionPageSchema = z.object({ header: z.object({ heading: z.string(), preamble: z.string(), - top_primary_button: internalOrExternalLinkSchema, + top_primary_button: internalOrExternalLinkSchema.nullish(), navigation_links: navigationLinksSchema, }), meeting_package: z diff --git a/packages/trpc/lib/routers/contentstack/contentPage/output.ts b/packages/trpc/lib/routers/contentstack/contentPage/output.ts index c77251319..697211fa0 100644 --- a/packages/trpc/lib/routers/contentstack/contentPage/output.ts +++ b/packages/trpc/lib/routers/contentstack/contentPage/output.ts @@ -200,7 +200,7 @@ export const contentPageSchema = z.object({ header: z.object({ heading: z.string(), preamble: z.string(), - top_primary_button: internalOrExternalLinkSchema, + top_primary_button: internalOrExternalLinkSchema.nullish(), navigation_links: navigationLinksSchema, dynamic_content: headerDynamicContentSchema.nullish(), }),