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