fitst commit

This commit is contained in:
Samandar Turgunboyev
2026-01-28 18:26:50 +05:00
parent 166a55b1e9
commit 124798419b
196 changed files with 26627 additions and 421 deletions

44
types/index.ts Normal file
View File

@@ -0,0 +1,44 @@
export type TabKey = 'products' | 'companies' | 'countries';
export interface Product {
id: number;
name: string;
description: string;
category: string;
price?: number;
company_id?: number;
}
export interface Company {
id: number;
company_name: string;
description?: string;
country?: string;
industry?: string;
products?: Product[];
}
export interface Country {
iso: string;
name: string;
id: number;
}
export interface State {
iso: string;
name: string;
country_iso: string;
}
export interface City {
iso: string;
name: string;
state_iso: string;
}
export interface FilterData {
country: { name: string; iso: string };
state: { name: string; iso: string };
city: { name: string; iso: string };
industries: string[];
}