42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
// Interface automatically generated by schemas-to-ts
|
|
|
|
import { Media } from '../components/shared/Media';
|
|
import { Quote } from '../components/shared/Quote';
|
|
import { Media_Plain } from '../components/shared/Media';
|
|
import { Quote_Plain } from '../components/shared/Quote';
|
|
import { Quote_NoRelations } from '../components/shared/Quote';
|
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
|
|
|
export interface Car {
|
|
id: number;
|
|
attributes: {
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
description?: string;
|
|
image?: { data: Media };
|
|
myquote: Quote[];
|
|
};
|
|
}
|
|
export interface Car_Plain {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
description?: string;
|
|
image?: Media_Plain;
|
|
myquote: Quote_Plain[];
|
|
}
|
|
|
|
export interface Car_NoRelations {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
description?: string;
|
|
image?: number;
|
|
myquote: Quote_NoRelations[];
|
|
}
|
|
|
|
export interface Car_AdminPanelLifeCycle {
|
|
id: number;
|
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
|
|
description?: string;
|
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
|
myquote: Quote_Plain[];
|
|
}
|