fix: make web and breadcrumbs optional
This commit is contained in:
@@ -5,8 +5,8 @@ import type { AllRequestResponse } from "../utils/all"
|
||||
import type { Edges } from "../utils/edges"
|
||||
|
||||
interface MyPagesBreadcrumbs {
|
||||
web: {
|
||||
breadcrumbs: {
|
||||
web?: {
|
||||
breadcrumbs?: {
|
||||
title: string
|
||||
parentsConnection: Edges<{
|
||||
web: {
|
||||
@@ -42,9 +42,10 @@ export interface GetBreadcrumbsItems {
|
||||
}
|
||||
|
||||
interface MyPagesBreadcrumbRefs extends System {
|
||||
web: {
|
||||
breadcrumbs: {
|
||||
web?: {
|
||||
breadcrumbs?: {
|
||||
parentsConnection: Edges<System>
|
||||
title: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user