Skip to content

Variable: PrioritySchemeIdSchema ​

ts
const PrioritySchemeIdSchema: ZodObject<{
  id: ZodOptional<ZodString>;
  task: ZodOptional<ZodObject<{
     description: ZodOptional<ZodString>;
     elapsedRuntime: ZodNumber;
     finished: ZodOptional<ZodNumber>;
     id: ZodString;
     lastUpdate: ZodNumber;
     message: ZodOptional<ZodString>;
     progress: ZodNumber;
     result: ZodOptional<ZodUnknown>;
     self: ZodURL;
     started: ZodOptional<ZodNumber>;
     status: ZodCustom<
        | string & object
        | "ENQUEUED"
        | "RUNNING"
        | "COMPLETE"
        | "FAILED"
        | "CANCEL_REQUESTED"
        | "CANCELLED"
        | "DEAD", 
        | string & object
        | "ENQUEUED"
        | "RUNNING"
        | "COMPLETE"
        | "FAILED"
        | "CANCEL_REQUESTED"
        | "CANCELLED"
       | "DEAD">;
     submitted: ZodNumber;
     submittedBy: ZodNumber;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/prioritySchemeId.ts:6

The ID of a priority scheme.