50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
// Interface automatically generated by schemas-to-ts
|
|
|
|
import { YogaBlogPost } from './yoga-blog-post';
|
|
import { Button } from '../components/yoga-site/Button';
|
|
import { YogaBlogPost_Plain } from './yoga-blog-post';
|
|
import { Button_Plain } from '../components/yoga-site/Button';
|
|
import { Button_NoRelations } from '../components/yoga-site/Button';
|
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
|
|
|
export interface YogaBlogPostsComponent {
|
|
id: number;
|
|
attributes: {
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
title?: string;
|
|
header?: string;
|
|
description?: string;
|
|
posts: { data: YogaBlogPost[] };
|
|
button?: Button;
|
|
};
|
|
}
|
|
export interface YogaBlogPostsComponent_Plain {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
title?: string;
|
|
header?: string;
|
|
description?: string;
|
|
posts: YogaBlogPost_Plain[];
|
|
button?: Button_Plain;
|
|
}
|
|
|
|
export interface YogaBlogPostsComponent_NoRelations {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
title?: string;
|
|
header?: string;
|
|
description?: string;
|
|
posts: number[];
|
|
button?: Button_NoRelations;
|
|
}
|
|
|
|
export interface YogaBlogPostsComponent_AdminPanelLifeCycle {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
title?: string;
|
|
header?: string;
|
|
description?: string;
|
|
posts: AdminPanelRelationPropertyModification<YogaBlogPost_Plain>;
|
|
button?: Button_Plain;
|
|
}
|