kb-cloud-client-typescript 2.4.0-alpha.53 → 2.4.0-alpha.55

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.
@@ -30,11 +30,11 @@ export interface ComponentItemCreate {
30
30
  */
31
31
  'compNum'?: number;
32
32
  /**
33
- * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
33
+ * Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
34
34
  * @type {number}
35
35
  * @memberof ComponentItemCreate
36
36
  */
37
- 'replicas'?: number;
37
+ 'replicas'?: number | null;
38
38
  /**
39
39
  * Whether to skip resource constraint validation when creating cluster
40
40
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -30,11 +30,11 @@ export interface ComponentItemCreate {
30
30
  */
31
31
  'compNum'?: number;
32
32
  /**
33
- * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
33
+ * Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
34
34
  * @type {number}
35
35
  * @memberof ComponentItemCreate
36
36
  */
37
- 'replicas'?: number;
37
+ 'replicas'?: number | null;
38
38
  /**
39
39
  * Whether to skip resource constraint validation when creating cluster
40
40
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.4.0-alpha.53",
3
+ "version": "2.4.0-alpha.55",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -39,11 +39,11 @@ export interface ComponentItemCreate {
39
39
  */
40
40
  'compNum'?: number;
41
41
  /**
42
- * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
42
+ * Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
43
43
  * @type {number}
44
44
  * @memberof ComponentItemCreate
45
45
  */
46
- 'replicas'?: number;
46
+ 'replicas'?: number | null;
47
47
  /**
48
48
  * Whether to skip resource constraint validation when creating cluster
49
49
  * @type {boolean}
package/src/adminapi.yaml CHANGED
@@ -28507,7 +28507,8 @@ components:
28507
28507
  replicas:
28508
28508
  title: Replicas
28509
28509
  type: integer
28510
- description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
28510
+ x-nullable: true
28511
+ description: Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
28511
28512
  skipResourceConstraints:
28512
28513
  type: boolean
28513
28514
  description: Whether to skip resource constraint validation when creating cluster
@@ -39,11 +39,11 @@ export interface ComponentItemCreate {
39
39
  */
40
40
  'compNum'?: number;
41
41
  /**
42
- * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
42
+ * Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
43
43
  * @type {number}
44
44
  * @memberof ComponentItemCreate
45
45
  */
46
- 'replicas'?: number;
46
+ 'replicas'?: number | null;
47
47
  /**
48
48
  * Whether to skip resource constraint validation when creating cluster
49
49
  * @type {boolean}
package/src/openapi.yaml CHANGED
@@ -24164,7 +24164,8 @@ components:
24164
24164
  replicas:
24165
24165
  title: Replicas
24166
24166
  type: integer
24167
- description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
24167
+ x-nullable: true
24168
+ description: Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
24168
24169
  skipResourceConstraints:
24169
24170
  type: boolean
24170
24171
  description: Whether to skip resource constraint validation when creating cluster