feat: add expert search, legal search and UI improvements

This commit is contained in:
Aktraiser 2024-12-30 13:34:26 +01:00
parent 2c5ca94b3c
commit 271199c527
53 changed files with 4595 additions and 708 deletions

35
ui/types/index.ts Normal file
View file

@ -0,0 +1,35 @@
export interface Expert {
id: number;
id_expert: string;
nom: string;
prenom: string;
adresse: string;
pays: string;
ville: string;
expertises: string;
biographie: string;
tarif: number;
services: any;
created_at: string;
image_url: string;
avatar_url?: string;
}
export interface Location {
pays: string;
villes: string[];
}
export interface Expertise {
id: string;
name: string;
}
export interface Message {
id: string;
content: string;
sender_id: string;
receiver_id: string;
created_at: string;
read: boolean;
}