@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.
- package/dist/generated/artifacts/constants.d.ts +4 -3
- package/dist/generated/artifacts/constants.js +4 -3
- package/dist/generated/normalized/Genesis.json +50 -25
- package/dist/generated/resources/Genesis.json +68 -31
- package/dist/generated/schemas/Genesis.json +38 -19
- package/dist/generated/schemas/standalone/Job.json +7 -8
- package/dist/generated/schemas/standalone/ResourceType.json +4 -4
- package/dist/generated/schemas/standalone/RunnableStrategy.json +7 -7
- package/dist/generated/schemas/standalone/StrategyRun.json +7 -7
- package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/types/types.d.ts +229 -221
- package/dist/index.d.ts +1 -1
- package/dist/scripts/generateStandaloneType.js +2 -1
- package/dist/scripts/generateTypes.js +136 -3
- package/package.json +1 -1
- package/src/Genesis.json +54 -28
- package/src/generated/artifacts/constants.ts +122 -121
- package/src/generated/artifacts/dependencyMap.json +282 -278
- package/src/generated/artifacts/terminals.json +13 -12
- package/src/generated/normalized/Genesis.json +50 -25
- package/src/generated/resources/Genesis.json +68 -31
- package/src/generated/schemas/Genesis.json +38 -19
- package/src/generated/schemas/standalone/Job.json +195 -196
- package/src/generated/schemas/standalone/RawStrategy.json +580 -580
- package/src/generated/schemas/standalone/ResourceType.json +106 -106
- package/src/generated/schemas/standalone/RunnableStrategy.json +7 -7
- package/src/generated/schemas/standalone/StrategyRun.json +7 -7
- package/src/generated/types/standalone/Resource_Genesis.d.ts +3 -3
- package/src/generated/types/standalone/Resource_Job.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RawStrategy.d.ts +3 -3
- package/src/generated/types/standalone/Resource_ResourceType.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +3 -3
- package/src/generated/types/types.d.ts +229 -221
- package/src/index.ts +47 -45
- package/src/scripts/generateStandaloneType.ts +3 -1
- package/src/scripts/generateTypes.ts +151 -5
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"allOf": [
|
|
17
17
|
{
|
|
18
|
-
"$comment": "The Engine runs jobs specified by steps in
|
|
19
|
-
"$ref": "#/$defs/
|
|
18
|
+
"$comment": "The Engine runs jobs specified by steps in strategyThreadDict. The Engine also injects repeted steps when encountering loops.",
|
|
19
|
+
"$ref": "#/$defs/StrategyThreadDictFacet"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"$comment": "The Engine updates strategyState with materialized Resources upon job completions and runtime-provided input events. It also inserts inputPotential and outputPotential Resources upon step injections.",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
},
|
|
50
50
|
"unevaluatedProperties": false
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"StrategyThreadDictFacet": {
|
|
53
53
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
54
54
|
"type": "object",
|
|
55
55
|
"required": [
|
|
56
|
-
"
|
|
56
|
+
"strategyThreadDict"
|
|
57
57
|
],
|
|
58
58
|
"properties": {
|
|
59
|
-
"
|
|
60
|
-
"$ref": "#/$defs/
|
|
59
|
+
"strategyThreadDict": {
|
|
60
|
+
"$ref": "#/$defs/StrategyThreadDict"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"type": "string",
|
|
90
90
|
"format": "date-time"
|
|
91
91
|
},
|
|
92
|
-
"
|
|
92
|
+
"StrategyThreadDict": {
|
|
93
93
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
94
94
|
"type": "object",
|
|
95
95
|
"propertyNames": {
|
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
},
|
|
189
189
|
"allOf": [
|
|
190
190
|
{
|
|
191
|
-
"$comment": "The Engine runs jobs specified by steps in
|
|
192
|
-
"$ref": "#/$defs/
|
|
191
|
+
"$comment": "The Engine runs jobs specified by steps in strategyThreadDict. The Engine also injects repeted steps when encountering loops.",
|
|
192
|
+
"$ref": "#/$defs/StrategyThreadDictFacet"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"$comment": "The Engine updates strategyState with materialized Resources upon job completions and runtime-provided input events. It also inserts inputPotential and outputPotential Resources upon step injections.",
|
|
@@ -297,15 +297,15 @@
|
|
|
297
297
|
},
|
|
298
298
|
"unevaluatedProperties": false
|
|
299
299
|
},
|
|
300
|
-
"
|
|
300
|
+
"StrategyThreadDictFacet": {
|
|
301
301
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
302
302
|
"type": "object",
|
|
303
303
|
"required": [
|
|
304
|
-
"
|
|
304
|
+
"strategyThreadDict"
|
|
305
305
|
],
|
|
306
306
|
"properties": {
|
|
307
|
-
"
|
|
308
|
-
"$ref": "#/$defs/
|
|
307
|
+
"strategyThreadDict": {
|
|
308
|
+
"$ref": "#/$defs/StrategyThreadDict"
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
},
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"cancelled"
|
|
381
381
|
]
|
|
382
382
|
},
|
|
383
|
-
"
|
|
383
|
+
"StrategyThreadDict": {
|
|
384
384
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
385
385
|
"type": "object",
|
|
386
386
|
"propertyNames": {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase,
|
|
2
|
+
import type { ShellMaterializedBaseJson as ShellMaterializedBase, GenesisJson 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,
|
|
2
|
+
import type { ShellMaterializedBaseJson as ShellMaterializedBase, JobJson 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,
|
|
2
|
+
import type { ShellMaterializedBaseJson as ShellMaterializedBase, RawStrategyJson as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RawStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase,
|
|
2
|
+
import type { ShellMaterializedBaseJson as ShellMaterializedBase, ResourceTypeJson 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,
|
|
2
|
+
import type { ShellMaterializedBaseJson as ShellMaterializedBase, RunnableStrategyJson as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RunnableStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|