Skip to content

Commit

Permalink
feat: updated DeploymentOptions with stronger typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Jun 24, 2022
1 parent 590cc00 commit c16e070
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/operations/deployRelease/deployment-options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { EnvironmentResource, TenantResource } from "@octopusdeploy/message-contracts";

export interface DeploymentOptions {
cancelOnTimeout: boolean;
deployAt?: Date | undefined;
deployTo: string[];
deployTo: EnvironmentResource[];
deploymentCheckSleepCycle: number;
deploymentTimeout: number;
excludeMachines: string[];
Expand All @@ -14,7 +16,7 @@ export interface DeploymentOptions {
rawLogFile?: string | undefined;
skipStepNames: string[];
specificMachines: string[];
tenants: string[];
tenants: TenantResource[];
tenantTags: string[];
variable: Variable[];
waitForDeployment: boolean;
Expand Down

0 comments on commit c16e070

Please sign in to comment.