@mat3ra/wode 2026.9.2-0 → 2026.10.8-0
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/js/Subworkflow.d.ts +1 -1
- package/dist/js/Workflow.d.ts +1 -2
- package/package.json +2 -2
- package/src/js/Subworkflow.ts +1 -1
- package/src/js/Workflow.ts +2 -5
package/dist/js/Subworkflow.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ type ConvergenceConfig = {
|
|
|
25
25
|
maxOccurrences: number;
|
|
26
26
|
externalContext: SubworkflowExternalContext;
|
|
27
27
|
};
|
|
28
|
-
interface Subworkflow extends Defaultable, NamedEntity, SubworkflowSchemaMixin, HashedEntity,
|
|
28
|
+
interface Subworkflow extends Defaultable, NamedEntity, SubworkflowSchemaMixin, HashedEntity, ComputedEntityMixin<SubworkflowSchemaMixin["compute"]> {
|
|
29
29
|
}
|
|
30
30
|
type SubworkflowExternalContext = WorkflowRenderContext & WorkflowExternalContext;
|
|
31
31
|
export type SubworkflowEntity = SubworkflowSchema & BaseInMemoryEntitySchema;
|
package/dist/js/Workflow.d.ts
CHANGED
|
@@ -20,8 +20,7 @@ import { type AnyWorkflowUnit } from "./units/factory";
|
|
|
20
20
|
import type { WorkflowSchema } from "./workflows/types";
|
|
21
21
|
export type WorkflowEntity = WorkflowSchema & BaseInMemoryEntitySchema;
|
|
22
22
|
type Schema = WorkflowEntity;
|
|
23
|
-
interface Workflow extends Defaultable, NamedEntity, WorkflowSchemaMixin, Taggable, HashedEntity, ComputedEntityMixin
|
|
24
|
-
compute: WorkflowSchema["compute"];
|
|
23
|
+
interface Workflow extends Defaultable, NamedEntity, WorkflowSchemaMixin, Taggable, HashedEntity, ComputedEntityMixin<WorkflowSchema["compute"]>, HasDescription {
|
|
25
24
|
}
|
|
26
25
|
/** Context passed to Workflow.render(); subworkflows also receive `workflowHasRelaxation`. */
|
|
27
26
|
export type WorkflowRenderContext = MaterialExternalContext & MaterialsExternalContext & MaterialsSetExternalContext & JobExternalContext & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/wode",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.10.8-0",
|
|
4
4
|
"description": "WOrkflow DEfinitions",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha --recursive --bail --require ts-node/register 'tests/js/**/*.ts'",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@mat3ra/ade": "2026.8.18-0",
|
|
45
45
|
"@mat3ra/code": "2026.8.18-0",
|
|
46
46
|
"@mat3ra/esse": "2026.8.18-2",
|
|
47
|
-
"@mat3ra/ide": "2026.8
|
|
47
|
+
"@mat3ra/ide": "2026.10.8-0",
|
|
48
48
|
"@mat3ra/made": "2026.8.18-0",
|
|
49
49
|
"@mat3ra/mode": "2026.8.18-0",
|
|
50
50
|
"@mat3ra/prode": "2026.8.18-0",
|
package/src/js/Subworkflow.ts
CHANGED
|
@@ -56,7 +56,7 @@ interface Subworkflow
|
|
|
56
56
|
NamedEntity,
|
|
57
57
|
SubworkflowSchemaMixin,
|
|
58
58
|
HashedEntity,
|
|
59
|
-
|
|
59
|
+
ComputedEntityMixin<SubworkflowSchemaMixin["compute"]> {}
|
|
60
60
|
|
|
61
61
|
type SubworkflowExternalContext = WorkflowRenderContext & WorkflowExternalContext;
|
|
62
62
|
|
package/src/js/Workflow.ts
CHANGED
|
@@ -59,11 +59,8 @@ interface Workflow
|
|
|
59
59
|
WorkflowSchemaMixin,
|
|
60
60
|
Taggable,
|
|
61
61
|
HashedEntity,
|
|
62
|
-
ComputedEntityMixin
|
|
63
|
-
HasDescription {
|
|
64
|
-
// TODO: fix ComputedEntityMixin and remove this
|
|
65
|
-
compute: WorkflowSchema["compute"];
|
|
66
|
-
}
|
|
62
|
+
ComputedEntityMixin<WorkflowSchema["compute"]>,
|
|
63
|
+
HasDescription {}
|
|
67
64
|
|
|
68
65
|
/** Context passed to Workflow.render(); subworkflows also receive `workflowHasRelaxation`. */
|
|
69
66
|
export type WorkflowRenderContext = MaterialExternalContext &
|