@crvy/rprtr 0.0.5 → 0.0.7
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/CHANGELOG.md +60 -0
- package/README.md +34 -9
- package/dist/{chunk-MWLM3HWS.js → chunk-JGS2VWQP.js} +189 -2
- package/dist/{chunk-IH44LYNM.js → chunk-OMDYTNWY.js} +131 -53
- package/dist/cli.js +2 -2
- package/dist/index.css +3 -0
- package/dist/index.js +555 -485
- package/dist/report-state.d.ts +6 -1
- package/dist/report-state.d.ts.map +1 -1
- package/dist/report-utils.d.ts +3 -0
- package/dist/report-utils.d.ts.map +1 -1
- package/dist/reporter-utils.d.ts +11 -2
- package/dist/reporter-utils.d.ts.map +1 -1
- package/dist/reporter.cjs +368 -154
- package/dist/reporter.d.ts +13 -1
- package/dist/reporter.d.ts.map +1 -1
- package/dist/reporter.js +182 -153
- package/dist/schemas.d.ts +115 -15
- package/dist/schemas.d.ts.map +1 -1
- package/dist/server/app.d.ts +5 -0
- package/dist/server/app.d.ts.map +1 -1
- package/dist/server/routes.d.ts +7 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server.cjs +329 -64
- package/dist/server.js +2 -2
- package/dist/snapshot-path-resolver.d.ts +30 -0
- package/dist/snapshot-path-resolver.d.ts.map +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -22,6 +22,18 @@ export declare const ImagesSchema: z.ZodObject<{
|
|
|
22
22
|
}>>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
export type Images = z.infer<typeof ImagesSchema>;
|
|
25
|
+
export declare const ScreenshotDeclarationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
|
+
visualName: z.ZodString;
|
|
27
|
+
kind: z.ZodLiteral<"named">;
|
|
28
|
+
declaredName: z.ZodString;
|
|
29
|
+
snapshotBaseName: z.ZodString;
|
|
30
|
+
occurrenceIndex: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
visualName: z.ZodString;
|
|
33
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
34
|
+
occurrenceIndex: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>], "kind">;
|
|
36
|
+
export type ScreenshotDeclaration = z.infer<typeof ScreenshotDeclarationSchema>;
|
|
25
37
|
export declare const AttachmentSchema: z.ZodObject<{
|
|
26
38
|
name: z.ZodString;
|
|
27
39
|
path: z.ZodString;
|
|
@@ -30,25 +42,25 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
|
30
42
|
export type Attachment = z.infer<typeof AttachmentSchema>;
|
|
31
43
|
export declare const TestStatusSchema: z.ZodEnum<{
|
|
32
44
|
unknown: "unknown";
|
|
45
|
+
success: "success";
|
|
33
46
|
pending: "pending";
|
|
34
47
|
running: "running";
|
|
35
48
|
failed: "failed";
|
|
36
49
|
approved: "approved";
|
|
37
|
-
success: "success";
|
|
38
50
|
retrying: "retrying";
|
|
39
51
|
}>;
|
|
40
52
|
export type TestStatus = z.infer<typeof TestStatusSchema>;
|
|
41
53
|
export declare const TestResultStatusSchema: z.ZodEnum<{
|
|
54
|
+
success: "success";
|
|
42
55
|
pending: "pending";
|
|
43
56
|
failed: "failed";
|
|
44
|
-
success: "success";
|
|
45
57
|
}>;
|
|
46
58
|
export type TestResultStatus = z.infer<typeof TestResultStatusSchema>;
|
|
47
59
|
export declare const TestResultSchema: z.ZodObject<{
|
|
48
60
|
status: z.ZodEnum<{
|
|
61
|
+
success: "success";
|
|
49
62
|
pending: "pending";
|
|
50
63
|
failed: "failed";
|
|
51
|
-
success: "success";
|
|
52
64
|
}>;
|
|
53
65
|
retries: z.ZodNumber;
|
|
54
66
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -62,6 +74,17 @@ export declare const TestResultSchema: z.ZodObject<{
|
|
|
62
74
|
"declared-only": "declared-only";
|
|
63
75
|
}>>;
|
|
64
76
|
}, z.core.$strip>>>;
|
|
77
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
78
|
+
visualName: z.ZodString;
|
|
79
|
+
kind: z.ZodLiteral<"named">;
|
|
80
|
+
declaredName: z.ZodString;
|
|
81
|
+
snapshotBaseName: z.ZodString;
|
|
82
|
+
occurrenceIndex: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
visualName: z.ZodString;
|
|
85
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
86
|
+
occurrenceIndex: z.ZodNumber;
|
|
87
|
+
}, z.core.$strip>], "kind">>>;
|
|
65
88
|
error: z.ZodOptional<z.ZodString>;
|
|
66
89
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
67
90
|
}, z.core.$strip>;
|
|
@@ -75,18 +98,18 @@ export declare const TestDataSchema: z.ZodObject<{
|
|
|
75
98
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
76
99
|
status: z.ZodOptional<z.ZodEnum<{
|
|
77
100
|
unknown: "unknown";
|
|
101
|
+
success: "success";
|
|
78
102
|
pending: "pending";
|
|
79
103
|
running: "running";
|
|
80
104
|
failed: "failed";
|
|
81
105
|
approved: "approved";
|
|
82
|
-
success: "success";
|
|
83
106
|
retrying: "retrying";
|
|
84
107
|
}>>;
|
|
85
108
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
86
109
|
status: z.ZodEnum<{
|
|
110
|
+
success: "success";
|
|
87
111
|
pending: "pending";
|
|
88
112
|
failed: "failed";
|
|
89
|
-
success: "success";
|
|
90
113
|
}>;
|
|
91
114
|
retries: z.ZodNumber;
|
|
92
115
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -100,6 +123,17 @@ export declare const TestDataSchema: z.ZodObject<{
|
|
|
100
123
|
"declared-only": "declared-only";
|
|
101
124
|
}>>;
|
|
102
125
|
}, z.core.$strip>>>;
|
|
126
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
127
|
+
visualName: z.ZodString;
|
|
128
|
+
kind: z.ZodLiteral<"named">;
|
|
129
|
+
declaredName: z.ZodString;
|
|
130
|
+
snapshotBaseName: z.ZodString;
|
|
131
|
+
occurrenceIndex: z.ZodNumber;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
+
visualName: z.ZodString;
|
|
134
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
135
|
+
occurrenceIndex: z.ZodNumber;
|
|
136
|
+
}, z.core.$strip>], "kind">>>;
|
|
103
137
|
error: z.ZodOptional<z.ZodString>;
|
|
104
138
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
105
139
|
}, z.core.$strip>>>;
|
|
@@ -124,18 +158,18 @@ export declare const CrvyRprtrTestSchema: z.ZodObject<{
|
|
|
124
158
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
125
159
|
status: z.ZodOptional<z.ZodEnum<{
|
|
126
160
|
unknown: "unknown";
|
|
161
|
+
success: "success";
|
|
127
162
|
pending: "pending";
|
|
128
163
|
running: "running";
|
|
129
164
|
failed: "failed";
|
|
130
165
|
approved: "approved";
|
|
131
|
-
success: "success";
|
|
132
166
|
retrying: "retrying";
|
|
133
167
|
}>>;
|
|
134
168
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
135
169
|
status: z.ZodEnum<{
|
|
170
|
+
success: "success";
|
|
136
171
|
pending: "pending";
|
|
137
172
|
failed: "failed";
|
|
138
|
-
success: "success";
|
|
139
173
|
}>;
|
|
140
174
|
retries: z.ZodNumber;
|
|
141
175
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -149,6 +183,17 @@ export declare const CrvyRprtrTestSchema: z.ZodObject<{
|
|
|
149
183
|
"declared-only": "declared-only";
|
|
150
184
|
}>>;
|
|
151
185
|
}, z.core.$strip>>>;
|
|
186
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
187
|
+
visualName: z.ZodString;
|
|
188
|
+
kind: z.ZodLiteral<"named">;
|
|
189
|
+
declaredName: z.ZodString;
|
|
190
|
+
snapshotBaseName: z.ZodString;
|
|
191
|
+
occurrenceIndex: z.ZodNumber;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
+
visualName: z.ZodString;
|
|
194
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
195
|
+
occurrenceIndex: z.ZodNumber;
|
|
196
|
+
}, z.core.$strip>], "kind">>>;
|
|
152
197
|
error: z.ZodOptional<z.ZodString>;
|
|
153
198
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
154
199
|
}, z.core.$strip>>>;
|
|
@@ -210,6 +255,17 @@ export declare const TestEndDataSchema: z.ZodObject<{
|
|
|
210
255
|
contentType: z.ZodString;
|
|
211
256
|
}, z.core.$strip>>;
|
|
212
257
|
visualNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
258
|
+
visualDeclarations: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
259
|
+
visualName: z.ZodString;
|
|
260
|
+
kind: z.ZodLiteral<"named">;
|
|
261
|
+
declaredName: z.ZodString;
|
|
262
|
+
snapshotBaseName: z.ZodString;
|
|
263
|
+
occurrenceIndex: z.ZodNumber;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
+
visualName: z.ZodString;
|
|
266
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
267
|
+
occurrenceIndex: z.ZodNumber;
|
|
268
|
+
}, z.core.$strip>], "kind">>>>;
|
|
213
269
|
error: z.ZodOptional<z.ZodString>;
|
|
214
270
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
215
271
|
}, z.core.$strip>;
|
|
@@ -225,18 +281,18 @@ export declare const ReportDataSchema: z.ZodObject<{
|
|
|
225
281
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
226
282
|
status: z.ZodOptional<z.ZodEnum<{
|
|
227
283
|
unknown: "unknown";
|
|
284
|
+
success: "success";
|
|
228
285
|
pending: "pending";
|
|
229
286
|
running: "running";
|
|
230
287
|
failed: "failed";
|
|
231
288
|
approved: "approved";
|
|
232
|
-
success: "success";
|
|
233
289
|
retrying: "retrying";
|
|
234
290
|
}>>;
|
|
235
291
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
292
|
status: z.ZodEnum<{
|
|
293
|
+
success: "success";
|
|
237
294
|
pending: "pending";
|
|
238
295
|
failed: "failed";
|
|
239
|
-
success: "success";
|
|
240
296
|
}>;
|
|
241
297
|
retries: z.ZodNumber;
|
|
242
298
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -250,6 +306,17 @@ export declare const ReportDataSchema: z.ZodObject<{
|
|
|
250
306
|
"declared-only": "declared-only";
|
|
251
307
|
}>>;
|
|
252
308
|
}, z.core.$strip>>>;
|
|
309
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
310
|
+
visualName: z.ZodString;
|
|
311
|
+
kind: z.ZodLiteral<"named">;
|
|
312
|
+
declaredName: z.ZodString;
|
|
313
|
+
snapshotBaseName: z.ZodString;
|
|
314
|
+
occurrenceIndex: z.ZodNumber;
|
|
315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
316
|
+
visualName: z.ZodString;
|
|
317
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
318
|
+
occurrenceIndex: z.ZodNumber;
|
|
319
|
+
}, z.core.$strip>], "kind">>>;
|
|
253
320
|
error: z.ZodOptional<z.ZodString>;
|
|
254
321
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
255
322
|
}, z.core.$strip>>>;
|
|
@@ -279,18 +346,18 @@ export declare const LoadedReportDataSchema: z.ZodObject<{
|
|
|
279
346
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
280
347
|
status: z.ZodOptional<z.ZodEnum<{
|
|
281
348
|
unknown: "unknown";
|
|
349
|
+
success: "success";
|
|
282
350
|
pending: "pending";
|
|
283
351
|
running: "running";
|
|
284
352
|
failed: "failed";
|
|
285
353
|
approved: "approved";
|
|
286
|
-
success: "success";
|
|
287
354
|
retrying: "retrying";
|
|
288
355
|
}>>;
|
|
289
356
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
290
357
|
status: z.ZodEnum<{
|
|
358
|
+
success: "success";
|
|
291
359
|
pending: "pending";
|
|
292
360
|
failed: "failed";
|
|
293
|
-
success: "success";
|
|
294
361
|
}>;
|
|
295
362
|
retries: z.ZodNumber;
|
|
296
363
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -304,6 +371,17 @@ export declare const LoadedReportDataSchema: z.ZodObject<{
|
|
|
304
371
|
"declared-only": "declared-only";
|
|
305
372
|
}>>;
|
|
306
373
|
}, z.core.$strip>>>;
|
|
374
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
375
|
+
visualName: z.ZodString;
|
|
376
|
+
kind: z.ZodLiteral<"named">;
|
|
377
|
+
declaredName: z.ZodString;
|
|
378
|
+
snapshotBaseName: z.ZodString;
|
|
379
|
+
occurrenceIndex: z.ZodNumber;
|
|
380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
381
|
+
visualName: z.ZodString;
|
|
382
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
383
|
+
occurrenceIndex: z.ZodNumber;
|
|
384
|
+
}, z.core.$strip>], "kind">>>;
|
|
307
385
|
error: z.ZodOptional<z.ZodString>;
|
|
308
386
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
309
387
|
}, z.core.$strip>>>;
|
|
@@ -364,18 +442,18 @@ export declare const ReportApiResponseSchema: z.ZodObject<{
|
|
|
364
442
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
365
443
|
status: z.ZodOptional<z.ZodEnum<{
|
|
366
444
|
unknown: "unknown";
|
|
445
|
+
success: "success";
|
|
367
446
|
pending: "pending";
|
|
368
447
|
running: "running";
|
|
369
448
|
failed: "failed";
|
|
370
449
|
approved: "approved";
|
|
371
|
-
success: "success";
|
|
372
450
|
retrying: "retrying";
|
|
373
451
|
}>>;
|
|
374
452
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
375
453
|
status: z.ZodEnum<{
|
|
454
|
+
success: "success";
|
|
376
455
|
pending: "pending";
|
|
377
456
|
failed: "failed";
|
|
378
|
-
success: "success";
|
|
379
457
|
}>;
|
|
380
458
|
retries: z.ZodNumber;
|
|
381
459
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -389,6 +467,17 @@ export declare const ReportApiResponseSchema: z.ZodObject<{
|
|
|
389
467
|
"declared-only": "declared-only";
|
|
390
468
|
}>>;
|
|
391
469
|
}, z.core.$strip>>>;
|
|
470
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
471
|
+
visualName: z.ZodString;
|
|
472
|
+
kind: z.ZodLiteral<"named">;
|
|
473
|
+
declaredName: z.ZodString;
|
|
474
|
+
snapshotBaseName: z.ZodString;
|
|
475
|
+
occurrenceIndex: z.ZodNumber;
|
|
476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
477
|
+
visualName: z.ZodString;
|
|
478
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
479
|
+
occurrenceIndex: z.ZodNumber;
|
|
480
|
+
}, z.core.$strip>], "kind">>>;
|
|
392
481
|
error: z.ZodOptional<z.ZodString>;
|
|
393
482
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
394
483
|
}, z.core.$strip>>>;
|
|
@@ -417,18 +506,18 @@ export declare const ClientBootstrapDataSchema: z.ZodObject<{
|
|
|
417
506
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
418
507
|
status: z.ZodOptional<z.ZodEnum<{
|
|
419
508
|
unknown: "unknown";
|
|
509
|
+
success: "success";
|
|
420
510
|
pending: "pending";
|
|
421
511
|
running: "running";
|
|
422
512
|
failed: "failed";
|
|
423
513
|
approved: "approved";
|
|
424
|
-
success: "success";
|
|
425
514
|
retrying: "retrying";
|
|
426
515
|
}>>;
|
|
427
516
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
428
517
|
status: z.ZodEnum<{
|
|
518
|
+
success: "success";
|
|
429
519
|
pending: "pending";
|
|
430
520
|
failed: "failed";
|
|
431
|
-
success: "success";
|
|
432
521
|
}>;
|
|
433
522
|
retries: z.ZodNumber;
|
|
434
523
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -442,6 +531,17 @@ export declare const ClientBootstrapDataSchema: z.ZodObject<{
|
|
|
442
531
|
"declared-only": "declared-only";
|
|
443
532
|
}>>;
|
|
444
533
|
}, z.core.$strip>>>;
|
|
534
|
+
visualDeclarations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
535
|
+
visualName: z.ZodString;
|
|
536
|
+
kind: z.ZodLiteral<"named">;
|
|
537
|
+
declaredName: z.ZodString;
|
|
538
|
+
snapshotBaseName: z.ZodString;
|
|
539
|
+
occurrenceIndex: z.ZodNumber;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
|
+
visualName: z.ZodString;
|
|
542
|
+
kind: z.ZodLiteral<"unnamed">;
|
|
543
|
+
occurrenceIndex: z.ZodNumber;
|
|
544
|
+
}, z.core.$strip>], "kind">>>;
|
|
445
545
|
error: z.ZodOptional<z.ZodString>;
|
|
446
546
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
447
547
|
}, z.core.$strip>>>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,cAAc;;;iBAGzB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAErD,eAAO,MAAM,kBAAkB;;;;EAA2D,CAAA;AAE1F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAG7D,eAAO,MAAM,YAAY;;;;;;;;;;iBAMvB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,cAAc;;;iBAGzB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAErD,eAAO,MAAM,kBAAkB;;;;EAA2D,CAAA;AAE1F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAG7D,eAAO,MAAM,YAAY;;;;;;;;;;iBAMvB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEjD,eAAO,MAAM,2BAA2B;;;;;;;;;;2BAatC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAG/E,eAAO,MAAM,gBAAgB;;;;iBAI3B,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOpC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAG3E,eAAO,MAAM,oBAAoB;;;;;EAAqD,CAAA;AAEtF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAGjE,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,GAAG,CAAC,GAAG,IAAI,CAM1E;AAGD,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC,CAM5F"}
|
package/dist/server/app.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ export interface ServerOptions {
|
|
|
5
5
|
reportPath?: string;
|
|
6
6
|
/** Absolute path to the built web UI assets directory, or its parent directory */
|
|
7
7
|
staticDir?: string;
|
|
8
|
+
configDir?: string;
|
|
9
|
+
playwrightTestDir?: string;
|
|
10
|
+
playwrightSnapshotDir?: string;
|
|
11
|
+
playwrightSnapshotPathTemplate?: string;
|
|
12
|
+
playwrightToHaveScreenshotPathTemplate?: string;
|
|
8
13
|
}
|
|
9
14
|
export interface ServerApp {
|
|
10
15
|
port: number;
|
package/dist/server/app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/server/app.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI/C,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/server/app.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI/C,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,8BAA8B,CAAC,EAAE,MAAM,CAAA;IACvC,sCAAsC,CAAC,EAAE,MAAM,CAAA;CAChD;AAUD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAA;IAClD,sBAAsB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3D;AAmMD,wBAAsB,eAAe,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,SAAS,CAAC,CAwCrF"}
|
package/dist/server/routes.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ export interface RoutesContext {
|
|
|
9
9
|
};
|
|
10
10
|
staticDir: string;
|
|
11
11
|
saveReport: () => Promise<void>;
|
|
12
|
+
approvalRouting?: {
|
|
13
|
+
configDir: string;
|
|
14
|
+
playwrightTestDir?: string;
|
|
15
|
+
playwrightSnapshotDir?: string;
|
|
16
|
+
playwrightSnapshotPathTemplate?: string;
|
|
17
|
+
playwrightToHaveScreenshotPathTemplate?: string;
|
|
18
|
+
};
|
|
12
19
|
}
|
|
13
20
|
export declare const LIVE_UPDATES_WEBSOCKET_PATH = "/";
|
|
14
21
|
export declare function isWebSocketUpgradeRequest(req: Request): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/server/routes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/server/routes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAG3C,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE;QACV,SAAS,EAAE,OAAO,CAAA;QAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;QAC/B,QAAQ,EAAE,MAAM,EAAE,CAAA;QAClB,YAAY,EAAE,OAAO,CAAA;QACrB,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC/B,eAAe,CAAC,EAAE;QAChB,SAAS,EAAE,MAAM,CAAA;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAA;QAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAA;QAC9B,8BAA8B,CAAC,EAAE,MAAM,CAAA;QACvC,sCAAsC,CAAC,EAAE,MAAM,CAAA;KAChD,CAAA;CACF;AAED,eAAO,MAAM,2BAA2B,MAAM,CAAA;AAE9C,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAK/D;AAiOD,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,CAwCrF"}
|