add business category
This commit is contained in:
@@ -83,6 +83,31 @@ export type BusinessService = {
|
||||
serviceTemplate?: ServiceTemplate;
|
||||
};
|
||||
|
||||
export type BusinessServiceRequestStatus = 'pending' | 'approved' | 'rejected';
|
||||
|
||||
export type BusinessServiceRequest = {
|
||||
id: string;
|
||||
businessId: string;
|
||||
requestedById: string;
|
||||
status: BusinessServiceRequestStatus;
|
||||
title: string;
|
||||
description: string | null;
|
||||
price: string;
|
||||
durationMinutes: number | null;
|
||||
adminNote: string | null;
|
||||
serviceTemplateId: string | null;
|
||||
businessServiceId: string | null;
|
||||
createdAt?: string;
|
||||
business?: Business;
|
||||
};
|
||||
|
||||
export type CreateBusinessServiceRequestPayload = {
|
||||
title: string;
|
||||
description?: string;
|
||||
price: number;
|
||||
durationMinutes?: number;
|
||||
};
|
||||
|
||||
export type BookingStatus =
|
||||
| 'pending'
|
||||
| 'confirmed'
|
||||
|
||||
Reference in New Issue
Block a user