Skip to content

Commit

Permalink
Merge pull request #32 from hopinc/rollout-type-update
Browse files Browse the repository at this point in the history
Rollout type update
  • Loading branch information
Looskie authored Oct 5, 2022
2 parents 9441fba + 4919c95 commit b26669e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-bulldogs-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

Added build to rollout object for if the rollout was triggered by a build
5 changes: 5 additions & 0 deletions src/rest/types/ignite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ export type DeploymentRollout = {
* The state of the rollout
*/
state: RolloutState;

/**
* The build that triggered the rollout
*/
build: DeploymentBuild | null;
};

// This is a type not an interface so we can make a union
Expand Down

1 comment on commit b26669e

@vercel
Copy link

@vercel vercel bot commented on b26669e Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hop-js – ./

hop-js.vercel.app
hop-js-git-master-onehop.vercel.app
hop-js-onehop.vercel.app
js.hop.io

Please sign in to comment.