add strapi types

This commit is contained in:
Schneider Roland
2025-01-11 20:58:03 +01:00
parent 35dcd6ab22
commit ea3a2e3366
22 changed files with 540 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
// 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 About {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: { data: Media };
};
}
export interface About_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: Media_Plain;
}
export interface About_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: number;
}
export interface About_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
}