@toolproof-core/schema 1.0.14 → 1.0.16
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 +1 -2
- package/dist/generated/artifacts/constants.js +1 -2
- package/dist/generated/normalized/Genesis.json +8 -43
- package/dist/generated/resources/Genesis.json +10 -57
- package/dist/generated/schemas/Genesis.json +6 -36
- package/dist/generated/schemas/standalone/RawStrategy.json +4 -4
- package/dist/generated/schemas/standalone/RunnableStrategy.json +4 -4
- package/dist/generated/schemas/standalone/StrategyRun.json +4 -4
- package/dist/generated/types/types.d.ts +5 -19
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/Genesis.json +9 -45
- package/src/generated/artifacts/constants.ts +1 -2
- package/src/generated/artifacts/dependencyMap.json +5 -8
- package/src/generated/normalized/Genesis.json +8 -43
- package/src/generated/resources/Genesis.json +10 -57
- package/src/generated/schemas/Genesis.json +6 -36
- package/src/generated/schemas/standalone/RawStrategy.json +4 -4
- package/src/generated/schemas/standalone/RunnableStrategy.json +4 -4
- package/src/generated/schemas/standalone/StrategyRun.json +4 -4
- package/src/generated/types/types.d.ts +5 -19
- package/src/index.ts +1 -2
|
@@ -4,7 +4,7 @@ declare const CONSTANTS: {
|
|
|
4
4
|
readonly BooleanIdentity: "BooleanIdentity";
|
|
5
5
|
readonly BranchStep: "BranchStep";
|
|
6
6
|
readonly BranchStepIdentity: "BranchStepIdentity";
|
|
7
|
-
readonly
|
|
7
|
+
readonly Case: "Case";
|
|
8
8
|
readonly CreationContext: "CreationContext";
|
|
9
9
|
readonly CreationContextFacet: "CreationContextFacet";
|
|
10
10
|
readonly Description: "Description";
|
|
@@ -23,7 +23,6 @@ declare const CONSTANTS: {
|
|
|
23
23
|
readonly JobStep: "JobStep";
|
|
24
24
|
readonly JobStepIdentity: "JobStepIdentity";
|
|
25
25
|
readonly JobStepSocket: "JobStepSocket";
|
|
26
|
-
readonly JsonData: "JsonData";
|
|
27
26
|
readonly Name: "Name";
|
|
28
27
|
readonly NameFacet: "NameFacet";
|
|
29
28
|
readonly Natural: "Natural";
|
|
@@ -4,7 +4,7 @@ const CONSTANTS = {
|
|
|
4
4
|
BooleanIdentity: 'BooleanIdentity',
|
|
5
5
|
BranchStep: 'BranchStep',
|
|
6
6
|
BranchStepIdentity: 'BranchStepIdentity',
|
|
7
|
-
|
|
7
|
+
Case: 'Case',
|
|
8
8
|
CreationContext: 'CreationContext',
|
|
9
9
|
CreationContextFacet: 'CreationContextFacet',
|
|
10
10
|
Description: 'Description',
|
|
@@ -23,7 +23,6 @@ const CONSTANTS = {
|
|
|
23
23
|
JobStep: 'JobStep',
|
|
24
24
|
JobStepIdentity: 'JobStepIdentity',
|
|
25
25
|
JobStepSocket: 'JobStepSocket',
|
|
26
|
-
JsonData: 'JsonData',
|
|
27
26
|
Name: 'Name',
|
|
28
27
|
NameFacet: 'NameFacet',
|
|
29
28
|
Natural: 'Natural',
|
|
@@ -494,9 +494,9 @@
|
|
|
494
494
|
]
|
|
495
495
|
}
|
|
496
496
|
},
|
|
497
|
-
"
|
|
498
|
-
"identity": "TYPE-
|
|
499
|
-
"name": "
|
|
497
|
+
"Case": {
|
|
498
|
+
"identity": "TYPE-Case",
|
|
499
|
+
"name": "Case",
|
|
500
500
|
"description": "dummy-description",
|
|
501
501
|
"nucleusSchema": {
|
|
502
502
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
"cases": {
|
|
549
549
|
"type": "array",
|
|
550
550
|
"items": {
|
|
551
|
-
"$ref": "#/$defs/
|
|
551
|
+
"$ref": "#/$defs/Case"
|
|
552
552
|
},
|
|
553
553
|
"minItems": 1,
|
|
554
554
|
"uniqueItems": true
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"const": "while"
|
|
592
592
|
},
|
|
593
593
|
"case": {
|
|
594
|
-
"$ref": "#/$defs/
|
|
594
|
+
"$ref": "#/$defs/Case"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"allOf": [
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"const": "for"
|
|
632
632
|
},
|
|
633
633
|
"case": {
|
|
634
|
-
"$ref": "#/$defs/
|
|
634
|
+
"$ref": "#/$defs/Case"
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
"allOf": [
|
|
@@ -1034,40 +1034,6 @@
|
|
|
1034
1034
|
"unevaluatedProperties": false
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
|
-
"JsonData": {
|
|
1038
|
-
"identity": "TYPE-JsonData",
|
|
1039
|
-
"name": "JsonData",
|
|
1040
|
-
"description": "dummy-description",
|
|
1041
|
-
"nucleusSchema": {
|
|
1042
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1043
|
-
"oneOf": [
|
|
1044
|
-
{
|
|
1045
|
-
"type": "null"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"type": "boolean"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"type": "number"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"type": "string"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"type": "array",
|
|
1058
|
-
"items": {
|
|
1059
|
-
"$ref": "#/$defs/JsonData"
|
|
1060
|
-
}
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"type": "object",
|
|
1064
|
-
"additionalProperties": {
|
|
1065
|
-
"$ref": "#/$defs/JsonData"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
]
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
1037
|
"Nucleus": {
|
|
1072
1038
|
"identity": "TYPE-Nucleus",
|
|
1073
1039
|
"name": "Nucleus",
|
|
@@ -1075,9 +1041,8 @@
|
|
|
1075
1041
|
"nucleusSchema": {
|
|
1076
1042
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1077
1043
|
"type": "object",
|
|
1078
|
-
"additionalProperties":
|
|
1079
|
-
|
|
1080
|
-
}
|
|
1044
|
+
"additionalProperties": true,
|
|
1045
|
+
"$comment": "Currently not used."
|
|
1081
1046
|
}
|
|
1082
1047
|
},
|
|
1083
1048
|
"NucleusFacet": {
|
|
@@ -787,8 +787,8 @@
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
},
|
|
790
|
-
"
|
|
791
|
-
"identity": "RESOURCE-
|
|
790
|
+
"Case": {
|
|
791
|
+
"identity": "RESOURCE-Case",
|
|
792
792
|
"resourceTypeHandle": "TYPE-ResourceType",
|
|
793
793
|
"creationContext": {
|
|
794
794
|
"resourceRoleHandle": "ROLE-Genesis",
|
|
@@ -797,10 +797,10 @@
|
|
|
797
797
|
"resourceShellKind": "materialized",
|
|
798
798
|
"version": 1,
|
|
799
799
|
"timestamp": "2025-11-30T00:00:00.000Z",
|
|
800
|
-
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/
|
|
800
|
+
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/Case",
|
|
801
801
|
"nucleus": {
|
|
802
|
-
"identity": "TYPE-
|
|
803
|
-
"name": "
|
|
802
|
+
"identity": "TYPE-Case",
|
|
803
|
+
"name": "Case",
|
|
804
804
|
"description": "dummy-description",
|
|
805
805
|
"nucleusSchema": {
|
|
806
806
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -876,7 +876,7 @@
|
|
|
876
876
|
"cases": {
|
|
877
877
|
"type": "array",
|
|
878
878
|
"items": {
|
|
879
|
-
"$ref": "#/$defs/
|
|
879
|
+
"$ref": "#/$defs/Case"
|
|
880
880
|
},
|
|
881
881
|
"minItems": 1,
|
|
882
882
|
"uniqueItems": true
|
|
@@ -943,7 +943,7 @@
|
|
|
943
943
|
"const": "while"
|
|
944
944
|
},
|
|
945
945
|
"case": {
|
|
946
|
-
"$ref": "#/$defs/
|
|
946
|
+
"$ref": "#/$defs/Case"
|
|
947
947
|
}
|
|
948
948
|
},
|
|
949
949
|
"allOf": [
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
"const": "for"
|
|
1008
1008
|
},
|
|
1009
1009
|
"case": {
|
|
1010
|
-
"$ref": "#/$defs/
|
|
1010
|
+
"$ref": "#/$defs/Case"
|
|
1011
1011
|
}
|
|
1012
1012
|
},
|
|
1013
1013
|
"allOf": [
|
|
@@ -1663,52 +1663,6 @@
|
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
},
|
|
1666
|
-
"JsonData": {
|
|
1667
|
-
"identity": "RESOURCE-JsonData",
|
|
1668
|
-
"resourceTypeHandle": "TYPE-ResourceType",
|
|
1669
|
-
"creationContext": {
|
|
1670
|
-
"resourceRoleHandle": "ROLE-Genesis",
|
|
1671
|
-
"jobStepHandle": "JOB_STEP-Genesis"
|
|
1672
|
-
},
|
|
1673
|
-
"resourceShellKind": "materialized",
|
|
1674
|
-
"version": 1,
|
|
1675
|
-
"timestamp": "2025-11-30T00:00:00.000Z",
|
|
1676
|
-
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/JsonData",
|
|
1677
|
-
"nucleus": {
|
|
1678
|
-
"identity": "TYPE-JsonData",
|
|
1679
|
-
"name": "JsonData",
|
|
1680
|
-
"description": "dummy-description",
|
|
1681
|
-
"nucleusSchema": {
|
|
1682
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1683
|
-
"oneOf": [
|
|
1684
|
-
{
|
|
1685
|
-
"type": "null"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"type": "boolean"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"type": "number"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"type": "string"
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
"type": "array",
|
|
1698
|
-
"items": {
|
|
1699
|
-
"$ref": "#/$defs/JsonData"
|
|
1700
|
-
}
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"type": "object",
|
|
1704
|
-
"additionalProperties": {
|
|
1705
|
-
"$ref": "#/$defs/JsonData"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
},
|
|
1712
1666
|
"Nucleus": {
|
|
1713
1667
|
"identity": "RESOURCE-Nucleus",
|
|
1714
1668
|
"resourceTypeHandle": "TYPE-ResourceType",
|
|
@@ -1727,9 +1681,8 @@
|
|
|
1727
1681
|
"nucleusSchema": {
|
|
1728
1682
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1729
1683
|
"type": "object",
|
|
1730
|
-
"additionalProperties":
|
|
1731
|
-
|
|
1732
|
-
}
|
|
1684
|
+
"additionalProperties": true,
|
|
1685
|
+
"$comment": "Currently not used."
|
|
1733
1686
|
}
|
|
1734
1687
|
}
|
|
1735
1688
|
},
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}
|
|
368
368
|
]
|
|
369
369
|
},
|
|
370
|
-
"
|
|
370
|
+
"Case": {
|
|
371
371
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
372
372
|
"type": "object",
|
|
373
373
|
"required": [
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
"cases": {
|
|
408
408
|
"type": "array",
|
|
409
409
|
"items": {
|
|
410
|
-
"$ref": "#/$defs/
|
|
410
|
+
"$ref": "#/$defs/Case"
|
|
411
411
|
},
|
|
412
412
|
"minItems": 1,
|
|
413
413
|
"uniqueItems": true
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"const": "while"
|
|
441
441
|
},
|
|
442
442
|
"case": {
|
|
443
|
-
"$ref": "#/$defs/
|
|
443
|
+
"$ref": "#/$defs/Case"
|
|
444
444
|
}
|
|
445
445
|
},
|
|
446
446
|
"allOf": [
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"const": "for"
|
|
471
471
|
},
|
|
472
472
|
"case": {
|
|
473
|
-
"$ref": "#/$defs/
|
|
473
|
+
"$ref": "#/$defs/Case"
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
476
|
"allOf": [
|
|
@@ -767,41 +767,11 @@
|
|
|
767
767
|
],
|
|
768
768
|
"unevaluatedProperties": false
|
|
769
769
|
},
|
|
770
|
-
"JsonData": {
|
|
771
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
772
|
-
"oneOf": [
|
|
773
|
-
{
|
|
774
|
-
"type": "null"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"type": "boolean"
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
"type": "number"
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"type": "string"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"type": "array",
|
|
787
|
-
"items": {
|
|
788
|
-
"$ref": "#/$defs/JsonData"
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"type": "object",
|
|
793
|
-
"additionalProperties": {
|
|
794
|
-
"$ref": "#/$defs/JsonData"
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
]
|
|
798
|
-
},
|
|
799
770
|
"Nucleus": {
|
|
800
771
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
801
772
|
"type": "object",
|
|
802
|
-
"additionalProperties":
|
|
803
|
-
|
|
804
|
-
}
|
|
773
|
+
"additionalProperties": true,
|
|
774
|
+
"$comment": "Currently not used."
|
|
805
775
|
},
|
|
806
776
|
"NucleusFacet": {
|
|
807
777
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"cases": {
|
|
142
142
|
"type": "array",
|
|
143
143
|
"items": {
|
|
144
|
-
"$ref": "#/$defs/
|
|
144
|
+
"$ref": "#/$defs/Case"
|
|
145
145
|
},
|
|
146
146
|
"minItems": 1,
|
|
147
147
|
"uniqueItems": true
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"const": "while"
|
|
170
170
|
},
|
|
171
171
|
"case": {
|
|
172
|
-
"$ref": "#/$defs/
|
|
172
|
+
"$ref": "#/$defs/Case"
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
"allOf": [
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"const": "for"
|
|
195
195
|
},
|
|
196
196
|
"case": {
|
|
197
|
-
"$ref": "#/$defs/
|
|
197
|
+
"$ref": "#/$defs/Case"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"allOf": [
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"type": "string",
|
|
273
273
|
"pattern": "^BRANCH_STEP-.+$"
|
|
274
274
|
},
|
|
275
|
-
"
|
|
275
|
+
"Case": {
|
|
276
276
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
277
277
|
"type": "object",
|
|
278
278
|
"required": [
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"cases": {
|
|
247
247
|
"type": "array",
|
|
248
248
|
"items": {
|
|
249
|
-
"$ref": "#/$defs/
|
|
249
|
+
"$ref": "#/$defs/Case"
|
|
250
250
|
},
|
|
251
251
|
"minItems": 1,
|
|
252
252
|
"uniqueItems": true
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"const": "while"
|
|
275
275
|
},
|
|
276
276
|
"case": {
|
|
277
|
-
"$ref": "#/$defs/
|
|
277
|
+
"$ref": "#/$defs/Case"
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
"allOf": [
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"const": "for"
|
|
300
300
|
},
|
|
301
301
|
"case": {
|
|
302
|
-
"$ref": "#/$defs/
|
|
302
|
+
"$ref": "#/$defs/Case"
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
"allOf": [
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
"type": "string",
|
|
404
404
|
"pattern": "^BRANCH_STEP-.+$"
|
|
405
405
|
},
|
|
406
|
-
"
|
|
406
|
+
"Case": {
|
|
407
407
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
408
408
|
"type": "object",
|
|
409
409
|
"required": [
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"cases": {
|
|
505
505
|
"type": "array",
|
|
506
506
|
"items": {
|
|
507
|
-
"$ref": "#/$defs/
|
|
507
|
+
"$ref": "#/$defs/Case"
|
|
508
508
|
},
|
|
509
509
|
"minItems": 1,
|
|
510
510
|
"uniqueItems": true
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"const": "while"
|
|
533
533
|
},
|
|
534
534
|
"case": {
|
|
535
|
-
"$ref": "#/$defs/
|
|
535
|
+
"$ref": "#/$defs/Case"
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
538
|
"allOf": [
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
"const": "for"
|
|
558
558
|
},
|
|
559
559
|
"case": {
|
|
560
|
-
"$ref": "#/$defs/
|
|
560
|
+
"$ref": "#/$defs/Case"
|
|
561
561
|
}
|
|
562
562
|
},
|
|
563
563
|
"allOf": [
|
|
@@ -630,7 +630,7 @@
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
|
-
"
|
|
633
|
+
"Case": {
|
|
634
634
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
635
635
|
"type": "object",
|
|
636
636
|
"required": [
|
|
@@ -139,7 +139,7 @@ export type BranchStepJson =
|
|
|
139
139
|
/**
|
|
140
140
|
* @minItems 1
|
|
141
141
|
*/
|
|
142
|
-
cases: [
|
|
142
|
+
cases: [CaseJson, ...CaseJson[]];
|
|
143
143
|
} & StepKindFacetJson;
|
|
144
144
|
/**
|
|
145
145
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -155,7 +155,7 @@ export type WhileStepJson =
|
|
|
155
155
|
{
|
|
156
156
|
identity: WhileStepIdentityJson;
|
|
157
157
|
stepKind: "while";
|
|
158
|
-
case:
|
|
158
|
+
case: CaseJson;
|
|
159
159
|
} & StepKindFacetJson;
|
|
160
160
|
/**
|
|
161
161
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -171,7 +171,7 @@ export type ForStepJson =
|
|
|
171
171
|
{
|
|
172
172
|
identity: ForStepIdentityJson;
|
|
173
173
|
stepKind: "for";
|
|
174
|
-
case:
|
|
174
|
+
case: CaseJson;
|
|
175
175
|
} & StepKindFacetJson;
|
|
176
176
|
/**
|
|
177
177
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -299,19 +299,6 @@ export type ResourceOutputPotentialJson =
|
|
|
299
299
|
*/
|
|
300
300
|
export type ResourcePotentialJson =
|
|
301
301
|
ResourceMissingJson | ResourceInputPotentialJson | ResourceOutputPotentialJson;
|
|
302
|
-
/**
|
|
303
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
304
|
-
* via the `definition` "JsonData".
|
|
305
|
-
*/
|
|
306
|
-
export type JsonDataJson =
|
|
307
|
-
| null
|
|
308
|
-
| boolean
|
|
309
|
-
| number
|
|
310
|
-
| string
|
|
311
|
-
| JsonDataJson[]
|
|
312
|
-
| {
|
|
313
|
-
[k: string]: JsonDataJson;
|
|
314
|
-
};
|
|
315
302
|
/**
|
|
316
303
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
317
304
|
* via the `definition` "Resource".
|
|
@@ -520,9 +507,9 @@ export interface RoleBindingsFacet1Json {
|
|
|
520
507
|
}
|
|
521
508
|
/**
|
|
522
509
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
523
|
-
* via the `definition` "
|
|
510
|
+
* via the `definition` "Case".
|
|
524
511
|
*/
|
|
525
|
-
export interface
|
|
512
|
+
export interface CaseJson {
|
|
526
513
|
when: JobStepJson;
|
|
527
514
|
what: JobStepJson;
|
|
528
515
|
}
|
|
@@ -576,7 +563,6 @@ export interface PathFacetJson {
|
|
|
576
563
|
* via the `definition` "Nucleus".
|
|
577
564
|
*/
|
|
578
565
|
export interface NucleusJson {
|
|
579
|
-
[k: string]: JsonDataJson;
|
|
580
566
|
}
|
|
581
567
|
/**
|
|
582
568
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
package/dist/index.d.ts
CHANGED
|
@@ -11,4 +11,4 @@ export type { Resource_ResourceType as Resource_ResourceTypeJson } from './gener
|
|
|
11
11
|
export type { Resource_Job as Resource_JobJson } from './generated/types/standalone/Resource_Job.js';
|
|
12
12
|
export type { Resource_RawStrategy as Resource_RawStrategyJson } from './generated/types/standalone/Resource_RawStrategy.js';
|
|
13
13
|
export type { Resource_RunnableStrategy as Resource_RunnableStrategyJson } from './generated/types/standalone/Resource_RunnableStrategy.js';
|
|
14
|
-
export type { DocumentationFacetJson, NucleusFacetJson, ResourceTypeIdentityJson, ResourceTypeJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceRoleJson,
|
|
14
|
+
export type { DocumentationFacetJson, NucleusFacetJson, ResourceTypeIdentityJson, ResourceTypeJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceRoleJson, CaseJson, RoleDictJson, RolesJson, RoleBindingsJson, ResourceIdentityJson, JobStepIdentityJson, BranchStepIdentityJson, WhileStepIdentityJson, ForStepIdentityJson, JobStepJson, BranchStepJson, WhileStepJson, ForStepJson, StepKindJson, StepIdentityJson, StepJson, CreationContextJson, ResourceMissingJson, ResourceInputPotentialJson, ResourceOutputPotentialJson, ShellMaterializedBaseJson, ResourceJson, StrategyStateJson, StepsFacetJson, RawStrategyJson, RunnableStrategyIdentityJson, RunnableStrategyStatusJson, RunnableStrategyJson, RunnableStrategyUpdateJson, JobIdentityJson, JobJson, StrategyThreadIdentityJson, StrategyThreadDictJson, JobStepSocketJson, TimestampJson, StrategyRunIdentityJson, StrategyRunJson, GoalIdentityJson, GoalJson, ErrorJson, RunEventJson, RunEventBaseJson, RunEventKindJson, RunEventCountersJson, RunEventStepMetadataJson, RunEventUpdatesJson, GraphStartRunEventJson, GraphEndRunEventJson, TickRunEventJson, InterruptRunEventJson, } from './generated/types/types.js';
|
package/package.json
CHANGED
package/src/Genesis.json
CHANGED
|
@@ -519,12 +519,12 @@
|
|
|
519
519
|
]
|
|
520
520
|
}
|
|
521
521
|
},
|
|
522
|
-
"
|
|
523
|
-
"identity": "TYPE-
|
|
524
|
-
"name": "
|
|
522
|
+
"Case": {
|
|
523
|
+
"identity": "TYPE-Case",
|
|
524
|
+
"name": "Case",
|
|
525
525
|
"description": "dummy-description",
|
|
526
526
|
"nucleusSchema": {
|
|
527
|
-
"$anchor": "
|
|
527
|
+
"$anchor": "Case",
|
|
528
528
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
529
529
|
"type": "object",
|
|
530
530
|
"required": [
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"cases": {
|
|
577
577
|
"type": "array",
|
|
578
578
|
"items": {
|
|
579
|
-
"$ref": "#
|
|
579
|
+
"$ref": "#Case"
|
|
580
580
|
},
|
|
581
581
|
"minItems": 1,
|
|
582
582
|
"uniqueItems": true
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
"const": "while"
|
|
622
622
|
},
|
|
623
623
|
"case": {
|
|
624
|
-
"$ref": "#
|
|
624
|
+
"$ref": "#Case"
|
|
625
625
|
}
|
|
626
626
|
},
|
|
627
627
|
"allOf": [
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
"const": "for"
|
|
664
664
|
},
|
|
665
665
|
"case": {
|
|
666
|
-
"$ref": "#
|
|
666
|
+
"$ref": "#Case"
|
|
667
667
|
}
|
|
668
668
|
},
|
|
669
669
|
"allOf": [
|
|
@@ -1087,41 +1087,6 @@
|
|
|
1087
1087
|
"unevaluatedProperties": false
|
|
1088
1088
|
}
|
|
1089
1089
|
},
|
|
1090
|
-
"JsonData": {
|
|
1091
|
-
"identity": "TYPE-JsonData",
|
|
1092
|
-
"name": "JsonData",
|
|
1093
|
-
"description": "dummy-description",
|
|
1094
|
-
"nucleusSchema": {
|
|
1095
|
-
"$anchor": "JsonData",
|
|
1096
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1097
|
-
"oneOf": [
|
|
1098
|
-
{
|
|
1099
|
-
"type": "null"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"type": "boolean"
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"type": "number"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"type": "string"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"type": "array",
|
|
1112
|
-
"items": {
|
|
1113
|
-
"$ref": "#JsonData"
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
"type": "object",
|
|
1118
|
-
"additionalProperties": {
|
|
1119
|
-
"$ref": "#JsonData"
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
]
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
1090
|
"Nucleus": {
|
|
1126
1091
|
"identity": "TYPE-Nucleus",
|
|
1127
1092
|
"name": "Nucleus",
|
|
@@ -1130,9 +1095,8 @@
|
|
|
1130
1095
|
"$anchor": "Nucleus",
|
|
1131
1096
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1132
1097
|
"type": "object",
|
|
1133
|
-
"additionalProperties":
|
|
1134
|
-
|
|
1135
|
-
}
|
|
1098
|
+
"additionalProperties": true,
|
|
1099
|
+
"$comment": "Currently not used."
|
|
1136
1100
|
}
|
|
1137
1101
|
},
|
|
1138
1102
|
"NucleusFacet": {
|
|
@@ -4,7 +4,7 @@ const CONSTANTS = {
|
|
|
4
4
|
BooleanIdentity: 'BooleanIdentity',
|
|
5
5
|
BranchStep: 'BranchStep',
|
|
6
6
|
BranchStepIdentity: 'BranchStepIdentity',
|
|
7
|
-
|
|
7
|
+
Case: 'Case',
|
|
8
8
|
CreationContext: 'CreationContext',
|
|
9
9
|
CreationContextFacet: 'CreationContextFacet',
|
|
10
10
|
Description: 'Description',
|
|
@@ -23,7 +23,6 @@ const CONSTANTS = {
|
|
|
23
23
|
JobStep: 'JobStep',
|
|
24
24
|
JobStepIdentity: 'JobStepIdentity',
|
|
25
25
|
JobStepSocket: 'JobStepSocket',
|
|
26
|
-
JsonData: 'JsonData',
|
|
27
26
|
Name: 'Name',
|
|
28
27
|
NameFacet: 'NameFacet',
|
|
29
28
|
Natural: 'Natural',
|
|
@@ -68,25 +68,25 @@
|
|
|
68
68
|
"StepKindFacet",
|
|
69
69
|
"RoleBindingsFacet"
|
|
70
70
|
],
|
|
71
|
-
"
|
|
71
|
+
"Case": [
|
|
72
72
|
"JobStep"
|
|
73
73
|
],
|
|
74
74
|
"BranchStepIdentity": [],
|
|
75
75
|
"BranchStep": [
|
|
76
76
|
"BranchStepIdentity",
|
|
77
|
-
"
|
|
77
|
+
"Case",
|
|
78
78
|
"StepKindFacet"
|
|
79
79
|
],
|
|
80
80
|
"WhileStepIdentity": [],
|
|
81
81
|
"WhileStep": [
|
|
82
82
|
"WhileStepIdentity",
|
|
83
|
-
"
|
|
83
|
+
"Case",
|
|
84
84
|
"StepKindFacet"
|
|
85
85
|
],
|
|
86
86
|
"ForStepIdentity": [],
|
|
87
87
|
"ForStep": [
|
|
88
88
|
"ForStepIdentity",
|
|
89
|
-
"
|
|
89
|
+
"Case",
|
|
90
90
|
"StepKindFacet"
|
|
91
91
|
],
|
|
92
92
|
"StepIdentity": [
|
|
@@ -164,10 +164,7 @@
|
|
|
164
164
|
"ResourceInputPotential",
|
|
165
165
|
"ResourceOutputPotential"
|
|
166
166
|
],
|
|
167
|
-
"
|
|
168
|
-
"Nucleus": [
|
|
169
|
-
"JsonData"
|
|
170
|
-
],
|
|
167
|
+
"Nucleus": [],
|
|
171
168
|
"NucleusFacet": [],
|
|
172
169
|
"Resource": [
|
|
173
170
|
"ShellMaterializedBase",
|
|
@@ -494,9 +494,9 @@
|
|
|
494
494
|
]
|
|
495
495
|
}
|
|
496
496
|
},
|
|
497
|
-
"
|
|
498
|
-
"identity": "TYPE-
|
|
499
|
-
"name": "
|
|
497
|
+
"Case": {
|
|
498
|
+
"identity": "TYPE-Case",
|
|
499
|
+
"name": "Case",
|
|
500
500
|
"description": "dummy-description",
|
|
501
501
|
"nucleusSchema": {
|
|
502
502
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
"cases": {
|
|
549
549
|
"type": "array",
|
|
550
550
|
"items": {
|
|
551
|
-
"$ref": "#/$defs/
|
|
551
|
+
"$ref": "#/$defs/Case"
|
|
552
552
|
},
|
|
553
553
|
"minItems": 1,
|
|
554
554
|
"uniqueItems": true
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"const": "while"
|
|
592
592
|
},
|
|
593
593
|
"case": {
|
|
594
|
-
"$ref": "#/$defs/
|
|
594
|
+
"$ref": "#/$defs/Case"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"allOf": [
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"const": "for"
|
|
632
632
|
},
|
|
633
633
|
"case": {
|
|
634
|
-
"$ref": "#/$defs/
|
|
634
|
+
"$ref": "#/$defs/Case"
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
"allOf": [
|
|
@@ -1034,40 +1034,6 @@
|
|
|
1034
1034
|
"unevaluatedProperties": false
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
|
-
"JsonData": {
|
|
1038
|
-
"identity": "TYPE-JsonData",
|
|
1039
|
-
"name": "JsonData",
|
|
1040
|
-
"description": "dummy-description",
|
|
1041
|
-
"nucleusSchema": {
|
|
1042
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1043
|
-
"oneOf": [
|
|
1044
|
-
{
|
|
1045
|
-
"type": "null"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"type": "boolean"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"type": "number"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"type": "string"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"type": "array",
|
|
1058
|
-
"items": {
|
|
1059
|
-
"$ref": "#/$defs/JsonData"
|
|
1060
|
-
}
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"type": "object",
|
|
1064
|
-
"additionalProperties": {
|
|
1065
|
-
"$ref": "#/$defs/JsonData"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
]
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
1037
|
"Nucleus": {
|
|
1072
1038
|
"identity": "TYPE-Nucleus",
|
|
1073
1039
|
"name": "Nucleus",
|
|
@@ -1075,9 +1041,8 @@
|
|
|
1075
1041
|
"nucleusSchema": {
|
|
1076
1042
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1077
1043
|
"type": "object",
|
|
1078
|
-
"additionalProperties":
|
|
1079
|
-
|
|
1080
|
-
}
|
|
1044
|
+
"additionalProperties": true,
|
|
1045
|
+
"$comment": "Currently not used."
|
|
1081
1046
|
}
|
|
1082
1047
|
},
|
|
1083
1048
|
"NucleusFacet": {
|
|
@@ -787,8 +787,8 @@
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
},
|
|
790
|
-
"
|
|
791
|
-
"identity": "RESOURCE-
|
|
790
|
+
"Case": {
|
|
791
|
+
"identity": "RESOURCE-Case",
|
|
792
792
|
"resourceTypeHandle": "TYPE-ResourceType",
|
|
793
793
|
"creationContext": {
|
|
794
794
|
"resourceRoleHandle": "ROLE-Genesis",
|
|
@@ -797,10 +797,10 @@
|
|
|
797
797
|
"resourceShellKind": "materialized",
|
|
798
798
|
"version": 1,
|
|
799
799
|
"timestamp": "2025-11-30T00:00:00.000Z",
|
|
800
|
-
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/
|
|
800
|
+
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/Case",
|
|
801
801
|
"nucleus": {
|
|
802
|
-
"identity": "TYPE-
|
|
803
|
-
"name": "
|
|
802
|
+
"identity": "TYPE-Case",
|
|
803
|
+
"name": "Case",
|
|
804
804
|
"description": "dummy-description",
|
|
805
805
|
"nucleusSchema": {
|
|
806
806
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -876,7 +876,7 @@
|
|
|
876
876
|
"cases": {
|
|
877
877
|
"type": "array",
|
|
878
878
|
"items": {
|
|
879
|
-
"$ref": "#/$defs/
|
|
879
|
+
"$ref": "#/$defs/Case"
|
|
880
880
|
},
|
|
881
881
|
"minItems": 1,
|
|
882
882
|
"uniqueItems": true
|
|
@@ -943,7 +943,7 @@
|
|
|
943
943
|
"const": "while"
|
|
944
944
|
},
|
|
945
945
|
"case": {
|
|
946
|
-
"$ref": "#/$defs/
|
|
946
|
+
"$ref": "#/$defs/Case"
|
|
947
947
|
}
|
|
948
948
|
},
|
|
949
949
|
"allOf": [
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
"const": "for"
|
|
1008
1008
|
},
|
|
1009
1009
|
"case": {
|
|
1010
|
-
"$ref": "#/$defs/
|
|
1010
|
+
"$ref": "#/$defs/Case"
|
|
1011
1011
|
}
|
|
1012
1012
|
},
|
|
1013
1013
|
"allOf": [
|
|
@@ -1663,52 +1663,6 @@
|
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
},
|
|
1666
|
-
"JsonData": {
|
|
1667
|
-
"identity": "RESOURCE-JsonData",
|
|
1668
|
-
"resourceTypeHandle": "TYPE-ResourceType",
|
|
1669
|
-
"creationContext": {
|
|
1670
|
-
"resourceRoleHandle": "ROLE-Genesis",
|
|
1671
|
-
"jobStepHandle": "JOB_STEP-Genesis"
|
|
1672
|
-
},
|
|
1673
|
-
"resourceShellKind": "materialized",
|
|
1674
|
-
"version": 1,
|
|
1675
|
-
"timestamp": "2025-11-30T00:00:00.000Z",
|
|
1676
|
-
"path": "https://schemas.toolproof.com/v1/Genesis.json#/$defs/JsonData",
|
|
1677
|
-
"nucleus": {
|
|
1678
|
-
"identity": "TYPE-JsonData",
|
|
1679
|
-
"name": "JsonData",
|
|
1680
|
-
"description": "dummy-description",
|
|
1681
|
-
"nucleusSchema": {
|
|
1682
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1683
|
-
"oneOf": [
|
|
1684
|
-
{
|
|
1685
|
-
"type": "null"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"type": "boolean"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"type": "number"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"type": "string"
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
"type": "array",
|
|
1698
|
-
"items": {
|
|
1699
|
-
"$ref": "#/$defs/JsonData"
|
|
1700
|
-
}
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"type": "object",
|
|
1704
|
-
"additionalProperties": {
|
|
1705
|
-
"$ref": "#/$defs/JsonData"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
},
|
|
1712
1666
|
"Nucleus": {
|
|
1713
1667
|
"identity": "RESOURCE-Nucleus",
|
|
1714
1668
|
"resourceTypeHandle": "TYPE-ResourceType",
|
|
@@ -1727,9 +1681,8 @@
|
|
|
1727
1681
|
"nucleusSchema": {
|
|
1728
1682
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1729
1683
|
"type": "object",
|
|
1730
|
-
"additionalProperties":
|
|
1731
|
-
|
|
1732
|
-
}
|
|
1684
|
+
"additionalProperties": true,
|
|
1685
|
+
"$comment": "Currently not used."
|
|
1733
1686
|
}
|
|
1734
1687
|
}
|
|
1735
1688
|
},
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}
|
|
368
368
|
]
|
|
369
369
|
},
|
|
370
|
-
"
|
|
370
|
+
"Case": {
|
|
371
371
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
372
372
|
"type": "object",
|
|
373
373
|
"required": [
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
"cases": {
|
|
408
408
|
"type": "array",
|
|
409
409
|
"items": {
|
|
410
|
-
"$ref": "#/$defs/
|
|
410
|
+
"$ref": "#/$defs/Case"
|
|
411
411
|
},
|
|
412
412
|
"minItems": 1,
|
|
413
413
|
"uniqueItems": true
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"const": "while"
|
|
441
441
|
},
|
|
442
442
|
"case": {
|
|
443
|
-
"$ref": "#/$defs/
|
|
443
|
+
"$ref": "#/$defs/Case"
|
|
444
444
|
}
|
|
445
445
|
},
|
|
446
446
|
"allOf": [
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"const": "for"
|
|
471
471
|
},
|
|
472
472
|
"case": {
|
|
473
|
-
"$ref": "#/$defs/
|
|
473
|
+
"$ref": "#/$defs/Case"
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
476
|
"allOf": [
|
|
@@ -767,41 +767,11 @@
|
|
|
767
767
|
],
|
|
768
768
|
"unevaluatedProperties": false
|
|
769
769
|
},
|
|
770
|
-
"JsonData": {
|
|
771
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
772
|
-
"oneOf": [
|
|
773
|
-
{
|
|
774
|
-
"type": "null"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"type": "boolean"
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
"type": "number"
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"type": "string"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"type": "array",
|
|
787
|
-
"items": {
|
|
788
|
-
"$ref": "#/$defs/JsonData"
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"type": "object",
|
|
793
|
-
"additionalProperties": {
|
|
794
|
-
"$ref": "#/$defs/JsonData"
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
]
|
|
798
|
-
},
|
|
799
770
|
"Nucleus": {
|
|
800
771
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
801
772
|
"type": "object",
|
|
802
|
-
"additionalProperties":
|
|
803
|
-
|
|
804
|
-
}
|
|
773
|
+
"additionalProperties": true,
|
|
774
|
+
"$comment": "Currently not used."
|
|
805
775
|
},
|
|
806
776
|
"NucleusFacet": {
|
|
807
777
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"cases": {
|
|
142
142
|
"type": "array",
|
|
143
143
|
"items": {
|
|
144
|
-
"$ref": "#/$defs/
|
|
144
|
+
"$ref": "#/$defs/Case"
|
|
145
145
|
},
|
|
146
146
|
"minItems": 1,
|
|
147
147
|
"uniqueItems": true
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"const": "while"
|
|
170
170
|
},
|
|
171
171
|
"case": {
|
|
172
|
-
"$ref": "#/$defs/
|
|
172
|
+
"$ref": "#/$defs/Case"
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
"allOf": [
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"const": "for"
|
|
195
195
|
},
|
|
196
196
|
"case": {
|
|
197
|
-
"$ref": "#/$defs/
|
|
197
|
+
"$ref": "#/$defs/Case"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"allOf": [
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"type": "string",
|
|
273
273
|
"pattern": "^BRANCH_STEP-.+$"
|
|
274
274
|
},
|
|
275
|
-
"
|
|
275
|
+
"Case": {
|
|
276
276
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
277
277
|
"type": "object",
|
|
278
278
|
"required": [
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"cases": {
|
|
247
247
|
"type": "array",
|
|
248
248
|
"items": {
|
|
249
|
-
"$ref": "#/$defs/
|
|
249
|
+
"$ref": "#/$defs/Case"
|
|
250
250
|
},
|
|
251
251
|
"minItems": 1,
|
|
252
252
|
"uniqueItems": true
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"const": "while"
|
|
275
275
|
},
|
|
276
276
|
"case": {
|
|
277
|
-
"$ref": "#/$defs/
|
|
277
|
+
"$ref": "#/$defs/Case"
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
"allOf": [
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"const": "for"
|
|
300
300
|
},
|
|
301
301
|
"case": {
|
|
302
|
-
"$ref": "#/$defs/
|
|
302
|
+
"$ref": "#/$defs/Case"
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
"allOf": [
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
"type": "string",
|
|
404
404
|
"pattern": "^BRANCH_STEP-.+$"
|
|
405
405
|
},
|
|
406
|
-
"
|
|
406
|
+
"Case": {
|
|
407
407
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
408
408
|
"type": "object",
|
|
409
409
|
"required": [
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"cases": {
|
|
505
505
|
"type": "array",
|
|
506
506
|
"items": {
|
|
507
|
-
"$ref": "#/$defs/
|
|
507
|
+
"$ref": "#/$defs/Case"
|
|
508
508
|
},
|
|
509
509
|
"minItems": 1,
|
|
510
510
|
"uniqueItems": true
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"const": "while"
|
|
533
533
|
},
|
|
534
534
|
"case": {
|
|
535
|
-
"$ref": "#/$defs/
|
|
535
|
+
"$ref": "#/$defs/Case"
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
538
|
"allOf": [
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
"const": "for"
|
|
558
558
|
},
|
|
559
559
|
"case": {
|
|
560
|
-
"$ref": "#/$defs/
|
|
560
|
+
"$ref": "#/$defs/Case"
|
|
561
561
|
}
|
|
562
562
|
},
|
|
563
563
|
"allOf": [
|
|
@@ -630,7 +630,7 @@
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
|
-
"
|
|
633
|
+
"Case": {
|
|
634
634
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
635
635
|
"type": "object",
|
|
636
636
|
"required": [
|
|
@@ -139,7 +139,7 @@ export type BranchStepJson =
|
|
|
139
139
|
/**
|
|
140
140
|
* @minItems 1
|
|
141
141
|
*/
|
|
142
|
-
cases: [
|
|
142
|
+
cases: [CaseJson, ...CaseJson[]];
|
|
143
143
|
} & StepKindFacetJson;
|
|
144
144
|
/**
|
|
145
145
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -155,7 +155,7 @@ export type WhileStepJson =
|
|
|
155
155
|
{
|
|
156
156
|
identity: WhileStepIdentityJson;
|
|
157
157
|
stepKind: "while";
|
|
158
|
-
case:
|
|
158
|
+
case: CaseJson;
|
|
159
159
|
} & StepKindFacetJson;
|
|
160
160
|
/**
|
|
161
161
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -171,7 +171,7 @@ export type ForStepJson =
|
|
|
171
171
|
{
|
|
172
172
|
identity: ForStepIdentityJson;
|
|
173
173
|
stepKind: "for";
|
|
174
|
-
case:
|
|
174
|
+
case: CaseJson;
|
|
175
175
|
} & StepKindFacetJson;
|
|
176
176
|
/**
|
|
177
177
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
@@ -299,19 +299,6 @@ export type ResourceOutputPotentialJson =
|
|
|
299
299
|
*/
|
|
300
300
|
export type ResourcePotentialJson =
|
|
301
301
|
ResourceMissingJson | ResourceInputPotentialJson | ResourceOutputPotentialJson;
|
|
302
|
-
/**
|
|
303
|
-
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
304
|
-
* via the `definition` "JsonData".
|
|
305
|
-
*/
|
|
306
|
-
export type JsonDataJson =
|
|
307
|
-
| null
|
|
308
|
-
| boolean
|
|
309
|
-
| number
|
|
310
|
-
| string
|
|
311
|
-
| JsonDataJson[]
|
|
312
|
-
| {
|
|
313
|
-
[k: string]: JsonDataJson;
|
|
314
|
-
};
|
|
315
302
|
/**
|
|
316
303
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
317
304
|
* via the `definition` "Resource".
|
|
@@ -520,9 +507,9 @@ export interface RoleBindingsFacet1Json {
|
|
|
520
507
|
}
|
|
521
508
|
/**
|
|
522
509
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
|
523
|
-
* via the `definition` "
|
|
510
|
+
* via the `definition` "Case".
|
|
524
511
|
*/
|
|
525
|
-
export interface
|
|
512
|
+
export interface CaseJson {
|
|
526
513
|
when: JobStepJson;
|
|
527
514
|
what: JobStepJson;
|
|
528
515
|
}
|
|
@@ -576,7 +563,6 @@ export interface PathFacetJson {
|
|
|
576
563
|
* via the `definition` "Nucleus".
|
|
577
564
|
*/
|
|
578
565
|
export interface NucleusJson {
|
|
579
|
-
[k: string]: JsonDataJson;
|
|
580
566
|
}
|
|
581
567
|
/**
|
|
582
568
|
* This interface was referenced by `Genesis`'s JSON-Schema
|
package/src/index.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type {
|
|
|
34
34
|
ResourceRoleIdentityJson,
|
|
35
35
|
ResourceRoleValueJson,
|
|
36
36
|
ResourceRoleJson,
|
|
37
|
-
|
|
37
|
+
CaseJson,
|
|
38
38
|
RoleDictJson,
|
|
39
39
|
RolesJson,
|
|
40
40
|
RoleBindingsJson,
|
|
@@ -65,7 +65,6 @@ export type {
|
|
|
65
65
|
RunnableStrategyUpdateJson,
|
|
66
66
|
JobIdentityJson,
|
|
67
67
|
JobJson,
|
|
68
|
-
JsonDataJson,
|
|
69
68
|
StrategyThreadIdentityJson,
|
|
70
69
|
StrategyThreadDictJson,
|
|
71
70
|
JobStepSocketJson,
|