feat: add Account Page query
This commit is contained in:
37
types/requests/myPages/accountpage.ts
Normal file
37
types/requests/myPages/accountpage.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
import { AllRequestResponse } from "../utils/all"
|
||||
import type { TypenameInterface } from "../utils/typename"
|
||||
import type { Edges } from "../utils/edges"
|
||||
|
||||
export type PageLink = {
|
||||
url: string
|
||||
title: string
|
||||
}
|
||||
|
||||
export type Shortcut = {
|
||||
text: string
|
||||
linkConnection: Edges<PageLink>
|
||||
}
|
||||
|
||||
export type Shortcuts = {
|
||||
title: string
|
||||
preamble: string
|
||||
shortcuts: Shortcut[]
|
||||
}
|
||||
|
||||
export type DynamicContent = {
|
||||
component: string
|
||||
title: string
|
||||
link: { linkConnection: Edges<PageLink>; link_text: string }
|
||||
}
|
||||
|
||||
export type AccountPageContentItem = {}
|
||||
|
||||
export type AccountPage = {
|
||||
url: string
|
||||
title: string
|
||||
content: AccountPageContentItem[]
|
||||
}
|
||||
|
||||
export type GetAccountPageData = {
|
||||
all_account_page: AllRequestResponse<AccountPage>
|
||||
}
|
||||
Reference in New Issue
Block a user