Skip to content

Variable: SubmitBuildsSchema

ts
const SubmitBuildsSchema: ZodObject<{
  builds: ZodArray<ZodObject<{
     associations: ZodOptional<ZodArray<ZodObject<{
        associationType: ZodCustom<... | ... | ..., ... | ... | ...>;
        values: ZodArray<ZodString>;
     }, $loose>>>;
     buildNumber: ZodNumber;
     description: ZodOptional<ZodString>;
     displayName: ZodString;
     label: ZodOptional<ZodString>;
     lastUpdated: ZodUnion<readonly [ZodString, ZodDate]>;
     pipelineId: ZodString;
     references: ZodOptional<ZodArray<ZodObject<{
        commit: ZodOptional<ZodObject<..., ...>>;
        ref: ZodOptional<ZodObject<..., ...>>;
     }, $strip>>>;
     schemaVersion: ZodOptional<ZodCustom<string & object | "1.0", string & object | "1.0">>;
     state: ZodCustom<
        | "failed"
        | "unknown"
        | "pending"
        | string & object
        | "successful"
        | "in_progress"
        | "cancelled", 
        | "failed"
        | "unknown"
        | "pending"
        | string & object
        | "successful"
        | "in_progress"
       | "cancelled">;
     testInfo: ZodOptional<ZodObject<{
        numberFailed: ZodNumber;
        numberPassed: ZodNumber;
        numberSkipped: ZodOptional<ZodNumber>;
        totalNumber: ZodNumber;
     }, $strip>>;
     updateSequenceNumber: ZodNumber;
     url: ZodString;
  }, $strip>>;
  properties: ZodOptional<ZodRecord<ZodString, ZodAny>>;
  providerMetadata: ZodOptional<ZodObject<{
     product: ZodOptional<ZodString>;
  }, $strip>>;
}, $strip>;

Defined in: src/agile/parameters/submitBuilds.ts:5