refactor: separate queries for loyalty and mypages
This commit is contained in:
@@ -28,7 +28,15 @@ interface MyPagesBreadcrumbs {
|
||||
interface AllPageResponse extends AllRequestResponse<MyPagesBreadcrumbs> {}
|
||||
|
||||
export interface GetMyPagesBreadcrumbsData {
|
||||
all_page: AllPageResponse
|
||||
all_account_page: AllPageResponse
|
||||
}
|
||||
|
||||
export interface GetLoyaltyPageBreadcrumbsData {
|
||||
all_loyalty_page: AllPageResponse
|
||||
}
|
||||
|
||||
export interface GetBreadcrumbsItems {
|
||||
items: MyPagesBreadcrumbRefs[]
|
||||
}
|
||||
|
||||
interface MyPagesBreadcrumbRefs extends System {
|
||||
@@ -43,5 +51,9 @@ interface AllPageRefsResponse
|
||||
extends AllRequestResponse<MyPagesBreadcrumbRefs> {}
|
||||
|
||||
export interface GetMyPagesBreadcrumbsRefsData {
|
||||
all_page: AllPageRefsResponse
|
||||
all_account_page: AllPageRefsResponse
|
||||
}
|
||||
|
||||
export interface GetLoyaltyPageBreadcrumbsRefsData {
|
||||
all_loyalty_page: AllPageRefsResponse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user