@toolproof-core/schema 1.0.11 → 1.0.12

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/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, ConditionalJson, 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, JsonDataJson, StrategyThreadIdentityJson, StrategyThreadDictJson, JobStepSocketJson, TimestampJson, StrategyRunIdentityJson, GoalIdentityJson, GoalJson, ErrorJson, } from './generated/types/types.js';
14
+ export type { DocumentationFacetJson, NucleusFacetJson, ResourceTypeIdentityJson, ResourceTypeJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceRoleJson, ConditionalJson, 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, JsonDataJson, StrategyThreadIdentityJson, StrategyThreadDictJson, JobStepSocketJson, TimestampJson, StrategyRunIdentityJson, StrategyRunJson, GoalIdentityJson, GoalJson, ErrorJson, } from './generated/types/types.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolproof-core/schema",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "JSON schemas and TypeScript types for ToolProof",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,122 +1,122 @@
1
- const CONSTANTS = {
2
- Names: {
3
- Boolean: 'Boolean',
4
- BooleanIdentity: 'BooleanIdentity',
5
- BranchStep: 'BranchStep',
6
- BranchStepIdentity: 'BranchStepIdentity',
7
- Conditional: 'Conditional',
8
- CreationContext: 'CreationContext',
9
- CreationContextFacet: 'CreationContextFacet',
10
- Description: 'Description',
11
- DescriptionFacet: 'DescriptionFacet',
12
- DocumentationFacet: 'DocumentationFacet',
13
- Error: 'Error',
14
- ForStep: 'ForStep',
15
- ForStepIdentity: 'ForStepIdentity',
16
- Goal: 'Goal',
17
- GoalIdentity: 'GoalIdentity',
18
- GraphEndRunEvent: 'GraphEndRunEvent',
19
- GraphStartRunEvent: 'GraphStartRunEvent',
20
- InterruptRunEvent: 'InterruptRunEvent',
21
- Job: 'Job',
22
- JobIdentity: 'JobIdentity',
23
- JobStep: 'JobStep',
24
- JobStepIdentity: 'JobStepIdentity',
25
- JobStepSocket: 'JobStepSocket',
26
- JsonData: 'JsonData',
27
- Name: 'Name',
28
- NameFacet: 'NameFacet',
29
- Natural: 'Natural',
30
- NaturalIdentity: 'NaturalIdentity',
31
- Nucleus: 'Nucleus',
32
- NucleusFacet: 'NucleusFacet',
33
- Path: 'Path',
34
- PathFacet: 'PathFacet',
35
- RawStrategy: 'RawStrategy',
36
- Resource: 'Resource',
37
- ResourceIdentity: 'ResourceIdentity',
38
- ResourceInputPotential: 'ResourceInputPotential',
39
- ResourceMissing: 'ResourceMissing',
40
- ResourceOutputPotential: 'ResourceOutputPotential',
41
- ResourcePotential: 'ResourcePotential',
42
- ResourceRole: 'ResourceRole',
43
- ResourceRoleIdentity: 'ResourceRoleIdentity',
44
- ResourceRoleValue: 'ResourceRoleValue',
45
- ResourceShellBase: 'ResourceShellBase',
46
- ResourceShellKind: 'ResourceShellKind',
47
- ResourceShellKindFacet: 'ResourceShellKindFacet',
48
- ResourceType: 'ResourceType',
49
- ResourceTypeIdentity: 'ResourceTypeIdentity',
50
- RoleBindingArray: 'RoleBindingArray',
51
- RoleBindings: 'RoleBindings',
52
- RoleBindingsFacet: 'RoleBindingsFacet',
53
- RoleDict: 'RoleDict',
54
- Roles: 'Roles',
55
- RolesFacet: 'RolesFacet',
56
- RunEvent: 'RunEvent',
57
- RunEventBase: 'RunEventBase',
58
- RunEventCounters: 'RunEventCounters',
59
- RunEventKind: 'RunEventKind',
60
- RunEventStepMetadata: 'RunEventStepMetadata',
61
- RunEventUpdates: 'RunEventUpdates',
62
- RunnableStrategy: 'RunnableStrategy',
63
- RunnableStrategyContext: 'RunnableStrategyContext',
64
- RunnableStrategyIdentity: 'RunnableStrategyIdentity',
65
- RunnableStrategyStatus: 'RunnableStrategyStatus',
66
- RunnableStrategyUpdate: 'RunnableStrategyUpdate',
67
- ShellInputPotential: 'ShellInputPotential',
68
- ShellMaterialized: 'ShellMaterialized',
69
- ShellMaterializedBase: 'ShellMaterializedBase',
70
- ShellMissing: 'ShellMissing',
71
- ShellOutputPotential: 'ShellOutputPotential',
72
- Step: 'Step',
73
- StepArray: 'StepArray',
74
- StepIdentity: 'StepIdentity',
75
- StepKind: 'StepKind',
76
- StepKindFacet: 'StepKindFacet',
77
- StepsFacet: 'StepsFacet',
78
- StrategyRun: 'StrategyRun',
79
- StrategyRunIdentity: 'StrategyRunIdentity',
80
- StrategyState: 'StrategyState',
81
- StrategyStateDelta: 'StrategyStateDelta',
82
- StrategyStateFacet: 'StrategyStateFacet',
83
- StrategyThreadDict: 'StrategyThreadDict',
84
- StrategyThreadDictFacet: 'StrategyThreadDictFacet',
85
- StrategyThreadIdentity: 'StrategyThreadIdentity',
86
- TickRunEvent: 'TickRunEvent',
87
- Timestamp: 'Timestamp',
88
- TimestampFacet: 'TimestampFacet',
89
- Uri: 'Uri',
90
- WhileStep: 'WhileStep',
91
- WhileStepIdentity: 'WhileStepIdentity',
92
- },
93
- Enums: {
94
- ResourceShellKind: {
95
- missing: 'missing',
96
- inputPotential: 'inputPotential',
97
- outputPotential: 'outputPotential',
98
- materialized: 'materialized',
99
- },
100
- RunEventKind: {
101
- graph_start: 'graph_start',
102
- tick: 'tick',
103
- interrupt: 'interrupt',
104
- graph_end: 'graph_end',
105
- },
106
- RunnableStrategyStatus: {
107
- pending: 'pending',
108
- running: 'running',
109
- completed: 'completed',
110
- failed: 'failed',
111
- cancelled: 'cancelled',
112
- },
113
- StepKind: {
114
- job: 'job',
115
- branch: 'branch',
116
- while: 'while',
117
- for: 'for',
118
- },
119
- }
120
- } as const;
121
-
122
- export default CONSTANTS;
1
+ const CONSTANTS = {
2
+ Names: {
3
+ Boolean: 'Boolean',
4
+ BooleanIdentity: 'BooleanIdentity',
5
+ BranchStep: 'BranchStep',
6
+ BranchStepIdentity: 'BranchStepIdentity',
7
+ Conditional: 'Conditional',
8
+ CreationContext: 'CreationContext',
9
+ CreationContextFacet: 'CreationContextFacet',
10
+ Description: 'Description',
11
+ DescriptionFacet: 'DescriptionFacet',
12
+ DocumentationFacet: 'DocumentationFacet',
13
+ Error: 'Error',
14
+ ForStep: 'ForStep',
15
+ ForStepIdentity: 'ForStepIdentity',
16
+ Goal: 'Goal',
17
+ GoalIdentity: 'GoalIdentity',
18
+ GraphEndRunEvent: 'GraphEndRunEvent',
19
+ GraphStartRunEvent: 'GraphStartRunEvent',
20
+ InterruptRunEvent: 'InterruptRunEvent',
21
+ Job: 'Job',
22
+ JobIdentity: 'JobIdentity',
23
+ JobStep: 'JobStep',
24
+ JobStepIdentity: 'JobStepIdentity',
25
+ JobStepSocket: 'JobStepSocket',
26
+ JsonData: 'JsonData',
27
+ Name: 'Name',
28
+ NameFacet: 'NameFacet',
29
+ Natural: 'Natural',
30
+ NaturalIdentity: 'NaturalIdentity',
31
+ Nucleus: 'Nucleus',
32
+ NucleusFacet: 'NucleusFacet',
33
+ Path: 'Path',
34
+ PathFacet: 'PathFacet',
35
+ RawStrategy: 'RawStrategy',
36
+ Resource: 'Resource',
37
+ ResourceIdentity: 'ResourceIdentity',
38
+ ResourceInputPotential: 'ResourceInputPotential',
39
+ ResourceMissing: 'ResourceMissing',
40
+ ResourceOutputPotential: 'ResourceOutputPotential',
41
+ ResourcePotential: 'ResourcePotential',
42
+ ResourceRole: 'ResourceRole',
43
+ ResourceRoleIdentity: 'ResourceRoleIdentity',
44
+ ResourceRoleValue: 'ResourceRoleValue',
45
+ ResourceShellBase: 'ResourceShellBase',
46
+ ResourceShellKind: 'ResourceShellKind',
47
+ ResourceShellKindFacet: 'ResourceShellKindFacet',
48
+ ResourceType: 'ResourceType',
49
+ ResourceTypeIdentity: 'ResourceTypeIdentity',
50
+ RoleBindingArray: 'RoleBindingArray',
51
+ RoleBindings: 'RoleBindings',
52
+ RoleBindingsFacet: 'RoleBindingsFacet',
53
+ RoleDict: 'RoleDict',
54
+ Roles: 'Roles',
55
+ RolesFacet: 'RolesFacet',
56
+ RunEvent: 'RunEvent',
57
+ RunEventBase: 'RunEventBase',
58
+ RunEventCounters: 'RunEventCounters',
59
+ RunEventKind: 'RunEventKind',
60
+ RunEventStepMetadata: 'RunEventStepMetadata',
61
+ RunEventUpdates: 'RunEventUpdates',
62
+ RunnableStrategy: 'RunnableStrategy',
63
+ RunnableStrategyContext: 'RunnableStrategyContext',
64
+ RunnableStrategyIdentity: 'RunnableStrategyIdentity',
65
+ RunnableStrategyStatus: 'RunnableStrategyStatus',
66
+ RunnableStrategyUpdate: 'RunnableStrategyUpdate',
67
+ ShellInputPotential: 'ShellInputPotential',
68
+ ShellMaterialized: 'ShellMaterialized',
69
+ ShellMaterializedBase: 'ShellMaterializedBase',
70
+ ShellMissing: 'ShellMissing',
71
+ ShellOutputPotential: 'ShellOutputPotential',
72
+ Step: 'Step',
73
+ StepArray: 'StepArray',
74
+ StepIdentity: 'StepIdentity',
75
+ StepKind: 'StepKind',
76
+ StepKindFacet: 'StepKindFacet',
77
+ StepsFacet: 'StepsFacet',
78
+ StrategyRun: 'StrategyRun',
79
+ StrategyRunIdentity: 'StrategyRunIdentity',
80
+ StrategyState: 'StrategyState',
81
+ StrategyStateDelta: 'StrategyStateDelta',
82
+ StrategyStateFacet: 'StrategyStateFacet',
83
+ StrategyThreadDict: 'StrategyThreadDict',
84
+ StrategyThreadDictFacet: 'StrategyThreadDictFacet',
85
+ StrategyThreadIdentity: 'StrategyThreadIdentity',
86
+ TickRunEvent: 'TickRunEvent',
87
+ Timestamp: 'Timestamp',
88
+ TimestampFacet: 'TimestampFacet',
89
+ Uri: 'Uri',
90
+ WhileStep: 'WhileStep',
91
+ WhileStepIdentity: 'WhileStepIdentity',
92
+ },
93
+ Enums: {
94
+ ResourceShellKind: {
95
+ missing: 'missing',
96
+ inputPotential: 'inputPotential',
97
+ outputPotential: 'outputPotential',
98
+ materialized: 'materialized',
99
+ },
100
+ RunEventKind: {
101
+ graph_start: 'graph_start',
102
+ tick: 'tick',
103
+ interrupt: 'interrupt',
104
+ graph_end: 'graph_end',
105
+ },
106
+ RunnableStrategyStatus: {
107
+ pending: 'pending',
108
+ running: 'running',
109
+ completed: 'completed',
110
+ failed: 'failed',
111
+ cancelled: 'cancelled',
112
+ },
113
+ StepKind: {
114
+ job: 'job',
115
+ branch: 'branch',
116
+ while: 'while',
117
+ for: 'for',
118
+ },
119
+ }
120
+ } as const;
121
+
122
+ export default CONSTANTS;