feat: add expert search, legal search and UI improvements
This commit is contained in:
parent
2c5ca94b3c
commit
271199c527
53 changed files with 4595 additions and 708 deletions
35
ui/types/index.ts
Normal file
35
ui/types/index.ts
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue