Skip to content

Variable: ReindexRequestSchema ​

ts
const ReindexRequestSchema: ZodObject<{
  completionTime: ZodOptional<ZodCoercedDate<unknown>>;
  id: ZodOptional<ZodNumber>;
  requestTime: ZodOptional<ZodCoercedDate<unknown>>;
  startTime: ZodOptional<ZodCoercedDate<unknown>>;
  status: ZodOptional<ZodCustom<
     | string & object
     | "RUNNING"
     | "COMPLETE"
     | "FAILED"
     | "PENDING"
     | "ACTIVE", 
     | string & object
     | "RUNNING"
     | "COMPLETE"
     | "FAILED"
     | "PENDING"
    | "ACTIVE">>;
  type: ZodOptional<ZodCustom<string & object | "IMMEDIATE" | "DELAYED", string & object | "IMMEDIATE" | "DELAYED">>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/reindexRequest.ts:4