feat: graphql client with fetches for initial pages
This commit is contained in:
5
types/components/current/aside.ts
Normal file
5
types/components/current/aside.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Asides } from "@/types/requests/currentBlockPage"
|
||||
|
||||
export type AsideProps = {
|
||||
blocks: Asides[]
|
||||
}
|
||||
5
types/components/current/blocks.ts
Normal file
5
types/components/current/blocks.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Blocks } from "@/types/requests/currentBlockPage"
|
||||
|
||||
export type BlocksProps = {
|
||||
blocks: Blocks[]
|
||||
}
|
||||
3
types/components/current/blocks/text.ts
Normal file
3
types/components/current/blocks/text.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import type { Text } from "@/types/requests/blocks/text"
|
||||
|
||||
export type TextProps = Text
|
||||
7
types/components/current/hero.ts
Normal file
7
types/components/current/hero.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Image } from "@/types/image"
|
||||
|
||||
export type HeroProps = {
|
||||
images: {
|
||||
node: Image
|
||||
}[]
|
||||
}
|
||||
Reference in New Issue
Block a user