67 lines
1.9 KiB
TypeScript
67 lines
1.9 KiB
TypeScript
// 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;
|
|
article?: any;
|
|
articleImage?: { data: Media };
|
|
priority?: number;
|
|
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;
|
|
article?: any;
|
|
articleImage?: Media_Plain;
|
|
priority?: number;
|
|
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;
|
|
article?: any;
|
|
articleImage?: number;
|
|
priority?: number;
|
|
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;
|
|
article?: any;
|
|
articleImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
|
priority?: number;
|
|
locale: string;
|
|
localizations?: YogaSingleService[];
|
|
}
|