@salesforce/plugin-orchestrator 1.0.30 → 1.0.32

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.
@@ -1,5 +1,106 @@
1
1
  {
2
2
  "commands": {
3
+ "orchestrator:rules:eval": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Preview how transformation rules will modify JSON documents before deploying templates. This command uses a sample transformation to test the jsonxform/transformation endpoint with built-in User and Org context variables.",
7
+ "examples": [
8
+ "Test JSON transformation with Analytics files:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg",
9
+ "Test with specific API version:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg --api-version 60.0"
10
+ ],
11
+ "flags": {
12
+ "json": {
13
+ "description": "Format output as json.",
14
+ "helpGroup": "GLOBAL",
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
18
+ },
19
+ "flags-dir": {
20
+ "helpGroup": "GLOBAL",
21
+ "name": "flags-dir",
22
+ "summary": "Import flag values from a directory.",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "target-org": {
28
+ "char": "o",
29
+ "description": "The username or alias of the target org where the jsonxform/transformation endpoint will be called. This org provides the User and Org context variables used in the transformation.",
30
+ "name": "target-org",
31
+ "noCacheDefault": true,
32
+ "required": true,
33
+ "summary": "Username or alias for the target org; overrides default target org.",
34
+ "hasDynamicHelp": true,
35
+ "multiple": false,
36
+ "type": "option"
37
+ },
38
+ "api-version": {
39
+ "description": "API version to use for the transformation request. Defaults to the org's configured API version.",
40
+ "name": "api-version",
41
+ "summary": "Override the api version used for api requests made by this command.",
42
+ "hasDynamicHelp": false,
43
+ "multiple": false,
44
+ "type": "option"
45
+ },
46
+ "document": {
47
+ "char": "d",
48
+ "description": "Path to the JSON document file (dashboard, lens, etc.) that will be transformed by the rules.",
49
+ "name": "document",
50
+ "required": true,
51
+ "summary": "Path to JSON document file to transform.",
52
+ "hasDynamicHelp": false,
53
+ "multiple": false,
54
+ "type": "option"
55
+ },
56
+ "values": {
57
+ "char": "v",
58
+ "description": "Path to the JSON file containing values used in transformations. Can contain any JSON structure that matches your transformation rules.",
59
+ "name": "values",
60
+ "required": true,
61
+ "summary": "Path to values JSON file.",
62
+ "hasDynamicHelp": false,
63
+ "multiple": false,
64
+ "type": "option"
65
+ },
66
+ "rules": {
67
+ "char": "r",
68
+ "description": "Path to the rules.json file containing transformation rules and macro definitions.",
69
+ "name": "rules",
70
+ "required": true,
71
+ "summary": "Path to Analytics rules.json file.",
72
+ "hasDynamicHelp": false,
73
+ "multiple": false,
74
+ "type": "option"
75
+ }
76
+ },
77
+ "hasDynamicHelp": true,
78
+ "hiddenAliases": [],
79
+ "id": "orchestrator:rules:eval",
80
+ "pluginAlias": "@salesforce/plugin-orchestrator",
81
+ "pluginName": "@salesforce/plugin-orchestrator",
82
+ "pluginType": "core",
83
+ "strict": true,
84
+ "summary": "Test JSON transformation rules using the jsonxform/transformation endpoint.",
85
+ "enableJsonFlag": true,
86
+ "isESM": true,
87
+ "relativePath": [
88
+ "lib",
89
+ "commands",
90
+ "orchestrator",
91
+ "rules",
92
+ "eval.js"
93
+ ],
94
+ "aliasPermutations": [],
95
+ "permutations": [
96
+ "orchestrator:rules:eval",
97
+ "rules:orchestrator:eval",
98
+ "rules:eval:orchestrator",
99
+ "orchestrator:eval:rules",
100
+ "eval:orchestrator:rules",
101
+ "eval:rules:orchestrator"
102
+ ]
103
+ },
3
104
  "orchestrator:app:create": {
4
105
  "aliases": [],
5
106
  "args": {},
@@ -789,107 +890,6 @@
789
890
  "upgrade:app:orchestrator"
790
891
  ]
791
892
  },
792
- "orchestrator:rules:eval": {
793
- "aliases": [],
794
- "args": {},
795
- "description": "Preview how transformation rules will modify JSON documents before deploying templates. This command uses a sample transformation to test the jsonxform/transformation endpoint with built-in User and Org context variables.",
796
- "examples": [
797
- "Test JSON transformation with Analytics files:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg",
798
- "Test with specific API version:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg --api-version 60.0"
799
- ],
800
- "flags": {
801
- "json": {
802
- "description": "Format output as json.",
803
- "helpGroup": "GLOBAL",
804
- "name": "json",
805
- "allowNo": false,
806
- "type": "boolean"
807
- },
808
- "flags-dir": {
809
- "helpGroup": "GLOBAL",
810
- "name": "flags-dir",
811
- "summary": "Import flag values from a directory.",
812
- "hasDynamicHelp": false,
813
- "multiple": false,
814
- "type": "option"
815
- },
816
- "target-org": {
817
- "char": "o",
818
- "description": "The username or alias of the target org where the jsonxform/transformation endpoint will be called. This org provides the User and Org context variables used in the transformation.",
819
- "name": "target-org",
820
- "noCacheDefault": true,
821
- "required": true,
822
- "summary": "Username or alias for the target org; overrides default target org.",
823
- "hasDynamicHelp": true,
824
- "multiple": false,
825
- "type": "option"
826
- },
827
- "api-version": {
828
- "description": "API version to use for the transformation request. Defaults to the org's configured API version.",
829
- "name": "api-version",
830
- "summary": "Override the api version used for api requests made by this command.",
831
- "hasDynamicHelp": false,
832
- "multiple": false,
833
- "type": "option"
834
- },
835
- "document": {
836
- "char": "d",
837
- "description": "Path to the JSON document file (dashboard, lens, etc.) that will be transformed by the rules.",
838
- "name": "document",
839
- "required": true,
840
- "summary": "Path to JSON document file to transform.",
841
- "hasDynamicHelp": false,
842
- "multiple": false,
843
- "type": "option"
844
- },
845
- "values": {
846
- "char": "v",
847
- "description": "Path to the JSON file containing values used in transformations. Can contain any JSON structure that matches your transformation rules.",
848
- "name": "values",
849
- "required": true,
850
- "summary": "Path to values JSON file.",
851
- "hasDynamicHelp": false,
852
- "multiple": false,
853
- "type": "option"
854
- },
855
- "rules": {
856
- "char": "r",
857
- "description": "Path to the rules.json file containing transformation rules and macro definitions.",
858
- "name": "rules",
859
- "required": true,
860
- "summary": "Path to Analytics rules.json file.",
861
- "hasDynamicHelp": false,
862
- "multiple": false,
863
- "type": "option"
864
- }
865
- },
866
- "hasDynamicHelp": true,
867
- "hiddenAliases": [],
868
- "id": "orchestrator:rules:eval",
869
- "pluginAlias": "@salesforce/plugin-orchestrator",
870
- "pluginName": "@salesforce/plugin-orchestrator",
871
- "pluginType": "core",
872
- "strict": true,
873
- "summary": "Test JSON transformation rules using the jsonxform/transformation endpoint.",
874
- "enableJsonFlag": true,
875
- "isESM": true,
876
- "relativePath": [
877
- "lib",
878
- "commands",
879
- "orchestrator",
880
- "rules",
881
- "eval.js"
882
- ],
883
- "aliasPermutations": [],
884
- "permutations": [
885
- "orchestrator:rules:eval",
886
- "rules:orchestrator:eval",
887
- "rules:eval:orchestrator",
888
- "orchestrator:eval:rules",
889
- "eval:orchestrator:rules",
890
- "eval:rules:orchestrator"
891
- ]
892
- },
893
893
  "orchestrator:template:create": {
894
894
  "aliases": [],
895
895
  "args": {},
@@ -1426,5 +1426,5 @@
1426
1426
  ]
1427
1427
  }
1428
1428
  },
1429
- "version": "1.0.30"
1429
+ "version": "1.0.32"
1430
1430
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
3
  "description": "Plugin for working with SalesForce analytic apps, templates, assets and services.",
4
- "version": "1.0.30",
4
+ "version": "1.0.32",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@inquirer/select": "^5.0.4",
8
+ "@inquirer/select": "^5.1.0",
9
9
  "@oclif/core": "^4",
10
- "@salesforce/core": "^8.25.0",
10
+ "@salesforce/core": "^8.25.1",
11
11
  "@salesforce/kit": "^3.2.1",
12
12
  "@salesforce/sf-plugins-core": "^12",
13
13
  "ansis": "^3.17.0",
@@ -17,10 +17,10 @@
17
17
  "@oclif/plugin-command-snapshot": "^5.3.8",
18
18
  "@salesforce/cli-plugins-testkit": "^5.3.41",
19
19
  "@salesforce/dev-scripts": "^11.0.2",
20
- "@salesforce/plugin-command-reference": "^3.1.78",
20
+ "@salesforce/plugin-command-reference": "^3.1.80",
21
21
  "eslint-config-salesforce-license": "^1.0.1",
22
22
  "eslint-plugin-sf-plugin": "^1.20.31",
23
- "oclif": "^4.22.65",
23
+ "oclif": "^4.22.79",
24
24
  "ts-node": "^10.9.2",
25
25
  "typescript": "^5.5.4"
26
26
  },
@@ -229,7 +229,7 @@
229
229
  "exports": "./lib/index.js",
230
230
  "type": "module",
231
231
  "sfdx": {
232
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.30.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.30.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.32.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.32.sig"
234
234
  }
235
235
  }