Add account hierarchy framework with migrations, RLS policies, and UI components

This commit is contained in:
T. Zehetbauer
2026-03-31 22:18:04 +02:00
parent 7e7da0b465
commit 59546ad6d2
262 changed files with 11671 additions and 3927 deletions

View File

@@ -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(),