@cxtms/cx-schema 1.8.0 → 1.8.1

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.
Files changed (78) hide show
  1. package/.claude/skills/cx-core/SKILL.md +38 -20
  2. package/.claude/skills/cx-core/ref-entity-accounting.md +0 -7
  3. package/.claude/skills/cx-core/ref-entity-commodity.md +0 -12
  4. package/.claude/skills/cx-core/ref-entity-contact.md +0 -10
  5. package/.claude/skills/cx-core/ref-entity-geography.md +1 -34
  6. package/.claude/skills/cx-core/ref-entity-notification.md +85 -0
  7. package/.claude/skills/cx-core/ref-entity-order-sub.md +7 -13
  8. package/.claude/skills/cx-core/ref-entity-order.md +1 -14
  9. package/.claude/skills/cx-core/ref-entity-rate.md +0 -8
  10. package/.claude/skills/cx-core/ref-entity-shared.md +20 -9
  11. package/.claude/skills/cx-core/ref-entity-warehouse.md +0 -5
  12. package/.claude/skills/cx-module/SKILL.md +28 -103
  13. package/.claude/skills/cx-module/ref-components-data.md +0 -7
  14. package/.claude/skills/cx-module/ref-components-display.md +0 -17
  15. package/.claude/skills/cx-module/ref-components-forms.md +2 -7
  16. package/.claude/skills/cx-module/ref-components-interactive.md +0 -11
  17. package/.claude/skills/cx-module/ref-components-layout.md +0 -11
  18. package/.claude/skills/cx-module/ref-components-specialized.md +0 -50
  19. package/.claude/skills/cx-workflow/SKILL.md +21 -130
  20. package/.claude/skills/cx-workflow/ref-communication.md +0 -8
  21. package/.claude/skills/cx-workflow/ref-entity.md +62 -43
  22. package/.claude/skills/cx-workflow/ref-expressions.md +272 -0
  23. package/.claude/skills/cx-workflow/ref-flow.md +6 -12
  24. package/.claude/skills/cx-workflow/ref-other.md +33 -14
  25. package/.claude/skills/cx-workflow/ref-utilities.md +87 -14
  26. package/README.md +34 -34
  27. package/dist/cli.js +166 -2394
  28. package/dist/cli.js.map +1 -1
  29. package/dist/types.d.ts +0 -2
  30. package/dist/types.d.ts.map +1 -1
  31. package/dist/validator.d.ts +0 -8
  32. package/dist/validator.d.ts.map +1 -1
  33. package/dist/validator.js +2 -54
  34. package/dist/validator.js.map +1 -1
  35. package/dist/workflowValidator.d.ts +0 -4
  36. package/dist/workflowValidator.d.ts.map +1 -1
  37. package/dist/workflowValidator.js +2 -28
  38. package/dist/workflowValidator.js.map +1 -1
  39. package/package.json +2 -3
  40. package/schemas/actions/all.json +2 -1
  41. package/schemas/actions/clipboard.json +46 -0
  42. package/schemas/components/appComponent.json +0 -8
  43. package/schemas/components/module.json +2 -31
  44. package/schemas/components/timelineGrid.json +0 -4
  45. package/schemas/schemas.json +0 -12
  46. package/schemas/workflows/flow/entity.json +19 -0
  47. package/schemas/workflows/tasks/all.json +9 -0
  48. package/schemas/workflows/tasks/authentication.json +12 -26
  49. package/schemas/workflows/tasks/edi.json +93 -1
  50. package/schemas/workflows/tasks/httpRequest.json +4 -0
  51. package/schemas/workflows/tasks/order.json +45 -0
  52. package/schemas/workflows/tasks/resolve-timezone.json +65 -0
  53. package/schemas/workflows/tasks/transmission.json +1 -1
  54. package/schemas/workflows/tasks/unzip-file.json +68 -0
  55. package/schemas/workflows/variable.json +5 -1
  56. package/schemas/workflows/workflow.json +4 -0
  57. package/scripts/postinstall.js +1 -1
  58. package/templates/module-configuration.yaml +89 -23
  59. package/templates/module-form.yaml +3 -3
  60. package/templates/module-grid.yaml +3 -3
  61. package/templates/module-select.yaml +3 -3
  62. package/templates/module.yaml +2 -3
  63. package/templates/workflow-api-tracking.yaml +1 -1
  64. package/templates/workflow-basic.yaml +1 -1
  65. package/templates/workflow-document.yaml +1 -1
  66. package/templates/workflow-entity-trigger.yaml +1 -1
  67. package/templates/workflow-ftp-edi.yaml +1 -1
  68. package/templates/workflow-ftp-tracking.yaml +1 -1
  69. package/templates/workflow-mcp-tool.yaml +1 -1
  70. package/templates/workflow-public-api.yaml +1 -1
  71. package/templates/workflow-scheduled.yaml +1 -1
  72. package/templates/workflow-utility.yaml +1 -1
  73. package/templates/workflow-webhook.yaml +1 -1
  74. package/templates/workflow.yaml +1 -1
  75. package/.claude/skills/cx-core/ref-cli-auth.md +0 -120
  76. package/.claude/skills/cx-core/ref-graphql-query.md +0 -320
  77. package/.claude/skills/cx-workflow/ref-expressions-ncalc.md +0 -112
  78. package/.claude/skills/cx-workflow/ref-expressions-template.md +0 -149
@@ -34,39 +34,25 @@
34
34
  },
35
35
  "inputs": {
36
36
  "type": "object",
37
- "description": "OAuth2 authentication inputs",
37
+ "description": "Authentication operation inputs",
38
38
  "properties": {
39
- "credentials": {
40
- "type": "object",
41
- "description": "OAuth2 credentials object (e.g., grant_type, client_id, client_secret)",
42
- "additionalProperties": true
43
- },
44
- "tokenUrl": {
39
+ "provider": {
45
40
  "type": "string",
46
- "description": "Token endpoint URL"
41
+ "description": "OAuth2 provider name"
47
42
  },
48
- "headers": {
49
- "type": "array",
50
- "description": "Optional HTTP headers for the token request",
51
- "items": {
52
- "type": "object",
53
- "additionalProperties": {
54
- "type": "string"
55
- }
56
- }
43
+ "clientId": {
44
+ "type": "string",
45
+ "description": "OAuth2 client ID"
57
46
  },
58
- "retryOptions": {
59
- "type": "object",
60
- "description": "Optional retry configuration for the HTTP request",
61
- "additionalProperties": true
47
+ "clientSecret": {
48
+ "type": "string",
49
+ "description": "OAuth2 client secret"
62
50
  },
63
- "cache": {
64
- "type": "boolean",
65
- "description": "Enable token caching (default: true). Set to false to always fetch a new token.",
66
- "default": true
51
+ "tokenUrl": {
52
+ "type": "string",
53
+ "description": "Token endpoint URL"
67
54
  }
68
55
  },
69
- "required": ["credentials", "tokenUrl"],
70
56
  "additionalProperties": true
71
57
  },
72
58
  "outputs": {
@@ -8,6 +8,8 @@
8
8
  "type": "string",
9
9
  "enum": [
10
10
  "EDI/Parse@1",
11
+ "EDIFACT/Parse@1",
12
+ "EDIFACT/Generate@1",
11
13
  "StructuredFile/Parse"
12
14
  ],
13
15
  "description": "Task type identifier"
@@ -39,11 +41,101 @@
39
41
  "properties": {
40
42
  "content": {
41
43
  "type": "string",
42
- "description": "File content to parse"
44
+ "description": "File content to parse (EDI/Parse)"
43
45
  },
44
46
  "format": {
45
47
  "type": "string",
46
48
  "description": "EDI format (e.g., X12, EDIFACT)"
49
+ },
50
+ "edifactData": {
51
+ "type": "string",
52
+ "description": "Raw EDIFACT data string (EDIFACT/Parse, EDIFACT/Generate)"
53
+ },
54
+ "messageType": {
55
+ "type": "string",
56
+ "enum": ["IFTMIN", "CONTRL", "APERAK"],
57
+ "description": "EDIFACT message type for parse/generate tasks"
58
+ },
59
+ "sender": {
60
+ "type": "object",
61
+ "description": "Sender identification for EDIFACT/Generate",
62
+ "properties": {
63
+ "id": { "type": "string", "description": "Sender ID (Trading Partner ID)" },
64
+ "qualifier": { "type": "string", "description": "Partner ID code qualifier (e.g., ZZZ)" }
65
+ }
66
+ },
67
+ "recipient": {
68
+ "type": "object",
69
+ "description": "Recipient identification for EDIFACT/Generate",
70
+ "properties": {
71
+ "id": { "type": "string", "description": "Recipient ID (e.g., INTTRA)" },
72
+ "qualifier": { "type": "string", "description": "Partner ID code qualifier" }
73
+ }
74
+ },
75
+ "documentNumber": {
76
+ "type": "string",
77
+ "description": "Shipment Identification Number"
78
+ },
79
+ "messageFunctionCode": {
80
+ "type": "string",
81
+ "enum": ["5", "9"],
82
+ "description": "9 = Original, 5 = Replace"
83
+ },
84
+ "references": {
85
+ "type": "array",
86
+ "description": "Business references (BN=Booking, BM=B/L, etc.)",
87
+ "items": {
88
+ "type": "object",
89
+ "properties": {
90
+ "qualifier": { "type": "string" },
91
+ "identifier": { "type": "string" }
92
+ }
93
+ }
94
+ },
95
+ "parties": {
96
+ "type": "array",
97
+ "description": "Party details (HI=Requestor, CZ=Shipper, CA=Carrier, CN=Consignee)",
98
+ "items": {
99
+ "type": "object",
100
+ "properties": {
101
+ "functionCode": { "type": "string" },
102
+ "identification": { "type": "string" },
103
+ "name": { "type": "string" }
104
+ }
105
+ }
106
+ },
107
+ "goodsItems": {
108
+ "type": "array",
109
+ "description": "Goods item details (GID segment group). Numeric fields (itemNumber, numberOfPackages) are serialized as strings.",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "itemNumber": { "type": ["integer", "string"], "description": "Goods item number (GID/0). Auto-incremented." },
114
+ "numberOfPackages": { "type": ["integer", "string"], "description": "Number of outer packages (C213/7224)" },
115
+ "packageType": { "type": "string", "description": "Package type code, UN/ECE rec. 21 (C213/7065, e.g. CT, PK, PL)" },
116
+ "packageTypeDescription": { "type": "string", "description": "Package type description (C213/7065 text)" },
117
+ "packageTypeAgencyCode": { "type": "string", "description": "Code list responsible agency (C213/3055). Auto-set to '6' (UN/ECE) when packageType is provided." },
118
+ "packageTypeDescriptionText": { "type": "string", "description": "Package type description text for B/L printing (C213/7064)" },
119
+ "innerPackageCount": { "type": ["integer", "string"], "description": "Number of inner packages (second C213/7224)" },
120
+ "innerPackageType": { "type": "string", "description": "Inner package type code (second C213/7065)" },
121
+ "grossWeight": { "type": ["number", "string"], "description": "Gross weight value" },
122
+ "weightUnit": { "type": "string", "description": "Weight unit (KGM, LBR)" },
123
+ "description": { "type": "string", "description": "Goods description free text" }
124
+ }
125
+ }
126
+ },
127
+ "equipment": {
128
+ "type": "array",
129
+ "description": "Container/equipment details",
130
+ "items": {
131
+ "type": "object",
132
+ "properties": {
133
+ "equipmentQualifier": { "type": "string" },
134
+ "equipmentIdentification": { "type": "string" },
135
+ "sizeTypeCode": { "type": "string" },
136
+ "fullEmptyIndicator": { "type": "string" }
137
+ }
138
+ }
47
139
  }
48
140
  },
49
141
  "additionalProperties": true
@@ -105,6 +105,10 @@
105
105
  }
106
106
  }
107
107
  },
108
+ "saveToFile": {
109
+ "type": "boolean",
110
+ "description": "When true, saves response body to a temp file instead of returning it in memory. Response returns { StatusCode, Headers, FilePath } instead of body content."
111
+ },
108
112
  "cache": {
109
113
  "type": "object",
110
114
  "properties": {
@@ -69,6 +69,51 @@
69
69
  "validateOnly": {
70
70
  "type": "boolean",
71
71
  "description": "Only validate, don't persist"
72
+ },
73
+ "data": {
74
+ "description": "Structured import data (for Order/Import@1)",
75
+ "additionalProperties": true
76
+ },
77
+ "options": {
78
+ "type": "object",
79
+ "description": "Import options (for Order/Import@1)",
80
+ "properties": {
81
+ "orderMatchByFields": {
82
+ "type": "array",
83
+ "items": { "type": "string" },
84
+ "description": "Fields to match existing orders. If null, creates new orders."
85
+ },
86
+ "contactMatchByFields": {
87
+ "type": "array",
88
+ "items": { "type": "string" },
89
+ "description": "Fields to match existing contacts for order entities."
90
+ },
91
+ "contactAddressMatchByFields": {
92
+ "type": "array",
93
+ "items": { "type": "string" },
94
+ "description": "Fields to match existing contact addresses within order entities."
95
+ },
96
+ "inventoryItemMatchByFields": {
97
+ "type": "array",
98
+ "items": { "type": "string" },
99
+ "description": "Fields to match existing inventory items on commodities."
100
+ },
101
+ "tagMatchByFields": {
102
+ "type": "array",
103
+ "items": { "type": "string" },
104
+ "description": "Fields to match existing tags."
105
+ },
106
+ "commodityMatchByFields": {
107
+ "type": "array",
108
+ "items": { "type": "string" },
109
+ "description": "Fields to match existing commodities."
110
+ },
111
+ "linkTrackingEventsToCommodities": {
112
+ "type": "boolean",
113
+ "description": "When true, imported tracking events are linked to the order's first-level (non-container) commodities. Default: false."
114
+ }
115
+ },
116
+ "additionalProperties": true
72
117
  }
73
118
  },
74
119
  "additionalProperties": true
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "ResolveTimezone Task",
4
+ "description": "Resolve IANA timezone ID and UTC offset from geographic coordinates",
5
+ "type": "object",
6
+ "properties": {
7
+ "task": {
8
+ "type": "string",
9
+ "enum": ["Utilities/ResolveTimezone@1"],
10
+ "description": "Task type identifier"
11
+ },
12
+ "name": {
13
+ "type": "string",
14
+ "description": "Step name identifier"
15
+ },
16
+ "description": {
17
+ "type": "string",
18
+ "description": "Step description"
19
+ },
20
+ "conditions": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "expression": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": ["expression"]
30
+ }
31
+ },
32
+ "continueOnError": {
33
+ "type": "boolean"
34
+ },
35
+ "inputs": {
36
+ "type": "object",
37
+ "description": "ResolveTimezone inputs",
38
+ "properties": {
39
+ "latitude": {
40
+ "type": ["string", "number"],
41
+ "description": "Latitude coordinate (decimal degrees)"
42
+ },
43
+ "longitude": {
44
+ "type": ["string", "number"],
45
+ "description": "Longitude coordinate (decimal degrees)"
46
+ }
47
+ },
48
+ "required": ["latitude", "longitude"],
49
+ "additionalProperties": true
50
+ },
51
+ "outputs": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "object",
55
+ "properties": {
56
+ "name": { "type": "string" },
57
+ "mapping": { "type": "string" }
58
+ },
59
+ "required": ["name", "mapping"]
60
+ },
61
+ "description": "Outputs: timezoneId (IANA timezone string, e.g. 'America/Chicago'), utcOffset (number, hours from UTC, e.g. -5)"
62
+ }
63
+ },
64
+ "required": ["task", "name", "inputs"]
65
+ }
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "status": {
95
95
  "type": ["string", "integer"],
96
- "enum": ["Pending", "InProgress", "Sent", "Received", "Delivered", "Acknowledged", "Rejected", "Error", "RetryScheduled", "Cancelled", "Expired", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
96
+ "enum": ["Pending", "InProgress", "Sent", "Received", "Delivered", "Acknowledged", "Rejected", "Error", "RetryScheduled", "Cancelled", "Expired", "Accepted", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
97
97
  "description": "Transmission status"
98
98
  },
99
99
  "endpoint": {
@@ -0,0 +1,68 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "UnzipFile Task",
4
+ "description": "Extract files from a ZIP archive (local path or URL)",
5
+ "type": "object",
6
+ "properties": {
7
+ "task": {
8
+ "type": "string",
9
+ "enum": ["Utilities/UnzipFile@1"],
10
+ "description": "Task type identifier"
11
+ },
12
+ "name": {
13
+ "type": "string",
14
+ "description": "Step name identifier"
15
+ },
16
+ "description": {
17
+ "type": "string",
18
+ "description": "Step description"
19
+ },
20
+ "conditions": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "expression": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": ["expression"]
30
+ }
31
+ },
32
+ "continueOnError": {
33
+ "type": "boolean"
34
+ },
35
+ "inputs": {
36
+ "type": "object",
37
+ "description": "UnzipFile inputs — provide either filePath or fileUrl",
38
+ "properties": {
39
+ "filePath": {
40
+ "type": "string",
41
+ "description": "Local file path to ZIP archive (from saveToFile or previous step)"
42
+ },
43
+ "fileUrl": {
44
+ "type": "string",
45
+ "description": "URL to ZIP archive (file://, http://, https://)"
46
+ },
47
+ "filePattern": {
48
+ "type": "string",
49
+ "description": "Glob-style pattern to filter extracted files (e.g. '*.csv', 'data_*.json'). If omitted, all files returned."
50
+ }
51
+ },
52
+ "additionalProperties": true
53
+ },
54
+ "outputs": {
55
+ "type": "array",
56
+ "items": {
57
+ "type": "object",
58
+ "properties": {
59
+ "name": { "type": "string" },
60
+ "mapping": { "type": "string" }
61
+ },
62
+ "required": ["name", "mapping"]
63
+ },
64
+ "description": "Outputs: Files (string[] — full paths to extracted files), Count (int — number of matched files)"
65
+ }
66
+ },
67
+ "required": ["task", "name", "inputs"]
68
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "title": "Workflow Variable",
4
- "description": "Definition of a workflow variable. Valid properties: name, value, fromConfig.",
4
+ "description": "Definition of a workflow variable. Valid properties: name, value, fromConfig, expression.",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "name": {
@@ -12,6 +12,10 @@
12
12
  "value": {
13
13
  "description": "Static variable value or template expression"
14
14
  },
15
+ "expression": {
16
+ "type": "string",
17
+ "description": "NCalc expression to evaluate at runtime. Has access to all previously resolved variables. Mutually exclusive with value and fromConfig."
18
+ },
15
19
  "fromConfig": {
16
20
  "oneOf": [
17
21
  {
@@ -102,6 +102,10 @@
102
102
  "type": "string",
103
103
  "description": "AI agent instruction describing how to use this workflow, expected inputs, and returned outputs"
104
104
  },
105
+ "fileName": {
106
+ "type": "string",
107
+ "description": "Path to the workflow YAML file (deprecated, use filePath)"
108
+ },
105
109
  "actionEvent": {
106
110
  "type": "object",
107
111
  "description": "Workflow action event configuration",
@@ -182,7 +182,7 @@ function main() {
182
182
 
183
183
  console.log('✓ CX Schema Validator installed successfully!');
184
184
  console.log('\nUsage:');
185
- console.log(' npx cxtms modules/your-module.yaml');
185
+ console.log(' npx cx-cli modules/your-module.yaml');
186
186
  console.log(' node .cx-schema/validate.js modules/your-module.yaml');
187
187
  console.log(' /cx-module <description> (Claude Code skill - UI modules)');
188
188
  console.log(' /cx-workflow <description> (Claude Code skill - workflows)');
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Configuration Module
2
- # Generated by cxtms create module --template configuration
2
+ # Generated by cx-cli create module --template configuration
3
3
 
4
4
  module:
5
5
  name: "{{displayNameNoSpaces}}"
@@ -8,37 +8,103 @@ module:
8
8
  en-US: "{{displayName}}"
9
9
  description:
10
10
  en-US: "{{displayName}} configuration module"
11
- application: System
11
+ application: CargoXplorer
12
+ fileName: "{{fileName}}"
12
13
 
13
14
  components:
14
- - name: Configurations/{{displayNameNoSpaces}}
15
+ - name: {{displayNameNoSpaces}}/Configuration
15
16
  displayName:
16
- en-US: "{{displayName}} Config"
17
- platforms:
18
- - web
17
+ en-US: "{{displayName}}"
19
18
  layout:
20
- component: layout
21
- name: {{displayNameNoSpaces}}ConfigLayout
19
+ component: form
20
+ name: {{name}}Form
22
21
  props:
23
- cols: 1
24
22
  title:
25
- en-US: "{{displayName}} Configuration"
26
- icon: Create
27
- permission: System/OrganizationConfigs/Update
23
+ en-US: "{{displayName}}"
24
+ queries:
25
+ - name: getConfiguration
26
+ query:
27
+ command: |
28
+ query GetConfiguration($organizationId: Int!) {
29
+ configuration(organizationId: $organizationId) {
30
+ settingName
31
+ maxRetries
32
+ enableNotifications
33
+ }
34
+ }
35
+ variables:
36
+ organizationId: "\{{organizationId}}"
37
+ initialValues:
38
+ fromQuery:
39
+ name: getConfiguration
40
+ path: configuration
41
+ append:
42
+ settingName: "Default Setting"
43
+ maxRetries: 3
44
+ enableNotifications: true
45
+ validationSchema:
46
+ settingName:
47
+ type: string
48
+ required: true
49
+ maxRetries:
50
+ type: number
51
+ required: true
52
+ enableNotifications:
53
+ type: boolean
54
+ onSubmit:
55
+ - type: mutation
56
+ props:
57
+ command: |
58
+ mutation SaveConfiguration($organizationId: Int!, $input: ConfigurationInput!) {
59
+ saveConfiguration(organizationId: $organizationId, input: $input) {
60
+ success
61
+ }
62
+ }
63
+ variables:
64
+ organizationId: "\{{organizationId}}"
65
+ input: "\{{formValues}}"
66
+ - type: notification
67
+ props:
68
+ message:
69
+ en-US: "{{displayName}} saved successfully"
70
+ severity: success
28
71
  children:
29
72
  - component: field
30
- name: customValues.enabled
73
+ name: settingName
74
+ props:
75
+ label:
76
+ en-US: "Setting Name"
77
+ type: text
78
+ required: true
79
+ - component: field
80
+ name: maxRetries
81
+ props:
82
+ label:
83
+ en-US: "Max Retries"
84
+ type: number
85
+ - component: field
86
+ name: enableNotifications
31
87
  props:
32
- type: checkbox
33
88
  label:
34
- en-US: "Enable {{displayName}}"
89
+ en-US: "Enable Notifications"
90
+ type: checkbox
35
91
 
36
- configurations:
37
- - configName: "apps.{{name}}"
92
+ routes:
93
+ - name: configuration
94
+ path: /{{name}}
95
+ component: {{displayNameNoSpaces}}/Configuration
96
+ props:
97
+ title:
98
+ en-US: "{{displayName}}"
99
+
100
+ permissions:
101
+ - name: "{{displayNameNoSpaces}}/View"
38
102
  displayName:
39
- en-US: "{{displayName}}"
40
- description:
41
- en-US: "{{displayName}} configuration"
42
- component: "Configurations/{{displayNameNoSpaces}}"
43
- defaultValue:
44
- enabled: false
103
+ en-US: "View {{displayName}}"
104
+ roles:
105
+ - Admin
106
+ - name: "{{displayNameNoSpaces}}/Edit"
107
+ displayName:
108
+ en-US: "Edit {{displayName}}"
109
+ roles:
110
+ - Admin
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Form Module
2
- # Generated by cxtms create module --template form
2
+ # Generated by cx-cli create module --template form
3
3
 
4
4
  module:
5
5
  name: "{{displayNameNoSpaces}}"
@@ -8,8 +8,8 @@ module:
8
8
  en-US: "{{displayName}}"
9
9
  description:
10
10
  en-US: "{{displayName}} module"
11
- application: System
12
- filePath: "{{fileName}}"
11
+ application: CargoXplorer
12
+ fileName: "{{fileName}}"
13
13
 
14
14
  components:
15
15
  - name: {{displayNameNoSpaces}}/Detail
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Module
2
- # Generated by cxtms create module --template grid
2
+ # Generated by cx-cli create module --template grid
3
3
 
4
4
  module:
5
5
  name: "{{displayNameNoSpaces}}"
@@ -8,8 +8,8 @@ module:
8
8
  en-US: "{{displayName}}"
9
9
  description:
10
10
  en-US: "{{displayName}} module"
11
- application: System
12
- filePath: "{{fileName}}"
11
+ application: CargoXplorer
12
+ fileName: "{{fileName}}"
13
13
 
14
14
  components:
15
15
  - name: {{displayNameNoSpaces}}/List
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Select Module
2
- # Generated by cxtms create module --template select
2
+ # Generated by cx-cli create module --template select
3
3
 
4
4
  module:
5
5
  name: "{{displayNameNoSpaces}}"
@@ -8,8 +8,8 @@ module:
8
8
  en-US: "{{displayName}}"
9
9
  description:
10
10
  en-US: "{{displayName}} async select component"
11
- application: System
12
- filePath: "{{fileName}}"
11
+ application: CargoXplorer
12
+ fileName: "{{fileName}}"
13
13
 
14
14
  components:
15
15
  - name: {{displayNameNoSpaces}}/Select
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Module
2
- # Generated by cxtms create module
2
+ # Generated by cx-cli create module
3
3
 
4
4
  module:
5
5
  name: "{{name}}"
@@ -8,8 +8,7 @@ module:
8
8
  description: "{{displayName}} module"
9
9
  icon: "folder"
10
10
  version: "1.0"
11
- application: System
12
- filePath: "{{fileName}}"
11
+ fileName: "{{fileName}}"
13
12
 
14
13
  entities:
15
14
  - name: {{name}}
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Workflow
2
- # Generated by cxtms create workflow --template api-tracking
2
+ # Generated by cx-cli create workflow --template api-tracking
3
3
 
4
4
  workflow:
5
5
  workflowId: "{{uuid}}"
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Workflow
2
- # Generated by cxtms create workflow --template basic
2
+ # Generated by cx-cli create workflow --template basic
3
3
 
4
4
  workflow:
5
5
  workflowId: "{{uuid}}"
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Workflow
2
- # Generated by cxtms create workflow --template document
2
+ # Generated by cx-cli create workflow --template document
3
3
 
4
4
  workflow:
5
5
  workflowId: "{{uuid}}"
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Workflow
2
- # Generated by cxtms create workflow --template entity-trigger
2
+ # Generated by cx-cli create workflow --template entity-trigger
3
3
 
4
4
  workflow:
5
5
  workflowId: "{{uuid}}"
@@ -1,5 +1,5 @@
1
1
  # {{displayName}} Workflow
2
- # Generated by cxtms create workflow --template ftp-edi
2
+ # Generated by cx-cli create workflow --template ftp-edi
3
3
 
4
4
  workflow:
5
5
  workflowId: "{{uuid}}"