From 8aff0326570c02ba9bbfe215c4c4fe990aeb4956 Mon Sep 17 00:00:00 2001 From: Cody Miller <hello@looskie.com> Date: Tue, 4 Oct 2022 22:24:17 -0400 Subject: [PATCH 1/2] devex: add build that triggered the rollout --- src/rest/types/ignite.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rest/types/ignite.ts b/src/rest/types/ignite.ts index ce0beede..ce53620e 100644 --- a/src/rest/types/ignite.ts +++ b/src/rest/types/ignite.ts @@ -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 From 4919c954665c4bfa7febbfbb4d1f4f2bdde78089 Mon Sep 17 00:00:00 2001 From: Cody Miller <hello@looskie.com> Date: Tue, 4 Oct 2022 22:25:33 -0400 Subject: [PATCH 2/2] docs(changeset): Added build to rollout object for if the rollout was triggered by a build --- .changeset/pretty-bulldogs-tie.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/pretty-bulldogs-tie.md diff --git a/.changeset/pretty-bulldogs-tie.md b/.changeset/pretty-bulldogs-tie.md new file mode 100644 index 00000000..f64ebbfe --- /dev/null +++ b/.changeset/pretty-bulldogs-tie.md @@ -0,0 +1,5 @@ +--- +'@onehop/js': patch +--- + +Added build to rollout object for if the rollout was triggered by a build