convert about types from component to collection-type

This commit is contained in:
Schneider Roland
2025-01-19 21:57:33 +01:00
parent 741dd19588
commit c706a4c7d2
80 changed files with 2428 additions and 630 deletions

View File

@@ -0,0 +1,62 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Media_Plain } from '../components/shared/Media';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaAboutUsComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: { data: Media };
name?: string;
buttonLink?: string;
locale: string;
localizations?: { data: YogaAboutUsComponent[] };
};
}
export interface YogaAboutUsComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: Media_Plain;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent_Plain[];
}
export interface YogaAboutUsComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: number;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}
export interface YogaAboutUsComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}