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 EventStatusEnum = z.enum(['planned', 'open', 'full', 'running', 'completed', 'cancelled']);
|
||||
export const EventStatusEnum = z.enum([
|
||||
'planned',
|
||||
'open',
|
||||
'full',
|
||||
'running',
|
||||
'completed',
|
||||
'cancelled',
|
||||
]);
|
||||
|
||||
export const CreateEventSchema = z.object({
|
||||
accountId: z.string().uuid(),
|
||||
|
||||
Reference in New Issue
Block a user