forked from netbirdio/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new fields on setting pag (netbirdio#258)
- Loading branch information
1 parent
3797db9
commit 04a20fa
Showing
2 changed files
with
697 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Oops, something went wrong.