@workglow/tasks 0.2.1 → 0.2.3
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/browser.d.ts +4 -3
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +9764 -9174
- package/dist/browser.js.map +58 -50
- package/dist/bun.d.ts +5 -3
- package/dist/bun.d.ts.map +1 -1
- package/dist/bun.js +9893 -9204
- package/dist/bun.js.map +60 -51
- package/dist/common.d.ts +80 -74
- package/dist/common.d.ts.map +1 -1
- package/dist/node.d.ts +5 -3
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +9893 -9204
- package/dist/node.js.map +60 -51
- package/dist/task/FetchUrlTask.d.ts +13 -0
- package/dist/task/FetchUrlTask.d.ts.map +1 -1
- package/dist/task/FileLoaderTask.d.ts +2 -2
- package/dist/task/FileLoaderTask.d.ts.map +1 -1
- package/dist/task/FileLoaderTask.server.d.ts.map +1 -1
- package/dist/task/image/ImageBlurTask.d.ts +148 -120
- package/dist/task/image/ImageBlurTask.d.ts.map +1 -1
- package/dist/task/image/ImageBorderTask.d.ts +148 -120
- package/dist/task/image/ImageBorderTask.d.ts.map +1 -1
- package/dist/task/image/ImageBrightnessTask.d.ts +148 -120
- package/dist/task/image/ImageBrightnessTask.d.ts.map +1 -1
- package/dist/task/image/ImageContrastTask.d.ts +148 -120
- package/dist/task/image/ImageContrastTask.d.ts.map +1 -1
- package/dist/task/image/ImageCropTask.d.ts +148 -120
- package/dist/task/image/ImageCropTask.d.ts.map +1 -1
- package/dist/task/image/ImageFlipTask.d.ts +143 -115
- package/dist/task/image/ImageFlipTask.d.ts.map +1 -1
- package/dist/task/image/ImageGrayscaleTask.d.ts +132 -104
- package/dist/task/image/ImageGrayscaleTask.d.ts.map +1 -1
- package/dist/task/image/ImageInvertTask.d.ts +132 -104
- package/dist/task/image/ImageInvertTask.d.ts.map +1 -1
- package/dist/task/image/ImagePixelateTask.d.ts +146 -118
- package/dist/task/image/ImagePixelateTask.d.ts.map +1 -1
- package/dist/task/image/ImagePosterizeTask.d.ts +148 -120
- package/dist/task/image/ImagePosterizeTask.d.ts.map +1 -1
- package/dist/task/image/ImageResizeTask.d.ts +148 -120
- package/dist/task/image/ImageResizeTask.d.ts.map +1 -1
- package/dist/task/image/ImageRotateTask.d.ts +144 -116
- package/dist/task/image/ImageRotateTask.d.ts.map +1 -1
- package/dist/task/image/ImageSchemas.d.ts +46 -0
- package/dist/task/image/ImageSchemas.d.ts.map +1 -1
- package/dist/task/image/ImageSepiaTask.d.ts +132 -104
- package/dist/task/image/ImageSepiaTask.d.ts.map +1 -1
- package/dist/task/image/ImageThresholdTask.d.ts +148 -120
- package/dist/task/image/ImageThresholdTask.d.ts.map +1 -1
- package/dist/task/image/ImageTintTask.d.ts +148 -120
- package/dist/task/image/ImageTintTask.d.ts.map +1 -1
- package/dist/task/image/ImageTransparencyTask.d.ts +146 -118
- package/dist/task/image/ImageTransparencyTask.d.ts.map +1 -1
- package/dist/task/image/ImageWatermarkTask.d.ts +148 -120
- package/dist/task/image/ImageWatermarkTask.d.ts.map +1 -1
- package/dist/task/image/imageCodecLimits.d.ts +80 -0
- package/dist/task/image/imageCodecLimits.d.ts.map +1 -0
- package/dist/task/image/imageRasterCodecBrowser.d.ts +8 -0
- package/dist/task/image/imageRasterCodecBrowser.d.ts.map +1 -0
- package/dist/task/image/imageRasterCodecNode.d.ts +8 -0
- package/dist/task/image/imageRasterCodecNode.d.ts.map +1 -0
- package/dist/task/image/imageRasterCodecRegistry.d.ts +13 -0
- package/dist/task/image/imageRasterCodecRegistry.d.ts.map +1 -0
- package/dist/task/image/imageTaskIo.d.ts +12 -0
- package/dist/task/image/imageTaskIo.d.ts.map +1 -0
- package/dist/task/image/imageTaskTransport.d.ts +21 -0
- package/dist/task/image/imageTaskTransport.d.ts.map +1 -0
- package/dist/task/image/registerImageRasterCodec.browser.d.ts +7 -0
- package/dist/task/image/registerImageRasterCodec.browser.d.ts.map +1 -0
- package/dist/task/image/registerImageRasterCodec.node.d.ts +7 -0
- package/dist/task/image/registerImageRasterCodec.node.d.ts.map +1 -0
- package/dist/util/SafeFetch.d.ts +51 -0
- package/dist/util/SafeFetch.d.ts.map +1 -0
- package/dist/util/SafeFetch.server.d.ts +22 -0
- package/dist/util/SafeFetch.server.d.ts.map +1 -0
- package/dist/util/UrlClassifier.d.ts +64 -0
- package/dist/util/UrlClassifier.d.ts.map +1 -0
- package/package.json +18 -11
|
@@ -9,109 +9,7 @@ declare const inputSchema: {
|
|
|
9
9
|
readonly type: "object";
|
|
10
10
|
readonly properties: {
|
|
11
11
|
readonly image: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly properties: {
|
|
14
|
-
readonly data: {
|
|
15
|
-
readonly type: "array";
|
|
16
|
-
readonly items: {
|
|
17
|
-
readonly type: "number";
|
|
18
|
-
readonly format: "Uint8Clamped";
|
|
19
|
-
};
|
|
20
|
-
readonly format: "Uint8ClampedArray";
|
|
21
|
-
readonly title: "Data";
|
|
22
|
-
readonly description: "Pixel data of the image";
|
|
23
|
-
};
|
|
24
|
-
readonly width: {
|
|
25
|
-
readonly type: "integer";
|
|
26
|
-
readonly minimum: 1;
|
|
27
|
-
readonly title: "Width";
|
|
28
|
-
readonly description: "Width in pixels";
|
|
29
|
-
};
|
|
30
|
-
readonly height: {
|
|
31
|
-
readonly type: "integer";
|
|
32
|
-
readonly minimum: 1;
|
|
33
|
-
readonly title: "Height";
|
|
34
|
-
readonly description: "Height in pixels";
|
|
35
|
-
};
|
|
36
|
-
readonly channels: {
|
|
37
|
-
readonly type: "integer";
|
|
38
|
-
readonly enum: readonly [1, 3, 4];
|
|
39
|
-
readonly title: "Channels";
|
|
40
|
-
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
readonly additionalProperties: false;
|
|
44
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
45
|
-
readonly format: "image:ImageBinary";
|
|
46
|
-
readonly title: "Image";
|
|
47
|
-
readonly description: "Raw pixel image data";
|
|
48
|
-
};
|
|
49
|
-
readonly angle: {
|
|
50
|
-
readonly type: "integer";
|
|
51
|
-
readonly enum: readonly [90, 180, 270];
|
|
52
|
-
readonly title: "Angle";
|
|
53
|
-
readonly description: "Rotation angle in degrees (clockwise)";
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
readonly required: readonly ["image", "angle"];
|
|
57
|
-
readonly additionalProperties: false;
|
|
58
|
-
};
|
|
59
|
-
declare const outputSchema: {
|
|
60
|
-
readonly type: "object";
|
|
61
|
-
readonly properties: {
|
|
62
|
-
readonly image: {
|
|
63
|
-
readonly type: "object";
|
|
64
|
-
readonly properties: {
|
|
65
|
-
readonly data: {
|
|
66
|
-
readonly type: "array";
|
|
67
|
-
readonly items: {
|
|
68
|
-
readonly type: "number";
|
|
69
|
-
readonly format: "Uint8Clamped";
|
|
70
|
-
};
|
|
71
|
-
readonly format: "Uint8ClampedArray";
|
|
72
|
-
readonly title: "Data";
|
|
73
|
-
readonly description: "Pixel data of the image";
|
|
74
|
-
};
|
|
75
|
-
readonly width: {
|
|
76
|
-
readonly type: "integer";
|
|
77
|
-
readonly minimum: 1;
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width in pixels";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "integer";
|
|
83
|
-
readonly minimum: 1;
|
|
84
|
-
readonly title: "Height";
|
|
85
|
-
readonly description: "Height in pixels";
|
|
86
|
-
};
|
|
87
|
-
readonly channels: {
|
|
88
|
-
readonly type: "integer";
|
|
89
|
-
readonly enum: readonly [1, 3, 4];
|
|
90
|
-
readonly title: "Channels";
|
|
91
|
-
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly additionalProperties: false;
|
|
95
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
96
|
-
readonly format: "image:ImageBinary";
|
|
97
|
-
readonly title: "Image";
|
|
98
|
-
readonly description: "Raw pixel image data";
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
readonly required: readonly ["image"];
|
|
102
|
-
readonly additionalProperties: false;
|
|
103
|
-
};
|
|
104
|
-
export type ImageRotateTaskInput = ImageFromSchema<typeof inputSchema>;
|
|
105
|
-
export type ImageRotateTaskOutput = ImageFromSchema<typeof outputSchema>;
|
|
106
|
-
export declare class ImageRotateTask<Input extends ImageRotateTaskInput = ImageRotateTaskInput, Output extends ImageRotateTaskOutput = ImageRotateTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
|
|
107
|
-
static readonly type = "ImageRotateTask";
|
|
108
|
-
static readonly category = "Image";
|
|
109
|
-
static title: string;
|
|
110
|
-
static description: string;
|
|
111
|
-
static inputSchema(): {
|
|
112
|
-
readonly type: "object";
|
|
113
|
-
readonly properties: {
|
|
114
|
-
readonly image: {
|
|
12
|
+
readonly oneOf: readonly [{
|
|
115
13
|
readonly type: "object";
|
|
116
14
|
readonly properties: {
|
|
117
15
|
readonly data: {
|
|
@@ -148,21 +46,28 @@ export declare class ImageRotateTask<Input extends ImageRotateTaskInput = ImageR
|
|
|
148
46
|
readonly format: "image:ImageBinary";
|
|
149
47
|
readonly title: "Image";
|
|
150
48
|
readonly description: "Raw pixel image data";
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
|
|
157
|
-
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly format: "image:data-uri";
|
|
52
|
+
readonly title: string;
|
|
53
|
+
readonly description: string;
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
56
|
+
readonly angle: {
|
|
57
|
+
readonly type: "integer";
|
|
58
|
+
readonly enum: readonly [90, 180, 270];
|
|
59
|
+
readonly title: "Angle";
|
|
60
|
+
readonly description: "Rotation angle in degrees (clockwise)";
|
|
158
61
|
};
|
|
159
|
-
readonly required: readonly ["image", "angle"];
|
|
160
|
-
readonly additionalProperties: false;
|
|
161
62
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
63
|
+
readonly required: readonly ["image", "angle"];
|
|
64
|
+
readonly additionalProperties: false;
|
|
65
|
+
};
|
|
66
|
+
declare const outputSchema: {
|
|
67
|
+
readonly type: "object";
|
|
68
|
+
readonly properties: {
|
|
69
|
+
readonly image: {
|
|
70
|
+
readonly oneOf: readonly [{
|
|
166
71
|
readonly type: "object";
|
|
167
72
|
readonly properties: {
|
|
168
73
|
readonly data: {
|
|
@@ -199,6 +104,129 @@ export declare class ImageRotateTask<Input extends ImageRotateTaskInput = ImageR
|
|
|
199
104
|
readonly format: "image:ImageBinary";
|
|
200
105
|
readonly title: "Image";
|
|
201
106
|
readonly description: "Raw pixel image data";
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly format: "image:data-uri";
|
|
110
|
+
readonly title: string;
|
|
111
|
+
readonly description: string;
|
|
112
|
+
}];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly required: readonly ["image"];
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
};
|
|
118
|
+
export type ImageRotateTaskInput = ImageFromSchema<typeof inputSchema>;
|
|
119
|
+
export type ImageRotateTaskOutput = ImageFromSchema<typeof outputSchema>;
|
|
120
|
+
export declare class ImageRotateTask<Input extends ImageRotateTaskInput = ImageRotateTaskInput, Output extends ImageRotateTaskOutput = ImageRotateTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
|
|
121
|
+
static readonly type = "ImageRotateTask";
|
|
122
|
+
static readonly category = "Image";
|
|
123
|
+
static title: string;
|
|
124
|
+
static description: string;
|
|
125
|
+
static inputSchema(): {
|
|
126
|
+
readonly type: "object";
|
|
127
|
+
readonly properties: {
|
|
128
|
+
readonly image: {
|
|
129
|
+
readonly oneOf: readonly [{
|
|
130
|
+
readonly type: "object";
|
|
131
|
+
readonly properties: {
|
|
132
|
+
readonly data: {
|
|
133
|
+
readonly type: "array";
|
|
134
|
+
readonly items: {
|
|
135
|
+
readonly type: "number";
|
|
136
|
+
readonly format: "Uint8Clamped";
|
|
137
|
+
};
|
|
138
|
+
readonly format: "Uint8ClampedArray";
|
|
139
|
+
readonly title: "Data";
|
|
140
|
+
readonly description: "Pixel data of the image";
|
|
141
|
+
};
|
|
142
|
+
readonly width: {
|
|
143
|
+
readonly type: "integer";
|
|
144
|
+
readonly minimum: 1;
|
|
145
|
+
readonly title: "Width";
|
|
146
|
+
readonly description: "Width in pixels";
|
|
147
|
+
};
|
|
148
|
+
readonly height: {
|
|
149
|
+
readonly type: "integer";
|
|
150
|
+
readonly minimum: 1;
|
|
151
|
+
readonly title: "Height";
|
|
152
|
+
readonly description: "Height in pixels";
|
|
153
|
+
};
|
|
154
|
+
readonly channels: {
|
|
155
|
+
readonly type: "integer";
|
|
156
|
+
readonly enum: readonly [1, 3, 4];
|
|
157
|
+
readonly title: "Channels";
|
|
158
|
+
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
readonly additionalProperties: false;
|
|
162
|
+
readonly required: readonly ["data", "width", "height", "channels"];
|
|
163
|
+
readonly format: "image:ImageBinary";
|
|
164
|
+
readonly title: "Image";
|
|
165
|
+
readonly description: "Raw pixel image data";
|
|
166
|
+
}, {
|
|
167
|
+
readonly type: "string";
|
|
168
|
+
readonly format: "image:data-uri";
|
|
169
|
+
readonly title: string;
|
|
170
|
+
readonly description: string;
|
|
171
|
+
}];
|
|
172
|
+
};
|
|
173
|
+
readonly angle: {
|
|
174
|
+
readonly type: "integer";
|
|
175
|
+
readonly enum: readonly [90, 180, 270];
|
|
176
|
+
readonly title: "Angle";
|
|
177
|
+
readonly description: "Rotation angle in degrees (clockwise)";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly required: readonly ["image", "angle"];
|
|
181
|
+
readonly additionalProperties: false;
|
|
182
|
+
};
|
|
183
|
+
static outputSchema(): {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly image: {
|
|
187
|
+
readonly oneOf: readonly [{
|
|
188
|
+
readonly type: "object";
|
|
189
|
+
readonly properties: {
|
|
190
|
+
readonly data: {
|
|
191
|
+
readonly type: "array";
|
|
192
|
+
readonly items: {
|
|
193
|
+
readonly type: "number";
|
|
194
|
+
readonly format: "Uint8Clamped";
|
|
195
|
+
};
|
|
196
|
+
readonly format: "Uint8ClampedArray";
|
|
197
|
+
readonly title: "Data";
|
|
198
|
+
readonly description: "Pixel data of the image";
|
|
199
|
+
};
|
|
200
|
+
readonly width: {
|
|
201
|
+
readonly type: "integer";
|
|
202
|
+
readonly minimum: 1;
|
|
203
|
+
readonly title: "Width";
|
|
204
|
+
readonly description: "Width in pixels";
|
|
205
|
+
};
|
|
206
|
+
readonly height: {
|
|
207
|
+
readonly type: "integer";
|
|
208
|
+
readonly minimum: 1;
|
|
209
|
+
readonly title: "Height";
|
|
210
|
+
readonly description: "Height in pixels";
|
|
211
|
+
};
|
|
212
|
+
readonly channels: {
|
|
213
|
+
readonly type: "integer";
|
|
214
|
+
readonly enum: readonly [1, 3, 4];
|
|
215
|
+
readonly title: "Channels";
|
|
216
|
+
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly additionalProperties: false;
|
|
220
|
+
readonly required: readonly ["data", "width", "height", "channels"];
|
|
221
|
+
readonly format: "image:ImageBinary";
|
|
222
|
+
readonly title: "Image";
|
|
223
|
+
readonly description: "Raw pixel image data";
|
|
224
|
+
}, {
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
readonly format: "image:data-uri";
|
|
227
|
+
readonly title: string;
|
|
228
|
+
readonly description: string;
|
|
229
|
+
}];
|
|
202
230
|
};
|
|
203
231
|
};
|
|
204
232
|
readonly required: readonly ["image"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRotateTask.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageRotateTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,IAAI,EACJ,UAAU,EAEX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,
|
|
1
|
+
{"version":3,"file":"ImageRotateTask.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageRotateTask.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACL,KAAK;qBACH,IAAI,EAAE,SAAS;qBACf,IAAI;qBACJ,KAAK,EAAE,OAAO;qBACd,WAAW,EAAE,uCAAuC;;;;;CAKvB,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,SAAkB;IAC9C,OAAuB,WAAW,SAA2D;IAE7F,OAAgB,WAAW;uBApCrB,QAAQ;;qBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBACL,KAAK;yBACH,IAAI,EAAE,SAAS;yBACf,IAAI;yBACJ,KAAK,EAAE,OAAO;yBACd,WAAW,EAAE,uCAAuC;;;;;MA+BvD;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,CAkCjB;CACF;AAED,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,UAAU,CAAC,CAAC;KACtF;CACF"}
|
|
@@ -59,6 +59,52 @@ export declare const ImageBinarySchema: (annotations?: Record<string, unknown>)
|
|
|
59
59
|
readonly title: "Image";
|
|
60
60
|
readonly description: "Raw pixel image data";
|
|
61
61
|
};
|
|
62
|
+
/** Accept {@link ImageBinary} or a `data:image/...;base64,...` URI; output matches the input form. */
|
|
63
|
+
export declare const ImageBinaryOrDataUriSchema: (annotations?: Record<string, unknown>) => {
|
|
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
|
+
};
|
|
62
108
|
export declare const ColorSchema: (annotations?: Record<string, unknown>) => {
|
|
63
109
|
readonly type: "object";
|
|
64
110
|
readonly properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageSchemas.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,UAAU,EAA+C,MAAM,uBAAuB,CAAC;AAKhG,eAAO,MAAM,wBAAwB;;;;;;;qBAIpB,IAAI,EAA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gBAAgB;iBACxB,KAAK;iBACL,WAAW;;CAKN,CAAC;AAEd,eAAO,MAAM,WAAW,iBAAiB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;mBAEtD,QAAQ;;iBAEZ,CAAC;qBAAI,IAAI,EAAE,SAAS;qBAAE,OAAO,EAAE,CAAC;qBAAE,OAAO,EAAE,GAAG;qBAAE,KAAK,EAAE,KAAK;;iBAC5D,CAAC;qBAAI,IAAI,EAAE,SAAS;qBAAE,OAAO,EAAE,CAAC;qBAAE,OAAO,EAAE,GAAG;qBAAE,KAAK,EAAE,OAAO;;iBAC9D,CAAC;qBAAI,IAAI,EAAE,SAAS;qBAAE,OAAO,EAAE,CAAC;qBAAE,OAAO,EAAE,GAAG;qBAAE,KAAK,EAAE,MAAM;;iBAC7D,CAAC;qBAAI,IAAI,EAAE,SAAS;qBAAE,OAAO,EAAE,CAAC;qBAAE,OAAO,EAAE,GAAG;qBAAE,KAAK,EAAE,OAAO;qBAAE,OAAO,EAAE,GAAG;;;iCAEnE,GAAG,EAAE,GAAG,EAAE,GAAG;;CAGf,CAAC"}
|
|
@@ -9,103 +9,7 @@ declare const inputSchema: {
|
|
|
9
9
|
readonly type: "object";
|
|
10
10
|
readonly properties: {
|
|
11
11
|
readonly image: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly properties: {
|
|
14
|
-
readonly data: {
|
|
15
|
-
readonly type: "array";
|
|
16
|
-
readonly items: {
|
|
17
|
-
readonly type: "number";
|
|
18
|
-
readonly format: "Uint8Clamped";
|
|
19
|
-
};
|
|
20
|
-
readonly format: "Uint8ClampedArray";
|
|
21
|
-
readonly title: "Data";
|
|
22
|
-
readonly description: "Pixel data of the image";
|
|
23
|
-
};
|
|
24
|
-
readonly width: {
|
|
25
|
-
readonly type: "integer";
|
|
26
|
-
readonly minimum: 1;
|
|
27
|
-
readonly title: "Width";
|
|
28
|
-
readonly description: "Width in pixels";
|
|
29
|
-
};
|
|
30
|
-
readonly height: {
|
|
31
|
-
readonly type: "integer";
|
|
32
|
-
readonly minimum: 1;
|
|
33
|
-
readonly title: "Height";
|
|
34
|
-
readonly description: "Height in pixels";
|
|
35
|
-
};
|
|
36
|
-
readonly channels: {
|
|
37
|
-
readonly type: "integer";
|
|
38
|
-
readonly enum: readonly [1, 3, 4];
|
|
39
|
-
readonly title: "Channels";
|
|
40
|
-
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
readonly additionalProperties: false;
|
|
44
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
45
|
-
readonly format: "image:ImageBinary";
|
|
46
|
-
readonly title: "Image";
|
|
47
|
-
readonly description: "Raw pixel image data";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
readonly required: readonly ["image"];
|
|
51
|
-
readonly additionalProperties: false;
|
|
52
|
-
};
|
|
53
|
-
declare const outputSchema: {
|
|
54
|
-
readonly type: "object";
|
|
55
|
-
readonly properties: {
|
|
56
|
-
readonly image: {
|
|
57
|
-
readonly type: "object";
|
|
58
|
-
readonly properties: {
|
|
59
|
-
readonly data: {
|
|
60
|
-
readonly type: "array";
|
|
61
|
-
readonly items: {
|
|
62
|
-
readonly type: "number";
|
|
63
|
-
readonly format: "Uint8Clamped";
|
|
64
|
-
};
|
|
65
|
-
readonly format: "Uint8ClampedArray";
|
|
66
|
-
readonly title: "Data";
|
|
67
|
-
readonly description: "Pixel data of the image";
|
|
68
|
-
};
|
|
69
|
-
readonly width: {
|
|
70
|
-
readonly type: "integer";
|
|
71
|
-
readonly minimum: 1;
|
|
72
|
-
readonly title: "Width";
|
|
73
|
-
readonly description: "Width in pixels";
|
|
74
|
-
};
|
|
75
|
-
readonly height: {
|
|
76
|
-
readonly type: "integer";
|
|
77
|
-
readonly minimum: 1;
|
|
78
|
-
readonly title: "Height";
|
|
79
|
-
readonly description: "Height in pixels";
|
|
80
|
-
};
|
|
81
|
-
readonly channels: {
|
|
82
|
-
readonly type: "integer";
|
|
83
|
-
readonly enum: readonly [1, 3, 4];
|
|
84
|
-
readonly title: "Channels";
|
|
85
|
-
readonly description: "1 (gray), 3 (RGB), or 4 (RGBA)";
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
readonly additionalProperties: false;
|
|
89
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
90
|
-
readonly format: "image:ImageBinary";
|
|
91
|
-
readonly title: "Image";
|
|
92
|
-
readonly description: "Raw pixel image data";
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
readonly required: readonly ["image"];
|
|
96
|
-
readonly additionalProperties: false;
|
|
97
|
-
};
|
|
98
|
-
export type ImageSepiaTaskInput = ImageFromSchema<typeof inputSchema>;
|
|
99
|
-
export type ImageSepiaTaskOutput = ImageFromSchema<typeof outputSchema>;
|
|
100
|
-
export declare class ImageSepiaTask<Input extends ImageSepiaTaskInput = ImageSepiaTaskInput, Output extends ImageSepiaTaskOutput = ImageSepiaTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
|
|
101
|
-
static readonly type = "ImageSepiaTask";
|
|
102
|
-
static readonly category = "Image";
|
|
103
|
-
static title: string;
|
|
104
|
-
static description: string;
|
|
105
|
-
static inputSchema(): {
|
|
106
|
-
readonly type: "object";
|
|
107
|
-
readonly properties: {
|
|
108
|
-
readonly image: {
|
|
12
|
+
readonly oneOf: readonly [{
|
|
109
13
|
readonly type: "object";
|
|
110
14
|
readonly properties: {
|
|
111
15
|
readonly data: {
|
|
@@ -142,15 +46,22 @@ export declare class ImageSepiaTask<Input extends ImageSepiaTaskInput = ImageSep
|
|
|
142
46
|
readonly format: "image:ImageBinary";
|
|
143
47
|
readonly title: "Image";
|
|
144
48
|
readonly description: "Raw pixel image data";
|
|
145
|
-
}
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly format: "image:data-uri";
|
|
52
|
+
readonly title: string;
|
|
53
|
+
readonly description: string;
|
|
54
|
+
}];
|
|
146
55
|
};
|
|
147
|
-
readonly required: readonly ["image"];
|
|
148
|
-
readonly additionalProperties: false;
|
|
149
56
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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 [{
|
|
154
65
|
readonly type: "object";
|
|
155
66
|
readonly properties: {
|
|
156
67
|
readonly data: {
|
|
@@ -187,6 +98,123 @@ export declare class ImageSepiaTask<Input extends ImageSepiaTaskInput = ImageSep
|
|
|
187
98
|
readonly format: "image:ImageBinary";
|
|
188
99
|
readonly title: "Image";
|
|
189
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 ImageSepiaTaskInput = ImageFromSchema<typeof inputSchema>;
|
|
113
|
+
export type ImageSepiaTaskOutput = ImageFromSchema<typeof outputSchema>;
|
|
114
|
+
export declare class ImageSepiaTask<Input extends ImageSepiaTaskInput = ImageSepiaTaskInput, Output extends ImageSepiaTaskOutput = ImageSepiaTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
|
|
115
|
+
static readonly type = "ImageSepiaTask";
|
|
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
|
+
}];
|
|
190
218
|
};
|
|
191
219
|
};
|
|
192
220
|
readonly required: readonly ["image"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageSepiaTask.d.ts","sourceRoot":"","sources":["../../../src/task/image/ImageSepiaTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;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