Skip to content

Variable: SubmitDeploymentsSchema

ts
const SubmitDeploymentsSchema: ZodObject<{
  deployments: ZodArray<ZodObject<{
     associations: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
        associationType: ...;
        values: ...;
      }, $loose>, ZodObject<{
        associationType: ...;
        values: ...;
      }, $loose>, ZodObject<{
        associationType: ...;
        values: ...;
     }, $loose>]>>>;
     commands: ZodOptional<ZodArray<ZodObject<{
        command: ZodOptional<ZodString>;
     }, $strip>>>;
     deploymentSequenceNumber: ZodNumber;
     description: ZodString;
     displayName: ZodString;
     duration: ZodOptional<ZodNumber>;
     environment: ZodObject<{
        displayName: ZodString;
        id: ZodString;
        type: ZodCustom<
           | string & object
           | "unmapped"
           | "development"
           | "testing"
           | "staging"
           | "production", 
           | string & object
           | "unmapped"
           | "development"
           | "testing"
           | "staging"
          | "production">;
     }, $strip>;
     label: ZodOptional<ZodString>;
     lastUpdated: ZodUnion<readonly [ZodString, ZodDate]>;
     pipeline: ZodObject<{
        displayName: ZodString;
        id: ZodString;
        url: ZodURL;
     }, $strip>;
     schemaVersion: ZodOptional<ZodCustom<string & object | "1.0", string & object | "1.0">>;
     state: ZodCustom<
        | "failed"
        | "unknown"
        | "pending"
        | string & object
        | "successful"
        | "in_progress"
        | "cancelled"
        | "rolled_back", 
        | "failed"
        | "unknown"
        | "pending"
        | string & object
        | "successful"
        | "in_progress"
        | "cancelled"
       | "rolled_back">;
     updateSequenceNumber: ZodNumber;
     url: ZodURL;
  }, $strip>>;
  properties: ZodOptional<ZodRecord<ZodString, ZodAny>>;
  providerMetadata: ZodOptional<ZodObject<{
     product: ZodOptional<ZodString>;
  }, $strip>>;
}, $strip>;

Defined in: src/agile/parameters/submitDeployments.ts:7