23 lines
478 B
TypeScript
23 lines
478 B
TypeScript
interface CatalogItemDto {
|
|
id?: number;
|
|
name: string;
|
|
length: number;
|
|
speed: number;
|
|
minCost: number;
|
|
mainImageUrl: string;
|
|
galleryUrls: string[];
|
|
hasQuickRent: boolean;
|
|
isFeatured: boolean;
|
|
topText?: string;
|
|
isBestOffer?: boolean;
|
|
}
|
|
|
|
interface MainPageCatalogResponseDto {
|
|
featuredYacht: CatalogItemDto;
|
|
restYachts: CatalogItemDto[];
|
|
}
|
|
|
|
interface CatalogFilteredResponseDto {
|
|
items: CatalogItemDto[];
|
|
total: number;
|
|
} |