Skip to content

Commit

Permalink
Merge pull request #64 from hopinc/fix/deployment-build-props
Browse files Browse the repository at this point in the history
fix/deployment build props
  • Loading branch information
alii authored Nov 30, 2022
2 parents beb5998 + 78427ad commit 27f3eae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-days-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': minor
---

Remove deployment.latest_build
12 changes: 2 additions & 10 deletions src/rest/types/ignite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,12 @@ export interface Deployment {

/**
* Current active build for deployment
* @deprecated Use latest_build instead
*/
active_build: Build | null;

/**
* The active build ID to use. This can differ from .latest_build.id
* because if we promote an older build to production, then the latest_build
* will *not* be the active build.
* The ID of the build currently being used in production by this deployment.
* This will change if another build has been promoted to production.
*/
build_id: Build['id'] | null;

Expand All @@ -234,12 +232,6 @@ export interface Deployment {
*/
latest_rollout: DeploymentRollout | null;

/**
* Current active build for deployment.
* Is nullable if the deployment has no builds yet.
*/
latest_build: Build | null;

/**
* The amount of containers in the running state
*/
Expand Down

1 comment on commit 27f3eae

@vercel
Copy link

@vercel vercel bot commented on 27f3eae Nov 30, 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-onehop.vercel.app
hop-js-git-master-onehop.vercel.app
js.hop.io

Please sign in to comment.