@dev-blinq/bvt-playwright-js 1.0.0-dev.4.staging.83.1 → 1.0.0-dev.4.staging.93.1
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/index.d.mts +5 -2
- package/index.mjs +10 -5
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -6491,12 +6491,12 @@ declare const StepDefinitionSchema: z.ZodObject<{
|
|
|
6491
6491
|
}, z.core.$strict>
|
|
6492
6492
|
], "type">>;
|
|
6493
6493
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6494
|
+
custom: "custom";
|
|
6494
6495
|
ai: "ai";
|
|
6495
6496
|
rec: "rec";
|
|
6496
6497
|
api: "api";
|
|
6497
6498
|
assert: "assert";
|
|
6498
6499
|
reuse: "reuse";
|
|
6499
|
-
custom: "custom";
|
|
6500
6500
|
}>>;
|
|
6501
6501
|
allowCustomWholeStepRepair: z.ZodOptional<z.ZodBoolean>;
|
|
6502
6502
|
}, z.core.$strict>;
|
|
@@ -7486,11 +7486,11 @@ declare const ResolutionContextSchema: z.ZodObject<{
|
|
|
7486
7486
|
type ResolutionContext = z.infer<typeof ResolutionContextSchema>;
|
|
7487
7487
|
declare const BrowserObserverStateKSchema: z.ZodUnion<readonly [
|
|
7488
7488
|
z.ZodEnum<{
|
|
7489
|
-
ai: "ai";
|
|
7490
7489
|
input: "input";
|
|
7491
7490
|
text: "text";
|
|
7492
7491
|
context: "context";
|
|
7493
7492
|
hover: "hover";
|
|
7493
|
+
ai: "ai";
|
|
7494
7494
|
none: "none";
|
|
7495
7495
|
snapshot: "snapshot";
|
|
7496
7496
|
element: "element";
|
|
@@ -7898,6 +7898,7 @@ declare const ExecutionResultSchema: z.ZodObject<{
|
|
|
7898
7898
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
7899
7899
|
}, z.core.$strict>>>>;
|
|
7900
7900
|
duration: z.ZodNumber;
|
|
7901
|
+
screenshotBefore: z.ZodOptional<z.ZodString>;
|
|
7901
7902
|
screenshotAfter: z.ZodOptional<z.ZodString>;
|
|
7902
7903
|
mutationSignals: z.ZodOptional<z.ZodObject<{
|
|
7903
7904
|
httpMutations: z.ZodArray<z.ZodObject<{
|
|
@@ -8912,6 +8913,7 @@ declare class BrowserObserver {
|
|
|
8912
8913
|
private rrwebBufferedBytes;
|
|
8913
8914
|
private rrwebCommandAnchors;
|
|
8914
8915
|
static instance: BrowserObserver | null;
|
|
8916
|
+
private writeConsole;
|
|
8915
8917
|
private getRrwebChunkEventCountThreshold;
|
|
8916
8918
|
private getRrwebChunkByteThreshold;
|
|
8917
8919
|
private getRrwebMaskProfile;
|
|
@@ -9317,6 +9319,7 @@ declare class Tester {
|
|
|
9317
9319
|
result?: unknown;
|
|
9318
9320
|
error?: string | undefined;
|
|
9319
9321
|
userMessage?: string | undefined;
|
|
9322
|
+
screenshotBefore?: string | undefined;
|
|
9320
9323
|
screenshotAfter?: string | undefined;
|
|
9321
9324
|
mutationSignals?: {
|
|
9322
9325
|
httpMutations: {
|
package/index.mjs
CHANGED
|
@@ -6202,6 +6202,15 @@ const AiRecoveredScenarioVersionSchema = object({
|
|
|
6202
6202
|
supersededAt: date().optional()
|
|
6203
6203
|
}).strict();
|
|
6204
6204
|
|
|
6205
|
+
//#endregion
|
|
6206
|
+
//#region ../../core/schemas/src/custom-code-step-template/custom-code-step-template.schema.ts
|
|
6207
|
+
const CustomCodeStepTemplateSchema = object({
|
|
6208
|
+
_id: EntityIdSchema,
|
|
6209
|
+
projectId: EntityIdSchema,
|
|
6210
|
+
name: string().min(1).max(500),
|
|
6211
|
+
code: string().min(1).max(1e5)
|
|
6212
|
+
}).strict();
|
|
6213
|
+
|
|
6205
6214
|
//#endregion
|
|
6206
6215
|
//#region ../../core/schemas/src/workspace/workspace.schema.ts
|
|
6207
6216
|
const EnvironmentSchema = object({
|
|
@@ -9842,11 +9851,6 @@ const FillFormBatchResultSchema = object({
|
|
|
9842
9851
|
domGrew: boolean(),
|
|
9843
9852
|
fieldTimingsMs: array(number().nonnegative()).optional()
|
|
9844
9853
|
}).strict();
|
|
9845
|
-
const FormFieldDataTokenSchema = object({
|
|
9846
|
-
fieldId: string().min(1),
|
|
9847
|
-
value: union([string(), array(string())])
|
|
9848
|
-
}).strict();
|
|
9849
|
-
const FormFieldDataTokenPlanSchema = object({ tokens: array(FormFieldDataTokenSchema) }).strict();
|
|
9850
9854
|
|
|
9851
9855
|
//#endregion
|
|
9852
9856
|
//#region ../../core/schemas/src/ai-chat/types.ts
|
|
@@ -9960,6 +9964,7 @@ const ExecutionResultSchema = object({
|
|
|
9960
9964
|
logs: array(string()),
|
|
9961
9965
|
checkpoints: array(CheckpointSchema).optional().default([]),
|
|
9962
9966
|
duration: number().nonnegative(),
|
|
9967
|
+
screenshotBefore: string().optional(),
|
|
9963
9968
|
screenshotAfter: string().optional(),
|
|
9964
9969
|
mutationSignals: SegmentMutationSignalsSchema.optional()
|
|
9965
9970
|
}).strict();
|