base structure and display
This commit is contained in:
parent
de049e9125
commit
9d96e3a6dc
22 changed files with 1210 additions and 15 deletions
13
types/single/global.ts
Normal file
13
types/single/global.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import type Footer from "../component/footer";
|
||||
import type Navbar from "../component/navbar";
|
||||
|
||||
export default interface Global {
|
||||
id: number;
|
||||
documentId: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
publishedAt: string;
|
||||
locale: string;
|
||||
navbar: Navbar;
|
||||
footer: Footer;
|
||||
}
|
12
types/single/homepage.ts
Normal file
12
types/single/homepage.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import type Image from "../component/image";
|
||||
|
||||
export default interface Homepage {
|
||||
id: number;
|
||||
documentId: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
publishedAt: string;
|
||||
locale: string;
|
||||
backdrop: Image;
|
||||
content: Array<any>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue