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,54 @@
// 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 YogaSingleService {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: { data: Media };
imageAlt?: string;
name?: string;
locale: string;
localizations?: { data: YogaSingleService[] };
};
}
export interface YogaSingleService_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: Media_Plain;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService_Plain[];
}
export interface YogaSingleService_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: number;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService[];
}
export interface YogaSingleService_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService[];
}