@cloudbase/types 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -3
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -22,11 +22,16 @@ export interface KVstring {
|
|
|
22
22
|
|
|
23
23
|
export type EndPointKey = 'CLOUD_API' | 'GATEWAY'
|
|
24
24
|
|
|
25
|
+
/** 自定义登录凭证信息(从控制台下载的私钥文件) */
|
|
25
26
|
export interface ICredentialsInfo {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
/** 私钥 ID */
|
|
28
|
+
private_key_id: string;
|
|
29
|
+
/** RSA 私钥内容 */
|
|
30
|
+
private_key: string;
|
|
31
|
+
/** 所属环境 ID */
|
|
32
|
+
env_id: string;
|
|
29
33
|
}
|
|
34
|
+
|
|
30
35
|
export interface ICloudbaseConfig {
|
|
31
36
|
env: string
|
|
32
37
|
region?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/types",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "cloudbase javascript sdk types",
|
|
5
5
|
"files": [
|
|
6
6
|
"index.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"lint": "eslint --fix \"./**/*.ts\"",
|
|
44
44
|
"precommit": "npm run lint"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "5f712e638aa0a0f082986a31c6288b18125a3e24"
|
|
47
47
|
}
|