@toolproof-npm/schema 0.1.33 → 0.1.34
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/_lib/test.js
CHANGED
|
@@ -72,7 +72,7 @@ const resourceDataJobAlpha = {
|
|
|
72
72
|
resourceRoleId: 'ROLE-ID',
|
|
73
73
|
executionId: 'EXECUTION-ID',
|
|
74
74
|
},
|
|
75
|
-
kind: '
|
|
75
|
+
kind: 'materialized',
|
|
76
76
|
timestamp: 'timestamp',
|
|
77
77
|
path: 'path',
|
|
78
78
|
extractedData: jobAlpha
|
|
@@ -86,7 +86,7 @@ const resourceDataJobAlpha2 = {
|
|
|
86
86
|
resourceRoleId: 'ROLE-ID',
|
|
87
87
|
executionId: 'EXECUTION-ID',
|
|
88
88
|
},
|
|
89
|
-
kind: '
|
|
89
|
+
kind: 'materialized',
|
|
90
90
|
timestamp: 'timestamp',
|
|
91
91
|
// path: 'path',
|
|
92
92
|
extractedData: jobAlpha
|
|
@@ -100,7 +100,7 @@ const resourceDataJobAlpha3 = {
|
|
|
100
100
|
resourceRoleId: 'ROLE-ID',
|
|
101
101
|
executionId: 'EXECUTION-ID',
|
|
102
102
|
},
|
|
103
|
-
kind: '
|
|
103
|
+
kind: 'materialized',
|
|
104
104
|
timestamp: 'timestamp',
|
|
105
105
|
path: 'path',
|
|
106
106
|
// extractedData: jobAlpha
|
|
@@ -113,7 +113,7 @@ const resourceDataJobBeta = {
|
|
|
113
113
|
resourceRoleId: 'ROLE-ID',
|
|
114
114
|
executionId: 'EXECUTION-ID',
|
|
115
115
|
},
|
|
116
|
-
kind: '
|
|
116
|
+
kind: 'materialized',
|
|
117
117
|
timestamp: 'timestamp',
|
|
118
118
|
path: 'path',
|
|
119
119
|
// @ts-expect-error Missing outputMap inside roles (Job requires outputMap)
|
|
@@ -4,7 +4,7 @@ export type ResourceData_Job = ResourceMetaBase & {
|
|
|
4
4
|
};
|
|
5
5
|
export type ResourceMetaBase = ResourceBase &
|
|
6
6
|
ResourceKind & {
|
|
7
|
-
kind: "
|
|
7
|
+
kind: "materialized";
|
|
8
8
|
} & Path &
|
|
9
9
|
Timestamp;
|
|
10
10
|
export type ResourceBase = Identifiable & {
|
|
@@ -44,7 +44,7 @@ export interface ResourceSocket {
|
|
|
44
44
|
resourceRoleId: string;
|
|
45
45
|
}
|
|
46
46
|
export interface ResourceKind {
|
|
47
|
-
kind: "potential-input" | "potential-output" | "
|
|
47
|
+
kind: "potential-input" | "potential-output" | "materialized";
|
|
48
48
|
}
|
|
49
49
|
export interface Path {
|
|
50
50
|
path: string;
|
|
@@ -314,7 +314,7 @@ export type ResourceData = ResourceMetaBase & {
|
|
|
314
314
|
*/
|
|
315
315
|
export type ResourceMetaBase = ResourceBase &
|
|
316
316
|
ResourceKind & {
|
|
317
|
-
kind: "
|
|
317
|
+
kind: "materialized";
|
|
318
318
|
} & Path &
|
|
319
319
|
Timestamp;
|
|
320
320
|
/**
|
|
@@ -345,7 +345,7 @@ export type ResourcePotentialOutput = ResourceBase &
|
|
|
345
345
|
};
|
|
346
346
|
export type ResourceMeta = ResourceBase &
|
|
347
347
|
ResourceKind & {
|
|
348
|
-
kind: "
|
|
348
|
+
kind: "materialized";
|
|
349
349
|
} & Path &
|
|
350
350
|
Timestamp;
|
|
351
351
|
/**
|
|
@@ -438,7 +438,7 @@ export type WorkflowSpecId = string;
|
|
|
438
438
|
*/
|
|
439
439
|
export type ResourceMetaBase1 = ResourceBase &
|
|
440
440
|
ResourceKind & {
|
|
441
|
-
kind: "
|
|
441
|
+
kind: "materialized";
|
|
442
442
|
} & Path &
|
|
443
443
|
Timestamp;
|
|
444
444
|
|
|
@@ -607,7 +607,7 @@ export interface ResourceSocket1 {
|
|
|
607
607
|
* via the `definition` "ResourceKind".
|
|
608
608
|
*/
|
|
609
609
|
export interface ResourceKind {
|
|
610
|
-
kind: "potential-input" | "potential-output" | "
|
|
610
|
+
kind: "potential-input" | "potential-output" | "materialized";
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* This interface was referenced by `GenesisJson`'s JSON-Schema
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"type": "object",
|
|
534
534
|
"properties": {
|
|
535
535
|
"pendingRef": {
|
|
536
|
-
"$comment": "This points to a resource created at a previous step in the same workflow. This resource is not yet
|
|
536
|
+
"$comment": "This points to a resource created at a previous step in the same workflow. This resource is not yet materialized at the time of defining the workflow, but will be materialized when the step using this resource is executed.The Engine resolves this ref at runtime.",
|
|
537
537
|
"$ref": "#/$defs/ResourceSocket"
|
|
538
538
|
}
|
|
539
539
|
},
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"enum": [
|
|
659
659
|
"potential-input",
|
|
660
660
|
"potential-output",
|
|
661
|
-
"
|
|
661
|
+
"materialized"
|
|
662
662
|
]
|
|
663
663
|
}
|
|
664
664
|
},
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
{
|
|
715
715
|
"properties": {
|
|
716
716
|
"kind": {
|
|
717
|
-
"const": "
|
|
717
|
+
"const": "materialized"
|
|
718
718
|
}
|
|
719
719
|
},
|
|
720
720
|
"required": [
|