tencentcloud-sdk-nodejs-tcr 4.0.1038 → 4.1.4

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/README.md CHANGED
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
52
52
 
53
53
  ## 通过源码包安装
54
54
 
55
- 1. 前往 [GitHub 仓库](https://github.com/tencentcloud/tencentcloud-sdk-nodejs) 或者 [Gitee 仓库](https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs) 下载源码压缩包。
56
- 2. 解压源码包到您项目合适的位置,例如 `sdk/tencentcloud-sdk-nodejs`。
57
- 3. 执行 `npm install ./sdk/tencentcloud-sdk-nodejs`。
58
- 4. 使用 `require("tencentcloud-sdk-nodejs")` 的方式引入 SDK,具体可参考示例。
55
+ 1. clone 代码到本地:
56
+ ```
57
+ git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
58
+ # 或者
59
+ git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
60
+ ```
61
+ 2. 在项目根目录执行以下命令完成构建:
62
+ ```
63
+ npm install && npm run build
64
+ ```
65
+ 3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
66
+ ```
67
+ npm pack
68
+ ```
69
+ 4. 安装包到你的项目里:
70
+ ```
71
+ npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
72
+ ```
59
73
 
60
74
  # 示例
61
75
 
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./services";
@@ -0,0 +1 @@
1
+ export { tcr } from "./tcr";
@@ -0,0 +1,4 @@
1
+ import { v20190924 } from "./v20190924";
2
+ export const tcr = {
3
+ v20190924: v20190924,
4
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./tcr_models";
2
+ import { Client } from "./tcr_client";
3
+ export const v20190924 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1,336 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("tcr.tencentcloudapi.com", "2019-09-24", clientConfig);
5
+ }
6
+ async DescribeImageLifecycleGlobalPersonal(req, cb) {
7
+ return this.request("DescribeImageLifecycleGlobalPersonal", req, cb);
8
+ }
9
+ async DescribeReplicationInstances(req, cb) {
10
+ return this.request("DescribeReplicationInstances", req, cb);
11
+ }
12
+ async DeleteSecurityPolicy(req, cb) {
13
+ return this.request("DeleteSecurityPolicy", req, cb);
14
+ }
15
+ async DescribeImagePersonal(req, cb) {
16
+ return this.request("DescribeImagePersonal", req, cb);
17
+ }
18
+ async DeleteReplicationInstance(req, cb) {
19
+ return this.request("DeleteReplicationInstance", req, cb);
20
+ }
21
+ async CreateNamespace(req, cb) {
22
+ return this.request("CreateNamespace", req, cb);
23
+ }
24
+ async DescribeRepositories(req, cb) {
25
+ return this.request("DescribeRepositories", req, cb);
26
+ }
27
+ async ManageReplication(req, cb) {
28
+ return this.request("ManageReplication", req, cb);
29
+ }
30
+ async DescribeWebhookTriggerLog(req, cb) {
31
+ return this.request("DescribeWebhookTriggerLog", req, cb);
32
+ }
33
+ async DescribeImageManifests(req, cb) {
34
+ return this.request("DescribeImageManifests", req, cb);
35
+ }
36
+ async ManageImageLifecycleGlobalPersonal(req, cb) {
37
+ return this.request("ManageImageLifecycleGlobalPersonal", req, cb);
38
+ }
39
+ async CreateInstanceCustomizedDomain(req, cb) {
40
+ return this.request("CreateInstanceCustomizedDomain", req, cb);
41
+ }
42
+ async DeleteImmutableTagRules(req, cb) {
43
+ return this.request("DeleteImmutableTagRules", req, cb);
44
+ }
45
+ async DeleteImagePersonal(req, cb) {
46
+ return this.request("DeleteImagePersonal", req, cb);
47
+ }
48
+ async CreateImageAccelerationService(req, cb) {
49
+ return this.request("CreateImageAccelerationService", req, cb);
50
+ }
51
+ async ModifyWebhookTrigger(req, cb) {
52
+ return this.request("ModifyWebhookTrigger", req, cb);
53
+ }
54
+ async BatchDeleteRepositoryPersonal(req, cb) {
55
+ return this.request("BatchDeleteRepositoryPersonal", req, cb);
56
+ }
57
+ async DeleteWebhookTrigger(req, cb) {
58
+ return this.request("DeleteWebhookTrigger", req, cb);
59
+ }
60
+ async DescribeReplicationInstanceCreateTasks(req, cb) {
61
+ return this.request("DescribeReplicationInstanceCreateTasks", req, cb);
62
+ }
63
+ async DeleteImageAccelerateService(req, cb) {
64
+ return this.request("DeleteImageAccelerateService", req, cb);
65
+ }
66
+ async DescribeFavorRepositoryPersonal(req, cb) {
67
+ return this.request("DescribeFavorRepositoryPersonal", req, cb);
68
+ }
69
+ async CreateMultipleSecurityPolicy(req, cb) {
70
+ return this.request("CreateMultipleSecurityPolicy", req, cb);
71
+ }
72
+ async DeleteServiceAccount(req, cb) {
73
+ return this.request("DeleteServiceAccount", req, cb);
74
+ }
75
+ async DescribeTagRetentionRules(req, cb) {
76
+ return this.request("DescribeTagRetentionRules", req, cb);
77
+ }
78
+ async DuplicateImagePersonal(req, cb) {
79
+ return this.request("DuplicateImagePersonal", req, cb);
80
+ }
81
+ async CreateTagRetentionRule(req, cb) {
82
+ return this.request("CreateTagRetentionRule", req, cb);
83
+ }
84
+ async DeleteImageLifecycleGlobalPersonal(req, cb) {
85
+ return this.request("DeleteImageLifecycleGlobalPersonal", req, cb);
86
+ }
87
+ async DescribeReplicationInstanceSyncStatus(req, cb) {
88
+ return this.request("DescribeReplicationInstanceSyncStatus", req, cb);
89
+ }
90
+ async DeleteNamespacePersonal(req, cb) {
91
+ return this.request("DeleteNamespacePersonal", req, cb);
92
+ }
93
+ async ModifyRepositoryAccessPersonal(req, cb) {
94
+ return this.request("ModifyRepositoryAccessPersonal", req, cb);
95
+ }
96
+ async ModifyInstance(req, cb) {
97
+ return this.request("ModifyInstance", req, cb);
98
+ }
99
+ async DescribeApplicationTriggerPersonal(req, cb) {
100
+ return this.request("DescribeApplicationTriggerPersonal", req, cb);
101
+ }
102
+ async ModifyServiceAccountPassword(req, cb) {
103
+ return this.request("ModifyServiceAccountPassword", req, cb);
104
+ }
105
+ async DescribeTagRetentionExecution(req, cb) {
106
+ return this.request("DescribeTagRetentionExecution", req, cb);
107
+ }
108
+ async DeleteInstanceCustomizedDomain(req, cb) {
109
+ return this.request("DeleteInstanceCustomizedDomain", req, cb);
110
+ }
111
+ async DescribeGCJobs(req, cb) {
112
+ return this.request("DescribeGCJobs", req, cb);
113
+ }
114
+ async DescribeImageAccelerateService(req, cb) {
115
+ return this.request("DescribeImageAccelerateService", req, cb);
116
+ }
117
+ async ModifyRepositoryInfoPersonal(req, cb) {
118
+ return this.request("ModifyRepositoryInfoPersonal", req, cb);
119
+ }
120
+ async CreateTagRetentionExecution(req, cb) {
121
+ return this.request("CreateTagRetentionExecution", req, cb);
122
+ }
123
+ async CheckInstanceName(req, cb) {
124
+ return this.request("CheckInstanceName", req, cb);
125
+ }
126
+ async CheckInstance(req, cb) {
127
+ return this.request("CheckInstance", req, cb);
128
+ }
129
+ async DescribeNamespacePersonal(req, cb) {
130
+ return this.request("DescribeNamespacePersonal", req, cb);
131
+ }
132
+ async DescribeInstanceAllNamespaces(req, cb) {
133
+ return this.request("DescribeInstanceAllNamespaces", req, cb);
134
+ }
135
+ async DescribeRepositoryPersonal(req, cb) {
136
+ return this.request("DescribeRepositoryPersonal", req, cb);
137
+ }
138
+ async RenewInstance(req, cb) {
139
+ return this.request("RenewInstance", req, cb);
140
+ }
141
+ async CreateInstance(req, cb) {
142
+ return this.request("CreateInstance", req, cb);
143
+ }
144
+ async DescribeRegions(req, cb) {
145
+ return this.request("DescribeRegions", req, cb);
146
+ }
147
+ async DescribeSecurityPolicies(req, cb) {
148
+ return this.request("DescribeSecurityPolicies", req, cb);
149
+ }
150
+ async BatchDeleteImagePersonal(req, cb) {
151
+ return this.request("BatchDeleteImagePersonal", req, cb);
152
+ }
153
+ async CreateReplicationInstance(req, cb) {
154
+ return this.request("CreateReplicationInstance", req, cb);
155
+ }
156
+ async CreateRepository(req, cb) {
157
+ return this.request("CreateRepository", req, cb);
158
+ }
159
+ async ManageExternalEndpoint(req, cb) {
160
+ return this.request("ManageExternalEndpoint", req, cb);
161
+ }
162
+ async ModifySecurityPolicy(req, cb) {
163
+ return this.request("ModifySecurityPolicy", req, cb);
164
+ }
165
+ async DescribeTagRetentionExecutionTask(req, cb) {
166
+ return this.request("DescribeTagRetentionExecutionTask", req, cb);
167
+ }
168
+ async DeleteMultipleSecurityPolicy(req, cb) {
169
+ return this.request("DeleteMultipleSecurityPolicy", req, cb);
170
+ }
171
+ async DescribeImageLifecyclePersonal(req, cb) {
172
+ return this.request("DescribeImageLifecyclePersonal", req, cb);
173
+ }
174
+ async DescribeRepositoryFilterPersonal(req, cb) {
175
+ return this.request("DescribeRepositoryFilterPersonal", req, cb);
176
+ }
177
+ async CreateUserPersonal(req, cb) {
178
+ return this.request("CreateUserPersonal", req, cb);
179
+ }
180
+ async DescribeInstanceCustomizedDomain(req, cb) {
181
+ return this.request("DescribeInstanceCustomizedDomain", req, cb);
182
+ }
183
+ async ModifyNamespace(req, cb) {
184
+ return this.request("ModifyNamespace", req, cb);
185
+ }
186
+ async DescribeImmutableTagRules(req, cb) {
187
+ return this.request("DescribeImmutableTagRules", req, cb);
188
+ }
189
+ async CreateSecurityPolicy(req, cb) {
190
+ return this.request("CreateSecurityPolicy", req, cb);
191
+ }
192
+ async CreateSignaturePolicy(req, cb) {
193
+ return this.request("CreateSignaturePolicy", req, cb);
194
+ }
195
+ async DeleteInstance(req, cb) {
196
+ return this.request("DeleteInstance", req, cb);
197
+ }
198
+ async ModifyRepository(req, cb) {
199
+ return this.request("ModifyRepository", req, cb);
200
+ }
201
+ async DescribeChartDownloadInfo(req, cb) {
202
+ return this.request("DescribeChartDownloadInfo", req, cb);
203
+ }
204
+ async ModifyServiceAccount(req, cb) {
205
+ return this.request("ModifyServiceAccount", req, cb);
206
+ }
207
+ async DescribeUserQuotaPersonal(req, cb) {
208
+ return this.request("DescribeUserQuotaPersonal", req, cb);
209
+ }
210
+ async CreateImmutableTagRules(req, cb) {
211
+ return this.request("CreateImmutableTagRules", req, cb);
212
+ }
213
+ async DeleteRepositoryTags(req, cb) {
214
+ return this.request("DeleteRepositoryTags", req, cb);
215
+ }
216
+ async DescribeInstanceToken(req, cb) {
217
+ return this.request("DescribeInstanceToken", req, cb);
218
+ }
219
+ async DownloadHelmChart(req, cb) {
220
+ return this.request("DownloadHelmChart", req, cb);
221
+ }
222
+ async ModifyImmutableTagRules(req, cb) {
223
+ return this.request("ModifyImmutableTagRules", req, cb);
224
+ }
225
+ async DeleteApplicationTriggerPersonal(req, cb) {
226
+ return this.request("DeleteApplicationTriggerPersonal", req, cb);
227
+ }
228
+ async CreateInternalEndpointDns(req, cb) {
229
+ return this.request("CreateInternalEndpointDns", req, cb);
230
+ }
231
+ async ModifyInstanceToken(req, cb) {
232
+ return this.request("ModifyInstanceToken", req, cb);
233
+ }
234
+ async CreateWebhookTrigger(req, cb) {
235
+ return this.request("CreateWebhookTrigger", req, cb);
236
+ }
237
+ async CreateApplicationTriggerPersonal(req, cb) {
238
+ return this.request("CreateApplicationTriggerPersonal", req, cb);
239
+ }
240
+ async ValidateRepositoryExistPersonal(req, cb) {
241
+ return this.request("ValidateRepositoryExistPersonal", req, cb);
242
+ }
243
+ async ModifyApplicationTriggerPersonal(req, cb) {
244
+ return this.request("ModifyApplicationTriggerPersonal", req, cb);
245
+ }
246
+ async DescribeNamespaces(req, cb) {
247
+ return this.request("DescribeNamespaces", req, cb);
248
+ }
249
+ async DescribeServiceAccounts(req, cb) {
250
+ return this.request("DescribeServiceAccounts", req, cb);
251
+ }
252
+ async CreateSignature(req, cb) {
253
+ return this.request("CreateSignature", req, cb);
254
+ }
255
+ async DeleteInternalEndpointDns(req, cb) {
256
+ return this.request("DeleteInternalEndpointDns", req, cb);
257
+ }
258
+ async ModifyTagRetentionRule(req, cb) {
259
+ return this.request("ModifyTagRetentionRule", req, cb);
260
+ }
261
+ async DescribeImageFilterPersonal(req, cb) {
262
+ return this.request("DescribeImageFilterPersonal", req, cb);
263
+ }
264
+ async DeleteRepository(req, cb) {
265
+ return this.request("DeleteRepository", req, cb);
266
+ }
267
+ async DescribeRepositoryOwnerPersonal(req, cb) {
268
+ return this.request("DescribeRepositoryOwnerPersonal", req, cb);
269
+ }
270
+ async DescribeImages(req, cb) {
271
+ return this.request("DescribeImages", req, cb);
272
+ }
273
+ async DeleteTagRetentionRule(req, cb) {
274
+ return this.request("DeleteTagRetentionRule", req, cb);
275
+ }
276
+ async DeleteNamespace(req, cb) {
277
+ return this.request("DeleteNamespace", req, cb);
278
+ }
279
+ async DeleteSignaturePolicy(req, cb) {
280
+ return this.request("DeleteSignaturePolicy", req, cb);
281
+ }
282
+ async CreateServiceAccount(req, cb) {
283
+ return this.request("CreateServiceAccount", req, cb);
284
+ }
285
+ async DescribeInstances(req, cb) {
286
+ return this.request("DescribeInstances", req, cb);
287
+ }
288
+ async DeleteRepositoryPersonal(req, cb) {
289
+ return this.request("DeleteRepositoryPersonal", req, cb);
290
+ }
291
+ async DescribeApplicationTriggerLogPersonal(req, cb) {
292
+ return this.request("DescribeApplicationTriggerLogPersonal", req, cb);
293
+ }
294
+ async DeleteInstanceToken(req, cb) {
295
+ return this.request("DeleteInstanceToken", req, cb);
296
+ }
297
+ async ModifyUserPasswordPersonal(req, cb) {
298
+ return this.request("ModifyUserPasswordPersonal", req, cb);
299
+ }
300
+ async DescribeWebhookTrigger(req, cb) {
301
+ return this.request("DescribeWebhookTrigger", req, cb);
302
+ }
303
+ async ManageInternalEndpoint(req, cb) {
304
+ return this.request("ManageInternalEndpoint", req, cb);
305
+ }
306
+ async DuplicateImage(req, cb) {
307
+ return this.request("DuplicateImage", req, cb);
308
+ }
309
+ async DescribeInstanceStatus(req, cb) {
310
+ return this.request("DescribeInstanceStatus", req, cb);
311
+ }
312
+ async CreateRepositoryPersonal(req, cb) {
313
+ return this.request("CreateRepositoryPersonal", req, cb);
314
+ }
315
+ async DeleteImage(req, cb) {
316
+ return this.request("DeleteImage", req, cb);
317
+ }
318
+ async ValidateNamespaceExistPersonal(req, cb) {
319
+ return this.request("ValidateNamespaceExistPersonal", req, cb);
320
+ }
321
+ async CreateNamespacePersonal(req, cb) {
322
+ return this.request("CreateNamespacePersonal", req, cb);
323
+ }
324
+ async DescribeExternalEndpointStatus(req, cb) {
325
+ return this.request("DescribeExternalEndpointStatus", req, cb);
326
+ }
327
+ async DescribeInternalEndpoints(req, cb) {
328
+ return this.request("DescribeInternalEndpoints", req, cb);
329
+ }
330
+ async DescribeInternalEndpointDnsStatus(req, cb) {
331
+ return this.request("DescribeInternalEndpointDnsStatus", req, cb);
332
+ }
333
+ async CreateInstanceToken(req, cb) {
334
+ return this.request("CreateInstanceToken", req, cb);
335
+ }
336
+ }
File without changes
package/package.json CHANGED
@@ -1,16 +1,26 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tcr",
3
- "version": "4.0.1038",
4
- "description": "Tencent Cloud API NODEJS SDK",
5
- "main": "tencentcloud/index.js",
3
+ "version": "4.1.4",
4
+ "description": "腾讯云 API NODEJS SDK",
5
+ "main": "./tencentcloud/index.js",
6
+ "module": "./es/index.js",
7
+ "types": "./tencentcloud/index.d.ts",
6
8
  "scripts": {
7
9
  "test": "mocha -t 10000",
8
- "build": "tsc",
9
- "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"
10
+ "build": "concurrently 'npm:build:cjs' 'npm:build:es'",
11
+ "build:cjs": "tsc -p tsconfig.json",
12
+ "build:es": "tsc -p tsconfig.es.json",
13
+ "build:slim": "node ./scripts/build_slim.js",
14
+ "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
+ "clean": "rimraf tencentcloud es"
10
16
  },
11
17
  "engines": {
12
18
  "node": ">=10"
13
19
  },
20
+ "files": [
21
+ "tencentcloud",
22
+ "es"
23
+ ],
14
24
  "keywords": [
15
25
  "tencentcloudapi",
16
26
  "tencentcloud",
@@ -22,7 +32,7 @@
22
32
  "author": "tencentcloudapi",
23
33
  "license": "Apache-2.0",
24
34
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
35
+ "tencentcloud-sdk-nodejs-common": "*",
26
36
  "tslib": "1.13.0"
27
37
  },
28
38
  "directories": {
@@ -35,14 +45,22 @@
35
45
  },
36
46
  "devDependencies": {
37
47
  "@types/form-data": "^2.5.0",
48
+ "@types/json-bigint": "^1.0.1",
38
49
  "@types/node": "^14.0.26",
39
50
  "@types/node-fetch": "^2.5.7",
51
+ "@types/uuid": "^9.0.8",
40
52
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
53
  "@typescript-eslint/parser": "^2.34.0",
54
+ "babel-eslint": "^10.0.2",
42
55
  "chai": "^4.2.0",
56
+ "concurrently": "^6.5.1",
57
+ "esbuild": "^0.25.0",
43
58
  "eslint": "^6.8.0",
44
- "mocha": "^8.1.1",
59
+ "eslint-plugin-react": "^7.17.0",
60
+ "mocha": "^8.4.0",
61
+ "prettier": "^2.3.0",
62
+ "rimraf": "^5.0.10",
45
63
  "ts-node": "^8.10.2",
46
64
  "typescript": "^3.9.7"
47
65
  }
48
- }
66
+ }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v20190924 = void 0;
4
- const Models = require("./tcr_models");
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./tcr_models"));
5
6
  const tcr_client_1 = require("./tcr_client");
6
7
  exports.v20190924 = {
7
8
  Client: tcr_client_1.Client,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
6
  /*
6
7
  * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
@@ -18,7 +19,7 @@ exports.Client = void 0;
18
19
  * specific language governing permissions and limitations
19
20
  * under the License.
20
21
  */
21
- const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
22
23
  /**
23
24
  * tcr client
24
25
  * @class
@@ -345,12 +345,10 @@ export interface DuplicateImagePersonalRequest {
345
345
  export interface RetentionRule {
346
346
  /**
347
347
  * 支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)
348
- 注意:此字段可能返回 null,表示取不到有效值。
349
348
  */
350
349
  Key: string;
351
350
  /**
352
351
  * 规则设置下的对应值
353
- 注意:此字段可能返回 null,表示取不到有效值。
354
352
  */
355
353
  Value: number;
356
354
  }
@@ -1485,11 +1483,11 @@ export interface DescribeWebhookTriggerResponse {
1485
1483
  /**
1486
1484
  * 触发器总数
1487
1485
  */
1488
- TotalCount: number;
1486
+ TotalCount?: number;
1489
1487
  /**
1490
1488
  * 触发器列表
1491
1489
  */
1492
- Triggers: Array<WebhookTrigger>;
1490
+ Triggers?: Array<WebhookTrigger>;
1493
1491
  /**
1494
1492
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1495
1493
  */
@@ -1951,11 +1949,11 @@ export interface DescribeRepositoriesRequest {
1951
1949
  */
1952
1950
  RepositoryName?: string;
1953
1951
  /**
1954
- * 页数,用于分页
1952
+ * 页数,第几页,用于分页
1955
1953
  */
1956
1954
  Offset?: number;
1957
1955
  /**
1958
- * 每页个数,用于分页
1956
+ * 每页个数,用于分页,最大值为100
1959
1957
  */
1960
1958
  Limit?: number;
1961
1959
  /**
@@ -2299,7 +2297,6 @@ export interface WebhookTrigger {
2299
2297
  NamespaceId?: number;
2300
2298
  /**
2301
2299
  * 触发器所属命名空间名称
2302
- 注意:此字段可能返回 null,表示取不到有效值。
2303
2300
  */
2304
2301
  NamespaceName?: string;
2305
2302
  }
@@ -4775,33 +4772,31 @@ export interface TcrRepositoryInfo {
4775
4772
  /**
4776
4773
  * 仓库名称
4777
4774
  */
4778
- Name: string;
4775
+ Name?: string;
4779
4776
  /**
4780
4777
  * 命名空间名称
4781
4778
  */
4782
- Namespace: string;
4779
+ Namespace?: string;
4783
4780
  /**
4784
4781
  * 创建时间,格式"2006-01-02 15:04:05.999999999 -0700 MST"
4785
4782
  */
4786
- CreationTime: string;
4783
+ CreationTime?: string;
4787
4784
  /**
4788
4785
  * 是否公开
4789
4786
  */
4790
- Public: boolean;
4787
+ Public?: boolean;
4791
4788
  /**
4792
4789
  * 仓库详细描述
4793
- 注意:此字段可能返回 null,表示取不到有效值。
4794
4790
  */
4795
- Description: string;
4791
+ Description?: string;
4796
4792
  /**
4797
4793
  * 简单描述
4798
- 注意:此字段可能返回 null,表示取不到有效值。
4799
4794
  */
4800
- BriefDescription: string;
4795
+ BriefDescription?: string;
4801
4796
  /**
4802
4797
  * 更新时间,格式"2006-01-02 15:04:05.999999999 -0700 MST"
4803
4798
  */
4804
- UpdateTime: string;
4799
+ UpdateTime?: string;
4805
4800
  }
4806
4801
  /**
4807
4802
  * 实例登录令牌
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import * as tencentcloud from './tencentcloud';
2
- export default tencentcloud;
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- 'use strict'
2
- Object.defineProperty(exports, '__esModule', { value: true })
3
- const tslib_1 = require('tslib')
4
- const tencentcloud = tslib_1.__importStar(require('./tencentcloud'))
5
- exports.default = tencentcloud
6
- //# sourceMappingURL=index.js.map
@@ -1,38 +0,0 @@
1
- // prettier.config.js
2
- module.exports = {
3
- // 一行最多 100 字符
4
- printWidth: 100,
5
- // 使用 4 个空格缩进
6
- tabWidth: 2,
7
- // 不使用缩进符,而使用空格
8
- useTabs: false,
9
- // 行尾需要有分号
10
- semi: false,
11
- // 使用单引号
12
- singleQuote: false,
13
- // 对象的 key 仅在必要时用引号
14
- quoteProps: "as-needed",
15
- // jsx 不使用单引号,而使用双引号
16
- jsxSingleQuote: false,
17
- // 末尾不需要逗号
18
- trailingComma: "es5",
19
- // 大括号内的首尾需要空格
20
- bracketSpacing: true,
21
- // jsx 标签的反尖括号需要换行
22
- jsxBracketSameLine: false,
23
- // 箭头函数,只有一个参数的时候,也需要括号
24
- arrowParens: "always",
25
- // 每个文件格式化的范围是文件的全部内容
26
- rangeStart: 0,
27
- rangeEnd: Infinity,
28
- // 不需要写文件开头的 @prettier
29
- requirePragma: false,
30
- // 不需要自动在文件开头插入 @prettier
31
- insertPragma: false,
32
- // 使用默认的折行标准
33
- proseWrap: "preserve",
34
- // 根据显示样式决定 html 要不要折行
35
- htmlWhitespaceSensitivity: "css",
36
- // 换行符使用 lf
37
- endOfLine: "lf",
38
- }
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./services"
@@ -1 +0,0 @@
1
- export { tcr } from "./tcr"
@@ -1,5 +0,0 @@
1
- import { v20190924 } from "./v20190924"
2
-
3
- export const tcr = {
4
- v20190924: v20190924,
5
- }
@@ -1,6 +0,0 @@
1
- import * as Models from "./tcr_models"
2
- import { Client } from "./tcr_client"
3
- export const v20190924 = {
4
- Client: Client,
5
- Models: Models,
6
- }