Skip to content

Commit

Permalink
add new fields on setting pag (netbirdio#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
saroojbkhari authored Sep 22, 2023
1 parent 3797db9 commit 04a20fa
Show file tree
Hide file tree
Showing 2 changed files with 697 additions and 504 deletions.
17 changes: 13 additions & 4 deletions src/store/account/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import {ExpiresInValue} from "../../views/ExpiresInInput";

export interface Account {
id: string;
settings: { peer_login_expiration_enabled: boolean, peer_login_expiration: number}
id: string;
settings: {
peer_login_expiration_enabled: boolean;
peer_login_expiration: number;
jwt_groups_enabled: boolean;
groups_propagation_enabled: boolean;
jwt_groups_claim_name: string;
};
}

export interface FormAccount extends Account {
peer_login_expiration_enabled: boolean
peer_login_expiration_formatted : ExpiresInValue
peer_login_expiration_enabled: boolean;
jwt_groups_enabled: boolean;
groups_propagation_enabled: boolean;
jwt_groups_claim_name: string;
peer_login_expiration_formatted: ExpiresInValue;
}
Loading

0 comments on commit 04a20fa

Please sign in to comment.