Add account hierarchy framework with migrations, RLS policies, and UI components
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
export const BookingStatusEnum = z.enum(['pending', 'confirmed', 'checked_in', 'checked_out', 'cancelled', 'no_show']);
|
||||
export const BookingStatusEnum = z.enum([
|
||||
'pending',
|
||||
'confirmed',
|
||||
'checked_in',
|
||||
'checked_out',
|
||||
'cancelled',
|
||||
'no_show',
|
||||
]);
|
||||
|
||||
export const CreateRoomSchema = z.object({
|
||||
accountId: z.string().uuid(),
|
||||
|
||||
Reference in New Issue
Block a user