Skip to content

Commit

Permalink
Merge pull request #63 from hopinc/fix/secret-in-use-by
Browse files Browse the repository at this point in the history
fix: secret.in_use_by
  • Loading branch information
alii authored Nov 30, 2022
2 parents 03fce1f + 646d66d commit a75a7c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-moons-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

Added ProjectSecret#in_use_by
5 changes: 5 additions & 0 deletions src/rest/types/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ export interface Secret {
* The time this secret was created at
*/
created_at: Timestamp;

/**
* Deployment IDs this secret is used by
*/
in_use_by: Id<'deployment'>[];
}

export type ProjectsEndpoints =
Expand Down

1 comment on commit a75a7c7

@vercel
Copy link

@vercel vercel bot commented on a75a7c7 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-git-master-onehop.vercel.app
js.hop.io
hop-js-onehop.vercel.app

Please sign in to comment.