refactor: clean code
This commit is contained in:
@@ -73,7 +73,7 @@ export interface AccessModel extends BaseModel {
|
||||
|
||||
// #region AccessConfig
|
||||
export type AccessConfigFor1Panel = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiVersion: string;
|
||||
apiKey: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
@@ -119,13 +119,13 @@ export type AccessConfigForBaishan = {
|
||||
};
|
||||
|
||||
export type AccessConfigForBaotaPanel = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiKey: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
};
|
||||
|
||||
export type AccessConfigForBaotaWAF = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiKey: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
};
|
||||
@@ -144,7 +144,7 @@ export type AccessConfigForCacheFly = {
|
||||
};
|
||||
|
||||
export type AccessConfigForCdnfly = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiKey: string;
|
||||
apiSecret: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
@@ -204,7 +204,7 @@ export type AccessConfigForEmail = {
|
||||
};
|
||||
|
||||
export type AccessConfigForFlexCDN = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiRole: string;
|
||||
accessKeyId: string;
|
||||
accessKey: string;
|
||||
@@ -226,7 +226,7 @@ export type AccessConfigForGoDaddy = {
|
||||
};
|
||||
|
||||
export type AccessConfigForGoEdge = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiRole: string;
|
||||
accessKeyId: string;
|
||||
accessKey: string;
|
||||
@@ -257,7 +257,7 @@ export type AccessConfigForLarkBot = {
|
||||
};
|
||||
|
||||
export type AccessConfigForLeCDN = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiVersion: string;
|
||||
apiRole: string;
|
||||
username: string;
|
||||
@@ -306,13 +306,13 @@ export type AccessConfigForPorkbun = {
|
||||
};
|
||||
|
||||
export type AccessConfigForPowerDNS = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiKey: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
};
|
||||
|
||||
export type AccessConfigForProxmoxVE = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiToken: string;
|
||||
apiTokenSecret?: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
@@ -328,14 +328,14 @@ export type AccessConfigForRainYun = {
|
||||
};
|
||||
|
||||
export type AccessConfigForRatPanel = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
accessTokenId: number;
|
||||
accessToken: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
};
|
||||
|
||||
export type AccessConfigForSafeLine = {
|
||||
apiUrl: string;
|
||||
serverUrl: string;
|
||||
apiToken: string;
|
||||
allowInsecureConnections?: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user