component formatting and types
This commit is contained in:
parent
c2a7d15eeb
commit
ce745c06e5
60 changed files with 464 additions and 301 deletions
|
@ -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[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue