fix: add all pages as possible references
This commit is contained in:
@@ -8,6 +8,7 @@ const linkUnionSchema = z.discriminatedUnion("__typename", [
|
||||
pageLinks.collectionPageSchema,
|
||||
pageLinks.hotelPageSchema,
|
||||
pageLinks.loyaltyPageSchema,
|
||||
pageLinks.accountPageSchema,
|
||||
])
|
||||
|
||||
const titleSchema = z.object({
|
||||
@@ -51,6 +52,8 @@ const linkRefsUnionSchema = z.discriminatedUnion("__typename", [
|
||||
pageLinks.contentPageRefSchema,
|
||||
pageLinks.hotelPageRefSchema,
|
||||
pageLinks.loyaltyPageRefSchema,
|
||||
pageLinks.accountPageRefSchema,
|
||||
pageLinks.collectionPageRefSchema,
|
||||
])
|
||||
|
||||
export const linkConnectionRefs = z
|
||||
|
||||
Reference in New Issue
Block a user