@toolproof-core/schema 1.0.4 → 1.0.5
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 +0 -257
- package/dist/generated/resources/Genesis.json +0 -295
- package/dist/generated/schemas/Genesis.json +0 -146
- package/dist/generated/schemas/standalone/Goal.json +0 -33
- package/dist/generated/schemas/standalone/Job.json +0 -42
- package/dist/generated/schemas/standalone/RawStrategy.json +0 -46
- package/dist/generated/schemas/standalone/ResourceType.json +0 -34
- package/dist/generated/schemas/standalone/RunnableStrategy.json +0 -51
- package/dist/generated/schemas/standalone/StrategyRun.json +0 -65
- package/dist/generated/{typesTS → types}/standalone/Resource_Genesis.d.ts +1 -1
- package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_Job.d.ts +1 -1
- package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_RawStrategy.d.ts +1 -1
- package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/{typesTS/typesTS.d.ts → types/types.d.ts} +13 -42
- package/dist/index.d.ts +6 -6
- package/dist/scripts/_lib/config.d.ts +12 -12
- package/dist/scripts/_lib/config.js +25 -27
- package/dist/scripts/generateSchemaShims.js +2 -2
- package/dist/scripts/generateStandaloneSchema.js +1 -1
- package/dist/scripts/{generateStandaloneTypeTS.js → generateStandaloneType.js} +9 -9
- package/dist/scripts/{generateTypesTS.js → generateTypes.js} +11 -11
- package/dist/scripts/normalizeAnchorsToPointers.d.ts +1 -1
- package/dist/scripts/normalizeAnchorsToPointers.js +33 -12
- package/package.json +5 -5
- package/src/Genesis.json +0 -170
- package/src/generated/dependencies/dependencyMap.json +2 -13
- package/src/generated/normalized/Genesis.json +0 -257
- package/src/generated/resources/Genesis.json +0 -295
- package/src/generated/schemas/Genesis.json +0 -146
- package/src/generated/schemas/standalone/Goal.json +0 -33
- package/src/generated/schemas/standalone/Job.json +0 -42
- package/src/generated/schemas/standalone/RawStrategy.json +0 -46
- package/src/generated/schemas/standalone/ResourceType.json +0 -34
- package/src/generated/schemas/standalone/RunnableStrategy.json +0 -51
- package/src/generated/schemas/standalone/StrategyRun.json +0 -65
- package/src/generated/{typesTS → types}/standalone/Resource_Genesis.d.ts +1 -1
- package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_Job.d.ts +1 -1
- package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_RawStrategy.d.ts +1 -1
- package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_ResourceType.d.ts +1 -1
- package/src/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/src/generated/{typesTS/typesTS.d.ts → types/types.d.ts} +13 -42
- package/src/index.ts +6 -7
- package/src/scripts/_lib/config.ts +27 -29
- package/src/scripts/generateSchemaShims.ts +2 -2
- package/src/scripts/generateStandaloneSchema.ts +1 -1
- package/src/scripts/{generateStandaloneTypeTS.ts → generateStandaloneType.ts} +9 -9
- package/src/scripts/{generateTypesTS.ts → generateTypes.ts} +11 -11
- package/src/scripts/normalizeAnchorsToPointers.ts +38 -12
- /package/dist/generated/{typesTS → types}/standalone/Resource_Genesis.js +0 -0
- /package/dist/generated/{typesTS → types}/standalone/Resource_Job.js +0 -0
- /package/dist/generated/{typesTS → types}/standalone/Resource_RawStrategy.js +0 -0
- /package/dist/generated/{typesTS → types}/standalone/Resource_ResourceType.js +0 -0
- /package/dist/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.js +0 -0
- /package/dist/generated/{typesTS/typesTS.js → types/types.js} +0 -0
- /package/dist/scripts/{generateStandaloneTypeTS.d.ts → generateStandaloneType.d.ts} +0 -0
- /package/dist/scripts/{generateTypesTS.d.ts → generateTypes.d.ts} +0 -0
- /package/src/generated/{typesTS → types}/standalone/Resource_Genesis.js +0 -0
- /package/src/generated/{typesTS → types}/standalone/Resource_Job.js +0 -0
- /package/src/generated/{typesTS → types}/standalone/Resource_RawStrategy.js +0 -0
- /package/src/generated/{typesTS → types}/standalone/Resource_ResourceType.js +0 -0
- /package/src/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.js +0 -0
- /package/src/generated/{typesTS/typesTS.js → types/types.js} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$anchor": "StrategyRun",
|
|
3
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"required": [
|
|
@@ -29,25 +28,21 @@
|
|
|
29
28
|
"unevaluatedProperties": false,
|
|
30
29
|
"$defs": {
|
|
31
30
|
"StrategyRunIdentity": {
|
|
32
|
-
"$anchor": "StrategyRunIdentity",
|
|
33
31
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
34
32
|
"type": "string",
|
|
35
33
|
"pattern": "^STRATEGY_RUN-.+$"
|
|
36
34
|
},
|
|
37
35
|
"RunnableStrategyIdentity": {
|
|
38
|
-
"$anchor": "RunnableStrategyIdentity",
|
|
39
36
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
40
37
|
"type": "string",
|
|
41
38
|
"pattern": "^RUNNABLE_STRATEGY-.+$"
|
|
42
39
|
},
|
|
43
40
|
"Timestamp": {
|
|
44
|
-
"$anchor": "Timestamp",
|
|
45
41
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
46
42
|
"type": "string",
|
|
47
43
|
"format": "date-time"
|
|
48
44
|
},
|
|
49
45
|
"RunEvent": {
|
|
50
|
-
"$anchor": "RunEvent",
|
|
51
46
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
52
47
|
"type": "object",
|
|
53
48
|
"oneOf": [
|
|
@@ -66,7 +61,6 @@
|
|
|
66
61
|
]
|
|
67
62
|
},
|
|
68
63
|
"GraphStartRunEvent": {
|
|
69
|
-
"$anchor": "GraphStartRunEvent",
|
|
70
64
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
71
65
|
"allOf": [
|
|
72
66
|
{
|
|
@@ -89,7 +83,6 @@
|
|
|
89
83
|
]
|
|
90
84
|
},
|
|
91
85
|
"TickRunEvent": {
|
|
92
|
-
"$anchor": "TickRunEvent",
|
|
93
86
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
94
87
|
"allOf": [
|
|
95
88
|
{
|
|
@@ -106,7 +99,6 @@
|
|
|
106
99
|
]
|
|
107
100
|
},
|
|
108
101
|
"InterruptRunEvent": {
|
|
109
|
-
"$anchor": "InterruptRunEvent",
|
|
110
102
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
111
103
|
"allOf": [
|
|
112
104
|
{
|
|
@@ -123,7 +115,6 @@
|
|
|
123
115
|
]
|
|
124
116
|
},
|
|
125
117
|
"GraphEndRunEvent": {
|
|
126
|
-
"$anchor": "GraphEndRunEvent",
|
|
127
118
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
128
119
|
"allOf": [
|
|
129
120
|
{
|
|
@@ -140,7 +131,6 @@
|
|
|
140
131
|
]
|
|
141
132
|
},
|
|
142
133
|
"RunEventBase": {
|
|
143
|
-
"$anchor": "RunEventBase",
|
|
144
134
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
145
135
|
"type": "object",
|
|
146
136
|
"required": [
|
|
@@ -182,7 +172,6 @@
|
|
|
182
172
|
}
|
|
183
173
|
},
|
|
184
174
|
"RunnableStrategy": {
|
|
185
|
-
"$anchor": "RunnableStrategy",
|
|
186
175
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
187
176
|
"type": "object",
|
|
188
177
|
"required": [
|
|
@@ -210,7 +199,6 @@
|
|
|
210
199
|
"unevaluatedProperties": false
|
|
211
200
|
},
|
|
212
201
|
"RunEventKind": {
|
|
213
|
-
"$anchor": "RunEventKind",
|
|
214
202
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
215
203
|
"type": "string",
|
|
216
204
|
"enum": [
|
|
@@ -221,13 +209,11 @@
|
|
|
221
209
|
]
|
|
222
210
|
},
|
|
223
211
|
"StrategyThreadIdentity": {
|
|
224
|
-
"$anchor": "StrategyThreadIdentity",
|
|
225
212
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
226
213
|
"type": "string",
|
|
227
214
|
"pattern": "^STRATEGY_THREAD-.+$"
|
|
228
215
|
},
|
|
229
216
|
"RunEventCounters": {
|
|
230
|
-
"$anchor": "RunEventCounters",
|
|
231
217
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
232
218
|
"type": "object",
|
|
233
219
|
"properties": {
|
|
@@ -240,7 +226,6 @@
|
|
|
240
226
|
}
|
|
241
227
|
},
|
|
242
228
|
"RunEventStepMetadata": {
|
|
243
|
-
"$anchor": "RunEventStepMetadata",
|
|
244
229
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
245
230
|
"type": "object",
|
|
246
231
|
"required": [
|
|
@@ -261,7 +246,6 @@
|
|
|
261
246
|
}
|
|
262
247
|
},
|
|
263
248
|
"RunEventUpdates": {
|
|
264
|
-
"$anchor": "RunEventUpdates",
|
|
265
249
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
266
250
|
"type": "object",
|
|
267
251
|
"properties": {
|
|
@@ -295,7 +279,6 @@
|
|
|
295
279
|
]
|
|
296
280
|
},
|
|
297
281
|
"RunnableStrategyContext": {
|
|
298
|
-
"$anchor": "RunnableStrategyContext",
|
|
299
282
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
300
283
|
"type": "object",
|
|
301
284
|
"required": [
|
|
@@ -315,7 +298,6 @@
|
|
|
315
298
|
"unevaluatedProperties": false
|
|
316
299
|
},
|
|
317
300
|
"StrategyThreadMapFacet": {
|
|
318
|
-
"$anchor": "StrategyThreadMapFacet",
|
|
319
301
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
320
302
|
"type": "object",
|
|
321
303
|
"required": [
|
|
@@ -328,7 +310,6 @@
|
|
|
328
310
|
}
|
|
329
311
|
},
|
|
330
312
|
"StrategyStateFacet": {
|
|
331
|
-
"$anchor": "StrategyStateFacet",
|
|
332
313
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
333
314
|
"type": "object",
|
|
334
315
|
"required": [
|
|
@@ -341,7 +322,6 @@
|
|
|
341
322
|
}
|
|
342
323
|
},
|
|
343
324
|
"StepIdentity": {
|
|
344
|
-
"$anchor": "StepIdentity",
|
|
345
325
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
346
326
|
"type": "object",
|
|
347
327
|
"oneOf": [
|
|
@@ -360,7 +340,6 @@
|
|
|
360
340
|
]
|
|
361
341
|
},
|
|
362
342
|
"StepKind": {
|
|
363
|
-
"$anchor": "StepKind",
|
|
364
343
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
365
344
|
"type": "string",
|
|
366
345
|
"enum": [
|
|
@@ -371,7 +350,6 @@
|
|
|
371
350
|
]
|
|
372
351
|
},
|
|
373
352
|
"StepArray": {
|
|
374
|
-
"$anchor": "StepArray",
|
|
375
353
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
376
354
|
"type": "array",
|
|
377
355
|
"items": {
|
|
@@ -380,7 +358,6 @@
|
|
|
380
358
|
"uniqueItems": true
|
|
381
359
|
},
|
|
382
360
|
"StrategyStateDelta": {
|
|
383
|
-
"$anchor": "StrategyStateDelta",
|
|
384
361
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
385
362
|
"type": "object",
|
|
386
363
|
"required": [
|
|
@@ -393,7 +370,6 @@
|
|
|
393
370
|
}
|
|
394
371
|
},
|
|
395
372
|
"RunnableStrategyStatus": {
|
|
396
|
-
"$anchor": "RunnableStrategyStatus",
|
|
397
373
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
398
374
|
"type": "string",
|
|
399
375
|
"enum": [
|
|
@@ -405,7 +381,6 @@
|
|
|
405
381
|
]
|
|
406
382
|
},
|
|
407
383
|
"StrategyThreadMap": {
|
|
408
|
-
"$anchor": "StrategyThreadMap",
|
|
409
384
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
410
385
|
"type": "object",
|
|
411
386
|
"propertyNames": {
|
|
@@ -417,7 +392,6 @@
|
|
|
417
392
|
"$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
|
|
418
393
|
},
|
|
419
394
|
"StrategyState": {
|
|
420
|
-
"$anchor": "StrategyState",
|
|
421
395
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
422
396
|
"type": "object",
|
|
423
397
|
"propertyNames": {
|
|
@@ -428,31 +402,26 @@
|
|
|
428
402
|
}
|
|
429
403
|
},
|
|
430
404
|
"JobStepIdentity": {
|
|
431
|
-
"$anchor": "JobStepIdentity",
|
|
432
405
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
433
406
|
"type": "string",
|
|
434
407
|
"pattern": "^JOB_STEP-.+$"
|
|
435
408
|
},
|
|
436
409
|
"BranchStepIdentity": {
|
|
437
|
-
"$anchor": "BranchStepIdentity",
|
|
438
410
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
439
411
|
"type": "string",
|
|
440
412
|
"pattern": "^BRANCH_STEP-.+$"
|
|
441
413
|
},
|
|
442
414
|
"WhileStepIdentity": {
|
|
443
|
-
"$anchor": "WhileStepIdentity",
|
|
444
415
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
445
416
|
"type": "string",
|
|
446
417
|
"pattern": "^WHILE_STEP-.+$"
|
|
447
418
|
},
|
|
448
419
|
"ForStepIdentity": {
|
|
449
|
-
"$anchor": "ForStepIdentity",
|
|
450
420
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
451
421
|
"type": "string",
|
|
452
422
|
"pattern": "^FOR_STEP-.+$"
|
|
453
423
|
},
|
|
454
424
|
"Step": {
|
|
455
|
-
"$anchor": "Step",
|
|
456
425
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
457
426
|
"type": "object",
|
|
458
427
|
"oneOf": [
|
|
@@ -472,7 +441,6 @@
|
|
|
472
441
|
"unevaluatedProperties": false
|
|
473
442
|
},
|
|
474
443
|
"JobStepSocket": {
|
|
475
|
-
"$anchor": "JobStepSocket",
|
|
476
444
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
477
445
|
"type": "object",
|
|
478
446
|
"propertyNames": {
|
|
@@ -483,7 +451,6 @@
|
|
|
483
451
|
}
|
|
484
452
|
},
|
|
485
453
|
"JobStep": {
|
|
486
|
-
"$anchor": "JobStep",
|
|
487
454
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
488
455
|
"type": "object",
|
|
489
456
|
"required": [
|
|
@@ -513,7 +480,6 @@
|
|
|
513
480
|
]
|
|
514
481
|
},
|
|
515
482
|
"BranchStep": {
|
|
516
|
-
"$anchor": "BranchStep",
|
|
517
483
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
518
484
|
"type": "object",
|
|
519
485
|
"required": [
|
|
@@ -544,7 +510,6 @@
|
|
|
544
510
|
]
|
|
545
511
|
},
|
|
546
512
|
"WhileStep": {
|
|
547
|
-
"$anchor": "WhileStep",
|
|
548
513
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
549
514
|
"type": "object",
|
|
550
515
|
"required": [
|
|
@@ -570,7 +535,6 @@
|
|
|
570
535
|
]
|
|
571
536
|
},
|
|
572
537
|
"ForStep": {
|
|
573
|
-
"$anchor": "ForStep",
|
|
574
538
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
575
539
|
"type": "object",
|
|
576
540
|
"required": [
|
|
@@ -596,13 +560,11 @@
|
|
|
596
560
|
]
|
|
597
561
|
},
|
|
598
562
|
"ResourceRoleIdentity": {
|
|
599
|
-
"$anchor": "ResourceRoleIdentity",
|
|
600
563
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
601
564
|
"type": "string",
|
|
602
565
|
"pattern": "^ROLE-.+$"
|
|
603
566
|
},
|
|
604
567
|
"Resource": {
|
|
605
|
-
"$anchor": "Resource",
|
|
606
568
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
607
569
|
"type": "object",
|
|
608
570
|
"oneOf": [
|
|
@@ -622,13 +584,11 @@
|
|
|
622
584
|
"unevaluatedProperties": false
|
|
623
585
|
},
|
|
624
586
|
"JobIdentity": {
|
|
625
|
-
"$anchor": "JobIdentity",
|
|
626
587
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
627
588
|
"type": "string",
|
|
628
589
|
"pattern": "^JOB-.+$"
|
|
629
590
|
},
|
|
630
591
|
"StepKindFacet": {
|
|
631
|
-
"$anchor": "StepKindFacet",
|
|
632
592
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
633
593
|
"type": "object",
|
|
634
594
|
"required": [
|
|
@@ -641,7 +601,6 @@
|
|
|
641
601
|
}
|
|
642
602
|
},
|
|
643
603
|
"RoleBindingsFacet": {
|
|
644
|
-
"$anchor": "RoleBindingsFacet",
|
|
645
604
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
646
605
|
"type": "object",
|
|
647
606
|
"required": [
|
|
@@ -654,7 +613,6 @@
|
|
|
654
613
|
}
|
|
655
614
|
},
|
|
656
615
|
"Conditional": {
|
|
657
|
-
"$anchor": "Conditional",
|
|
658
616
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
659
617
|
"type": "object",
|
|
660
618
|
"required": [
|
|
@@ -672,28 +630,24 @@
|
|
|
672
630
|
"unevaluatedProperties": false
|
|
673
631
|
},
|
|
674
632
|
"ResourceMissing": {
|
|
675
|
-
"$anchor": "ResourceMissing",
|
|
676
633
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
677
634
|
"type": "object",
|
|
678
635
|
"$ref": "#/$defs/ShellMissing",
|
|
679
636
|
"unevaluatedProperties": false
|
|
680
637
|
},
|
|
681
638
|
"ResourceInputPotential": {
|
|
682
|
-
"$anchor": "ResourceInputPotential",
|
|
683
639
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
684
640
|
"type": "object",
|
|
685
641
|
"$ref": "#/$defs/ShellInputPotential",
|
|
686
642
|
"unevaluatedProperties": false
|
|
687
643
|
},
|
|
688
644
|
"ResourceOutputPotential": {
|
|
689
|
-
"$anchor": "ResourceOutputPotential",
|
|
690
645
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
691
646
|
"type": "object",
|
|
692
647
|
"$ref": "#/$defs/ShellOutputPotential",
|
|
693
648
|
"unevaluatedProperties": false
|
|
694
649
|
},
|
|
695
650
|
"ResourceMaterialized": {
|
|
696
|
-
"$anchor": "ResourceMaterialized",
|
|
697
651
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
698
652
|
"type": "object",
|
|
699
653
|
"allOf": [
|
|
@@ -708,7 +662,6 @@
|
|
|
708
662
|
"unevaluatedProperties": false
|
|
709
663
|
},
|
|
710
664
|
"RoleBindings": {
|
|
711
|
-
"$anchor": "RoleBindings",
|
|
712
665
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
713
666
|
"type": "object",
|
|
714
667
|
"required": [
|
|
@@ -725,7 +678,6 @@
|
|
|
725
678
|
}
|
|
726
679
|
},
|
|
727
680
|
"ShellMissing": {
|
|
728
|
-
"$anchor": "ShellMissing",
|
|
729
681
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
730
682
|
"type": "object",
|
|
731
683
|
"properties": {
|
|
@@ -744,7 +696,6 @@
|
|
|
744
696
|
"unevaluatedProperties": false
|
|
745
697
|
},
|
|
746
698
|
"ShellInputPotential": {
|
|
747
|
-
"$anchor": "ShellInputPotential",
|
|
748
699
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
749
700
|
"type": "object",
|
|
750
701
|
"properties": {
|
|
@@ -766,7 +717,6 @@
|
|
|
766
717
|
"unevaluatedProperties": false
|
|
767
718
|
},
|
|
768
719
|
"ShellOutputPotential": {
|
|
769
|
-
"$anchor": "ShellOutputPotential",
|
|
770
720
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
771
721
|
"type": "object",
|
|
772
722
|
"properties": {
|
|
@@ -788,7 +738,6 @@
|
|
|
788
738
|
"unevaluatedProperties": false
|
|
789
739
|
},
|
|
790
740
|
"ShellMaterializedBase": {
|
|
791
|
-
"$anchor": "ShellMaterializedBase",
|
|
792
741
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
793
742
|
"type": "object",
|
|
794
743
|
"required": [
|
|
@@ -821,7 +770,6 @@
|
|
|
821
770
|
]
|
|
822
771
|
},
|
|
823
772
|
"NucleusFacet": {
|
|
824
|
-
"$anchor": "NucleusFacet",
|
|
825
773
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
826
774
|
"type": "object",
|
|
827
775
|
"required": [
|
|
@@ -834,7 +782,6 @@
|
|
|
834
782
|
}
|
|
835
783
|
},
|
|
836
784
|
"RoleBindingArray": {
|
|
837
|
-
"$anchor": "RoleBindingArray",
|
|
838
785
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
839
786
|
"type": "array",
|
|
840
787
|
"items": {
|
|
@@ -842,7 +789,6 @@
|
|
|
842
789
|
}
|
|
843
790
|
},
|
|
844
791
|
"ResourceShellBase": {
|
|
845
|
-
"$anchor": "ResourceShellBase",
|
|
846
792
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
847
793
|
"type": "object",
|
|
848
794
|
"required": [
|
|
@@ -863,7 +809,6 @@
|
|
|
863
809
|
}
|
|
864
810
|
},
|
|
865
811
|
"ResourceKindFacet": {
|
|
866
|
-
"$anchor": "ResourceKindFacet",
|
|
867
812
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
868
813
|
"type": "object",
|
|
869
814
|
"required": [
|
|
@@ -876,7 +821,6 @@
|
|
|
876
821
|
}
|
|
877
822
|
},
|
|
878
823
|
"CreationContextFacet": {
|
|
879
|
-
"$anchor": "CreationContextFacet",
|
|
880
824
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
881
825
|
"type": "object",
|
|
882
826
|
"required": [
|
|
@@ -889,7 +833,6 @@
|
|
|
889
833
|
}
|
|
890
834
|
},
|
|
891
835
|
"TimestampFacet": {
|
|
892
|
-
"$anchor": "TimestampFacet",
|
|
893
836
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
894
837
|
"type": "object",
|
|
895
838
|
"required": [
|
|
@@ -902,7 +845,6 @@
|
|
|
902
845
|
}
|
|
903
846
|
},
|
|
904
847
|
"PathFacet": {
|
|
905
|
-
"$anchor": "PathFacet",
|
|
906
848
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
907
849
|
"type": "object",
|
|
908
850
|
"required": [
|
|
@@ -915,7 +857,6 @@
|
|
|
915
857
|
}
|
|
916
858
|
},
|
|
917
859
|
"Nucleus": {
|
|
918
|
-
"$anchor": "Nucleus",
|
|
919
860
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
920
861
|
"type": "object",
|
|
921
862
|
"additionalProperties": {
|
|
@@ -923,19 +864,16 @@
|
|
|
923
864
|
}
|
|
924
865
|
},
|
|
925
866
|
"ResourceIdentity": {
|
|
926
|
-
"$anchor": "ResourceIdentity",
|
|
927
867
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
928
868
|
"type": "string",
|
|
929
869
|
"pattern": "^RESOURCE-.+$"
|
|
930
870
|
},
|
|
931
871
|
"ResourceTypeIdentity": {
|
|
932
|
-
"$anchor": "ResourceTypeIdentity",
|
|
933
872
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
934
873
|
"type": "string",
|
|
935
874
|
"pattern": "^TYPE-.+$"
|
|
936
875
|
},
|
|
937
876
|
"ResourceKind": {
|
|
938
|
-
"$anchor": "ResourceKind",
|
|
939
877
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
940
878
|
"type": "string",
|
|
941
879
|
"enum": [
|
|
@@ -946,7 +884,6 @@
|
|
|
946
884
|
]
|
|
947
885
|
},
|
|
948
886
|
"CreationContext": {
|
|
949
|
-
"$anchor": "CreationContext",
|
|
950
887
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
951
888
|
"type": "object",
|
|
952
889
|
"required": [
|
|
@@ -963,13 +900,11 @@
|
|
|
963
900
|
}
|
|
964
901
|
},
|
|
965
902
|
"Path": {
|
|
966
|
-
"$anchor": "Path",
|
|
967
903
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
968
904
|
"type": "string",
|
|
969
905
|
"format": "uri-reference"
|
|
970
906
|
},
|
|
971
907
|
"JsonData": {
|
|
972
|
-
"$anchor": "JsonData",
|
|
973
908
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
974
909
|
"oneOf": [
|
|
975
910
|
{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, Genesis as NucleusSchema } from "../
|
|
2
|
+
import type { ShellMaterializedBase, Genesis as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_Genesis = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, Job as NucleusSchema } from "../
|
|
2
|
+
import type { ShellMaterializedBase, Job as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_Job = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, RawStrategy as NucleusSchema } from "../
|
|
2
|
+
import type { ShellMaterializedBase, RawStrategy as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RawStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|
package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_ResourceType.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, ResourceType as NucleusSchema } from "../
|
|
2
|
+
import type { ShellMaterializedBase, ResourceType as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_ResourceType = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, RunnableStrategy as NucleusSchema } from "../
|
|
2
|
+
import type { ShellMaterializedBase, RunnableStrategy as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RunnableStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -18,12 +18,6 @@ export type Description =
|
|
|
18
18
|
*/
|
|
19
19
|
export type DocumentationFacet =
|
|
20
20
|
NameFacet & DescriptionFacet;
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
23
|
-
* via the `definition` "ResourceTypeImplementationKind".
|
|
24
|
-
*/
|
|
25
|
-
export type ResourceTypeImplementationKind =
|
|
26
|
-
"internal-without-identity" | "internal-with-identity" | "external";
|
|
27
21
|
/**
|
|
28
22
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
29
23
|
* via the `definition` "Uri".
|
|
@@ -50,8 +44,7 @@ export type ResourceType =
|
|
|
50
44
|
generatorUriMap?: {
|
|
51
45
|
[k: string]: Uri;
|
|
52
46
|
};
|
|
53
|
-
} & DocumentationFacet
|
|
54
|
-
ResourceTypeImplementationKindFacet;
|
|
47
|
+
} & DocumentationFacet;
|
|
55
48
|
/**
|
|
56
49
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
57
50
|
* via the `definition` "ResourceRoleIdentity".
|
|
@@ -76,12 +69,6 @@ export type Error =
|
|
|
76
69
|
details?: {
|
|
77
70
|
};
|
|
78
71
|
};
|
|
79
|
-
/**
|
|
80
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
81
|
-
* via the `definition` "Domain".
|
|
82
|
-
*/
|
|
83
|
-
export type Domain =
|
|
84
|
-
"internal" | "numerical" | "biological" | "logical" | "augmental";
|
|
85
72
|
/**
|
|
86
73
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
87
74
|
* via the `definition` "JobIdentity".
|
|
@@ -97,7 +84,6 @@ export type Job =
|
|
|
97
84
|
identity: JobIdentity;
|
|
98
85
|
implementationUri: Uri;
|
|
99
86
|
} & DocumentationFacet &
|
|
100
|
-
DomainFacet &
|
|
101
87
|
RolesFacet;
|
|
102
88
|
/**
|
|
103
89
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -453,19 +439,6 @@ export type StrategyRunIdentity =
|
|
|
453
439
|
*/
|
|
454
440
|
export type GoalIdentity =
|
|
455
441
|
`GOAL-${string}`;
|
|
456
|
-
/**
|
|
457
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
458
|
-
* via the `definition` "Goal".
|
|
459
|
-
*/
|
|
460
|
-
export type Goal =
|
|
461
|
-
{
|
|
462
|
-
identity: GoalIdentity;
|
|
463
|
-
target: number;
|
|
464
|
-
disallowedJobs?: JobIdentity[];
|
|
465
|
-
disallowedSequences?: JobIdentity[][];
|
|
466
|
-
minSteps?: number;
|
|
467
|
-
maxSteps?: number;
|
|
468
|
-
} & DomainFacet;
|
|
469
442
|
/**
|
|
470
443
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
471
444
|
* via the `definition` "NaturalIdentity".
|
|
@@ -493,13 +466,6 @@ export interface NameFacet {
|
|
|
493
466
|
export interface DescriptionFacet {
|
|
494
467
|
description: Description;
|
|
495
468
|
}
|
|
496
|
-
/**
|
|
497
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
498
|
-
* via the `definition` "ResourceTypeImplementationKindFacet".
|
|
499
|
-
*/
|
|
500
|
-
export interface ResourceTypeImplementationKindFacet {
|
|
501
|
-
resourceTypeImplementationKind: ResourceTypeImplementationKind;
|
|
502
|
-
}
|
|
503
469
|
/**
|
|
504
470
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
505
471
|
* via the `definition` "RoleMap".
|
|
@@ -526,13 +492,6 @@ export interface Roles {
|
|
|
526
492
|
export interface RolesFacet {
|
|
527
493
|
roles: Roles;
|
|
528
494
|
}
|
|
529
|
-
/**
|
|
530
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
531
|
-
* via the `definition` "DomainFacet".
|
|
532
|
-
*/
|
|
533
|
-
export interface DomainFacet {
|
|
534
|
-
domain: Domain;
|
|
535
|
-
}
|
|
536
495
|
/**
|
|
537
496
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
538
497
|
* via the `definition` "RoleBindings".
|
|
@@ -728,6 +687,18 @@ export interface StrategyRun {
|
|
|
728
687
|
recordedAt: Timestamp;
|
|
729
688
|
runEvents: RunEvent[];
|
|
730
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
692
|
+
* via the `definition` "Goal".
|
|
693
|
+
*/
|
|
694
|
+
export interface Goal {
|
|
695
|
+
identity: GoalIdentity;
|
|
696
|
+
target: number;
|
|
697
|
+
disallowedJobs?: JobIdentity[];
|
|
698
|
+
disallowedSequences?: JobIdentity[][];
|
|
699
|
+
minSteps?: number;
|
|
700
|
+
maxSteps?: number;
|
|
701
|
+
}
|
|
731
702
|
/**
|
|
732
703
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
733
704
|
* via the `definition` "Natural".
|
package/src/index.ts
CHANGED
|
@@ -7,19 +7,19 @@ export { default as ResourceTypeGenesis } from './generated/resources/Genesis.js
|
|
|
7
7
|
|
|
8
8
|
export type {
|
|
9
9
|
Resource_Genesis as Resource_GenesisJson
|
|
10
|
-
} from './generated/
|
|
10
|
+
} from './generated/types/standalone/Resource_Genesis.js';
|
|
11
11
|
export type {
|
|
12
12
|
Resource_ResourceType as Resource_ResourceTypeJson
|
|
13
|
-
} from './generated/
|
|
13
|
+
} from './generated/types/standalone/Resource_ResourceType.js';
|
|
14
14
|
export type {
|
|
15
15
|
Resource_Job as Resource_JobJson
|
|
16
|
-
} from './generated/
|
|
16
|
+
} from './generated/types/standalone/Resource_Job.js';
|
|
17
17
|
export type {
|
|
18
18
|
Resource_RawStrategy as Resource_RawStrategyJson
|
|
19
|
-
} from './generated/
|
|
19
|
+
} from './generated/types/standalone/Resource_RawStrategy.js';
|
|
20
20
|
export type {
|
|
21
21
|
Resource_RunnableStrategy as Resource_RunnableStrategyJson
|
|
22
|
-
} from './generated/
|
|
22
|
+
} from './generated/types/standalone/Resource_RunnableStrategy.js';
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
export type {
|
|
@@ -55,7 +55,6 @@ export type {
|
|
|
55
55
|
RunnableStrategyStatus as RunnableStrategyStatusJson,
|
|
56
56
|
RunnableStrategy as RunnableStrategyJson,
|
|
57
57
|
RunnableStrategyUpdate as RunnableStrategyUpdateJson,
|
|
58
|
-
Domain as DomainJson,
|
|
59
58
|
JobIdentity as JobIdentityJson,
|
|
60
59
|
Job as JobJson,
|
|
61
60
|
JsonData as JsonDataJson,
|
|
@@ -64,4 +63,4 @@ export type {
|
|
|
64
63
|
JobStepSocket as JobStepSocketJson,
|
|
65
64
|
Timestamp as TimestampJson,
|
|
66
65
|
Goal as GoalJson,
|
|
67
|
-
} from './generated/
|
|
66
|
+
} from './generated/types/types.js';
|