@contrail/cli 2.1.6 → 2.1.8

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
@@ -15,7 +15,7 @@ $ npm install -g @contrail/cli
15
15
  $ contrail COMMAND
16
16
  running command...
17
17
  $ contrail (--version)
18
- @contrail/cli/2.1.6 darwin-arm64 node-v18.13.0
18
+ @contrail/cli/2.1.8 darwin-arm64 node-v18.13.0
19
19
  $ contrail --help [COMMAND]
20
20
  USAGE
21
21
  $ contrail COMMAND
@@ -216,7 +216,12 @@ function reduceRuleSetLinks(data) {
216
216
  type: type.slug
217
217
  });
218
218
  }
219
- return reducedRuleSetLinks;
219
+ return reducedRuleSetLinks.sort((one, two) => {
220
+ if (one.type === two.type) {
221
+ return one.ruleSet > two.ruleSet ? -1 : 1;
222
+ }
223
+ return one.type > two.type ? -1 : 1;
224
+ });
220
225
  }
221
226
  function reduceRuleSets(data) {
222
227
  var _a;
@@ -307,6 +312,7 @@ function reduceTypes(dataHolder) {
307
312
  formulaFunction: typeProperty.formulaFunction,
308
313
  validationFunction: typeProperty.validationFunction,
309
314
  numberFormat: typeProperty.numberFormat,
315
+ sequenceSeedValue: typeProperty.sequenceSeedValue,
310
316
  };
311
317
  reducedTypeProperties.push(reducedTypeProperty);
312
318
  }
@@ -156,6 +156,7 @@ async function uploadReducedTypeProperties(type, currentPropertyTypes, newProper
156
156
  formulaFunction: newPropertyType.formulaFunction,
157
157
  validationFunction: newPropertyType.validationFunction,
158
158
  numberFormat: newPropertyType.numberFormat,
159
+ sequenceSeedValue: newPropertyType.sequenceSeedValue,
159
160
  }),
160
161
  headers: {
161
162
  Accept: 'application/json',
@@ -316,6 +316,7 @@ export interface ReducedTypeProperty {
316
316
  formulaFunction?: string;
317
317
  validationFunction?: string;
318
318
  numberFormat?: any;
319
+ sequenceSeedValue?: number;
319
320
  }
320
321
  export interface ReducedOptionSet {
321
322
  name: string;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.6",
2
+ "version": "2.1.8",
3
3
  "commands": {
4
4
  "app:create": {
5
5
  "id": "app:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "bin": {
6
6
  "contrail-cli": "./bin/run",