fix: align typings with loyalty-page branch

This commit is contained in:
Arvid Norlin
2024-04-29 16:40:26 +02:00
parent 4d4d67ab38
commit f01bd44c44
7 changed files with 142 additions and 27 deletions

View File

@@ -1,3 +1,4 @@
import { Embeds } from "../embeds"
import { AllRequestResponse } from "../utils/all"
import { PageLink } from "../utils/pageLink"
@@ -23,7 +24,7 @@ export enum ContentEntries {
type Shortcut = {
linkConnection: Edges<PageLink>
open_in_new_tab: boolean
text: string
text?: string
}
type DynamicContent = {
@@ -52,6 +53,7 @@ type AccountPageContentTextContent = Typename<
text_content: {
content: {
json: RTEDocument
embedded_itemsConnection: Edges<Embeds>
}
}
},