@workglow/task-graph 0.0.77 → 0.0.78

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.
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @copyright
3
+ * Copyright 2025 Steven Roussey
4
+ * All Rights Reserved
5
+ */
6
+ import { IExecuteContext, IExecuteReactiveContext, Task, TaskConfig } from "@workglow/task-graph";
7
+ import type { DataPortSchema } from "@workglow/util";
8
+ export type InputTaskInput = Record<string, unknown>;
9
+ export type InputTaskOutput = Record<string, unknown>;
10
+ export type InputTaskConfig = TaskConfig & {
11
+ schema: DataPortSchema;
12
+ };
13
+ export declare class InputTask extends Task<InputTaskInput, InputTaskOutput, InputTaskConfig> {
14
+ static type: string;
15
+ static category: string;
16
+ static title: string;
17
+ static description: string;
18
+ static hasDynamicSchemas: boolean;
19
+ static cacheable: boolean;
20
+ static inputSchema(): DataPortSchema;
21
+ static outputSchema(): DataPortSchema;
22
+ inputSchema(): DataPortSchema;
23
+ outputSchema(): DataPortSchema;
24
+ execute(input: InputTaskInput, _context: IExecuteContext): Promise<InputTaskOutput>;
25
+ executeReactive(input: InputTaskInput, _output: InputTaskOutput, _context: IExecuteReactiveContext): Promise<InputTaskOutput>;
26
+ }
27
+ //# sourceMappingURL=InputTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputTask.d.ts","sourceRoot":"","sources":["../../src/task/InputTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACrD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACtD,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,qBAAa,SAAU,SAAQ,IAAI,CAAC,cAAc,EAAE,eAAe,EAAE,eAAe,CAAC;IACnF,MAAM,CAAC,IAAI,SAAe;IAC1B,MAAM,CAAC,QAAQ,SAAkB;IACjC,MAAM,CAAC,KAAK,SAAW;IACvB,MAAM,CAAC,WAAW,SAAyB;IAC3C,MAAM,CAAC,iBAAiB,UAAQ;IAChC,MAAM,CAAC,SAAS,UAAS;WAEX,WAAW,IAAI,cAAc;WAQ7B,YAAY,IAAI,cAAc;IAQrC,WAAW,IAAI,cAAc;IAO7B,YAAY,IAAI,cAAc;IAOxB,OAAO,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,eAAe;IAIxD,eAAe,CAC1B,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,uBAAuB;CAIpC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @copyright
3
+ * Copyright 2025 Steven Roussey
4
+ * All Rights Reserved
5
+ */
6
+ import { IExecuteContext, IExecuteReactiveContext, Task, TaskConfig } from "@workglow/task-graph";
7
+ import type { DataPortSchema } from "@workglow/util";
8
+ export type OutputTaskInput = Record<string, unknown>;
9
+ export type OutputTaskOutput = Record<string, unknown>;
10
+ export type OutputTaskConfig = TaskConfig & {
11
+ schema: DataPortSchema;
12
+ };
13
+ export declare class OutputTask extends Task<OutputTaskInput, OutputTaskOutput, OutputTaskConfig> {
14
+ static type: string;
15
+ static category: string;
16
+ static title: string;
17
+ static description: string;
18
+ static hasDynamicSchemas: boolean;
19
+ static cacheable: boolean;
20
+ static inputSchema(): DataPortSchema;
21
+ static outputSchema(): DataPortSchema;
22
+ inputSchema(): DataPortSchema;
23
+ outputSchema(): DataPortSchema;
24
+ execute(input: OutputTaskInput, _context: IExecuteContext): Promise<OutputTaskOutput>;
25
+ executeReactive(input: OutputTaskInput, _output: OutputTaskOutput, _context: IExecuteReactiveContext): Promise<OutputTaskOutput>;
26
+ }
27
+ //# sourceMappingURL=OutputTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OutputTask.d.ts","sourceRoot":"","sources":["../../src/task/OutputTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG;IAC1C,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,qBAAa,UAAW,SAAQ,IAAI,CAAC,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;IACvF,MAAM,CAAC,IAAI,SAAgB;IAC3B,MAAM,CAAC,QAAQ,SAAkB;IACjC,MAAM,CAAC,KAAK,SAAY;IACxB,MAAM,CAAC,WAAW,SAAuB;IACzC,MAAM,CAAC,iBAAiB,UAAQ;IAChC,MAAM,CAAC,SAAS,UAAS;WAEX,WAAW,IAAI,cAAc;WAQ7B,YAAY,IAAI,cAAc;IAQrC,WAAW,IAAI,cAAc;IAO7B,YAAY,IAAI,cAAc;IAOxB,OAAO,CAAC,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe;IAIzD,eAAe,CAC1B,KAAK,EAAE,eAAe,EACtB,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,uBAAuB;CAIpC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/task-graph",
3
3
  "type": "module",
4
- "version": "0.0.77",
4
+ "version": "0.0.78",
5
5
  "description": "Task graph management for Workglow, providing DAG construction, execution planning, and workflow orchestration.",
6
6
  "scripts": {
7
7
  "watch": "concurrently -c 'auto' 'bun:watch-*'",
@@ -36,9 +36,9 @@
36
36
  "access": "public"
37
37
  },
38
38
  "peerDependencies": {
39
- "@workglow/job-queue": "0.0.77",
40
- "@workglow/storage": "0.0.77",
41
- "@workglow/util": "0.0.77"
39
+ "@workglow/job-queue": "0.0.78",
40
+ "@workglow/storage": "0.0.78",
41
+ "@workglow/util": "0.0.78"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "@workglow/job-queue": {
@@ -52,8 +52,8 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@workglow/job-queue": "0.0.77",
56
- "@workglow/storage": "0.0.77",
57
- "@workglow/util": "0.0.77"
55
+ "@workglow/job-queue": "0.0.78",
56
+ "@workglow/storage": "0.0.78",
57
+ "@workglow/util": "0.0.78"
58
58
  }
59
59
  }