51 lines
1.4 KiB
TypeScript
51 lines
1.4 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 YogaPrice {
|
|
id: number;
|
|
attributes: {
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
|
option1?: string;
|
|
option2?: string;
|
|
buttonText?: string;
|
|
price?: number;
|
|
icon?: { data: Media };
|
|
image?: { data: Media };
|
|
};
|
|
}
|
|
export interface YogaPrice_Plain {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
|
option1?: string;
|
|
option2?: string;
|
|
buttonText?: string;
|
|
price?: number;
|
|
icon?: Media_Plain;
|
|
image?: Media_Plain;
|
|
}
|
|
|
|
export interface YogaPrice_NoRelations {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
|
option1?: string;
|
|
option2?: string;
|
|
buttonText?: string;
|
|
price?: number;
|
|
icon?: number;
|
|
image?: number;
|
|
}
|
|
|
|
export interface YogaPrice_AdminPanelLifeCycle {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
|
option1?: string;
|
|
option2?: string;
|
|
buttonText?: string;
|
|
price?: number;
|
|
icon?: AdminPanelRelationPropertyModification<Media_Plain>;
|
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
|
}
|