41 lines
813 B
TypeScript
41 lines
813 B
TypeScript
import { StaticImageData } from "next/image";
|
|
|
|
//// ============ tool's types ============ //////
|
|
export interface TitleType {
|
|
text: string;
|
|
}
|
|
|
|
export interface productFilterTypes {
|
|
name: string;
|
|
image: StaticImageData;
|
|
}
|
|
|
|
export interface MainProductCard{
|
|
uzunlik?:string;
|
|
kenglik?:string;
|
|
balandlik?:String;
|
|
yukqob?:String;
|
|
makBalandlik?:string;
|
|
}
|
|
|
|
export interface ProductCardType extends MainProductCard{
|
|
image?:StaticImageData[];
|
|
title?:string;
|
|
y_turi?:string;
|
|
hajmi?:string;
|
|
tezlik?:string;
|
|
interkuler?:string;
|
|
quvvat?:string;
|
|
quti?:string;
|
|
turboDizel?:string;
|
|
ogirlig?:string;
|
|
bomUzunlik?:string;
|
|
}
|
|
|
|
export interface ProductTypes {
|
|
id: number;
|
|
truck_name: string;
|
|
desc: string;
|
|
path: string;
|
|
image: string | StaticImageData;
|
|
} |