Kaizen
Browse modulesData tabledatatable/sharedSchemas and constants

Variable: createViewSchema

const createViewSchema: ZodObject<{
  name: ZodString;
  organizationId: ZodString;
  payload: ZodPipe<ZodObject<{
     filters: ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
        from: ZodNullable<...>;
        to: ZodNullable<...>;
     }, $strip>, ZodNull]>>;
   }, $loose>, ZodTransform<{
     filters: Record<string, 
        | string
        | string[]
        | {
        from: string | null;
        to: string | null;
      }
       | null>;
   }, {
   [key: string]: unknown;
     filters: Record<string, 
        | string
        | string[]
        | {
        from: string | null;
        to: string | null;
      }
       | null>;
  }>>;
  tableKey: ZodString;
  userId: ZodString;
  visibility: ZodDefault<ZodEnum<{
     private: "private";
     public: "public";
  }>>;
}, $strip>;

Defined in: shared/datatable/schemas.ts:26