Skip to content

Commit

Permalink
Merge pull request #55 from hopinc/add-mfa-field-to-project-member
Browse files Browse the repository at this point in the history
Add mfa field to project member
  • Loading branch information
Looskie authored Nov 9, 2022
2 parents 4654f29 + 3fd7ce9 commit a549633
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/strong-grapes-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

add mfa_enabled field to Project Member type
9 changes: 7 additions & 2 deletions src/rest/types/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ export type Member = Omit<User, 'email' | 'id'> & {
*/
role: MemberRole;

/**
* If user has multi-factor authentication enabled.
*/
mfa_enabled: boolean;

/**
* The date that this member joined the project
*/
Expand Down Expand Up @@ -127,15 +132,15 @@ export interface Project {
export interface DefaultQuotas {
vcpu: number;
ram: number;
volume: number;
volume: number;
}

export interface QuotaOverrides {}

export interface QuotaUsage {
vcpu: number;
ram: number;
volume: number;
volume: number;
}

export interface Secret {
Expand Down

1 comment on commit a549633

@vercel
Copy link

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

Please sign in to comment.