scordi-extension 1.14.8 → 1.14.9
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/blocks/ClearValueFormBlock.d.ts +8 -8
- package/dist/blocks/DataExtractBlock.d.ts +2 -2
- package/dist/blocks/ElementExistsBlock.d.ts +8 -8
- package/dist/blocks/EventClickBlock.d.ts +8 -8
- package/dist/blocks/GetAttributeValueBlock.d.ts +8 -8
- package/dist/blocks/GetElementDataBlock.d.ts +8 -8
- package/dist/blocks/GetTextBlock.d.ts +8 -8
- package/dist/blocks/GetValueFormBlock.d.ts +8 -8
- package/dist/blocks/SaveAssetsBlock.d.ts +8 -8
- package/dist/blocks/ScrollBlock.d.ts +8 -8
- package/dist/blocks/SetValueFormBlock.d.ts +8 -8
- package/dist/blocks/index.d.ts +82 -82
- package/dist/blocks/types.d.ts +8 -25
- package/dist/blocks/types.d.ts.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/sdk/index.cjs +4 -4
- package/dist/sdk/index.js +4866 -3634
- package/dist/sdk/types.d.ts +2 -2
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/src/blocks/types.ts.js +0 -1
- package/dist/vendor/vite-client.js +1 -1
- package/package.json +1 -1
package/dist/blocks/index.d.ts
CHANGED
|
@@ -59,13 +59,13 @@ export declare const AllBlockSchemas: {
|
|
|
59
59
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
60
60
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
61
61
|
}, "strip", import("zod").ZodTypeAny, {
|
|
62
|
-
multiple?: boolean | undefined;
|
|
63
62
|
waitForSelector?: boolean | undefined;
|
|
64
63
|
waitSelectorTimeout?: number | undefined;
|
|
65
|
-
}, {
|
|
66
64
|
multiple?: boolean | undefined;
|
|
65
|
+
}, {
|
|
67
66
|
waitForSelector?: boolean | undefined;
|
|
68
67
|
waitSelectorTimeout?: number | undefined;
|
|
68
|
+
multiple?: boolean | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
} & {
|
|
71
71
|
name: import("zod").ZodLiteral<"get-text">;
|
|
@@ -80,14 +80,14 @@ export declare const AllBlockSchemas: {
|
|
|
80
80
|
scrollWaitMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
81
81
|
maxScrollAttempts: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
82
82
|
}, "strip", import("zod").ZodTypeAny, {
|
|
83
|
+
name: "get-text";
|
|
83
84
|
selector: string;
|
|
85
|
+
findBy: "cssSelector" | "xpath";
|
|
84
86
|
option: {
|
|
85
|
-
multiple?: boolean | undefined;
|
|
86
87
|
waitForSelector?: boolean | undefined;
|
|
87
88
|
waitSelectorTimeout?: number | undefined;
|
|
89
|
+
multiple?: boolean | undefined;
|
|
88
90
|
};
|
|
89
|
-
name: "get-text";
|
|
90
|
-
findBy: "cssSelector" | "xpath";
|
|
91
91
|
includeTags?: boolean | undefined;
|
|
92
92
|
useTextContent?: boolean | undefined;
|
|
93
93
|
regex?: string | undefined;
|
|
@@ -99,14 +99,14 @@ export declare const AllBlockSchemas: {
|
|
|
99
99
|
scrollWaitMs?: number | undefined;
|
|
100
100
|
maxScrollAttempts?: number | undefined;
|
|
101
101
|
}, {
|
|
102
|
+
name: "get-text";
|
|
102
103
|
selector: string;
|
|
104
|
+
findBy: "cssSelector" | "xpath";
|
|
103
105
|
option: {
|
|
104
|
-
multiple?: boolean | undefined;
|
|
105
106
|
waitForSelector?: boolean | undefined;
|
|
106
107
|
waitSelectorTimeout?: number | undefined;
|
|
108
|
+
multiple?: boolean | undefined;
|
|
107
109
|
};
|
|
108
|
-
name: "get-text";
|
|
109
|
-
findBy: "cssSelector" | "xpath";
|
|
110
110
|
includeTags?: boolean | undefined;
|
|
111
111
|
useTextContent?: boolean | undefined;
|
|
112
112
|
regex?: string | undefined;
|
|
@@ -126,36 +126,36 @@ export declare const AllBlockSchemas: {
|
|
|
126
126
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
127
127
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
128
128
|
}, "strip", import("zod").ZodTypeAny, {
|
|
129
|
-
multiple?: boolean | undefined;
|
|
130
129
|
waitForSelector?: boolean | undefined;
|
|
131
130
|
waitSelectorTimeout?: number | undefined;
|
|
132
|
-
}, {
|
|
133
131
|
multiple?: boolean | undefined;
|
|
132
|
+
}, {
|
|
134
133
|
waitForSelector?: boolean | undefined;
|
|
135
134
|
waitSelectorTimeout?: number | undefined;
|
|
135
|
+
multiple?: boolean | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
} & {
|
|
138
138
|
name: import("zod").ZodLiteral<"attribute-value">;
|
|
139
139
|
attributeName: import("zod").ZodString;
|
|
140
140
|
}, "strip", import("zod").ZodTypeAny, {
|
|
141
|
+
name: "attribute-value";
|
|
141
142
|
selector: string;
|
|
143
|
+
findBy: "cssSelector" | "xpath";
|
|
142
144
|
option: {
|
|
143
|
-
multiple?: boolean | undefined;
|
|
144
145
|
waitForSelector?: boolean | undefined;
|
|
145
146
|
waitSelectorTimeout?: number | undefined;
|
|
147
|
+
multiple?: boolean | undefined;
|
|
146
148
|
};
|
|
147
|
-
name: "attribute-value";
|
|
148
|
-
findBy: "cssSelector" | "xpath";
|
|
149
149
|
attributeName: string;
|
|
150
150
|
}, {
|
|
151
|
+
name: "attribute-value";
|
|
151
152
|
selector: string;
|
|
153
|
+
findBy: "cssSelector" | "xpath";
|
|
152
154
|
option: {
|
|
153
|
-
multiple?: boolean | undefined;
|
|
154
155
|
waitForSelector?: boolean | undefined;
|
|
155
156
|
waitSelectorTimeout?: number | undefined;
|
|
157
|
+
multiple?: boolean | undefined;
|
|
156
158
|
};
|
|
157
|
-
name: "attribute-value";
|
|
158
|
-
findBy: "cssSelector" | "xpath";
|
|
159
159
|
attributeName: string;
|
|
160
160
|
}>;
|
|
161
161
|
readonly 'get-value-form': import("zod").ZodObject<{
|
|
@@ -166,36 +166,36 @@ export declare const AllBlockSchemas: {
|
|
|
166
166
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
167
167
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
168
168
|
}, "strip", import("zod").ZodTypeAny, {
|
|
169
|
-
multiple?: boolean | undefined;
|
|
170
169
|
waitForSelector?: boolean | undefined;
|
|
171
170
|
waitSelectorTimeout?: number | undefined;
|
|
172
|
-
}, {
|
|
173
171
|
multiple?: boolean | undefined;
|
|
172
|
+
}, {
|
|
174
173
|
waitForSelector?: boolean | undefined;
|
|
175
174
|
waitSelectorTimeout?: number | undefined;
|
|
175
|
+
multiple?: boolean | undefined;
|
|
176
176
|
}>;
|
|
177
177
|
} & {
|
|
178
178
|
name: import("zod").ZodLiteral<"get-value-form">;
|
|
179
179
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
180
180
|
}, "strip", import("zod").ZodTypeAny, {
|
|
181
|
+
name: "get-value-form";
|
|
181
182
|
selector: string;
|
|
183
|
+
findBy: "cssSelector" | "xpath";
|
|
182
184
|
option: {
|
|
183
|
-
multiple?: boolean | undefined;
|
|
184
185
|
waitForSelector?: boolean | undefined;
|
|
185
186
|
waitSelectorTimeout?: number | undefined;
|
|
187
|
+
multiple?: boolean | undefined;
|
|
186
188
|
};
|
|
187
|
-
name: "get-value-form";
|
|
188
|
-
findBy: "cssSelector" | "xpath";
|
|
189
189
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
190
190
|
}, {
|
|
191
|
+
name: "get-value-form";
|
|
191
192
|
selector: string;
|
|
193
|
+
findBy: "cssSelector" | "xpath";
|
|
192
194
|
option: {
|
|
193
|
-
multiple?: boolean | undefined;
|
|
194
195
|
waitForSelector?: boolean | undefined;
|
|
195
196
|
waitSelectorTimeout?: number | undefined;
|
|
197
|
+
multiple?: boolean | undefined;
|
|
196
198
|
};
|
|
197
|
-
name: "get-value-form";
|
|
198
|
-
findBy: "cssSelector" | "xpath";
|
|
199
199
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
readonly 'set-value-form': import("zod").ZodObject<{
|
|
@@ -206,38 +206,38 @@ export declare const AllBlockSchemas: {
|
|
|
206
206
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
207
207
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
208
208
|
}, "strip", import("zod").ZodTypeAny, {
|
|
209
|
-
multiple?: boolean | undefined;
|
|
210
209
|
waitForSelector?: boolean | undefined;
|
|
211
210
|
waitSelectorTimeout?: number | undefined;
|
|
212
|
-
}, {
|
|
213
211
|
multiple?: boolean | undefined;
|
|
212
|
+
}, {
|
|
214
213
|
waitForSelector?: boolean | undefined;
|
|
215
214
|
waitSelectorTimeout?: number | undefined;
|
|
215
|
+
multiple?: boolean | undefined;
|
|
216
216
|
}>;
|
|
217
217
|
} & {
|
|
218
218
|
name: import("zod").ZodLiteral<"set-value-form">;
|
|
219
219
|
setValue: import("zod").ZodString;
|
|
220
220
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
221
221
|
}, "strip", import("zod").ZodTypeAny, {
|
|
222
|
+
name: "set-value-form";
|
|
222
223
|
selector: string;
|
|
224
|
+
findBy: "cssSelector" | "xpath";
|
|
223
225
|
option: {
|
|
224
|
-
multiple?: boolean | undefined;
|
|
225
226
|
waitForSelector?: boolean | undefined;
|
|
226
227
|
waitSelectorTimeout?: number | undefined;
|
|
228
|
+
multiple?: boolean | undefined;
|
|
227
229
|
};
|
|
228
|
-
name: "set-value-form";
|
|
229
|
-
findBy: "cssSelector" | "xpath";
|
|
230
230
|
setValue: string;
|
|
231
231
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
232
232
|
}, {
|
|
233
|
+
name: "set-value-form";
|
|
233
234
|
selector: string;
|
|
235
|
+
findBy: "cssSelector" | "xpath";
|
|
234
236
|
option: {
|
|
235
|
-
multiple?: boolean | undefined;
|
|
236
237
|
waitForSelector?: boolean | undefined;
|
|
237
238
|
waitSelectorTimeout?: number | undefined;
|
|
239
|
+
multiple?: boolean | undefined;
|
|
238
240
|
};
|
|
239
|
-
name: "set-value-form";
|
|
240
|
-
findBy: "cssSelector" | "xpath";
|
|
241
241
|
setValue: string;
|
|
242
242
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
243
243
|
}>;
|
|
@@ -249,36 +249,36 @@ export declare const AllBlockSchemas: {
|
|
|
249
249
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
250
250
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
251
251
|
}, "strip", import("zod").ZodTypeAny, {
|
|
252
|
-
multiple?: boolean | undefined;
|
|
253
252
|
waitForSelector?: boolean | undefined;
|
|
254
253
|
waitSelectorTimeout?: number | undefined;
|
|
255
|
-
}, {
|
|
256
254
|
multiple?: boolean | undefined;
|
|
255
|
+
}, {
|
|
257
256
|
waitForSelector?: boolean | undefined;
|
|
258
257
|
waitSelectorTimeout?: number | undefined;
|
|
258
|
+
multiple?: boolean | undefined;
|
|
259
259
|
}>;
|
|
260
260
|
} & {
|
|
261
261
|
name: import("zod").ZodLiteral<"clear-value-form">;
|
|
262
262
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
263
263
|
}, "strip", import("zod").ZodTypeAny, {
|
|
264
|
+
name: "clear-value-form";
|
|
264
265
|
selector: string;
|
|
266
|
+
findBy: "cssSelector" | "xpath";
|
|
265
267
|
option: {
|
|
266
|
-
multiple?: boolean | undefined;
|
|
267
268
|
waitForSelector?: boolean | undefined;
|
|
268
269
|
waitSelectorTimeout?: number | undefined;
|
|
270
|
+
multiple?: boolean | undefined;
|
|
269
271
|
};
|
|
270
|
-
name: "clear-value-form";
|
|
271
|
-
findBy: "cssSelector" | "xpath";
|
|
272
272
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
273
273
|
}, {
|
|
274
|
+
name: "clear-value-form";
|
|
274
275
|
selector: string;
|
|
276
|
+
findBy: "cssSelector" | "xpath";
|
|
275
277
|
option: {
|
|
276
|
-
multiple?: boolean | undefined;
|
|
277
278
|
waitForSelector?: boolean | undefined;
|
|
278
279
|
waitSelectorTimeout?: number | undefined;
|
|
280
|
+
multiple?: boolean | undefined;
|
|
279
281
|
};
|
|
280
|
-
name: "clear-value-form";
|
|
281
|
-
findBy: "cssSelector" | "xpath";
|
|
282
282
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
283
283
|
}>;
|
|
284
284
|
readonly 'element-exists': import("zod").ZodObject<{
|
|
@@ -289,34 +289,34 @@ export declare const AllBlockSchemas: {
|
|
|
289
289
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
290
290
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
291
291
|
}, "strip", import("zod").ZodTypeAny, {
|
|
292
|
-
multiple?: boolean | undefined;
|
|
293
292
|
waitForSelector?: boolean | undefined;
|
|
294
293
|
waitSelectorTimeout?: number | undefined;
|
|
295
|
-
}, {
|
|
296
294
|
multiple?: boolean | undefined;
|
|
295
|
+
}, {
|
|
297
296
|
waitForSelector?: boolean | undefined;
|
|
298
297
|
waitSelectorTimeout?: number | undefined;
|
|
298
|
+
multiple?: boolean | undefined;
|
|
299
299
|
}>;
|
|
300
300
|
} & {
|
|
301
301
|
name: import("zod").ZodLiteral<"element-exists">;
|
|
302
302
|
}, "strip", import("zod").ZodTypeAny, {
|
|
303
|
+
name: "element-exists";
|
|
303
304
|
selector: string;
|
|
305
|
+
findBy: "cssSelector" | "xpath";
|
|
304
306
|
option: {
|
|
305
|
-
multiple?: boolean | undefined;
|
|
306
307
|
waitForSelector?: boolean | undefined;
|
|
307
308
|
waitSelectorTimeout?: number | undefined;
|
|
309
|
+
multiple?: boolean | undefined;
|
|
308
310
|
};
|
|
309
|
-
name: "element-exists";
|
|
310
|
-
findBy: "cssSelector" | "xpath";
|
|
311
311
|
}, {
|
|
312
|
+
name: "element-exists";
|
|
312
313
|
selector: string;
|
|
314
|
+
findBy: "cssSelector" | "xpath";
|
|
313
315
|
option: {
|
|
314
|
-
multiple?: boolean | undefined;
|
|
315
316
|
waitForSelector?: boolean | undefined;
|
|
316
317
|
waitSelectorTimeout?: number | undefined;
|
|
318
|
+
multiple?: boolean | undefined;
|
|
317
319
|
};
|
|
318
|
-
name: "element-exists";
|
|
319
|
-
findBy: "cssSelector" | "xpath";
|
|
320
320
|
}>;
|
|
321
321
|
readonly 'event-click': import("zod").ZodObject<{
|
|
322
322
|
selector: import("zod").ZodString;
|
|
@@ -326,13 +326,13 @@ export declare const AllBlockSchemas: {
|
|
|
326
326
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
327
327
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
328
328
|
}, "strip", import("zod").ZodTypeAny, {
|
|
329
|
-
multiple?: boolean | undefined;
|
|
330
329
|
waitForSelector?: boolean | undefined;
|
|
331
330
|
waitSelectorTimeout?: number | undefined;
|
|
332
|
-
}, {
|
|
333
331
|
multiple?: boolean | undefined;
|
|
332
|
+
}, {
|
|
334
333
|
waitForSelector?: boolean | undefined;
|
|
335
334
|
waitSelectorTimeout?: number | undefined;
|
|
335
|
+
multiple?: boolean | undefined;
|
|
336
336
|
}>;
|
|
337
337
|
} & {
|
|
338
338
|
name: import("zod").ZodLiteral<"event-click">;
|
|
@@ -347,27 +347,27 @@ export declare const AllBlockSchemas: {
|
|
|
347
347
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
348
348
|
}>>;
|
|
349
349
|
}, "strip", import("zod").ZodTypeAny, {
|
|
350
|
+
name: "event-click";
|
|
350
351
|
selector: string;
|
|
352
|
+
findBy: "cssSelector" | "xpath";
|
|
351
353
|
option: {
|
|
352
|
-
multiple?: boolean | undefined;
|
|
353
354
|
waitForSelector?: boolean | undefined;
|
|
354
355
|
waitSelectorTimeout?: number | undefined;
|
|
356
|
+
multiple?: boolean | undefined;
|
|
355
357
|
};
|
|
356
|
-
name: "event-click";
|
|
357
|
-
findBy: "cssSelector" | "xpath";
|
|
358
358
|
textFilter?: {
|
|
359
359
|
text: string | string[];
|
|
360
360
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
361
361
|
} | undefined;
|
|
362
362
|
}, {
|
|
363
|
+
name: "event-click";
|
|
363
364
|
selector: string;
|
|
365
|
+
findBy: "cssSelector" | "xpath";
|
|
364
366
|
option: {
|
|
365
|
-
multiple?: boolean | undefined;
|
|
366
367
|
waitForSelector?: boolean | undefined;
|
|
367
368
|
waitSelectorTimeout?: number | undefined;
|
|
369
|
+
multiple?: boolean | undefined;
|
|
368
370
|
};
|
|
369
|
-
name: "event-click";
|
|
370
|
-
findBy: "cssSelector" | "xpath";
|
|
371
371
|
textFilter?: {
|
|
372
372
|
text: string | string[];
|
|
373
373
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
@@ -542,34 +542,34 @@ export declare const AllBlockSchemas: {
|
|
|
542
542
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
543
543
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
544
544
|
}, "strip", import("zod").ZodTypeAny, {
|
|
545
|
-
multiple?: boolean | undefined;
|
|
546
545
|
waitForSelector?: boolean | undefined;
|
|
547
546
|
waitSelectorTimeout?: number | undefined;
|
|
548
|
-
}, {
|
|
549
547
|
multiple?: boolean | undefined;
|
|
548
|
+
}, {
|
|
550
549
|
waitForSelector?: boolean | undefined;
|
|
551
550
|
waitSelectorTimeout?: number | undefined;
|
|
551
|
+
multiple?: boolean | undefined;
|
|
552
552
|
}>;
|
|
553
553
|
} & {
|
|
554
554
|
name: import("zod").ZodLiteral<"save-assets">;
|
|
555
555
|
}, "strip", import("zod").ZodTypeAny, {
|
|
556
|
+
name: "save-assets";
|
|
556
557
|
selector: string;
|
|
558
|
+
findBy: "cssSelector" | "xpath";
|
|
557
559
|
option: {
|
|
558
|
-
multiple?: boolean | undefined;
|
|
559
560
|
waitForSelector?: boolean | undefined;
|
|
560
561
|
waitSelectorTimeout?: number | undefined;
|
|
562
|
+
multiple?: boolean | undefined;
|
|
561
563
|
};
|
|
562
|
-
name: "save-assets";
|
|
563
|
-
findBy: "cssSelector" | "xpath";
|
|
564
564
|
}, {
|
|
565
|
+
name: "save-assets";
|
|
565
566
|
selector: string;
|
|
567
|
+
findBy: "cssSelector" | "xpath";
|
|
566
568
|
option: {
|
|
567
|
-
multiple?: boolean | undefined;
|
|
568
569
|
waitForSelector?: boolean | undefined;
|
|
569
570
|
waitSelectorTimeout?: number | undefined;
|
|
571
|
+
multiple?: boolean | undefined;
|
|
570
572
|
};
|
|
571
|
-
name: "save-assets";
|
|
572
|
-
findBy: "cssSelector" | "xpath";
|
|
573
573
|
}>;
|
|
574
574
|
readonly 'get-element-data': import("zod").ZodObject<{
|
|
575
575
|
selector: import("zod").ZodString;
|
|
@@ -579,13 +579,13 @@ export declare const AllBlockSchemas: {
|
|
|
579
579
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
580
580
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
581
581
|
}, "strip", import("zod").ZodTypeAny, {
|
|
582
|
-
multiple?: boolean | undefined;
|
|
583
582
|
waitForSelector?: boolean | undefined;
|
|
584
583
|
waitSelectorTimeout?: number | undefined;
|
|
585
|
-
}, {
|
|
586
584
|
multiple?: boolean | undefined;
|
|
585
|
+
}, {
|
|
587
586
|
waitForSelector?: boolean | undefined;
|
|
588
587
|
waitSelectorTimeout?: number | undefined;
|
|
588
|
+
multiple?: boolean | undefined;
|
|
589
589
|
}>;
|
|
590
590
|
} & {
|
|
591
591
|
name: import("zod").ZodLiteral<"get-element-data">;
|
|
@@ -599,14 +599,14 @@ export declare const AllBlockSchemas: {
|
|
|
599
599
|
includeSelector: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
600
600
|
includeXPath: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
601
601
|
}, "strip", import("zod").ZodTypeAny, {
|
|
602
|
+
name: "get-element-data";
|
|
602
603
|
selector: string;
|
|
604
|
+
findBy: "cssSelector" | "xpath";
|
|
603
605
|
option: {
|
|
604
|
-
multiple?: boolean | undefined;
|
|
605
606
|
waitForSelector?: boolean | undefined;
|
|
606
607
|
waitSelectorTimeout?: number | undefined;
|
|
608
|
+
multiple?: boolean | undefined;
|
|
607
609
|
};
|
|
608
|
-
name: "get-element-data";
|
|
609
|
-
findBy: "cssSelector" | "xpath";
|
|
610
610
|
includeTags?: boolean | undefined;
|
|
611
611
|
useTextContent?: boolean | undefined;
|
|
612
612
|
regex?: string | undefined;
|
|
@@ -617,14 +617,14 @@ export declare const AllBlockSchemas: {
|
|
|
617
617
|
includeSelector?: boolean | undefined;
|
|
618
618
|
includeXPath?: boolean | undefined;
|
|
619
619
|
}, {
|
|
620
|
+
name: "get-element-data";
|
|
620
621
|
selector: string;
|
|
622
|
+
findBy: "cssSelector" | "xpath";
|
|
621
623
|
option: {
|
|
622
|
-
multiple?: boolean | undefined;
|
|
623
624
|
waitForSelector?: boolean | undefined;
|
|
624
625
|
waitSelectorTimeout?: number | undefined;
|
|
626
|
+
multiple?: boolean | undefined;
|
|
625
627
|
};
|
|
626
|
-
name: "get-element-data";
|
|
627
|
-
findBy: "cssSelector" | "xpath";
|
|
628
628
|
includeTags?: boolean | undefined;
|
|
629
629
|
useTextContent?: boolean | undefined;
|
|
630
630
|
regex?: string | undefined;
|
|
@@ -643,13 +643,13 @@ export declare const AllBlockSchemas: {
|
|
|
643
643
|
waitSelectorTimeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
644
644
|
multiple: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
645
645
|
}, "strip", import("zod").ZodTypeAny, {
|
|
646
|
-
multiple?: boolean | undefined;
|
|
647
646
|
waitForSelector?: boolean | undefined;
|
|
648
647
|
waitSelectorTimeout?: number | undefined;
|
|
649
|
-
}, {
|
|
650
648
|
multiple?: boolean | undefined;
|
|
649
|
+
}, {
|
|
651
650
|
waitForSelector?: boolean | undefined;
|
|
652
651
|
waitSelectorTimeout?: number | undefined;
|
|
652
|
+
multiple?: boolean | undefined;
|
|
653
653
|
}>;
|
|
654
654
|
} & {
|
|
655
655
|
name: import("zod").ZodLiteral<"scroll">;
|
|
@@ -659,28 +659,28 @@ export declare const AllBlockSchemas: {
|
|
|
659
659
|
maxScrolls: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
660
660
|
waitAfterScroll: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
661
661
|
}, "strip", import("zod").ZodTypeAny, {
|
|
662
|
+
name: "scroll";
|
|
662
663
|
selector: string;
|
|
664
|
+
findBy: "cssSelector" | "xpath";
|
|
663
665
|
option: {
|
|
664
|
-
multiple?: boolean | undefined;
|
|
665
666
|
waitForSelector?: boolean | undefined;
|
|
666
667
|
waitSelectorTimeout?: number | undefined;
|
|
668
|
+
multiple?: boolean | undefined;
|
|
667
669
|
};
|
|
668
|
-
name: "scroll";
|
|
669
|
-
findBy: "cssSelector" | "xpath";
|
|
670
670
|
behavior?: "auto" | "smooth" | undefined;
|
|
671
671
|
scrollType?: "toElement" | "toBottom" | "byDistance" | "untilLoaded" | undefined;
|
|
672
672
|
distance?: number | undefined;
|
|
673
673
|
maxScrolls?: number | undefined;
|
|
674
674
|
waitAfterScroll?: number | undefined;
|
|
675
675
|
}, {
|
|
676
|
+
name: "scroll";
|
|
676
677
|
selector: string;
|
|
678
|
+
findBy: "cssSelector" | "xpath";
|
|
677
679
|
option: {
|
|
678
|
-
multiple?: boolean | undefined;
|
|
679
680
|
waitForSelector?: boolean | undefined;
|
|
680
681
|
waitSelectorTimeout?: number | undefined;
|
|
682
|
+
multiple?: boolean | undefined;
|
|
681
683
|
};
|
|
682
|
-
name: "scroll";
|
|
683
|
-
findBy: "cssSelector" | "xpath";
|
|
684
684
|
behavior?: "auto" | "smooth" | undefined;
|
|
685
685
|
scrollType?: "toElement" | "toBottom" | "byDistance" | "untilLoaded" | undefined;
|
|
686
686
|
distance?: number | undefined;
|
|
@@ -772,12 +772,12 @@ export declare const AllBlockSchemas: {
|
|
|
772
772
|
code: import("zod").ZodString;
|
|
773
773
|
inputData: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
774
774
|
}, "strip", import("zod").ZodTypeAny, {
|
|
775
|
-
code: string;
|
|
776
775
|
name: "data-extract";
|
|
776
|
+
code: string;
|
|
777
777
|
inputData?: any;
|
|
778
778
|
}, {
|
|
779
|
-
code: string;
|
|
780
779
|
name: "data-extract";
|
|
780
|
+
code: string;
|
|
781
781
|
inputData?: any;
|
|
782
782
|
}>;
|
|
783
783
|
};
|
package/dist/blocks/types.d.ts
CHANGED
|
@@ -23,48 +23,31 @@ export declare const BaseBlockSchema: z.ZodObject<{
|
|
|
23
23
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
multiple?: boolean | undefined;
|
|
27
26
|
waitForSelector?: boolean | undefined;
|
|
28
27
|
waitSelectorTimeout?: number | undefined;
|
|
29
|
-
}, {
|
|
30
28
|
multiple?: boolean | undefined;
|
|
29
|
+
}, {
|
|
31
30
|
waitForSelector?: boolean | undefined;
|
|
32
31
|
waitSelectorTimeout?: number | undefined;
|
|
32
|
+
multiple?: boolean | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
name: string;
|
|
35
36
|
selector: string;
|
|
37
|
+
findBy: "cssSelector" | "xpath";
|
|
36
38
|
option: {
|
|
37
|
-
multiple?: boolean | undefined;
|
|
38
39
|
waitForSelector?: boolean | undefined;
|
|
39
40
|
waitSelectorTimeout?: number | undefined;
|
|
41
|
+
multiple?: boolean | undefined;
|
|
40
42
|
};
|
|
41
|
-
name: string;
|
|
42
|
-
findBy: "cssSelector" | "xpath";
|
|
43
43
|
}, {
|
|
44
|
+
name: string;
|
|
44
45
|
selector: string;
|
|
46
|
+
findBy: "cssSelector" | "xpath";
|
|
45
47
|
option: {
|
|
46
|
-
multiple?: boolean | undefined;
|
|
47
48
|
waitForSelector?: boolean | undefined;
|
|
48
49
|
waitSelectorTimeout?: number | undefined;
|
|
50
|
+
multiple?: boolean | undefined;
|
|
49
51
|
};
|
|
50
|
-
name: string;
|
|
51
|
-
findBy: "cssSelector" | "xpath";
|
|
52
52
|
}>;
|
|
53
|
-
export type { GetTextBlock } from './GetTextBlock';
|
|
54
|
-
export type { GetAttributeValueBlock } from './GetAttributeValueBlock';
|
|
55
|
-
export type { GetValueFormsBlock } from './GetValueFormBlock';
|
|
56
|
-
export type { SetValueFormsBlock } from './SetValueFormBlock';
|
|
57
|
-
export type { ClearValueFormsBlock } from './ClearValueFormBlock';
|
|
58
|
-
export type { ElementExistsBlock } from './ElementExistsBlock';
|
|
59
|
-
export type { EventClickBlock } from './EventClickBlock';
|
|
60
|
-
export type { KeypressBlock } from './KeypressBlock';
|
|
61
|
-
export type { WaitBlock } from './WaitBlock';
|
|
62
|
-
export type { WaitForConditionBlock, WaitForConditionResult } from './WaitForConditionBlock';
|
|
63
|
-
export type { SaveAssetsBlock } from './SaveAssetsBlock';
|
|
64
|
-
export type { GetElementDataBlock, ElementData } from './GetElementDataBlock';
|
|
65
|
-
export type { ScrollBlock } from './ScrollBlock';
|
|
66
|
-
export type { AiParseDataBlock, SchemaField, SchemaDefinition } from './AiParseDataBlock';
|
|
67
|
-
export type { FetchApiBlock, FetchApiResponse } from './FetchApiBlock';
|
|
68
|
-
export type { DataExtractBlock } from './DataExtractBlock';
|
|
69
|
-
export { AllBlockSchemas } from './index';
|
|
70
53
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/blocks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC;IAChC,MAAM,EAAE;QACN,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/blocks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC;IAChC,MAAM,EAAE;QACN,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC"}
|