fix: add breadcrumbs as optional
This commit is contained in:
@@ -15,21 +15,23 @@ const breadcrumbsRefsItems = z.object({
|
|||||||
z.object({
|
z.object({
|
||||||
web: z
|
web: z
|
||||||
.object({
|
.object({
|
||||||
breadcrumbs: z.object({
|
breadcrumbs: z
|
||||||
title: z.string(),
|
.object({
|
||||||
parentsConnection: z.object({
|
title: z.string(),
|
||||||
edges: z.array(
|
parentsConnection: z.object({
|
||||||
z.object({
|
edges: z.array(
|
||||||
node: z.object({
|
z.object({
|
||||||
system: z.object({
|
node: z.object({
|
||||||
content_type_uid: z.string(),
|
system: z.object({
|
||||||
uid: z.string(),
|
content_type_uid: z.string(),
|
||||||
|
uid: z.string(),
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
}),
|
})
|
||||||
})
|
),
|
||||||
),
|
}),
|
||||||
}),
|
})
|
||||||
}),
|
.optional(),
|
||||||
})
|
})
|
||||||
.optional(),
|
.optional(),
|
||||||
system: z.object({
|
system: z.object({
|
||||||
|
|||||||
Reference in New Issue
Block a user