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