update show credential
This commit is contained in:
1 parent
09c831b74f
commit
ac7bdc0021
3 files changed
+47
-7
No files matched your search
@@ -5,6 +5,21 @@ export enum IApplicationType {
|
||||
PROXY = 'Proxy'
|
||||
}
|
||||
|
||||
export enum ICredentialType {
|
||||
TOKEN = 'Token',
|
||||
IDENTITY = 'Identity'
|
||||
}
|
||||
|
||||
export interface ICredential {
|
||||
type: ICredentialType;
|
||||
name?: string;
|
||||
token?: string;
|
||||
username?: string;
|
||||
password?: string;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
export interface IApplication {
|
||||
id?: string;
|
||||
api?: IApi;
|
||||
@@ -15,6 +30,7 @@ export interface IApplication {
|
||||
user_id?: string;
|
||||
remaining_count?: number;
|
||||
used_count?: number;
|
||||
credential?: ICredential;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user