update show credential

This commit is contained in:
AceDataCloud committed 2023-02-11 22:31:46 +08:00
1 parent 09c831b74f
commit ac7bdc0021
3 files changed
+47 -7

No files matched your search

+16
View File
@@ -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;
}