From e82c25f8a36111ac6e851db73085eb7e4d898bb7 Mon Sep 17 00:00:00 2001 From: Cody Miller Date: Wed, 9 Nov 2022 11:12:04 -0500 Subject: [PATCH 1/3] docs(changeset): add mfa_enabled field to Project Member type --- .changeset/strong-grapes-ring.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/strong-grapes-ring.md diff --git a/.changeset/strong-grapes-ring.md b/.changeset/strong-grapes-ring.md new file mode 100644 index 00000000..afc287c2 --- /dev/null +++ b/.changeset/strong-grapes-ring.md @@ -0,0 +1,5 @@ +--- +'@onehop/js': patch +--- + +add mfa_enabled field to Project Member type From b1c4ce3b67c8794e3ba52104a4deb416c2d49b80 Mon Sep 17 00:00:00 2001 From: Cody Miller Date: Wed, 9 Nov 2022 11:12:24 -0500 Subject: [PATCH 2/3] devex: add mfa_enabled to project member --- src/rest/types/projects.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/rest/types/projects.ts b/src/rest/types/projects.ts index 9dca577b..5a2a7c2a 100644 --- a/src/rest/types/projects.ts +++ b/src/rest/types/projects.ts @@ -13,6 +13,11 @@ export type Member = Omit & { */ role: MemberRole; + /** + * The role that this member has in a project + */ + mfa_enabled: boolean; + /** * The date that this member joined the project */ @@ -127,7 +132,7 @@ export interface Project { export interface DefaultQuotas { vcpu: number; ram: number; - volume: number; + volume: number; } export interface QuotaOverrides {} @@ -135,7 +140,7 @@ export interface QuotaOverrides {} export interface QuotaUsage { vcpu: number; ram: number; - volume: number; + volume: number; } export interface Secret { From 3fd7ce9bb6c269fc674cd8fcd6b7859f3261d5a7 Mon Sep 17 00:00:00 2001 From: Cody Miller Date: Wed, 9 Nov 2022 11:13:20 -0500 Subject: [PATCH 3/3] devex: update mfa_enabled description --- src/rest/types/projects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/types/projects.ts b/src/rest/types/projects.ts index 5a2a7c2a..1dd463b7 100644 --- a/src/rest/types/projects.ts +++ b/src/rest/types/projects.ts @@ -14,7 +14,7 @@ export type Member = Omit & { role: MemberRole; /** - * The role that this member has in a project + * If user has multi-factor authentication enabled. */ mfa_enabled: boolean;