Add business.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user