blog component

This commit is contained in:
Schneider Roland
2025-01-20 22:21:03 +01:00
parent 1437ba2fe3
commit a068aeb375
38 changed files with 1679 additions and 44 deletions

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