yogastic/yoga-cms/generated-strapi-interfaces/api/yoga-blog-post.ts
Schneider Roland a068aeb375 blog component
2025-01-20 22:21:03 +01:00

45 lines
1.3 KiB
TypeScript

// 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>;
}