50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
// Interface automatically generated by schemas-to-ts
|
|
|
|
import { Media } from '../components/shared/Media';
|
|
import { Button } from '../components/yoga-site/Button';
|
|
import { Media_Plain } from '../components/shared/Media';
|
|
import { Button_Plain } from '../components/yoga-site/Button';
|
|
import { Button_NoRelations } from '../components/yoga-site/Button';
|
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
|
|
|
export interface YogaMainHeaderComponent {
|
|
id: number;
|
|
attributes: {
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
|
header?: string;
|
|
headerIType?: string;
|
|
description?: string;
|
|
image?: { data: Media };
|
|
button: Button;
|
|
};
|
|
}
|
|
export interface YogaMainHeaderComponent_Plain {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
|
header?: string;
|
|
headerIType?: string;
|
|
description?: string;
|
|
image?: Media_Plain;
|
|
button: Button_Plain;
|
|
}
|
|
|
|
export interface YogaMainHeaderComponent_NoRelations {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
|
header?: string;
|
|
headerIType?: string;
|
|
description?: string;
|
|
image?: number;
|
|
button: Button_NoRelations;
|
|
}
|
|
|
|
export interface YogaMainHeaderComponent_AdminPanelLifeCycle {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
|
header?: string;
|
|
headerIType?: string;
|
|
description?: string;
|
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
|
button: Button_Plain;
|
|
}
|