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,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;
|
||||
|
|
|
@ -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>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue