base structure and display

This commit is contained in:
Julian Krauser 2024-11-01 14:15:09 +01:00
parent de049e9125
commit 9d96e3a6dc
22 changed files with 1210 additions and 15 deletions

13
types/single/global.ts Normal file
View 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
View 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>;
}