Skip to content

Commit

Permalink
Merge pull request #35 from hopinc/builld-state
Browse files Browse the repository at this point in the history
devex: Builld state type
  • Loading branch information
Looskie authored Oct 6, 2022
2 parents 9fdb81e + 0df3460 commit 68fd0e2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-wolves-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

Add build state to Build type
12 changes: 12 additions & 0 deletions src/rest/types/ignite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ export interface Build {
* Digest for image
*/
digest: string | null;

/**
* State of the build
*/
state: BuildState;
}

export type DeploymentRollout = {
Expand Down Expand Up @@ -586,6 +591,13 @@ export enum DomainState {
SSL_ACTIVE = 'ssl_active',
}

export enum BuildState {
PENDING = 'pending',
FAILED = 'failed',
SUCCEEDED = 'succeeded',
CANCELLED = 'cancelled',
}

export interface Domain {
/**
* The ID of the domain
Expand Down

1 comment on commit 68fd0e2

@vercel
Copy link

@vercel vercel bot commented on 68fd0e2 Oct 6, 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-onehop.vercel.app
hop-js.vercel.app
hop-js-git-master-onehop.vercel.app
js.hop.io

Please sign in to comment.