@workglow/tasks 0.2.0 → 0.2.2

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.
Files changed (69) hide show
  1. package/dist/browser.d.ts +4 -3
  2. package/dist/browser.d.ts.map +1 -1
  3. package/dist/browser.js +9406 -7907
  4. package/dist/browser.js.map +55 -32
  5. package/dist/bun.d.ts +4 -3
  6. package/dist/bun.d.ts.map +1 -1
  7. package/dist/bun.js +9369 -7898
  8. package/dist/bun.js.map +56 -33
  9. package/dist/common.d.ts +77 -39
  10. package/dist/common.d.ts.map +1 -1
  11. package/dist/node.d.ts +4 -3
  12. package/dist/node.d.ts.map +1 -1
  13. package/dist/node.js +9369 -7898
  14. package/dist/node.js.map +56 -33
  15. package/dist/task/FetchUrlTask.d.ts.map +1 -1
  16. package/dist/task/FileLoaderTask.d.ts +2 -2
  17. package/dist/task/FileLoaderTask.d.ts.map +1 -1
  18. package/dist/task/FileLoaderTask.server.d.ts.map +1 -1
  19. package/dist/task/image/ImageBlurTask.d.ts +247 -0
  20. package/dist/task/image/ImageBlurTask.d.ts.map +1 -0
  21. package/dist/task/image/ImageBorderTask.d.ts +309 -0
  22. package/dist/task/image/ImageBorderTask.d.ts.map +1 -0
  23. package/dist/task/image/ImageBrightnessTask.d.ts +247 -0
  24. package/dist/task/image/ImageBrightnessTask.d.ts.map +1 -0
  25. package/dist/task/image/ImageContrastTask.d.ts +247 -0
  26. package/dist/task/image/ImageContrastTask.d.ts.map +1 -0
  27. package/dist/task/image/ImageCropTask.d.ts +279 -0
  28. package/dist/task/image/ImageCropTask.d.ts.map +1 -0
  29. package/dist/task/image/ImageFlipTask.d.ts +243 -0
  30. package/dist/task/image/ImageFlipTask.d.ts.map +1 -0
  31. package/dist/task/image/ImageGrayscaleTask.d.ts +231 -0
  32. package/dist/task/image/ImageGrayscaleTask.d.ts.map +1 -0
  33. package/dist/task/image/ImageInvertTask.d.ts +231 -0
  34. package/dist/task/image/ImageInvertTask.d.ts.map +1 -0
  35. package/dist/task/image/ImagePixelateTask.d.ts +245 -0
  36. package/dist/task/image/ImagePixelateTask.d.ts.map +1 -0
  37. package/dist/task/image/ImagePosterizeTask.d.ts +247 -0
  38. package/dist/task/image/ImagePosterizeTask.d.ts.map +1 -0
  39. package/dist/task/image/ImageResizeTask.d.ts +255 -0
  40. package/dist/task/image/ImageResizeTask.d.ts.map +1 -0
  41. package/dist/task/image/ImageRotateTask.d.ts +243 -0
  42. package/dist/task/image/ImageRotateTask.d.ts.map +1 -0
  43. package/dist/task/image/ImageSchemas.d.ts +140 -0
  44. package/dist/task/image/ImageSchemas.d.ts.map +1 -0
  45. package/dist/task/image/ImageSepiaTask.d.ts +231 -0
  46. package/dist/task/image/ImageSepiaTask.d.ts.map +1 -0
  47. package/dist/task/image/ImageThresholdTask.d.ts +247 -0
  48. package/dist/task/image/ImageThresholdTask.d.ts.map +1 -0
  49. package/dist/task/image/ImageTintTask.d.ts +311 -0
  50. package/dist/task/image/ImageTintTask.d.ts.map +1 -0
  51. package/dist/task/image/ImageTransparencyTask.d.ts +245 -0
  52. package/dist/task/image/ImageTransparencyTask.d.ts.map +1 -0
  53. package/dist/task/image/ImageWatermarkTask.d.ts +275 -0
  54. package/dist/task/image/ImageWatermarkTask.d.ts.map +1 -0
  55. package/dist/task/image/imageRasterCodecBrowser.d.ts +8 -0
  56. package/dist/task/image/imageRasterCodecBrowser.d.ts.map +1 -0
  57. package/dist/task/image/imageRasterCodecNode.d.ts +8 -0
  58. package/dist/task/image/imageRasterCodecNode.d.ts.map +1 -0
  59. package/dist/task/image/imageRasterCodecRegistry.d.ts +13 -0
  60. package/dist/task/image/imageRasterCodecRegistry.d.ts.map +1 -0
  61. package/dist/task/image/imageTaskIo.d.ts +12 -0
  62. package/dist/task/image/imageTaskIo.d.ts.map +1 -0
  63. package/dist/task/image/imageTaskTransport.d.ts +21 -0
  64. package/dist/task/image/imageTaskTransport.d.ts.map +1 -0
  65. package/dist/task/image/registerImageRasterCodec.browser.d.ts +7 -0
  66. package/dist/task/image/registerImageRasterCodec.browser.d.ts.map +1 -0
  67. package/dist/task/image/registerImageRasterCodec.node.d.ts +7 -0
  68. package/dist/task/image/registerImageRasterCodec.node.d.ts.map +1 -0
  69. package/package.json +12 -11
@@ -0,0 +1,231 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { CreateWorkflow, IExecuteReactiveContext, Task, TaskConfig } from "@workglow/task-graph";
7
+ import { ImageFromSchema } from "./ImageSchemas";
8
+ declare const inputSchema: {
9
+ readonly type: "object";
10
+ readonly properties: {
11
+ readonly image: {
12
+ readonly oneOf: readonly [{
13
+ readonly type: "object";
14
+ readonly properties: {
15
+ readonly data: {
16
+ readonly type: "array";
17
+ readonly items: {
18
+ readonly type: "number";
19
+ readonly format: "Uint8Clamped";
20
+ };
21
+ readonly format: "Uint8ClampedArray";
22
+ readonly title: "Data";
23
+ readonly description: "Pixel data of the image";
24
+ };
25
+ readonly width: {
26
+ readonly type: "integer";
27
+ readonly minimum: 1;
28
+ readonly title: "Width";
29
+ readonly description: "Width in pixels";
30
+ };
31
+ readonly height: {
32
+ readonly type: "integer";
33
+ readonly minimum: 1;
34
+ readonly title: "Height";
35
+ readonly description: "Height in pixels";
36
+ };
37
+ readonly channels: {
38
+ readonly type: "integer";
39
+ readonly enum: readonly [1, 3, 4];
40
+ readonly title: "Channels";
41
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
42
+ };
43
+ };
44
+ readonly additionalProperties: false;
45
+ readonly required: readonly ["data", "width", "height", "channels"];
46
+ readonly format: "image:ImageBinary";
47
+ readonly title: "Image";
48
+ readonly description: "Raw pixel image data";
49
+ }, {
50
+ readonly type: "string";
51
+ readonly format: "image:data-uri";
52
+ readonly title: string;
53
+ readonly description: string;
54
+ }];
55
+ };
56
+ };
57
+ readonly required: readonly ["image"];
58
+ readonly additionalProperties: false;
59
+ };
60
+ declare const outputSchema: {
61
+ readonly type: "object";
62
+ readonly properties: {
63
+ readonly image: {
64
+ readonly oneOf: readonly [{
65
+ readonly type: "object";
66
+ readonly properties: {
67
+ readonly data: {
68
+ readonly type: "array";
69
+ readonly items: {
70
+ readonly type: "number";
71
+ readonly format: "Uint8Clamped";
72
+ };
73
+ readonly format: "Uint8ClampedArray";
74
+ readonly title: "Data";
75
+ readonly description: "Pixel data of the image";
76
+ };
77
+ readonly width: {
78
+ readonly type: "integer";
79
+ readonly minimum: 1;
80
+ readonly title: "Width";
81
+ readonly description: "Width in pixels";
82
+ };
83
+ readonly height: {
84
+ readonly type: "integer";
85
+ readonly minimum: 1;
86
+ readonly title: "Height";
87
+ readonly description: "Height in pixels";
88
+ };
89
+ readonly channels: {
90
+ readonly type: "integer";
91
+ readonly enum: readonly [1, 3, 4];
92
+ readonly title: "Channels";
93
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
94
+ };
95
+ };
96
+ readonly additionalProperties: false;
97
+ readonly required: readonly ["data", "width", "height", "channels"];
98
+ readonly format: "image:ImageBinary";
99
+ readonly title: "Image";
100
+ readonly description: "Raw pixel image data";
101
+ }, {
102
+ readonly type: "string";
103
+ readonly format: "image:data-uri";
104
+ readonly title: string;
105
+ readonly description: string;
106
+ }];
107
+ };
108
+ };
109
+ readonly required: readonly ["image"];
110
+ readonly additionalProperties: false;
111
+ };
112
+ export type ImageGrayscaleTaskInput = ImageFromSchema<typeof inputSchema>;
113
+ export type ImageGrayscaleTaskOutput = ImageFromSchema<typeof outputSchema>;
114
+ export declare class ImageGrayscaleTask<Input extends ImageGrayscaleTaskInput = ImageGrayscaleTaskInput, Output extends ImageGrayscaleTaskOutput = ImageGrayscaleTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
115
+ static readonly type = "ImageGrayscaleTask";
116
+ static readonly category = "Image";
117
+ static title: string;
118
+ static description: string;
119
+ static inputSchema(): {
120
+ readonly type: "object";
121
+ readonly properties: {
122
+ readonly image: {
123
+ readonly oneOf: readonly [{
124
+ readonly type: "object";
125
+ readonly properties: {
126
+ readonly data: {
127
+ readonly type: "array";
128
+ readonly items: {
129
+ readonly type: "number";
130
+ readonly format: "Uint8Clamped";
131
+ };
132
+ readonly format: "Uint8ClampedArray";
133
+ readonly title: "Data";
134
+ readonly description: "Pixel data of the image";
135
+ };
136
+ readonly width: {
137
+ readonly type: "integer";
138
+ readonly minimum: 1;
139
+ readonly title: "Width";
140
+ readonly description: "Width in pixels";
141
+ };
142
+ readonly height: {
143
+ readonly type: "integer";
144
+ readonly minimum: 1;
145
+ readonly title: "Height";
146
+ readonly description: "Height in pixels";
147
+ };
148
+ readonly channels: {
149
+ readonly type: "integer";
150
+ readonly enum: readonly [1, 3, 4];
151
+ readonly title: "Channels";
152
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
153
+ };
154
+ };
155
+ readonly additionalProperties: false;
156
+ readonly required: readonly ["data", "width", "height", "channels"];
157
+ readonly format: "image:ImageBinary";
158
+ readonly title: "Image";
159
+ readonly description: "Raw pixel image data";
160
+ }, {
161
+ readonly type: "string";
162
+ readonly format: "image:data-uri";
163
+ readonly title: string;
164
+ readonly description: string;
165
+ }];
166
+ };
167
+ };
168
+ readonly required: readonly ["image"];
169
+ readonly additionalProperties: false;
170
+ };
171
+ static outputSchema(): {
172
+ readonly type: "object";
173
+ readonly properties: {
174
+ readonly image: {
175
+ readonly oneOf: readonly [{
176
+ readonly type: "object";
177
+ readonly properties: {
178
+ readonly data: {
179
+ readonly type: "array";
180
+ readonly items: {
181
+ readonly type: "number";
182
+ readonly format: "Uint8Clamped";
183
+ };
184
+ readonly format: "Uint8ClampedArray";
185
+ readonly title: "Data";
186
+ readonly description: "Pixel data of the image";
187
+ };
188
+ readonly width: {
189
+ readonly type: "integer";
190
+ readonly minimum: 1;
191
+ readonly title: "Width";
192
+ readonly description: "Width in pixels";
193
+ };
194
+ readonly height: {
195
+ readonly type: "integer";
196
+ readonly minimum: 1;
197
+ readonly title: "Height";
198
+ readonly description: "Height in pixels";
199
+ };
200
+ readonly channels: {
201
+ readonly type: "integer";
202
+ readonly enum: readonly [1, 3, 4];
203
+ readonly title: "Channels";
204
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
205
+ };
206
+ };
207
+ readonly additionalProperties: false;
208
+ readonly required: readonly ["data", "width", "height", "channels"];
209
+ readonly format: "image:ImageBinary";
210
+ readonly title: "Image";
211
+ readonly description: "Raw pixel image data";
212
+ }, {
213
+ readonly type: "string";
214
+ readonly format: "image:data-uri";
215
+ readonly title: string;
216
+ readonly description: string;
217
+ }];
218
+ };
219
+ };
220
+ readonly required: readonly ["image"];
221
+ readonly additionalProperties: false;
222
+ };
223
+ executeReactive(input: Input, _output: Output, _context: IExecuteReactiveContext): Promise<Output>;
224
+ }
225
+ declare module "@workglow/task-graph" {
226
+ interface Workflow {
227
+ imageGrayscale: CreateWorkflow<ImageGrayscaleTaskInput, ImageGrayscaleTaskOutput, TaskConfig>;
228
+ }
229
+ }
230
+ export {};
231
+ //# sourceMappingURL=ImageGrayscaleTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageGrayscaleTask.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageGrayscaleTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,IAAI,EACJ,UAAU,EAEX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA8B,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG7E,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI0B,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;iBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI0B,CAAC;AAEpC,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1E,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,OAAO,YAAY,CAAC,CAAC;AAE5E,qBAAa,kBAAkB,CAC7B,KAAK,SAAS,uBAAuB,GAAG,uBAAuB,EAC/D,MAAM,SAAS,wBAAwB,GAAG,wBAAwB,EAClE,MAAM,SAAS,UAAU,GAAG,UAAU,CACtC,SAAQ,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IACnC,gBAAyB,IAAI,wBAAwB;IACrD,gBAAyB,QAAQ,WAAW;IAC5C,OAAuB,KAAK,SAAe;IAC3C,OAAuB,WAAW,SAAoD;IAEtF,OAAgB,WAAW;uBA9BrB,QAAQ;;qBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BN;IAED,OAAgB,YAAY;uBAzBtB,QAAQ;;qBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBN;IAEc,eAAe,CAC5B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,uBAAuB,GAChC,OAAO,CAAC,MAAM,CAAC,CAmBjB;CACF;AAED,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,cAAc,EAAE,cAAc,CAAC,uBAAuB,EAAE,wBAAwB,EAAE,UAAU,CAAC,CAAC;KAC/F;CACF"}
@@ -0,0 +1,231 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { CreateWorkflow, IExecuteReactiveContext, Task, TaskConfig } from "@workglow/task-graph";
7
+ import { ImageFromSchema } from "./ImageSchemas";
8
+ declare const inputSchema: {
9
+ readonly type: "object";
10
+ readonly properties: {
11
+ readonly image: {
12
+ readonly oneOf: readonly [{
13
+ readonly type: "object";
14
+ readonly properties: {
15
+ readonly data: {
16
+ readonly type: "array";
17
+ readonly items: {
18
+ readonly type: "number";
19
+ readonly format: "Uint8Clamped";
20
+ };
21
+ readonly format: "Uint8ClampedArray";
22
+ readonly title: "Data";
23
+ readonly description: "Pixel data of the image";
24
+ };
25
+ readonly width: {
26
+ readonly type: "integer";
27
+ readonly minimum: 1;
28
+ readonly title: "Width";
29
+ readonly description: "Width in pixels";
30
+ };
31
+ readonly height: {
32
+ readonly type: "integer";
33
+ readonly minimum: 1;
34
+ readonly title: "Height";
35
+ readonly description: "Height in pixels";
36
+ };
37
+ readonly channels: {
38
+ readonly type: "integer";
39
+ readonly enum: readonly [1, 3, 4];
40
+ readonly title: "Channels";
41
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
42
+ };
43
+ };
44
+ readonly additionalProperties: false;
45
+ readonly required: readonly ["data", "width", "height", "channels"];
46
+ readonly format: "image:ImageBinary";
47
+ readonly title: "Image";
48
+ readonly description: "Raw pixel image data";
49
+ }, {
50
+ readonly type: "string";
51
+ readonly format: "image:data-uri";
52
+ readonly title: string;
53
+ readonly description: string;
54
+ }];
55
+ };
56
+ };
57
+ readonly required: readonly ["image"];
58
+ readonly additionalProperties: false;
59
+ };
60
+ declare const outputSchema: {
61
+ readonly type: "object";
62
+ readonly properties: {
63
+ readonly image: {
64
+ readonly oneOf: readonly [{
65
+ readonly type: "object";
66
+ readonly properties: {
67
+ readonly data: {
68
+ readonly type: "array";
69
+ readonly items: {
70
+ readonly type: "number";
71
+ readonly format: "Uint8Clamped";
72
+ };
73
+ readonly format: "Uint8ClampedArray";
74
+ readonly title: "Data";
75
+ readonly description: "Pixel data of the image";
76
+ };
77
+ readonly width: {
78
+ readonly type: "integer";
79
+ readonly minimum: 1;
80
+ readonly title: "Width";
81
+ readonly description: "Width in pixels";
82
+ };
83
+ readonly height: {
84
+ readonly type: "integer";
85
+ readonly minimum: 1;
86
+ readonly title: "Height";
87
+ readonly description: "Height in pixels";
88
+ };
89
+ readonly channels: {
90
+ readonly type: "integer";
91
+ readonly enum: readonly [1, 3, 4];
92
+ readonly title: "Channels";
93
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
94
+ };
95
+ };
96
+ readonly additionalProperties: false;
97
+ readonly required: readonly ["data", "width", "height", "channels"];
98
+ readonly format: "image:ImageBinary";
99
+ readonly title: "Image";
100
+ readonly description: "Raw pixel image data";
101
+ }, {
102
+ readonly type: "string";
103
+ readonly format: "image:data-uri";
104
+ readonly title: string;
105
+ readonly description: string;
106
+ }];
107
+ };
108
+ };
109
+ readonly required: readonly ["image"];
110
+ readonly additionalProperties: false;
111
+ };
112
+ export type ImageInvertTaskInput = ImageFromSchema<typeof inputSchema>;
113
+ export type ImageInvertTaskOutput = ImageFromSchema<typeof outputSchema>;
114
+ export declare class ImageInvertTask<Input extends ImageInvertTaskInput = ImageInvertTaskInput, Output extends ImageInvertTaskOutput = ImageInvertTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
115
+ static readonly type = "ImageInvertTask";
116
+ static readonly category = "Image";
117
+ static title: string;
118
+ static description: string;
119
+ static inputSchema(): {
120
+ readonly type: "object";
121
+ readonly properties: {
122
+ readonly image: {
123
+ readonly oneOf: readonly [{
124
+ readonly type: "object";
125
+ readonly properties: {
126
+ readonly data: {
127
+ readonly type: "array";
128
+ readonly items: {
129
+ readonly type: "number";
130
+ readonly format: "Uint8Clamped";
131
+ };
132
+ readonly format: "Uint8ClampedArray";
133
+ readonly title: "Data";
134
+ readonly description: "Pixel data of the image";
135
+ };
136
+ readonly width: {
137
+ readonly type: "integer";
138
+ readonly minimum: 1;
139
+ readonly title: "Width";
140
+ readonly description: "Width in pixels";
141
+ };
142
+ readonly height: {
143
+ readonly type: "integer";
144
+ readonly minimum: 1;
145
+ readonly title: "Height";
146
+ readonly description: "Height in pixels";
147
+ };
148
+ readonly channels: {
149
+ readonly type: "integer";
150
+ readonly enum: readonly [1, 3, 4];
151
+ readonly title: "Channels";
152
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
153
+ };
154
+ };
155
+ readonly additionalProperties: false;
156
+ readonly required: readonly ["data", "width", "height", "channels"];
157
+ readonly format: "image:ImageBinary";
158
+ readonly title: "Image";
159
+ readonly description: "Raw pixel image data";
160
+ }, {
161
+ readonly type: "string";
162
+ readonly format: "image:data-uri";
163
+ readonly title: string;
164
+ readonly description: string;
165
+ }];
166
+ };
167
+ };
168
+ readonly required: readonly ["image"];
169
+ readonly additionalProperties: false;
170
+ };
171
+ static outputSchema(): {
172
+ readonly type: "object";
173
+ readonly properties: {
174
+ readonly image: {
175
+ readonly oneOf: readonly [{
176
+ readonly type: "object";
177
+ readonly properties: {
178
+ readonly data: {
179
+ readonly type: "array";
180
+ readonly items: {
181
+ readonly type: "number";
182
+ readonly format: "Uint8Clamped";
183
+ };
184
+ readonly format: "Uint8ClampedArray";
185
+ readonly title: "Data";
186
+ readonly description: "Pixel data of the image";
187
+ };
188
+ readonly width: {
189
+ readonly type: "integer";
190
+ readonly minimum: 1;
191
+ readonly title: "Width";
192
+ readonly description: "Width in pixels";
193
+ };
194
+ readonly height: {
195
+ readonly type: "integer";
196
+ readonly minimum: 1;
197
+ readonly title: "Height";
198
+ readonly description: "Height in pixels";
199
+ };
200
+ readonly channels: {
201
+ readonly type: "integer";
202
+ readonly enum: readonly [1, 3, 4];
203
+ readonly title: "Channels";
204
+ readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
205
+ };
206
+ };
207
+ readonly additionalProperties: false;
208
+ readonly required: readonly ["data", "width", "height", "channels"];
209
+ readonly format: "image:ImageBinary";
210
+ readonly title: "Image";
211
+ readonly description: "Raw pixel image data";
212
+ }, {
213
+ readonly type: "string";
214
+ readonly format: "image:data-uri";
215
+ readonly title: string;
216
+ readonly description: string;
217
+ }];
218
+ };
219
+ };
220
+ readonly required: readonly ["image"];
221
+ readonly additionalProperties: false;
222
+ };
223
+ executeReactive(input: Input, _output: Output, _context: IExecuteReactiveContext): Promise<Output>;
224
+ }
225
+ declare module "@workglow/task-graph" {
226
+ interface Workflow {
227
+ imageInvert: CreateWorkflow<ImageInvertTaskInput, ImageInvertTaskOutput, TaskConfig>;
228
+ }
229
+ }
230
+ export {};
231
+ //# sourceMappingURL=ImageInvertTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageInvertTask.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageInvertTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,IAAI,EACJ,UAAU,EAEX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA8B,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG7E,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI0B,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;iBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI0B,CAAC;AAEpC,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,OAAO,WAAW,CAAC,CAAC;AACvE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,OAAO,YAAY,CAAC,CAAC;AAEzE,qBAAa,eAAe,CAC1B,KAAK,SAAS,oBAAoB,GAAG,oBAAoB,EACzD,MAAM,SAAS,qBAAqB,GAAG,qBAAqB,EAC5D,MAAM,SAAS,UAAU,GAAG,UAAU,CACtC,SAAQ,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IACnC,gBAAyB,IAAI,qBAAqB;IAClD,gBAAyB,QAAQ,WAAW;IAC5C,OAAuB,KAAK,SAAmB;IAC/C,OAAuB,WAAW,SAAoC;IAEtE,OAAgB,WAAW;uBA9BrB,QAAQ;;qBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BN;IAED,OAAgB,YAAY;uBAzBtB,QAAQ;;qBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBN;IAEc,eAAe,CAC5B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,uBAAuB,GAChC,OAAO,CAAC,MAAM,CAAC,CAqBjB;CACF;AAED,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,UAAU,CAAC,CAAC;KACtF;CACF"}