convert about types from component to collection-type
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { YogaPrice } from './yoga-price';
|
||||
import { YogaPrice_Plain } from './yoga-price';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export interface YogaPriceComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
prices: { data: YogaPrice[] };
|
||||
locale: string;
|
||||
localizations?: { data: YogaPriceComponent[] };
|
||||
};
|
||||
}
|
||||
export interface YogaPriceComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
prices: YogaPrice_Plain[];
|
||||
locale: string;
|
||||
localizations?: YogaPriceComponent_Plain[];
|
||||
}
|
||||
|
||||
export interface YogaPriceComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
prices: number[];
|
||||
locale: string;
|
||||
localizations?: YogaPriceComponent[];
|
||||
}
|
||||
|
||||
export interface YogaPriceComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
prices: AdminPanelRelationPropertyModification<YogaPrice_Plain>;
|
||||
locale: string;
|
||||
localizations?: YogaPriceComponent[];
|
||||
}
|
||||
Reference in New Issue
Block a user