Kaizen
Browse modulesData tabledatatable/sharedSchemas and constants

Variable: saveViewPayloadSchema

const saveViewPayloadSchema: ZodObject<{
  id: 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>;
  }>>;
  userId: ZodString;
}, $strip>;

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