// 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; article?: string; tags: AdminPanelRelationPropertyModification; }