chore: add breadcrumbs to loyalty page
This commit is contained in:
@@ -22,23 +22,65 @@ interface AccountPageBreadcrumbs {
|
||||
uid: string
|
||||
}
|
||||
}
|
||||
interface LoyaltyBreadcrumbs {
|
||||
web: {
|
||||
breadcrumbss: {
|
||||
title: string
|
||||
parentsConnection: Edges<{
|
||||
breadcrumbs: {
|
||||
title: string
|
||||
}
|
||||
system: {
|
||||
locale: Lang
|
||||
uid: string
|
||||
}
|
||||
url: string
|
||||
}>
|
||||
}
|
||||
system: {
|
||||
uid: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface AllAccountPageResponse
|
||||
extends AllRequestResponse<AccountPageBreadcrumbs> {}
|
||||
|
||||
interface AllLoyaltyPageResponse
|
||||
extends AllRequestResponse<LoyaltyBreadcrumbs> {}
|
||||
|
||||
export interface GetMyPagesBreadcrumbsData {
|
||||
all_account_page: AllAccountPageResponse
|
||||
}
|
||||
|
||||
export interface GetLoyaltyBreadcrumbsData {
|
||||
all_loyalty_page: AllLoyaltyPageResponse
|
||||
}
|
||||
|
||||
interface AccountPageBreadcrumbRefs extends System {
|
||||
breadcrumbs: {
|
||||
parentsConnection: Edges<System>
|
||||
}
|
||||
}
|
||||
|
||||
interface LoyaltyBreadcrumbRefs extends System {
|
||||
web: {
|
||||
breadcrumbss: {
|
||||
parentsConnection: Edges<System>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface AllAccountPageRefsResponse
|
||||
extends AllRequestResponse<AccountPageBreadcrumbRefs> {}
|
||||
|
||||
interface AllLoyaltyPageRefsResponse
|
||||
extends AllRequestResponse<LoyaltyBreadcrumbRefs> {}
|
||||
|
||||
export interface GetMyPagesBreadcrumbsRefsData {
|
||||
all_account_page: AllAccountPageRefsResponse
|
||||
}
|
||||
|
||||
export interface GetLoyaltyBreadcrumbsRefsData {
|
||||
all_loyalty_page: AllLoyaltyPageRefsResponse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user