Skip to content

Variable: StatusCreateRequestSchema ​

ts
const StatusCreateRequestSchema: ZodObject<{
  scope: ZodObject<{
     project: ZodOptional<ZodObject<{
        id: ZodString;
     }, ApiObjectConfig<undefined>>>;
     type: ZodCustom<string & object | "PROJECT" | "GLOBAL", string & object | "PROJECT" | "GLOBAL">;
  }, ApiObjectConfig<undefined>>;
  statuses: ZodArray<ZodObject<{
     description: ZodOptional<ZodString>;
     name: ZodString;
     statusCategory: ZodCustom<string & object | "TODO" | "IN_PROGRESS" | "DONE", string & object | "TODO" | "IN_PROGRESS" | "DONE">;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/statusCreateRequest.ts:7

Details of the statuses being created and their scope.