blog component
This commit is contained in:
44
yoga-cms/generated-strapi-interfaces/api/yoga-blog-post.ts
Normal file
44
yoga-cms/generated-strapi-interfaces/api/yoga-blog-post.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Media } from '../components/shared/Media';
|
||||
import { YogaTag } from './yoga-tag';
|
||||
import { Media_Plain } from '../components/shared/Media';
|
||||
import { YogaTag_Plain } from './yoga-tag';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export interface YogaBlogPost {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
||||
header?: string;
|
||||
teaserImage?: { data: Media };
|
||||
article?: string;
|
||||
tags: { data: YogaTag[] };
|
||||
};
|
||||
}
|
||||
export interface YogaBlogPost_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
||||
header?: string;
|
||||
teaserImage?: Media_Plain;
|
||||
article?: string;
|
||||
tags: YogaTag_Plain[];
|
||||
}
|
||||
|
||||
export interface YogaBlogPost_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
||||
header?: string;
|
||||
teaserImage?: number;
|
||||
article?: string;
|
||||
tags: number[];
|
||||
}
|
||||
|
||||
export interface YogaBlogPost_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
||||
header?: string;
|
||||
teaserImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||
article?: string;
|
||||
tags: AdminPanelRelationPropertyModification<YogaTag_Plain>;
|
||||
}
|
||||
Reference in New Issue
Block a user