base zone components and type refinements

This commit is contained in:
Julian Krauser 2024-11-02 12:47:07 +01:00
parent 9d96e3a6dc
commit 5c56af0dad
38 changed files with 323 additions and 54 deletions

View file

@ -1,5 +1,5 @@
import type Footer from "../component/footer";
import type Navbar from "../component/navbar";
import type Footer from "../component/globalFooter";
import type Navbar from "../component/globalNavbar";
export default interface Global {
id: number;

View file

@ -1,4 +1,5 @@
import type Image from "../component/image";
import type BaseImage from "../component/baseImage";
import type { ComponentTypes } from "../component/baseComponent";
export default interface Homepage {
id: number;
@ -7,6 +8,6 @@ export default interface Homepage {
updatedAt: string;
publishedAt: string;
locale: string;
backdrop: Image;
content: Array<any>;
backdrop: BaseImage;
content: Array<ComponentTypes>;
}