base zone components and type refinements
This commit is contained in:
parent
9d96e3a6dc
commit
5c56af0dad
38 changed files with 323 additions and 54 deletions
|
@ -1,3 +1,6 @@
|
|||
import type { ComponentTypes } from "../component/baseComponent";
|
||||
import type SharedHero from "../component/sharedHero";
|
||||
|
||||
export default interface Page {
|
||||
id: number;
|
||||
documentId: string;
|
||||
|
@ -7,7 +10,7 @@ export default interface Page {
|
|||
publishedAt: string;
|
||||
locale: string;
|
||||
slug: string;
|
||||
Hero: { id: number; titel: string };
|
||||
content: { __component: string; id: number; list: string; enable_detail: boolean }[];
|
||||
hero: SharedHero;
|
||||
content: Array<ComponentTypes>;
|
||||
localizations: any[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue