Add business.

This commit is contained in:
2026-05-21 17:59:14 +03:30
parent 4bc6c003f3
commit ebae7687af
11 changed files with 456 additions and 54 deletions
+10
View File
@@ -19,6 +19,15 @@ export type BusinessCategory = {
updatedAt?: string;
};
export type BusinessImage = {
id: string;
businessId: string;
url: string;
originalName: string | null;
sortOrder: number;
isCover: boolean;
};
export type Business = {
id: string;
title: string;
@@ -32,6 +41,7 @@ export type Business = {
categoryId: string;
ownerId: string | null;
category?: BusinessCategory;
images?: BusinessImage[];
owner?: User | null;
createdAt?: string;
updatedAt?: string;