From 565df369678b4b54bce25afdbbfd96ef7bd7e17b Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Wed, 30 Nov 2022 20:05:55 +0100 Subject: [PATCH 1/2] fix: secret.in_use_by --- src/rest/types/projects.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rest/types/projects.ts b/src/rest/types/projects.ts index 20a58068..edfe87ba 100644 --- a/src/rest/types/projects.ts +++ b/src/rest/types/projects.ts @@ -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 = From 646d66dac35455b62015a7b840a22867b390ac51 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Wed, 30 Nov 2022 20:06:21 +0100 Subject: [PATCH 2/2] docs(changeset): Added ProjectSecret#in_use_by --- .changeset/warm-moons-act.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/warm-moons-act.md diff --git a/.changeset/warm-moons-act.md b/.changeset/warm-moons-act.md new file mode 100644 index 00000000..970f6962 --- /dev/null +++ b/.changeset/warm-moons-act.md @@ -0,0 +1,5 @@ +--- +'@onehop/js': patch +--- + +Added ProjectSecret#in_use_by