component formatting and types

This commit is contained in:
Julian Krauser 2025-02-14 13:57:55 +01:00
parent c2a7d15eeb
commit ce745c06e5
60 changed files with 464 additions and 301 deletions

View file

@ -1,5 +1,5 @@
import type { ComponentTypes } from "../component/baseComponent";
import type SharedHero from "../component/sharedHero";
import type ItemsHero from "../component/items/hero";
export default interface Page {
id: number;
@ -10,7 +10,7 @@ export default interface Page {
publishedAt: string;
locale: string;
slug: string;
hero: SharedHero;
hero: ItemsHero;
content: Array<ComponentTypes>;
localizations: any[];
}