@toolproof-core/schema 1.0.9 → 1.0.11
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/dist/generated/artifacts/constants.d.ts +121 -0
- package/dist/generated/artifacts/constants.js +121 -0
- package/dist/generated/artifacts/mappings.d.ts +23 -0
- package/dist/generated/artifacts/mappings.js +23 -0
- package/dist/generated/normalized/Genesis.json +117 -78
- package/dist/generated/resources/Genesis.json +489 -264
- package/dist/generated/schemas/Genesis.json +94 -61
- package/dist/generated/schemas/standalone/Job.json +9 -8
- package/dist/generated/schemas/standalone/RawStrategy.json +86 -110
- package/dist/generated/schemas/standalone/ResourceType.json +4 -4
- package/dist/generated/schemas/standalone/RunnableStrategy.json +115 -139
- package/dist/generated/schemas/standalone/StrategyRun.json +93 -117
- package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/types/types.d.ts +247 -239
- package/dist/index.d.ts +6 -3
- package/dist/index.js +5 -2
- package/dist/scripts/_lib/config.d.ts +3 -5
- package/dist/scripts/_lib/config.js +8 -14
- package/dist/scripts/generateConstantsAndMappings.d.ts +31 -0
- package/dist/scripts/generateConstantsAndMappings.js +243 -0
- package/dist/scripts/generateDependencies.js +1 -1
- package/dist/scripts/generateStandaloneType.js +2 -1
- package/dist/scripts/generateTerminals.js +2 -2
- package/dist/scripts/generateTypes.js +183 -5
- package/dist/scripts/wrapResourceTypesWithResourceShells.js +7 -3
- package/package.json +9 -10
- package/src/Genesis.json +1873 -1833
- package/src/generated/artifacts/constants.ts +122 -0
- package/src/generated/{dependencies → artifacts}/dependencyMap.json +282 -280
- package/src/generated/artifacts/mappings.ts +24 -0
- package/src/generated/{dependencies → artifacts}/terminals.json +13 -11
- package/src/generated/normalized/Genesis.json +1785 -1746
- package/src/generated/resources/Genesis.json +2833 -2608
- package/src/generated/schemas/Genesis.json +1348 -1315
- package/src/generated/schemas/standalone/Job.json +195 -194
- package/src/generated/schemas/standalone/RawStrategy.json +86 -110
- package/src/generated/schemas/standalone/ResourceType.json +106 -106
- package/src/generated/schemas/standalone/RunnableStrategy.json +645 -669
- package/src/generated/schemas/standalone/StrategyRun.json +913 -937
- package/src/generated/types/standalone/Resource_Genesis.d.ts +3 -3
- package/src/generated/types/standalone/Resource_Job.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RawStrategy.d.ts +3 -3
- package/src/generated/types/standalone/Resource_ResourceType.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +3 -3
- package/src/generated/types/types.d.ts +717 -709
- package/src/index.ts +77 -70
- package/src/scripts/_lib/config.ts +207 -215
- package/src/scripts/extractSchemasFromResourceTypeShells.ts +261 -261
- package/src/scripts/generateConstantsAndMappings.ts +309 -0
- package/src/scripts/generateDependencies.ts +121 -121
- package/src/scripts/generateSchemaShims.ts +127 -127
- package/src/scripts/generateStandaloneSchema.ts +185 -185
- package/src/scripts/generateStandaloneType.ts +129 -127
- package/src/scripts/generateTerminals.ts +73 -73
- package/src/scripts/generateTypes.ts +733 -531
- package/src/scripts/normalizeAnchorsToPointers.ts +141 -141
- package/src/scripts/wrapResourceTypesWithResourceShells.ts +86 -82
- package/dist/generated/constants/constants.d.ts +0 -60
- package/dist/generated/constants/constants.js +0 -60
- package/dist/scripts/generateConstants.d.ts +0 -12
- package/dist/scripts/generateConstants.js +0 -179
- package/src/generated/constants/constants.ts +0 -61
- package/src/scripts/generateConstants.ts +0 -217
|
@@ -1,281 +1,283 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Name": [],
|
|
3
|
-
"NameFacet": [
|
|
4
|
-
"Name"
|
|
5
|
-
],
|
|
6
|
-
"Description": [],
|
|
7
|
-
"DescriptionFacet": [
|
|
8
|
-
"Description"
|
|
9
|
-
],
|
|
10
|
-
"DocumentationFacet": [
|
|
11
|
-
"NameFacet",
|
|
12
|
-
"DescriptionFacet"
|
|
13
|
-
],
|
|
14
|
-
"Uri": [],
|
|
15
|
-
"ResourceTypeIdentity": [],
|
|
16
|
-
"ResourceType": [
|
|
17
|
-
"ResourceTypeIdentity",
|
|
18
|
-
"Uri",
|
|
19
|
-
"DocumentationFacet"
|
|
20
|
-
],
|
|
21
|
-
"ResourceRoleIdentity": [],
|
|
22
|
-
"ResourceRoleValue": [
|
|
23
|
-
"ResourceTypeIdentity",
|
|
24
|
-
"DocumentationFacet"
|
|
25
|
-
],
|
|
26
|
-
"
|
|
27
|
-
"ResourceRoleIdentity",
|
|
28
|
-
"ResourceRoleValue"
|
|
29
|
-
],
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
],
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
],
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
],
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
],
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
],
|
|
121
|
-
"
|
|
122
|
-
"ResourceShellBase",
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"
|
|
134
|
-
],
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
],
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
],
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
1
|
+
{
|
|
2
|
+
"Name": [],
|
|
3
|
+
"NameFacet": [
|
|
4
|
+
"Name"
|
|
5
|
+
],
|
|
6
|
+
"Description": [],
|
|
7
|
+
"DescriptionFacet": [
|
|
8
|
+
"Description"
|
|
9
|
+
],
|
|
10
|
+
"DocumentationFacet": [
|
|
11
|
+
"NameFacet",
|
|
12
|
+
"DescriptionFacet"
|
|
13
|
+
],
|
|
14
|
+
"Uri": [],
|
|
15
|
+
"ResourceTypeIdentity": [],
|
|
16
|
+
"ResourceType": [
|
|
17
|
+
"ResourceTypeIdentity",
|
|
18
|
+
"Uri",
|
|
19
|
+
"DocumentationFacet"
|
|
20
|
+
],
|
|
21
|
+
"ResourceRoleIdentity": [],
|
|
22
|
+
"ResourceRoleValue": [
|
|
23
|
+
"ResourceTypeIdentity",
|
|
24
|
+
"DocumentationFacet"
|
|
25
|
+
],
|
|
26
|
+
"ResourceRole": [
|
|
27
|
+
"ResourceRoleIdentity",
|
|
28
|
+
"ResourceRoleValue"
|
|
29
|
+
],
|
|
30
|
+
"RoleDict": [
|
|
31
|
+
"ResourceRoleIdentity",
|
|
32
|
+
"ResourceRoleValue"
|
|
33
|
+
],
|
|
34
|
+
"Error": [
|
|
35
|
+
"DocumentationFacet"
|
|
36
|
+
],
|
|
37
|
+
"Roles": [
|
|
38
|
+
"RoleDict",
|
|
39
|
+
"ResourceRoleValue"
|
|
40
|
+
],
|
|
41
|
+
"RolesFacet": [
|
|
42
|
+
"Roles"
|
|
43
|
+
],
|
|
44
|
+
"JobIdentity": [],
|
|
45
|
+
"Job": [
|
|
46
|
+
"JobIdentity",
|
|
47
|
+
"Uri",
|
|
48
|
+
"DocumentationFacet",
|
|
49
|
+
"RolesFacet"
|
|
50
|
+
],
|
|
51
|
+
"RoleBindingArray": [
|
|
52
|
+
"ResourceRoleIdentity"
|
|
53
|
+
],
|
|
54
|
+
"RoleBindings": [
|
|
55
|
+
"RoleBindingArray"
|
|
56
|
+
],
|
|
57
|
+
"RoleBindingsFacet": [
|
|
58
|
+
"RoleBindings"
|
|
59
|
+
],
|
|
60
|
+
"StepKind": [],
|
|
61
|
+
"StepKindFacet": [
|
|
62
|
+
"StepKind"
|
|
63
|
+
],
|
|
64
|
+
"JobStepIdentity": [],
|
|
65
|
+
"JobStep": [
|
|
66
|
+
"JobStepIdentity",
|
|
67
|
+
"JobIdentity",
|
|
68
|
+
"StepKindFacet",
|
|
69
|
+
"RoleBindingsFacet"
|
|
70
|
+
],
|
|
71
|
+
"Conditional": [
|
|
72
|
+
"JobStep"
|
|
73
|
+
],
|
|
74
|
+
"BranchStepIdentity": [],
|
|
75
|
+
"BranchStep": [
|
|
76
|
+
"BranchStepIdentity",
|
|
77
|
+
"Conditional",
|
|
78
|
+
"StepKindFacet"
|
|
79
|
+
],
|
|
80
|
+
"WhileStepIdentity": [],
|
|
81
|
+
"WhileStep": [
|
|
82
|
+
"WhileStepIdentity",
|
|
83
|
+
"Conditional",
|
|
84
|
+
"StepKindFacet"
|
|
85
|
+
],
|
|
86
|
+
"ForStepIdentity": [],
|
|
87
|
+
"ForStep": [
|
|
88
|
+
"ForStepIdentity",
|
|
89
|
+
"Conditional",
|
|
90
|
+
"StepKindFacet"
|
|
91
|
+
],
|
|
92
|
+
"StepIdentity": [
|
|
93
|
+
"JobStepIdentity",
|
|
94
|
+
"BranchStepIdentity",
|
|
95
|
+
"WhileStepIdentity",
|
|
96
|
+
"ForStepIdentity"
|
|
97
|
+
],
|
|
98
|
+
"Step": [
|
|
99
|
+
"JobStep",
|
|
100
|
+
"BranchStep",
|
|
101
|
+
"WhileStep",
|
|
102
|
+
"ForStep"
|
|
103
|
+
],
|
|
104
|
+
"CreationContext": [
|
|
105
|
+
"ResourceRoleIdentity",
|
|
106
|
+
"JobStepIdentity"
|
|
107
|
+
],
|
|
108
|
+
"CreationContextFacet": [
|
|
109
|
+
"CreationContext"
|
|
110
|
+
],
|
|
111
|
+
"ResourceIdentity": [],
|
|
112
|
+
"ResourceShellBase": [
|
|
113
|
+
"ResourceIdentity",
|
|
114
|
+
"ResourceTypeIdentity",
|
|
115
|
+
"ResourceShellKind"
|
|
116
|
+
],
|
|
117
|
+
"ResourceShellKind": [],
|
|
118
|
+
"ResourceShellKindFacet": [
|
|
119
|
+
"ResourceShellKind"
|
|
120
|
+
],
|
|
121
|
+
"ShellMissing": [
|
|
122
|
+
"ResourceShellBase",
|
|
123
|
+
"ResourceShellKindFacet"
|
|
124
|
+
],
|
|
125
|
+
"ShellInputPotential": [
|
|
126
|
+
"ResourceShellBase",
|
|
127
|
+
"CreationContextFacet",
|
|
128
|
+
"ResourceShellKindFacet"
|
|
129
|
+
],
|
|
130
|
+
"ShellOutputPotential": [
|
|
131
|
+
"ResourceShellBase",
|
|
132
|
+
"CreationContextFacet",
|
|
133
|
+
"ResourceShellKindFacet"
|
|
134
|
+
],
|
|
135
|
+
"Timestamp": [],
|
|
136
|
+
"TimestampFacet": [
|
|
137
|
+
"Timestamp"
|
|
138
|
+
],
|
|
139
|
+
"Path": [],
|
|
140
|
+
"PathFacet": [
|
|
141
|
+
"Path"
|
|
142
|
+
],
|
|
143
|
+
"ShellMaterializedBase": [
|
|
144
|
+
"ResourceShellBase",
|
|
145
|
+
"CreationContextFacet",
|
|
146
|
+
"ResourceShellKindFacet",
|
|
147
|
+
"TimestampFacet",
|
|
148
|
+
"PathFacet"
|
|
149
|
+
],
|
|
150
|
+
"ShellMaterialized": [
|
|
151
|
+
"ShellMaterializedBase"
|
|
152
|
+
],
|
|
153
|
+
"ResourceMissing": [
|
|
154
|
+
"ShellMissing"
|
|
155
|
+
],
|
|
156
|
+
"ResourceInputPotential": [
|
|
157
|
+
"ShellInputPotential"
|
|
158
|
+
],
|
|
159
|
+
"ResourceOutputPotential": [
|
|
160
|
+
"ShellOutputPotential"
|
|
161
|
+
],
|
|
162
|
+
"ResourcePotential": [
|
|
163
|
+
"ResourceMissing",
|
|
164
|
+
"ResourceInputPotential",
|
|
165
|
+
"ResourceOutputPotential"
|
|
166
|
+
],
|
|
167
|
+
"JsonData": [],
|
|
168
|
+
"Nucleus": [
|
|
169
|
+
"JsonData"
|
|
170
|
+
],
|
|
171
|
+
"NucleusFacet": [],
|
|
172
|
+
"Resource": [
|
|
173
|
+
"ShellMaterializedBase",
|
|
174
|
+
"NucleusFacet"
|
|
175
|
+
],
|
|
176
|
+
"JobStepSocket": [
|
|
177
|
+
"ResourceRoleIdentity",
|
|
178
|
+
"ResourcePotential",
|
|
179
|
+
"Resource"
|
|
180
|
+
],
|
|
181
|
+
"StrategyState": [
|
|
182
|
+
"JobStepIdentity",
|
|
183
|
+
"JobStepSocket"
|
|
184
|
+
],
|
|
185
|
+
"StrategyStateFacet": [
|
|
186
|
+
"StrategyState"
|
|
187
|
+
],
|
|
188
|
+
"StepArray": [
|
|
189
|
+
"Step"
|
|
190
|
+
],
|
|
191
|
+
"StepsFacet": [
|
|
192
|
+
"StepArray"
|
|
193
|
+
],
|
|
194
|
+
"RawStrategy": [
|
|
195
|
+
"StepsFacet",
|
|
196
|
+
"StrategyStateFacet"
|
|
197
|
+
],
|
|
198
|
+
"RunnableStrategyIdentity": [],
|
|
199
|
+
"RunnableStrategyStatus": [],
|
|
200
|
+
"RunnableStrategyContext": [
|
|
201
|
+
"RunnableStrategyStatus",
|
|
202
|
+
"Timestamp"
|
|
203
|
+
],
|
|
204
|
+
"StrategyThreadIdentity": [],
|
|
205
|
+
"StrategyThreadDict": [
|
|
206
|
+
"StrategyThreadIdentity",
|
|
207
|
+
"StepArray"
|
|
208
|
+
],
|
|
209
|
+
"StrategyThreadDictFacet": [
|
|
210
|
+
"StrategyThreadDict"
|
|
211
|
+
],
|
|
212
|
+
"RunnableStrategy": [
|
|
213
|
+
"RunnableStrategyIdentity",
|
|
214
|
+
"RunnableStrategyContext",
|
|
215
|
+
"StrategyThreadDictFacet",
|
|
216
|
+
"StrategyStateFacet"
|
|
217
|
+
],
|
|
218
|
+
"StrategyStateDelta": [
|
|
219
|
+
"StrategyState"
|
|
220
|
+
],
|
|
221
|
+
"RunnableStrategyUpdate": [
|
|
222
|
+
"RunnableStrategyIdentity",
|
|
223
|
+
"StrategyStateDelta"
|
|
224
|
+
],
|
|
225
|
+
"RunEventCounters": [],
|
|
226
|
+
"RunEventStepMetadata": [
|
|
227
|
+
"StepIdentity",
|
|
228
|
+
"StepKind"
|
|
229
|
+
],
|
|
230
|
+
"RunEventUpdates": [
|
|
231
|
+
"StepArray",
|
|
232
|
+
"StrategyStateDelta"
|
|
233
|
+
],
|
|
234
|
+
"RunEventKind": [],
|
|
235
|
+
"RunEventBase": [
|
|
236
|
+
"RunEventKind",
|
|
237
|
+
"RunnableStrategyIdentity",
|
|
238
|
+
"StrategyThreadIdentity",
|
|
239
|
+
"Timestamp",
|
|
240
|
+
"RunEventCounters",
|
|
241
|
+
"RunEventStepMetadata",
|
|
242
|
+
"RunEventUpdates"
|
|
243
|
+
],
|
|
244
|
+
"GraphStartRunEvent": [
|
|
245
|
+
"RunEventBase",
|
|
246
|
+
"RunnableStrategy"
|
|
247
|
+
],
|
|
248
|
+
"TickRunEvent": [
|
|
249
|
+
"RunEventBase"
|
|
250
|
+
],
|
|
251
|
+
"InterruptRunEvent": [
|
|
252
|
+
"RunEventBase"
|
|
253
|
+
],
|
|
254
|
+
"GraphEndRunEvent": [
|
|
255
|
+
"RunEventBase"
|
|
256
|
+
],
|
|
257
|
+
"RunEvent": [
|
|
258
|
+
"GraphStartRunEvent",
|
|
259
|
+
"TickRunEvent",
|
|
260
|
+
"InterruptRunEvent",
|
|
261
|
+
"GraphEndRunEvent"
|
|
262
|
+
],
|
|
263
|
+
"StrategyRunIdentity": [],
|
|
264
|
+
"StrategyRun": [
|
|
265
|
+
"StrategyRunIdentity",
|
|
266
|
+
"RunnableStrategyIdentity",
|
|
267
|
+
"Timestamp",
|
|
268
|
+
"RunEvent"
|
|
269
|
+
],
|
|
270
|
+
"GoalIdentity": [],
|
|
271
|
+
"Goal": [
|
|
272
|
+
"GoalIdentity",
|
|
273
|
+
"JobIdentity"
|
|
274
|
+
],
|
|
275
|
+
"Natural": [
|
|
276
|
+
"NaturalIdentity"
|
|
277
|
+
],
|
|
278
|
+
"Boolean": [
|
|
279
|
+
"BooleanIdentity"
|
|
280
|
+
],
|
|
281
|
+
"NaturalIdentity": [],
|
|
282
|
+
"BooleanIdentity": []
|
|
281
283
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const MAPPINGS = {
|
|
2
|
+
IdentityNameToIdentityPrefix: {
|
|
3
|
+
BranchStepIdentity: 'BRANCH_STEP-',
|
|
4
|
+
ForStepIdentity: 'FOR_STEP-',
|
|
5
|
+
GoalIdentity: 'GOAL-',
|
|
6
|
+
JobIdentity: 'JOB-',
|
|
7
|
+
JobStepIdentity: 'JOB_STEP-',
|
|
8
|
+
ResourceIdentity: 'RESOURCE-',
|
|
9
|
+
ResourceRoleIdentity: 'ROLE-',
|
|
10
|
+
ResourceTypeIdentity: 'TYPE-',
|
|
11
|
+
RunnableStrategyIdentity: 'RUNNABLE_STRATEGY-',
|
|
12
|
+
StrategyRunIdentity: 'STRATEGY_RUN-',
|
|
13
|
+
StrategyThreadIdentity: 'STRATEGY_THREAD-',
|
|
14
|
+
WhileStepIdentity: 'WHILE_STEP-',
|
|
15
|
+
},
|
|
16
|
+
StepKindToStepIdentityPrefix: {
|
|
17
|
+
branch: 'BRANCH_STEP-',
|
|
18
|
+
for: 'FOR_STEP-',
|
|
19
|
+
job: 'JOB_STEP-',
|
|
20
|
+
while: 'WHILE_STEP-',
|
|
21
|
+
},
|
|
22
|
+
} as const;
|
|
23
|
+
|
|
24
|
+
export default MAPPINGS;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
[
|
|
2
|
-
"ResourceType",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
1
|
+
[
|
|
2
|
+
"ResourceType",
|
|
3
|
+
"ResourceRole",
|
|
4
|
+
"Error",
|
|
5
|
+
"Job",
|
|
6
|
+
"ShellMaterialized",
|
|
7
|
+
"Nucleus",
|
|
8
|
+
"RawStrategy",
|
|
9
|
+
"RunnableStrategyUpdate",
|
|
10
|
+
"StrategyRun",
|
|
11
|
+
"Goal",
|
|
12
|
+
"Natural",
|
|
13
|
+
"Boolean"
|
|
12
14
|
]
|