fix: add all pages as possible references
This commit is contained in:
@@ -18,6 +18,7 @@ export const accordionItemsSchema = z.array(
|
||||
pageLinks.contentPageSchema,
|
||||
pageLinks.hotelPageSchema,
|
||||
pageLinks.loyaltyPageSchema,
|
||||
pageLinks.collectionPageSchema,
|
||||
])
|
||||
.transform((data) => {
|
||||
const link = pageLinks.transform(data)
|
||||
@@ -101,6 +102,7 @@ const actualRefs = z.discriminatedUnion("__typename", [
|
||||
pageLinks.contentPageRefSchema,
|
||||
pageLinks.hotelPageRefSchema,
|
||||
pageLinks.loyaltyPageRefSchema,
|
||||
pageLinks.collectionPageRefSchema,
|
||||
])
|
||||
|
||||
export const globalAccordionConnectionRefs = z.object({
|
||||
|
||||
Reference in New Issue
Block a user