@contrail/cli 3.0.4 → 3.0.6
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
package/dist/api/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function getOptionSets(): Promise<any[]>;
|
|
2
|
+
export declare function getUserLists(): Promise<any[]>;
|
|
2
3
|
export declare function getOptionSetHierarchies(): Promise<any[]>;
|
|
3
4
|
export declare function getOptionSetHierarchyLinks(): Promise<any[]>;
|
|
4
5
|
export declare function getRuleSets(): Promise<any[]>;
|
package/dist/api/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTypePolicyLinks = exports.getTypePolicies = exports.getTypePropertyPolicyLinks = exports.getTypePropertyPolicies = exports.getUsageInfo = exports.getRuleSetLinks = exports.getRuleSets = exports.getOptionSetHierarchyLinks = exports.getOptionSetHierarchies = exports.getOptionSets = void 0;
|
|
3
|
+
exports.getTypePolicyLinks = exports.getTypePolicies = exports.getTypePropertyPolicyLinks = exports.getTypePropertyPolicies = exports.getUsageInfo = exports.getRuleSetLinks = exports.getRuleSets = exports.getOptionSetHierarchyLinks = exports.getOptionSetHierarchies = exports.getUserLists = exports.getOptionSets = void 0;
|
|
4
4
|
const sdk_1 = require("@contrail/sdk");
|
|
5
5
|
async function getOptionSets() {
|
|
6
6
|
return await new sdk_1.Entities().get({
|
|
@@ -8,6 +8,12 @@ async function getOptionSets() {
|
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
exports.getOptionSets = getOptionSets;
|
|
11
|
+
async function getUserLists() {
|
|
12
|
+
return await new sdk_1.Entities().get({
|
|
13
|
+
entityName: 'user-list',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
exports.getUserLists = getUserLists;
|
|
11
17
|
async function getOptionSetHierarchies() {
|
|
12
18
|
const entitiesClient = new sdk_1.Entities();
|
|
13
19
|
return await entitiesClient.get({
|
|
@@ -64,6 +64,7 @@ async function getAll(outDir, overwrite) {
|
|
|
64
64
|
typePolicyLinks: await (0, types_1.getTypePolicyLinks)(),
|
|
65
65
|
orgUsers: await (0, users_1.getUserOrgs)(),
|
|
66
66
|
groups: await (0, users_1.getGroups)(),
|
|
67
|
+
userList: await (0, types_1.getUserLists)(),
|
|
67
68
|
};
|
|
68
69
|
const reducedData = await (0, types_2.getAllReducedTypes)(data);
|
|
69
70
|
await saveData(reducedData, outDir, overwrite);
|
package/dist/interfaces.d.ts
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrail/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "VibeIQ's Contrail Platform CLI.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"contrail-cli": "./bin/run",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@contrail/entity-types": "^1.1.17",
|
|
26
|
-
"@contrail/org-config-migration": "^1.1.
|
|
26
|
+
"@contrail/org-config-migration": "^1.1.4",
|
|
27
27
|
"@contrail/sdk": "^1.4.6",
|
|
28
28
|
"@contrail/types": "^3.0.48",
|
|
29
29
|
"@contrail/util": "^1.0.41",
|