Add service listing and customer booking flow in app
This commit is contained in:
@@ -82,3 +82,28 @@ export type BusinessService = {
|
||||
isActive: boolean;
|
||||
serviceTemplate?: ServiceTemplate;
|
||||
};
|
||||
|
||||
export type BookingStatus =
|
||||
| 'pending'
|
||||
| 'confirmed'
|
||||
| 'cancelled'
|
||||
| 'completed';
|
||||
|
||||
export type Booking = {
|
||||
id: string;
|
||||
customerId: string;
|
||||
businessId: string;
|
||||
businessServiceId: string;
|
||||
scheduledAt: string;
|
||||
status: BookingStatus;
|
||||
note: string | null;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
customer?: {
|
||||
id: string;
|
||||
mobile: string;
|
||||
fullName: string | null;
|
||||
};
|
||||
business?: Business;
|
||||
businessService?: BusinessService;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user