feat: init live preview sdk
This commit is contained in:
24
types/requests/blocks/hero.ts
Normal file
24
types/requests/blocks/hero.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { SysAsset } from "../utils/asset"
|
||||
import type { Edges } from "../utils/edges"
|
||||
import type { ExternalLink } from "../utils/externalLink"
|
||||
import type { PageLink } from "../utils/pagelink";
|
||||
import type { Typename } from "../utils/typename"
|
||||
|
||||
export type Hero = {
|
||||
hero: {
|
||||
imagesConnection: Edges<{
|
||||
title: string
|
||||
url: string
|
||||
}>
|
||||
ingress: {
|
||||
json: JSON
|
||||
embedded_itemsConnection: Edges<
|
||||
| ExternalLink
|
||||
| PageLink
|
||||
| SysAsset
|
||||
>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type HeroBlockData = Typename<Hero, "CurrentBlocksPageBlocksHero">
|
||||
Reference in New Issue
Block a user