fix: add all pages as possible references
This commit is contained in:
@@ -22,6 +22,7 @@ export const buttonSchema = z
|
||||
pageLinks.contentPageSchema,
|
||||
pageLinks.loyaltyPageSchema,
|
||||
pageLinks.hotelPageSchema,
|
||||
pageLinks.collectionPageSchema,
|
||||
])
|
||||
.transform((data) => {
|
||||
const link = pageLinks.transform(data)
|
||||
|
||||
@@ -11,6 +11,8 @@ export const linkConnectionRefsSchema = z
|
||||
pageLinks.accountPageRefSchema,
|
||||
pageLinks.contentPageRefSchema,
|
||||
pageLinks.loyaltyPageRefSchema,
|
||||
pageLinks.collectionPageRefSchema,
|
||||
pageLinks.hotelPageRefSchema,
|
||||
]),
|
||||
})
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user