@workglow/tasks 0.0.53 → 0.0.55
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.js +16 -1
- package/dist/index.js.map +3 -3
- package/dist/task/FetchTask.d.ts +5 -0
- package/dist/task/FetchTask.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/task/FetchTask.d.ts
CHANGED
|
@@ -197,6 +197,11 @@ export declare class FetchTask<Input extends FetchTaskInput = FetchTaskInput, Ou
|
|
|
197
197
|
*/
|
|
198
198
|
outputSchema(): DataPortSchema;
|
|
199
199
|
constructor(input?: Input, config?: Config);
|
|
200
|
+
/**
|
|
201
|
+
* Override setInput to detect when response_type changes and emit schemaChange event.
|
|
202
|
+
* This ensures that consumers of the task are notified when the output schema changes.
|
|
203
|
+
*/
|
|
204
|
+
setInput(input: Record<string, any>): void;
|
|
200
205
|
protected getDefaultQueueName(input: Input): Promise<string | undefined>;
|
|
201
206
|
}
|
|
202
207
|
export declare const Fetch: (input: FetchTaskInput, config?: FetchTaskConfig) => Promise<FetchTaskOutput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchTask.d.ts","sourceRoot":"","sources":["../../src/task/FetchTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,kBAAkB,EAClB,GAAG,EAGJ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,YAAY,EACZ,kBAAkB,EAKnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;CAsBiB,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,W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AW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAIX,YAAY;;;;;;;;;;;;;;;;;;;;;;;IAI1B;;;;OAIG;IACa,YAAY,IAAI,cAAc;gBA4ClC,KAAK,GAAE,KAAmB,EAAE,MAAM,GAAE,MAAqB;IASrE;;;OAGG;IACa,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;cA4BjC,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAgBxF;AAID,eAAO,MAAM,KAAK,GAChB,OAAO,cAAc,EACrB,SAAQ,eAAoB,KAC3B,OAAO,CAAC,eAAe,CAGzB,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,KAAK,EAAE,cAAc,CAAC,cAAc,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC;KACzE;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workglow/tasks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.55",
|
|
5
5
|
"description": "Pre-built task implementations for Workglow, including common AI operations and utility functions.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "concurrently -c 'auto' 'bun:watch-*'",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@workglow/task-graph": "0.0.
|
|
34
|
-
"@workglow/util": "0.0.
|
|
35
|
-
"@workglow/job-queue": "0.0.
|
|
36
|
-
"@workglow/storage": "0.0.
|
|
33
|
+
"@workglow/task-graph": "0.0.55",
|
|
34
|
+
"@workglow/util": "0.0.55",
|
|
35
|
+
"@workglow/job-queue": "0.0.55",
|
|
36
|
+
"@workglow/storage": "0.0.55"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@workglow/task-graph": {
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@workglow/job-queue": "0.0.
|
|
54
|
-
"@workglow/storage": "0.0.
|
|
55
|
-
"@workglow/task-graph": "0.0.
|
|
56
|
-
"@workglow/util": "0.0.
|
|
53
|
+
"@workglow/job-queue": "0.0.55",
|
|
54
|
+
"@workglow/storage": "0.0.55",
|
|
55
|
+
"@workglow/task-graph": "0.0.55",
|
|
56
|
+
"@workglow/util": "0.0.55"
|
|
57
57
|
}
|
|
58
58
|
}
|