feat: implement core platform features including business directory, admin dashboard, authentication, and API infrastructure
Some checks failed
Build and Push App / build (push) Failing after 16m2s

This commit is contained in:
2026-04-18 22:10:19 +02:00
parent 6ec1a3ae84
commit 3e2063e4fa
89 changed files with 4405 additions and 967 deletions

View File

@@ -14,6 +14,8 @@ export interface User {
phone?: string;
bio?: string;
location?: string;
countryId?: string;
country?: Country;
isSuspended?: boolean;
suspensionReason?: string;
}
@@ -25,13 +27,24 @@ export interface SocialLinks {
website?: string;
}
export interface Country {
id: string;
name: string;
code: string;
flag?: string;
isActive: boolean;
}
export interface Business {
id: string;
ownerId: string;
name: string;
slug?: string;
category: string;
location: string; // City, Country
location: string; // Legacy: City, Country
countryId?: string;
country?: Country;
city?: string;
description: string;
logoUrl: string;
videoUrl?: string; // YouTube/Vimeo link
@@ -105,6 +118,18 @@ export interface Interview {
duration?: string; // e.g. "15 min" or "5 min de lecture"
}
export interface Rating {
id: string;
value: number;
comment?: string;
reply?: string;
replyAt?: string;
userId: string;
businessId: string;
user?: User;
createdAt: string;
}
export const CATEGORIES = [
"Technologie & IT",
"Agriculture & Agrobusiness",