@debugbundle/shared-types 2.0.0 → 2.1.0
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/README.md +1 -0
- package/dist/alert-notification-policy.d.ts +71 -0
- package/dist/alert-notification-policy.d.ts.map +1 -0
- package/dist/alert-notification-policy.js +54 -0
- package/dist/alert-notification-policy.js.map +1 -0
- package/dist/analytics-product.d.ts +16 -16
- package/dist/analytics.d.ts +46 -46
- package/dist/browser-recovery.d.ts +13 -0
- package/dist/browser-recovery.d.ts.map +1 -0
- package/dist/browser-recovery.js +42 -0
- package/dist/browser-recovery.js.map +1 -0
- package/dist/browser-resource-context.d.ts +66 -0
- package/dist/browser-resource-context.d.ts.map +1 -1
- package/dist/browser-resource-context.js +20 -1
- package/dist/browser-resource-context.js.map +1 -1
- package/dist/browser-resource-suggestions.d.ts.map +1 -1
- package/dist/browser-resource-suggestions.js +51 -1
- package/dist/browser-resource-suggestions.js.map +1 -1
- package/dist/browser-resource.d.ts +8 -0
- package/dist/browser-resource.d.ts.map +1 -1
- package/dist/browser-resource.js +24 -0
- package/dist/browser-resource.js.map +1 -1
- package/dist/capture-policy.d.ts +16 -16
- package/dist/capture-rule-evaluation.d.ts +71 -12
- package/dist/capture-rule-evaluation.d.ts.map +1 -1
- package/dist/capture-rule-evaluation.js +98 -3
- package/dist/capture-rule-evaluation.js.map +1 -1
- package/dist/capture-rule-schemas.d.ts +1080 -210
- package/dist/capture-rule-schemas.d.ts.map +1 -1
- package/dist/capture-rule-schemas.js +56 -0
- package/dist/capture-rule-schemas.js.map +1 -1
- package/dist/capture-rule-suggestions.d.ts +398 -97
- package/dist/capture-rule-suggestions.d.ts.map +1 -1
- package/dist/event-envelope.d.ts +276 -276
- package/dist/frontend-severity.d.ts.map +1 -1
- package/dist/frontend-severity.js +3 -0
- package/dist/frontend-severity.js.map +1 -1
- package/dist/index.d.ts +293 -171
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -220,6 +220,44 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
220
220
|
omitted_routes: number;
|
|
221
221
|
coverage: "occurrence_metadata" | "retained_samples";
|
|
222
222
|
}>;
|
|
223
|
+
interruption: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
visibility_state: z.ZodEnum<["hidden", "prerender", "unloaded"]>;
|
|
225
|
+
ready_state: z.ZodEnum<["loading", "interactive"]>;
|
|
226
|
+
target_tag_name: z.ZodLiteral<"link">;
|
|
227
|
+
rel: z.ZodEnum<["preload", "modulepreload", "prefetch"]>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
230
|
+
ready_state: "loading" | "interactive";
|
|
231
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
232
|
+
target_tag_name: "link";
|
|
233
|
+
}, {
|
|
234
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
235
|
+
ready_state: "loading" | "interactive";
|
|
236
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
237
|
+
target_tag_name: "link";
|
|
238
|
+
}>>;
|
|
239
|
+
recovery_failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
source: z.ZodEnum<["request_event", "frontend_breadcrumb"]>;
|
|
241
|
+
method: z.ZodString;
|
|
242
|
+
path: z.ZodString;
|
|
243
|
+
status_code: z.ZodNumber;
|
|
244
|
+
occurred_at: z.ZodString;
|
|
245
|
+
delay_ms: z.ZodNumber;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
path: string;
|
|
248
|
+
occurred_at: string;
|
|
249
|
+
method: string;
|
|
250
|
+
status_code: number;
|
|
251
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
252
|
+
delay_ms: number;
|
|
253
|
+
}, {
|
|
254
|
+
path: string;
|
|
255
|
+
occurred_at: string;
|
|
256
|
+
method: string;
|
|
257
|
+
status_code: number;
|
|
258
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
259
|
+
delay_ms: number;
|
|
260
|
+
}>, "many">>;
|
|
223
261
|
}, "strip", z.ZodTypeAny, {
|
|
224
262
|
path: string;
|
|
225
263
|
type: string | null;
|
|
@@ -241,6 +279,20 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
241
279
|
provider: string | null;
|
|
242
280
|
optional_candidate: boolean;
|
|
243
281
|
diagnosis: string;
|
|
282
|
+
interruption?: {
|
|
283
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
284
|
+
ready_state: "loading" | "interactive";
|
|
285
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
286
|
+
target_tag_name: "link";
|
|
287
|
+
} | undefined;
|
|
288
|
+
recovery_failures?: {
|
|
289
|
+
path: string;
|
|
290
|
+
occurred_at: string;
|
|
291
|
+
method: string;
|
|
292
|
+
status_code: number;
|
|
293
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
294
|
+
delay_ms: number;
|
|
295
|
+
}[] | undefined;
|
|
244
296
|
}, {
|
|
245
297
|
path: string;
|
|
246
298
|
type: string | null;
|
|
@@ -262,6 +314,20 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
262
314
|
provider: string | null;
|
|
263
315
|
optional_candidate: boolean;
|
|
264
316
|
diagnosis: string;
|
|
317
|
+
interruption?: {
|
|
318
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
319
|
+
ready_state: "loading" | "interactive";
|
|
320
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
321
|
+
target_tag_name: "link";
|
|
322
|
+
} | undefined;
|
|
323
|
+
recovery_failures?: {
|
|
324
|
+
path: string;
|
|
325
|
+
occurred_at: string;
|
|
326
|
+
method: string;
|
|
327
|
+
status_code: number;
|
|
328
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
329
|
+
delay_ms: number;
|
|
330
|
+
}[] | undefined;
|
|
265
331
|
}>>;
|
|
266
332
|
error: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
267
333
|
version: z.ZodLiteral<1>;
|
|
@@ -297,19 +363,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
297
363
|
}, "strip", z.ZodTypeAny, {
|
|
298
364
|
path: string;
|
|
299
365
|
query: Record<string, unknown>;
|
|
366
|
+
request_id: string | null;
|
|
300
367
|
version: 1;
|
|
301
|
-
headers: Record<string, unknown>;
|
|
302
368
|
method: string;
|
|
303
|
-
|
|
369
|
+
headers: Record<string, unknown>;
|
|
304
370
|
route_template: string | null;
|
|
305
371
|
body?: unknown;
|
|
306
372
|
}, {
|
|
307
373
|
path: string;
|
|
308
374
|
query: Record<string, unknown>;
|
|
375
|
+
request_id: string | null;
|
|
309
376
|
version: 1;
|
|
310
|
-
headers: Record<string, unknown>;
|
|
311
377
|
method: string;
|
|
312
|
-
|
|
378
|
+
headers: Record<string, unknown>;
|
|
313
379
|
route_template: string | null;
|
|
314
380
|
body?: unknown;
|
|
315
381
|
}>>>;
|
|
@@ -341,31 +407,31 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
341
407
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
342
408
|
}, "strip", z.ZodTypeAny, {
|
|
343
409
|
message: string;
|
|
344
|
-
level: string;
|
|
345
410
|
timestamp: string;
|
|
411
|
+
level: string;
|
|
346
412
|
attributes: Record<string, unknown>;
|
|
347
413
|
}, {
|
|
348
414
|
message: string;
|
|
349
|
-
level: string;
|
|
350
415
|
timestamp: string;
|
|
416
|
+
level: string;
|
|
351
417
|
attributes: Record<string, unknown>;
|
|
352
418
|
}>, "many">;
|
|
353
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
version: 1;
|
|
354
421
|
items: {
|
|
355
422
|
message: string;
|
|
356
|
-
level: string;
|
|
357
423
|
timestamp: string;
|
|
424
|
+
level: string;
|
|
358
425
|
attributes: Record<string, unknown>;
|
|
359
426
|
}[];
|
|
360
|
-
version: 1;
|
|
361
427
|
}, {
|
|
428
|
+
version: 1;
|
|
362
429
|
items: {
|
|
363
430
|
message: string;
|
|
364
|
-
level: string;
|
|
365
431
|
timestamp: string;
|
|
432
|
+
level: string;
|
|
366
433
|
attributes: Record<string, unknown>;
|
|
367
434
|
}[];
|
|
368
|
-
version: 1;
|
|
369
435
|
}>>>;
|
|
370
436
|
frontend: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
371
437
|
version: z.ZodLiteral<1>;
|
|
@@ -374,12 +440,12 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
374
440
|
to: z.ZodString;
|
|
375
441
|
ts: z.ZodString;
|
|
376
442
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
from: string;
|
|
378
443
|
to: string;
|
|
444
|
+
from: string;
|
|
379
445
|
ts: string;
|
|
380
446
|
}, {
|
|
381
|
-
from: string;
|
|
382
447
|
to: string;
|
|
448
|
+
from: string;
|
|
383
449
|
ts: string;
|
|
384
450
|
}>, "many">;
|
|
385
451
|
clicks: z.ZodArray<z.ZodObject<{
|
|
@@ -461,8 +527,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
461
527
|
html_excerpt: string;
|
|
462
528
|
} | null;
|
|
463
529
|
route_changes: {
|
|
464
|
-
from: string;
|
|
465
530
|
to: string;
|
|
531
|
+
from: string;
|
|
466
532
|
ts: string;
|
|
467
533
|
}[];
|
|
468
534
|
clicks: {
|
|
@@ -496,8 +562,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
496
562
|
html_excerpt: string;
|
|
497
563
|
} | null;
|
|
498
564
|
route_changes: {
|
|
499
|
-
from: string;
|
|
500
565
|
to: string;
|
|
566
|
+
from: string;
|
|
501
567
|
ts: string;
|
|
502
568
|
}[];
|
|
503
569
|
clicks: {
|
|
@@ -650,16 +716,16 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
650
716
|
}, "strip", z.ZodTypeAny, {
|
|
651
717
|
dirty: boolean;
|
|
652
718
|
version: 1;
|
|
653
|
-
source: "unknown" | "config" | "env" | "local";
|
|
654
719
|
branch: string | null;
|
|
720
|
+
source: "unknown" | "config" | "env" | "local";
|
|
655
721
|
commit: string | null;
|
|
656
722
|
commit_short: string | null;
|
|
657
723
|
repo: string | null;
|
|
658
724
|
}, {
|
|
659
725
|
dirty: boolean;
|
|
660
726
|
version: 1;
|
|
661
|
-
source: "unknown" | "config" | "env" | "local";
|
|
662
727
|
branch: string | null;
|
|
728
|
+
source: "unknown" | "config" | "env" | "local";
|
|
663
729
|
commit: string | null;
|
|
664
730
|
commit_short: string | null;
|
|
665
731
|
repo: string | null;
|
|
@@ -680,19 +746,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
680
746
|
notes: string | null;
|
|
681
747
|
}>, "many">;
|
|
682
748
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
version: 1;
|
|
683
750
|
items: {
|
|
684
751
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
685
752
|
name: string;
|
|
686
753
|
notes: string | null;
|
|
687
754
|
}[];
|
|
688
|
-
version: 1;
|
|
689
755
|
}, {
|
|
756
|
+
version: 1;
|
|
690
757
|
items: {
|
|
691
758
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
692
759
|
name: string;
|
|
693
760
|
notes: string | null;
|
|
694
761
|
}[];
|
|
695
|
-
version: 1;
|
|
696
762
|
}>>>;
|
|
697
763
|
probe_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
698
764
|
version: z.ZodLiteral<1>;
|
|
@@ -702,32 +768,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
702
768
|
timestamp: z.ZodString;
|
|
703
769
|
activation_id: z.ZodNullable<z.ZodString>;
|
|
704
770
|
}, "strip", z.ZodTypeAny, {
|
|
705
|
-
data: Record<string, unknown>;
|
|
706
771
|
label: string;
|
|
772
|
+
data: Record<string, unknown>;
|
|
707
773
|
timestamp: string;
|
|
708
774
|
activation_id: string | null;
|
|
709
775
|
}, {
|
|
710
|
-
data: Record<string, unknown>;
|
|
711
776
|
label: string;
|
|
777
|
+
data: Record<string, unknown>;
|
|
712
778
|
timestamp: string;
|
|
713
779
|
activation_id: string | null;
|
|
714
780
|
}>, "many">;
|
|
715
781
|
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
version: 1;
|
|
716
783
|
items: {
|
|
717
|
-
data: Record<string, unknown>;
|
|
718
784
|
label: string;
|
|
785
|
+
data: Record<string, unknown>;
|
|
719
786
|
timestamp: string;
|
|
720
787
|
activation_id: string | null;
|
|
721
788
|
}[];
|
|
722
|
-
version: 1;
|
|
723
789
|
}, {
|
|
790
|
+
version: 1;
|
|
724
791
|
items: {
|
|
725
|
-
data: Record<string, unknown>;
|
|
726
792
|
label: string;
|
|
793
|
+
data: Record<string, unknown>;
|
|
727
794
|
timestamp: string;
|
|
728
795
|
activation_id: string | null;
|
|
729
796
|
}[];
|
|
730
|
-
version: 1;
|
|
731
797
|
}>>>;
|
|
732
798
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
733
799
|
version: z.ZodLiteral<1>;
|
|
@@ -858,6 +924,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
858
924
|
runtime_version: string | null;
|
|
859
925
|
framework_extras?: Record<string, unknown> | null | undefined;
|
|
860
926
|
} | null | undefined;
|
|
927
|
+
request?: {
|
|
928
|
+
path: string;
|
|
929
|
+
query: Record<string, unknown>;
|
|
930
|
+
request_id: string | null;
|
|
931
|
+
version: 1;
|
|
932
|
+
method: string;
|
|
933
|
+
headers: Record<string, unknown>;
|
|
934
|
+
route_template: string | null;
|
|
935
|
+
body?: unknown;
|
|
936
|
+
} | null | undefined;
|
|
937
|
+
response?: {
|
|
938
|
+
duration_ms: number | null;
|
|
939
|
+
version: 1;
|
|
940
|
+
status_code: number;
|
|
941
|
+
body?: unknown;
|
|
942
|
+
headers?: Record<string, unknown> | undefined;
|
|
943
|
+
} | null | undefined;
|
|
944
|
+
probe_data?: {
|
|
945
|
+
version: 1;
|
|
946
|
+
items: {
|
|
947
|
+
label: string;
|
|
948
|
+
data: Record<string, unknown>;
|
|
949
|
+
timestamp: string;
|
|
950
|
+
activation_id: string | null;
|
|
951
|
+
}[];
|
|
952
|
+
} | null | undefined;
|
|
861
953
|
device?: {
|
|
862
954
|
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
863
955
|
language: string | null;
|
|
@@ -884,23 +976,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
884
976
|
connection_type: string | null;
|
|
885
977
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
886
978
|
} | null | undefined;
|
|
887
|
-
request?: {
|
|
888
|
-
path: string;
|
|
889
|
-
query: Record<string, unknown>;
|
|
890
|
-
version: 1;
|
|
891
|
-
headers: Record<string, unknown>;
|
|
892
|
-
method: string;
|
|
893
|
-
request_id: string | null;
|
|
894
|
-
route_template: string | null;
|
|
895
|
-
body?: unknown;
|
|
896
|
-
} | null | undefined;
|
|
897
|
-
response?: {
|
|
898
|
-
duration_ms: number | null;
|
|
899
|
-
version: 1;
|
|
900
|
-
status_code: number;
|
|
901
|
-
body?: unknown;
|
|
902
|
-
headers?: Record<string, unknown> | undefined;
|
|
903
|
-
} | null | undefined;
|
|
904
979
|
error?: {
|
|
905
980
|
message: string;
|
|
906
981
|
name: string;
|
|
@@ -909,15 +984,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
909
984
|
handled: boolean;
|
|
910
985
|
top_frames: string[];
|
|
911
986
|
} | null | undefined;
|
|
912
|
-
probe_data?: {
|
|
913
|
-
items: {
|
|
914
|
-
data: Record<string, unknown>;
|
|
915
|
-
label: string;
|
|
916
|
-
timestamp: string;
|
|
917
|
-
activation_id: string | null;
|
|
918
|
-
}[];
|
|
919
|
-
version: 1;
|
|
920
|
-
} | null | undefined;
|
|
921
987
|
resource_failure?: {
|
|
922
988
|
path: string;
|
|
923
989
|
type: string | null;
|
|
@@ -939,15 +1005,29 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
939
1005
|
provider: string | null;
|
|
940
1006
|
optional_candidate: boolean;
|
|
941
1007
|
diagnosis: string;
|
|
1008
|
+
interruption?: {
|
|
1009
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
1010
|
+
ready_state: "loading" | "interactive";
|
|
1011
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
1012
|
+
target_tag_name: "link";
|
|
1013
|
+
} | undefined;
|
|
1014
|
+
recovery_failures?: {
|
|
1015
|
+
path: string;
|
|
1016
|
+
occurred_at: string;
|
|
1017
|
+
method: string;
|
|
1018
|
+
status_code: number;
|
|
1019
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
1020
|
+
delay_ms: number;
|
|
1021
|
+
}[] | undefined;
|
|
942
1022
|
} | undefined;
|
|
943
1023
|
logs?: {
|
|
1024
|
+
version: 1;
|
|
944
1025
|
items: {
|
|
945
1026
|
message: string;
|
|
946
|
-
level: string;
|
|
947
1027
|
timestamp: string;
|
|
1028
|
+
level: string;
|
|
948
1029
|
attributes: Record<string, unknown>;
|
|
949
1030
|
}[];
|
|
950
|
-
version: 1;
|
|
951
1031
|
} | null | undefined;
|
|
952
1032
|
frontend?: {
|
|
953
1033
|
version: 1;
|
|
@@ -956,8 +1036,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
956
1036
|
html_excerpt: string;
|
|
957
1037
|
} | null;
|
|
958
1038
|
route_changes: {
|
|
959
|
-
from: string;
|
|
960
1039
|
to: string;
|
|
1040
|
+
from: string;
|
|
961
1041
|
ts: string;
|
|
962
1042
|
}[];
|
|
963
1043
|
clicks: {
|
|
@@ -996,19 +1076,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
996
1076
|
git?: {
|
|
997
1077
|
dirty: boolean;
|
|
998
1078
|
version: 1;
|
|
999
|
-
source: "unknown" | "config" | "env" | "local";
|
|
1000
1079
|
branch: string | null;
|
|
1080
|
+
source: "unknown" | "config" | "env" | "local";
|
|
1001
1081
|
commit: string | null;
|
|
1002
1082
|
commit_short: string | null;
|
|
1003
1083
|
repo: string | null;
|
|
1004
1084
|
} | null | undefined;
|
|
1005
1085
|
dependencies?: {
|
|
1086
|
+
version: 1;
|
|
1006
1087
|
items: {
|
|
1007
1088
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
1008
1089
|
name: string;
|
|
1009
1090
|
notes: string | null;
|
|
1010
1091
|
}[];
|
|
1011
|
-
version: 1;
|
|
1012
1092
|
} | null | undefined;
|
|
1013
1093
|
}, {
|
|
1014
1094
|
environment?: {
|
|
@@ -1039,6 +1119,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1039
1119
|
runtime_version: string | null;
|
|
1040
1120
|
framework_extras?: Record<string, unknown> | null | undefined;
|
|
1041
1121
|
} | null | undefined;
|
|
1122
|
+
request?: {
|
|
1123
|
+
path: string;
|
|
1124
|
+
query: Record<string, unknown>;
|
|
1125
|
+
request_id: string | null;
|
|
1126
|
+
version: 1;
|
|
1127
|
+
method: string;
|
|
1128
|
+
headers: Record<string, unknown>;
|
|
1129
|
+
route_template: string | null;
|
|
1130
|
+
body?: unknown;
|
|
1131
|
+
} | null | undefined;
|
|
1132
|
+
response?: {
|
|
1133
|
+
duration_ms: number | null;
|
|
1134
|
+
version: 1;
|
|
1135
|
+
status_code: number;
|
|
1136
|
+
body?: unknown;
|
|
1137
|
+
headers?: Record<string, unknown> | undefined;
|
|
1138
|
+
} | null | undefined;
|
|
1139
|
+
probe_data?: {
|
|
1140
|
+
version: 1;
|
|
1141
|
+
items: {
|
|
1142
|
+
label: string;
|
|
1143
|
+
data: Record<string, unknown>;
|
|
1144
|
+
timestamp: string;
|
|
1145
|
+
activation_id: string | null;
|
|
1146
|
+
}[];
|
|
1147
|
+
} | null | undefined;
|
|
1042
1148
|
device?: {
|
|
1043
1149
|
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1044
1150
|
language: string | null;
|
|
@@ -1065,23 +1171,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1065
1171
|
connection_type: string | null;
|
|
1066
1172
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1067
1173
|
} | null | undefined;
|
|
1068
|
-
request?: {
|
|
1069
|
-
path: string;
|
|
1070
|
-
query: Record<string, unknown>;
|
|
1071
|
-
version: 1;
|
|
1072
|
-
headers: Record<string, unknown>;
|
|
1073
|
-
method: string;
|
|
1074
|
-
request_id: string | null;
|
|
1075
|
-
route_template: string | null;
|
|
1076
|
-
body?: unknown;
|
|
1077
|
-
} | null | undefined;
|
|
1078
|
-
response?: {
|
|
1079
|
-
duration_ms: number | null;
|
|
1080
|
-
version: 1;
|
|
1081
|
-
status_code: number;
|
|
1082
|
-
body?: unknown;
|
|
1083
|
-
headers?: Record<string, unknown> | undefined;
|
|
1084
|
-
} | null | undefined;
|
|
1085
1174
|
error?: {
|
|
1086
1175
|
message: string;
|
|
1087
1176
|
name: string;
|
|
@@ -1090,15 +1179,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1090
1179
|
handled: boolean;
|
|
1091
1180
|
top_frames: string[];
|
|
1092
1181
|
} | null | undefined;
|
|
1093
|
-
probe_data?: {
|
|
1094
|
-
items: {
|
|
1095
|
-
data: Record<string, unknown>;
|
|
1096
|
-
label: string;
|
|
1097
|
-
timestamp: string;
|
|
1098
|
-
activation_id: string | null;
|
|
1099
|
-
}[];
|
|
1100
|
-
version: 1;
|
|
1101
|
-
} | null | undefined;
|
|
1102
1182
|
resource_failure?: {
|
|
1103
1183
|
path: string;
|
|
1104
1184
|
type: string | null;
|
|
@@ -1120,15 +1200,29 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1120
1200
|
provider: string | null;
|
|
1121
1201
|
optional_candidate: boolean;
|
|
1122
1202
|
diagnosis: string;
|
|
1203
|
+
interruption?: {
|
|
1204
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
1205
|
+
ready_state: "loading" | "interactive";
|
|
1206
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
1207
|
+
target_tag_name: "link";
|
|
1208
|
+
} | undefined;
|
|
1209
|
+
recovery_failures?: {
|
|
1210
|
+
path: string;
|
|
1211
|
+
occurred_at: string;
|
|
1212
|
+
method: string;
|
|
1213
|
+
status_code: number;
|
|
1214
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
1215
|
+
delay_ms: number;
|
|
1216
|
+
}[] | undefined;
|
|
1123
1217
|
} | undefined;
|
|
1124
1218
|
logs?: {
|
|
1219
|
+
version: 1;
|
|
1125
1220
|
items: {
|
|
1126
1221
|
message: string;
|
|
1127
|
-
level: string;
|
|
1128
1222
|
timestamp: string;
|
|
1223
|
+
level: string;
|
|
1129
1224
|
attributes: Record<string, unknown>;
|
|
1130
1225
|
}[];
|
|
1131
|
-
version: 1;
|
|
1132
1226
|
} | null | undefined;
|
|
1133
1227
|
frontend?: {
|
|
1134
1228
|
version: 1;
|
|
@@ -1137,8 +1231,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1137
1231
|
html_excerpt: string;
|
|
1138
1232
|
} | null;
|
|
1139
1233
|
route_changes: {
|
|
1140
|
-
from: string;
|
|
1141
1234
|
to: string;
|
|
1235
|
+
from: string;
|
|
1142
1236
|
ts: string;
|
|
1143
1237
|
}[];
|
|
1144
1238
|
clicks: {
|
|
@@ -1177,19 +1271,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1177
1271
|
git?: {
|
|
1178
1272
|
dirty: boolean;
|
|
1179
1273
|
version: 1;
|
|
1180
|
-
source: "unknown" | "config" | "env" | "local";
|
|
1181
1274
|
branch: string | null;
|
|
1275
|
+
source: "unknown" | "config" | "env" | "local";
|
|
1182
1276
|
commit: string | null;
|
|
1183
1277
|
commit_short: string | null;
|
|
1184
1278
|
repo: string | null;
|
|
1185
1279
|
} | null | undefined;
|
|
1186
1280
|
dependencies?: {
|
|
1281
|
+
version: 1;
|
|
1187
1282
|
items: {
|
|
1188
1283
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
1189
1284
|
name: string;
|
|
1190
1285
|
notes: string | null;
|
|
1191
1286
|
}[];
|
|
1192
|
-
version: 1;
|
|
1193
1287
|
} | null | undefined;
|
|
1194
1288
|
}>;
|
|
1195
1289
|
reproduction: z.ZodObject<{
|
|
@@ -1207,14 +1301,14 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1207
1301
|
body: z.ZodNullable<z.ZodUnknown>;
|
|
1208
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1209
1303
|
url: string;
|
|
1210
|
-
headers: Record<string, unknown>;
|
|
1211
1304
|
method: string;
|
|
1305
|
+
headers: Record<string, unknown>;
|
|
1212
1306
|
query?: Record<string, unknown> | undefined;
|
|
1213
1307
|
body?: unknown;
|
|
1214
1308
|
}, {
|
|
1215
1309
|
url: string;
|
|
1216
|
-
headers: Record<string, unknown>;
|
|
1217
1310
|
method: string;
|
|
1311
|
+
headers: Record<string, unknown>;
|
|
1218
1312
|
query?: Record<string, unknown> | undefined;
|
|
1219
1313
|
body?: unknown;
|
|
1220
1314
|
}>>;
|
|
@@ -1223,8 +1317,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1223
1317
|
httpie: string | null;
|
|
1224
1318
|
json_spec: {
|
|
1225
1319
|
url: string;
|
|
1226
|
-
headers: Record<string, unknown>;
|
|
1227
1320
|
method: string;
|
|
1321
|
+
headers: Record<string, unknown>;
|
|
1228
1322
|
query?: Record<string, unknown> | undefined;
|
|
1229
1323
|
body?: unknown;
|
|
1230
1324
|
} | null;
|
|
@@ -1233,8 +1327,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1233
1327
|
httpie: string | null;
|
|
1234
1328
|
json_spec: {
|
|
1235
1329
|
url: string;
|
|
1236
|
-
headers: Record<string, unknown>;
|
|
1237
1330
|
method: string;
|
|
1331
|
+
headers: Record<string, unknown>;
|
|
1238
1332
|
query?: Record<string, unknown> | undefined;
|
|
1239
1333
|
body?: unknown;
|
|
1240
1334
|
} | null;
|
|
@@ -1267,8 +1361,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1267
1361
|
httpie: string | null;
|
|
1268
1362
|
json_spec: {
|
|
1269
1363
|
url: string;
|
|
1270
|
-
headers: Record<string, unknown>;
|
|
1271
1364
|
method: string;
|
|
1365
|
+
headers: Record<string, unknown>;
|
|
1272
1366
|
query?: Record<string, unknown> | undefined;
|
|
1273
1367
|
body?: unknown;
|
|
1274
1368
|
} | null;
|
|
@@ -1289,8 +1383,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1289
1383
|
httpie: string | null;
|
|
1290
1384
|
json_spec: {
|
|
1291
1385
|
url: string;
|
|
1292
|
-
headers: Record<string, unknown>;
|
|
1293
1386
|
method: string;
|
|
1387
|
+
headers: Record<string, unknown>;
|
|
1294
1388
|
query?: Record<string, unknown> | undefined;
|
|
1295
1389
|
body?: unknown;
|
|
1296
1390
|
} | null;
|
|
@@ -1326,16 +1420,16 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1326
1420
|
project: z.ZodNullable<z.ZodString>;
|
|
1327
1421
|
docs: z.ZodNullable<z.ZodString>;
|
|
1328
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1423
|
+
incident: string | null;
|
|
1329
1424
|
project: string | null;
|
|
1330
1425
|
self: string | null;
|
|
1331
1426
|
reproduction: string | null;
|
|
1332
|
-
incident: string | null;
|
|
1333
1427
|
docs: string | null;
|
|
1334
1428
|
}, {
|
|
1429
|
+
incident: string | null;
|
|
1335
1430
|
project: string | null;
|
|
1336
1431
|
self: string | null;
|
|
1337
1432
|
reproduction: string | null;
|
|
1338
|
-
incident: string | null;
|
|
1339
1433
|
docs: string | null;
|
|
1340
1434
|
}>;
|
|
1341
1435
|
redaction: z.ZodObject<{
|
|
@@ -1368,6 +1462,11 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1368
1462
|
generation_number: number;
|
|
1369
1463
|
}>;
|
|
1370
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
|
+
project: {
|
|
1466
|
+
environment: string;
|
|
1467
|
+
id: string;
|
|
1468
|
+
slug: string;
|
|
1469
|
+
};
|
|
1371
1470
|
signal: {
|
|
1372
1471
|
first_seen_at: string;
|
|
1373
1472
|
last_seen_at: string;
|
|
@@ -1408,11 +1507,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1408
1507
|
};
|
|
1409
1508
|
};
|
|
1410
1509
|
bundle_type: "failure" | "improvement";
|
|
1411
|
-
project: {
|
|
1412
|
-
environment: string;
|
|
1413
|
-
id: string;
|
|
1414
|
-
slug: string;
|
|
1415
|
-
};
|
|
1416
1510
|
redaction: {
|
|
1417
1511
|
fields: string[];
|
|
1418
1512
|
notes: string | null;
|
|
@@ -1453,6 +1547,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1453
1547
|
runtime_version: string | null;
|
|
1454
1548
|
framework_extras?: Record<string, unknown> | null | undefined;
|
|
1455
1549
|
} | null | undefined;
|
|
1550
|
+
request?: {
|
|
1551
|
+
path: string;
|
|
1552
|
+
query: Record<string, unknown>;
|
|
1553
|
+
request_id: string | null;
|
|
1554
|
+
version: 1;
|
|
1555
|
+
method: string;
|
|
1556
|
+
headers: Record<string, unknown>;
|
|
1557
|
+
route_template: string | null;
|
|
1558
|
+
body?: unknown;
|
|
1559
|
+
} | null | undefined;
|
|
1560
|
+
response?: {
|
|
1561
|
+
duration_ms: number | null;
|
|
1562
|
+
version: 1;
|
|
1563
|
+
status_code: number;
|
|
1564
|
+
body?: unknown;
|
|
1565
|
+
headers?: Record<string, unknown> | undefined;
|
|
1566
|
+
} | null | undefined;
|
|
1567
|
+
probe_data?: {
|
|
1568
|
+
version: 1;
|
|
1569
|
+
items: {
|
|
1570
|
+
label: string;
|
|
1571
|
+
data: Record<string, unknown>;
|
|
1572
|
+
timestamp: string;
|
|
1573
|
+
activation_id: string | null;
|
|
1574
|
+
}[];
|
|
1575
|
+
} | null | undefined;
|
|
1456
1576
|
device?: {
|
|
1457
1577
|
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1458
1578
|
language: string | null;
|
|
@@ -1479,23 +1599,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1479
1599
|
connection_type: string | null;
|
|
1480
1600
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1481
1601
|
} | null | undefined;
|
|
1482
|
-
request?: {
|
|
1483
|
-
path: string;
|
|
1484
|
-
query: Record<string, unknown>;
|
|
1485
|
-
version: 1;
|
|
1486
|
-
headers: Record<string, unknown>;
|
|
1487
|
-
method: string;
|
|
1488
|
-
request_id: string | null;
|
|
1489
|
-
route_template: string | null;
|
|
1490
|
-
body?: unknown;
|
|
1491
|
-
} | null | undefined;
|
|
1492
|
-
response?: {
|
|
1493
|
-
duration_ms: number | null;
|
|
1494
|
-
version: 1;
|
|
1495
|
-
status_code: number;
|
|
1496
|
-
body?: unknown;
|
|
1497
|
-
headers?: Record<string, unknown> | undefined;
|
|
1498
|
-
} | null | undefined;
|
|
1499
1602
|
error?: {
|
|
1500
1603
|
message: string;
|
|
1501
1604
|
name: string;
|
|
@@ -1504,15 +1607,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1504
1607
|
handled: boolean;
|
|
1505
1608
|
top_frames: string[];
|
|
1506
1609
|
} | null | undefined;
|
|
1507
|
-
probe_data?: {
|
|
1508
|
-
items: {
|
|
1509
|
-
data: Record<string, unknown>;
|
|
1510
|
-
label: string;
|
|
1511
|
-
timestamp: string;
|
|
1512
|
-
activation_id: string | null;
|
|
1513
|
-
}[];
|
|
1514
|
-
version: 1;
|
|
1515
|
-
} | null | undefined;
|
|
1516
1610
|
resource_failure?: {
|
|
1517
1611
|
path: string;
|
|
1518
1612
|
type: string | null;
|
|
@@ -1534,15 +1628,29 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1534
1628
|
provider: string | null;
|
|
1535
1629
|
optional_candidate: boolean;
|
|
1536
1630
|
diagnosis: string;
|
|
1631
|
+
interruption?: {
|
|
1632
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
1633
|
+
ready_state: "loading" | "interactive";
|
|
1634
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
1635
|
+
target_tag_name: "link";
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
recovery_failures?: {
|
|
1638
|
+
path: string;
|
|
1639
|
+
occurred_at: string;
|
|
1640
|
+
method: string;
|
|
1641
|
+
status_code: number;
|
|
1642
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
1643
|
+
delay_ms: number;
|
|
1644
|
+
}[] | undefined;
|
|
1537
1645
|
} | undefined;
|
|
1538
1646
|
logs?: {
|
|
1647
|
+
version: 1;
|
|
1539
1648
|
items: {
|
|
1540
1649
|
message: string;
|
|
1541
|
-
level: string;
|
|
1542
1650
|
timestamp: string;
|
|
1651
|
+
level: string;
|
|
1543
1652
|
attributes: Record<string, unknown>;
|
|
1544
1653
|
}[];
|
|
1545
|
-
version: 1;
|
|
1546
1654
|
} | null | undefined;
|
|
1547
1655
|
frontend?: {
|
|
1548
1656
|
version: 1;
|
|
@@ -1551,8 +1659,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1551
1659
|
html_excerpt: string;
|
|
1552
1660
|
} | null;
|
|
1553
1661
|
route_changes: {
|
|
1554
|
-
from: string;
|
|
1555
1662
|
to: string;
|
|
1663
|
+
from: string;
|
|
1556
1664
|
ts: string;
|
|
1557
1665
|
}[];
|
|
1558
1666
|
clicks: {
|
|
@@ -1591,19 +1699,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1591
1699
|
git?: {
|
|
1592
1700
|
dirty: boolean;
|
|
1593
1701
|
version: 1;
|
|
1594
|
-
source: "unknown" | "config" | "env" | "local";
|
|
1595
1702
|
branch: string | null;
|
|
1703
|
+
source: "unknown" | "config" | "env" | "local";
|
|
1596
1704
|
commit: string | null;
|
|
1597
1705
|
commit_short: string | null;
|
|
1598
1706
|
repo: string | null;
|
|
1599
1707
|
} | null | undefined;
|
|
1600
1708
|
dependencies?: {
|
|
1709
|
+
version: 1;
|
|
1601
1710
|
items: {
|
|
1602
1711
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
1603
1712
|
name: string;
|
|
1604
1713
|
notes: string | null;
|
|
1605
1714
|
}[];
|
|
1606
|
-
version: 1;
|
|
1607
1715
|
} | null | undefined;
|
|
1608
1716
|
};
|
|
1609
1717
|
reproduction: {
|
|
@@ -1615,8 +1723,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1615
1723
|
httpie: string | null;
|
|
1616
1724
|
json_spec: {
|
|
1617
1725
|
url: string;
|
|
1618
|
-
headers: Record<string, unknown>;
|
|
1619
1726
|
method: string;
|
|
1727
|
+
headers: Record<string, unknown>;
|
|
1620
1728
|
query?: Record<string, unknown> | undefined;
|
|
1621
1729
|
body?: unknown;
|
|
1622
1730
|
} | null;
|
|
@@ -1650,13 +1758,18 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1650
1758
|
production_verified: boolean;
|
|
1651
1759
|
};
|
|
1652
1760
|
links: {
|
|
1761
|
+
incident: string | null;
|
|
1653
1762
|
project: string | null;
|
|
1654
1763
|
self: string | null;
|
|
1655
1764
|
reproduction: string | null;
|
|
1656
|
-
incident: string | null;
|
|
1657
1765
|
docs: string | null;
|
|
1658
1766
|
};
|
|
1659
1767
|
}, {
|
|
1768
|
+
project: {
|
|
1769
|
+
environment: string;
|
|
1770
|
+
id: string;
|
|
1771
|
+
slug: string;
|
|
1772
|
+
};
|
|
1660
1773
|
signal: {
|
|
1661
1774
|
first_seen_at: string;
|
|
1662
1775
|
last_seen_at: string;
|
|
@@ -1697,11 +1810,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1697
1810
|
};
|
|
1698
1811
|
};
|
|
1699
1812
|
bundle_type: "failure" | "improvement";
|
|
1700
|
-
project: {
|
|
1701
|
-
environment: string;
|
|
1702
|
-
id: string;
|
|
1703
|
-
slug: string;
|
|
1704
|
-
};
|
|
1705
1813
|
redaction: {
|
|
1706
1814
|
fields: string[];
|
|
1707
1815
|
notes: string | null;
|
|
@@ -1742,6 +1850,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1742
1850
|
runtime_version: string | null;
|
|
1743
1851
|
framework_extras?: Record<string, unknown> | null | undefined;
|
|
1744
1852
|
} | null | undefined;
|
|
1853
|
+
request?: {
|
|
1854
|
+
path: string;
|
|
1855
|
+
query: Record<string, unknown>;
|
|
1856
|
+
request_id: string | null;
|
|
1857
|
+
version: 1;
|
|
1858
|
+
method: string;
|
|
1859
|
+
headers: Record<string, unknown>;
|
|
1860
|
+
route_template: string | null;
|
|
1861
|
+
body?: unknown;
|
|
1862
|
+
} | null | undefined;
|
|
1863
|
+
response?: {
|
|
1864
|
+
duration_ms: number | null;
|
|
1865
|
+
version: 1;
|
|
1866
|
+
status_code: number;
|
|
1867
|
+
body?: unknown;
|
|
1868
|
+
headers?: Record<string, unknown> | undefined;
|
|
1869
|
+
} | null | undefined;
|
|
1870
|
+
probe_data?: {
|
|
1871
|
+
version: 1;
|
|
1872
|
+
items: {
|
|
1873
|
+
label: string;
|
|
1874
|
+
data: Record<string, unknown>;
|
|
1875
|
+
timestamp: string;
|
|
1876
|
+
activation_id: string | null;
|
|
1877
|
+
}[];
|
|
1878
|
+
} | null | undefined;
|
|
1745
1879
|
device?: {
|
|
1746
1880
|
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1747
1881
|
language: string | null;
|
|
@@ -1768,23 +1902,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1768
1902
|
connection_type: string | null;
|
|
1769
1903
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1770
1904
|
} | null | undefined;
|
|
1771
|
-
request?: {
|
|
1772
|
-
path: string;
|
|
1773
|
-
query: Record<string, unknown>;
|
|
1774
|
-
version: 1;
|
|
1775
|
-
headers: Record<string, unknown>;
|
|
1776
|
-
method: string;
|
|
1777
|
-
request_id: string | null;
|
|
1778
|
-
route_template: string | null;
|
|
1779
|
-
body?: unknown;
|
|
1780
|
-
} | null | undefined;
|
|
1781
|
-
response?: {
|
|
1782
|
-
duration_ms: number | null;
|
|
1783
|
-
version: 1;
|
|
1784
|
-
status_code: number;
|
|
1785
|
-
body?: unknown;
|
|
1786
|
-
headers?: Record<string, unknown> | undefined;
|
|
1787
|
-
} | null | undefined;
|
|
1788
1905
|
error?: {
|
|
1789
1906
|
message: string;
|
|
1790
1907
|
name: string;
|
|
@@ -1793,15 +1910,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1793
1910
|
handled: boolean;
|
|
1794
1911
|
top_frames: string[];
|
|
1795
1912
|
} | null | undefined;
|
|
1796
|
-
probe_data?: {
|
|
1797
|
-
items: {
|
|
1798
|
-
data: Record<string, unknown>;
|
|
1799
|
-
label: string;
|
|
1800
|
-
timestamp: string;
|
|
1801
|
-
activation_id: string | null;
|
|
1802
|
-
}[];
|
|
1803
|
-
version: 1;
|
|
1804
|
-
} | null | undefined;
|
|
1805
1913
|
resource_failure?: {
|
|
1806
1914
|
path: string;
|
|
1807
1915
|
type: string | null;
|
|
@@ -1823,15 +1931,29 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1823
1931
|
provider: string | null;
|
|
1824
1932
|
optional_candidate: boolean;
|
|
1825
1933
|
diagnosis: string;
|
|
1934
|
+
interruption?: {
|
|
1935
|
+
rel: "preload" | "modulepreload" | "prefetch";
|
|
1936
|
+
ready_state: "loading" | "interactive";
|
|
1937
|
+
visibility_state: "hidden" | "prerender" | "unloaded";
|
|
1938
|
+
target_tag_name: "link";
|
|
1939
|
+
} | undefined;
|
|
1940
|
+
recovery_failures?: {
|
|
1941
|
+
path: string;
|
|
1942
|
+
occurred_at: string;
|
|
1943
|
+
method: string;
|
|
1944
|
+
status_code: number;
|
|
1945
|
+
source: "request_event" | "frontend_breadcrumb";
|
|
1946
|
+
delay_ms: number;
|
|
1947
|
+
}[] | undefined;
|
|
1826
1948
|
} | undefined;
|
|
1827
1949
|
logs?: {
|
|
1950
|
+
version: 1;
|
|
1828
1951
|
items: {
|
|
1829
1952
|
message: string;
|
|
1830
|
-
level: string;
|
|
1831
1953
|
timestamp: string;
|
|
1954
|
+
level: string;
|
|
1832
1955
|
attributes: Record<string, unknown>;
|
|
1833
1956
|
}[];
|
|
1834
|
-
version: 1;
|
|
1835
1957
|
} | null | undefined;
|
|
1836
1958
|
frontend?: {
|
|
1837
1959
|
version: 1;
|
|
@@ -1840,8 +1962,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1840
1962
|
html_excerpt: string;
|
|
1841
1963
|
} | null;
|
|
1842
1964
|
route_changes: {
|
|
1843
|
-
from: string;
|
|
1844
1965
|
to: string;
|
|
1966
|
+
from: string;
|
|
1845
1967
|
ts: string;
|
|
1846
1968
|
}[];
|
|
1847
1969
|
clicks: {
|
|
@@ -1880,19 +2002,19 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1880
2002
|
git?: {
|
|
1881
2003
|
dirty: boolean;
|
|
1882
2004
|
version: 1;
|
|
1883
|
-
source: "unknown" | "config" | "env" | "local";
|
|
1884
2005
|
branch: string | null;
|
|
2006
|
+
source: "unknown" | "config" | "env" | "local";
|
|
1885
2007
|
commit: string | null;
|
|
1886
2008
|
commit_short: string | null;
|
|
1887
2009
|
repo: string | null;
|
|
1888
2010
|
} | null | undefined;
|
|
1889
2011
|
dependencies?: {
|
|
2012
|
+
version: 1;
|
|
1890
2013
|
items: {
|
|
1891
2014
|
status: "unknown" | "failed" | "ok" | "degraded";
|
|
1892
2015
|
name: string;
|
|
1893
2016
|
notes: string | null;
|
|
1894
2017
|
}[];
|
|
1895
|
-
version: 1;
|
|
1896
2018
|
} | null | undefined;
|
|
1897
2019
|
};
|
|
1898
2020
|
reproduction: {
|
|
@@ -1904,8 +2026,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1904
2026
|
httpie: string | null;
|
|
1905
2027
|
json_spec: {
|
|
1906
2028
|
url: string;
|
|
1907
|
-
headers: Record<string, unknown>;
|
|
1908
2029
|
method: string;
|
|
2030
|
+
headers: Record<string, unknown>;
|
|
1909
2031
|
query?: Record<string, unknown> | undefined;
|
|
1910
2032
|
body?: unknown;
|
|
1911
2033
|
} | null;
|
|
@@ -1939,10 +2061,10 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
1939
2061
|
production_verified: boolean;
|
|
1940
2062
|
};
|
|
1941
2063
|
links: {
|
|
2064
|
+
incident: string | null;
|
|
1942
2065
|
project: string | null;
|
|
1943
2066
|
self: string | null;
|
|
1944
2067
|
reproduction: string | null;
|
|
1945
|
-
incident: string | null;
|
|
1946
2068
|
docs: string | null;
|
|
1947
2069
|
};
|
|
1948
2070
|
}>;
|
|
@@ -1950,7 +2072,7 @@ export type BundleV1 = z.infer<typeof BundleV1Schema>;
|
|
|
1950
2072
|
export { MAX_BILLING_ADDITIONAL_CAPACITY_UNITS, TIER_CAPABILITIES, getTierCapabilities, isSelfHostMode, type TierName, type TierCapabilities } from "./tier-capabilities.js";
|
|
1951
2073
|
export { EventClassValues, EventClassSchema, type EventClass, CapturePresetValues, CapturePresetSchema, type CapturePreset, CaptureLogsSchema, CaptureRequestEventsSchema, CaptureBreadcrumbsSchema, CaptureProbeEventsSchema, ImmediateClientErrorStatusesSchema, ImmediateClientErrorPathRuleSchema, ImmediateClientErrorPathRulesSchema, HTTP_METHOD_VALUES, RECOMMENDED_IMMEDIATE_CLIENT_ERROR_STATUSES, type CaptureLogs, type CaptureRequestEvents, type CaptureBreadcrumbs, type CaptureProbeEvents, type HttpMethod, type ImmediateClientErrorPathRule, ResolvedCapturePolicySchema, type ResolvedCapturePolicy, CapturePolicyOverridesSchema, type CapturePolicyOverrides, CapturePolicyResponseSchema, type CapturePolicyResponse, CapturePolicySchema, type CapturePolicyRecord, CapturePolicyUpdateSchema, type CapturePolicyUpdate, PRESET_DEFAULTS, DEFAULT_PRESET_BY_TIER, RequestSignalClassificationValues, RequestSignalClassificationSchema, type RequestSignalClassification, normalizeImmediateClientErrorStatuses, normalizeImmediateClientErrorPathRules, getCapturePolicyOverrides, resolvePolicy, getDefaultPreset, classifyRequestStatus, isImmediateRequestIncident, matchesImmediateClientErrorPathRule, getRequestAnomalyThreshold, shouldCaptureEvent } from "./capture-policy.js";
|
|
1952
2074
|
export { isLowValueExternalProbeRequestFailure404 } from "./request-failure-noise.js";
|
|
1953
|
-
export { CaptureRuleActionValues, CaptureRuleActionSchema, type CaptureRuleAction, CaptureRuleSampleEventClassValues, CaptureRuleSampleEventClassSchema, type CaptureRuleSampleEventClass, CaptureRuleRuntimeSchema, type CaptureRuleRuntime, CaptureRuleEventTypeSchema, type CaptureRuleEventType, BrowserEventKindSchema, type BrowserEventKind, CaptureRuleClientKindSchema, type CaptureRuleClientKind, CaptureRuleMatcherSchema, type CaptureRuleMatcher, CaptureRuleSchema, type CaptureRule, CaptureRuleResponseSchema, type CaptureRuleResponse, CaptureRulesResponseSchema, type CaptureRulesResponse, CaptureRuleCreateSchema, type CaptureRuleCreate, CaptureRuleUpdateSchema, type CaptureRuleUpdate, CaptureRulesFileSchema, type CaptureRulesFile, CaptureRuleEvaluationContextSchema, type CaptureRuleEvaluationContext, type CaptureRuleEvaluationResult, type CaptureRuleEvaluableEvent, buildCaptureRuleEvaluationContext, applyCaptureRuleEventClass, matchesCaptureRule, isCaptureRuleActive, getCaptureRuleSpecificityScore, shouldSampleCaptureRuleEvent, classifyCaptureRuleClientFromUserAgent, evaluateCaptureRules } from "./capture-rules.js";
|
|
2075
|
+
export { CaptureRuleActionValues, CaptureRuleActionSchema, type CaptureRuleAction, CaptureRuleSampleEventClassValues, CaptureRuleSampleEventClassSchema, type CaptureRuleSampleEventClass, CaptureRuleRuntimeSchema, type CaptureRuleRuntime, CaptureRuleEventTypeSchema, type CaptureRuleEventType, BrowserEventKindSchema, type BrowserEventKind, CaptureRuleClientKindSchema, type CaptureRuleClientKind, CaptureRuleMatcherSchema, type CaptureRuleMatcher, CaptureRuleSchema, type CaptureRule, CaptureRuleResponseSchema, type CaptureRuleResponse, CaptureRulesResponseSchema, type CaptureRulesResponse, CaptureRuleCreateSchema, type CaptureRuleCreate, CaptureRuleUpdateSchema, type CaptureRuleUpdate, CaptureRulesFileSchema, type CaptureRulesFile, CaptureRuleEvaluationContextSchema, type CaptureRuleEvaluationContext, type CaptureRuleEvaluationResult, type CaptureRuleEvaluableEvent, buildCaptureRuleEvaluationContext, applyCaptureRuleEventClass, matchesCaptureRule, isCaptureRuleActive, getCaptureRuleSpecificityScore, shouldSampleCaptureRuleEvent, classifyCaptureRuleClientFromUserAgent, captureRuleRequiresServerEvaluation, evaluateCaptureRules } from "./capture-rules.js";
|
|
1954
2076
|
export { CaptureRuleSuggestionConfidenceSchema, type CaptureRuleSuggestionConfidence, CaptureRuleSuggestionSchema, type CaptureRuleSuggestion, CaptureRuleSuggestionsResponseSchema, type CaptureRuleSuggestionsResponse, CreateCaptureRuleFromSuggestionSchema, type CreateCaptureRuleFromSuggestion, type CaptureRuleSuggestionIncident, type CaptureRuleSuggestionBundle, buildCaptureRuleSuggestions } from "./capture-rule-suggestions.js";
|
|
1955
2077
|
export { ImprovementBundleSensitivityValues, ImprovementBundleSensitivitySchema, type ImprovementBundleSensitivity, ImprovementSettingsSchema, type ImprovementSettings, ImprovementSettingsResponseSchema, type ImprovementSettingsResponse, ImprovementSettingsUpdateSchema, type ImprovementSettingsUpdate } from "./improvement-settings.js";
|
|
1956
2078
|
export * from "./analytics.js";
|