@nuxtseo/protocol 0.5.3 → 0.5.4
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/v1/gsc.d.ts +611 -0
- package/dist/v1/gsc.js +26 -1
- package/dist/v1/performance.d.ts +50 -18
- package/dist/v1/performance.js +7 -4
- package/generated/openapi.v1.json +1 -1
- package/package.json +2 -2
package/dist/v1/performance.d.ts
CHANGED
|
@@ -1013,6 +1013,7 @@ export declare const fieldVitalSummarySchema: import("./core.js").CompatibleResp
|
|
|
1013
1013
|
poor: "poor";
|
|
1014
1014
|
}>>;
|
|
1015
1015
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1016
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1016
1017
|
}, z.core.$strip>, z.ZodObject<{
|
|
1017
1018
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
1018
1019
|
readonly status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -1021,6 +1022,7 @@ export declare const fieldVitalSummarySchema: import("./core.js").CompatibleResp
|
|
|
1021
1022
|
poor: "poor";
|
|
1022
1023
|
}>>;
|
|
1023
1024
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1025
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1024
1026
|
}, z.core.$strip>>;
|
|
1025
1027
|
export declare const fieldVitalPointSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1026
1028
|
readonly date: z.ZodString;
|
|
@@ -1060,6 +1062,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1060
1062
|
poor: "poor";
|
|
1061
1063
|
}>>;
|
|
1062
1064
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1065
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1063
1066
|
}, z.core.$strip>;
|
|
1064
1067
|
inp: z.ZodObject<{
|
|
1065
1068
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1069,6 +1072,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1069
1072
|
poor: "poor";
|
|
1070
1073
|
}>>;
|
|
1071
1074
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1075
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1072
1076
|
}, z.core.$strip>;
|
|
1073
1077
|
cls: z.ZodObject<{
|
|
1074
1078
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1078,6 +1082,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1078
1082
|
poor: "poor";
|
|
1079
1083
|
}>>;
|
|
1080
1084
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1085
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1081
1086
|
}, z.core.$strip>;
|
|
1082
1087
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1083
1088
|
fail: "fail";
|
|
@@ -1126,6 +1131,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1126
1131
|
poor: "poor";
|
|
1127
1132
|
}>>;
|
|
1128
1133
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1134
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1129
1135
|
}, z.core.$strip>;
|
|
1130
1136
|
inp: z.ZodObject<{
|
|
1131
1137
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1135,6 +1141,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1135
1141
|
poor: "poor";
|
|
1136
1142
|
}>>;
|
|
1137
1143
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1144
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1138
1145
|
}, z.core.$strip>;
|
|
1139
1146
|
cls: z.ZodObject<{
|
|
1140
1147
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1144,6 +1151,7 @@ export declare const fieldVitalsDataSchema: import("./core.js").CompatibleRespon
|
|
|
1144
1151
|
poor: "poor";
|
|
1145
1152
|
}>>;
|
|
1146
1153
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1154
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1147
1155
|
}, z.core.$strip>;
|
|
1148
1156
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1149
1157
|
fail: "fail";
|
|
@@ -1194,6 +1202,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1194
1202
|
poor: "poor";
|
|
1195
1203
|
}>>;
|
|
1196
1204
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1205
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1197
1206
|
}, z.core.$strip>;
|
|
1198
1207
|
inp: z.ZodObject<{
|
|
1199
1208
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1203,6 +1212,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1203
1212
|
poor: "poor";
|
|
1204
1213
|
}>>;
|
|
1205
1214
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1215
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1206
1216
|
}, z.core.$strip>;
|
|
1207
1217
|
cls: z.ZodObject<{
|
|
1208
1218
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1212,6 +1222,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1212
1222
|
poor: "poor";
|
|
1213
1223
|
}>>;
|
|
1214
1224
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1225
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1215
1226
|
}, z.core.$strip>;
|
|
1216
1227
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1217
1228
|
fail: "fail";
|
|
@@ -1266,6 +1277,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1266
1277
|
poor: "poor";
|
|
1267
1278
|
}>>;
|
|
1268
1279
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1280
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1269
1281
|
}, z.core.$strip>;
|
|
1270
1282
|
inp: z.ZodObject<{
|
|
1271
1283
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1275,6 +1287,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1275
1287
|
poor: "poor";
|
|
1276
1288
|
}>>;
|
|
1277
1289
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1290
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1278
1291
|
}, z.core.$strip>;
|
|
1279
1292
|
cls: z.ZodObject<{
|
|
1280
1293
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1284,6 +1297,7 @@ export declare const fieldVitalsResponseSchema: import("./core.js").CompatibleRe
|
|
|
1284
1297
|
poor: "poor";
|
|
1285
1298
|
}>>;
|
|
1286
1299
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1300
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1287
1301
|
}, z.core.$strip>;
|
|
1288
1302
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1289
1303
|
fail: "fail";
|
|
@@ -1377,6 +1391,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1377
1391
|
poor: "poor";
|
|
1378
1392
|
}>>;
|
|
1379
1393
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1394
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1380
1395
|
}, z.core.$strip>;
|
|
1381
1396
|
inp: z.ZodObject<{
|
|
1382
1397
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1386,6 +1401,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1386
1401
|
poor: "poor";
|
|
1387
1402
|
}>>;
|
|
1388
1403
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1404
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1389
1405
|
}, z.core.$strip>;
|
|
1390
1406
|
cls: z.ZodObject<{
|
|
1391
1407
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1395,6 +1411,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1395
1411
|
poor: "poor";
|
|
1396
1412
|
}>>;
|
|
1397
1413
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1414
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1398
1415
|
}, z.core.$strip>;
|
|
1399
1416
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1400
1417
|
fail: "fail";
|
|
@@ -1449,6 +1466,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1449
1466
|
poor: "poor";
|
|
1450
1467
|
}>>;
|
|
1451
1468
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1469
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1452
1470
|
}, z.core.$strip>;
|
|
1453
1471
|
inp: z.ZodObject<{
|
|
1454
1472
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1458,6 +1476,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1458
1476
|
poor: "poor";
|
|
1459
1477
|
}>>;
|
|
1460
1478
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1479
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1461
1480
|
}, z.core.$strip>;
|
|
1462
1481
|
cls: z.ZodObject<{
|
|
1463
1482
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1467,6 +1486,7 @@ export declare const fieldVitalsOperation: {
|
|
|
1467
1486
|
poor: "poor";
|
|
1468
1487
|
}>>;
|
|
1469
1488
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1489
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
1470
1490
|
}, z.core.$strip>;
|
|
1471
1491
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
1472
1492
|
fail: "fail";
|
|
@@ -1595,16 +1615,19 @@ export declare const fieldVitalsOperation: {
|
|
|
1595
1615
|
readonly p75: 2400;
|
|
1596
1616
|
readonly status: 'needs-improvement';
|
|
1597
1617
|
readonly deltaOverPeriod: -150;
|
|
1618
|
+
readonly asOf: '2026-08-24';
|
|
1598
1619
|
};
|
|
1599
1620
|
readonly inp: {
|
|
1600
1621
|
readonly p75: 180;
|
|
1601
1622
|
readonly status: 'good';
|
|
1602
1623
|
readonly deltaOverPeriod: 10;
|
|
1624
|
+
readonly asOf: '2026-08-24';
|
|
1603
1625
|
};
|
|
1604
1626
|
readonly cls: {
|
|
1605
1627
|
readonly p75: 0.08;
|
|
1606
1628
|
readonly status: 'good';
|
|
1607
1629
|
readonly deltaOverPeriod: null;
|
|
1630
|
+
readonly asOf: '2026-08-24';
|
|
1608
1631
|
};
|
|
1609
1632
|
readonly overall: 'ni';
|
|
1610
1633
|
readonly asOf: '2026-08-24';
|
|
@@ -2660,11 +2683,11 @@ export declare const scanThirdPartySchema: import("./core.js").CompatibleRespons
|
|
|
2660
2683
|
export declare const lcpObservedTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2661
2684
|
_tag: z.ZodLiteral<"available">;
|
|
2662
2685
|
basis: z.ZodLiteral<"observed">;
|
|
2663
|
-
throttlingMethod: z.ZodEnum<{
|
|
2686
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
2664
2687
|
devtools: "devtools";
|
|
2665
2688
|
provided: "provided";
|
|
2666
2689
|
simulate: "simulate";
|
|
2667
|
-
}
|
|
2690
|
+
}>>;
|
|
2668
2691
|
observedLcpMs: z.ZodNumber;
|
|
2669
2692
|
phases: z.ZodArray<z.ZodObject<{
|
|
2670
2693
|
id: z.ZodEnum<{
|
|
@@ -2712,11 +2735,11 @@ export declare const performanceScanDetailDataSchema: import("./core.js").Compat
|
|
|
2712
2735
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2713
2736
|
_tag: z.ZodLiteral<"available">;
|
|
2714
2737
|
basis: z.ZodLiteral<"observed">;
|
|
2715
|
-
throttlingMethod: z.ZodEnum<{
|
|
2738
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
2716
2739
|
devtools: "devtools";
|
|
2717
2740
|
provided: "provided";
|
|
2718
2741
|
simulate: "simulate";
|
|
2719
|
-
}
|
|
2742
|
+
}>>;
|
|
2720
2743
|
observedLcpMs: z.ZodNumber;
|
|
2721
2744
|
phases: z.ZodArray<z.ZodObject<{
|
|
2722
2745
|
id: z.ZodEnum<{
|
|
@@ -2836,11 +2859,11 @@ export declare const performanceScanDetailDataSchema: import("./core.js").Compat
|
|
|
2836
2859
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2837
2860
|
_tag: z.ZodLiteral<"available">;
|
|
2838
2861
|
basis: z.ZodLiteral<"observed">;
|
|
2839
|
-
throttlingMethod: z.ZodEnum<{
|
|
2862
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
2840
2863
|
devtools: "devtools";
|
|
2841
2864
|
provided: "provided";
|
|
2842
2865
|
simulate: "simulate";
|
|
2843
|
-
}
|
|
2866
|
+
}>>;
|
|
2844
2867
|
observedLcpMs: z.ZodNumber;
|
|
2845
2868
|
phases: z.ZodArray<z.ZodObject<{
|
|
2846
2869
|
id: z.ZodEnum<{
|
|
@@ -2960,11 +2983,11 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
2960
2983
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2961
2984
|
_tag: z.ZodLiteral<"available">;
|
|
2962
2985
|
basis: z.ZodLiteral<"observed">;
|
|
2963
|
-
throttlingMethod: z.ZodEnum<{
|
|
2986
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
2964
2987
|
devtools: "devtools";
|
|
2965
2988
|
provided: "provided";
|
|
2966
2989
|
simulate: "simulate";
|
|
2967
|
-
}
|
|
2990
|
+
}>>;
|
|
2968
2991
|
observedLcpMs: z.ZodNumber;
|
|
2969
2992
|
phases: z.ZodArray<z.ZodObject<{
|
|
2970
2993
|
id: z.ZodEnum<{
|
|
@@ -3090,11 +3113,11 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
3090
3113
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3091
3114
|
_tag: z.ZodLiteral<"available">;
|
|
3092
3115
|
basis: z.ZodLiteral<"observed">;
|
|
3093
|
-
throttlingMethod: z.ZodEnum<{
|
|
3116
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
3094
3117
|
devtools: "devtools";
|
|
3095
3118
|
provided: "provided";
|
|
3096
3119
|
simulate: "simulate";
|
|
3097
|
-
}
|
|
3120
|
+
}>>;
|
|
3098
3121
|
observedLcpMs: z.ZodNumber;
|
|
3099
3122
|
phases: z.ZodArray<z.ZodObject<{
|
|
3100
3123
|
id: z.ZodEnum<{
|
|
@@ -3247,11 +3270,11 @@ export declare const performanceScanDetailOperation: {
|
|
|
3247
3270
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3248
3271
|
_tag: z.ZodLiteral<"available">;
|
|
3249
3272
|
basis: z.ZodLiteral<"observed">;
|
|
3250
|
-
throttlingMethod: z.ZodEnum<{
|
|
3273
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
3251
3274
|
devtools: "devtools";
|
|
3252
3275
|
provided: "provided";
|
|
3253
3276
|
simulate: "simulate";
|
|
3254
|
-
}
|
|
3277
|
+
}>>;
|
|
3255
3278
|
observedLcpMs: z.ZodNumber;
|
|
3256
3279
|
phases: z.ZodArray<z.ZodObject<{
|
|
3257
3280
|
id: z.ZodEnum<{
|
|
@@ -3377,11 +3400,11 @@ export declare const performanceScanDetailOperation: {
|
|
|
3377
3400
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3378
3401
|
_tag: z.ZodLiteral<"available">;
|
|
3379
3402
|
basis: z.ZodLiteral<"observed">;
|
|
3380
|
-
throttlingMethod: z.ZodEnum<{
|
|
3403
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
3381
3404
|
devtools: "devtools";
|
|
3382
3405
|
provided: "provided";
|
|
3383
3406
|
simulate: "simulate";
|
|
3384
|
-
}
|
|
3407
|
+
}>>;
|
|
3385
3408
|
observedLcpMs: z.ZodNumber;
|
|
3386
3409
|
phases: z.ZodArray<z.ZodObject<{
|
|
3387
3410
|
id: z.ZodEnum<{
|
|
@@ -4063,6 +4086,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4063
4086
|
poor: "poor";
|
|
4064
4087
|
}>>;
|
|
4065
4088
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4089
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4066
4090
|
}, z.core.$strip>;
|
|
4067
4091
|
inp: z.ZodObject<{
|
|
4068
4092
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4072,6 +4096,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4072
4096
|
poor: "poor";
|
|
4073
4097
|
}>>;
|
|
4074
4098
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4099
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4075
4100
|
}, z.core.$strip>;
|
|
4076
4101
|
cls: z.ZodObject<{
|
|
4077
4102
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4081,6 +4106,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4081
4106
|
poor: "poor";
|
|
4082
4107
|
}>>;
|
|
4083
4108
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4109
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4084
4110
|
}, z.core.$strip>;
|
|
4085
4111
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
4086
4112
|
fail: "fail";
|
|
@@ -4135,6 +4161,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4135
4161
|
poor: "poor";
|
|
4136
4162
|
}>>;
|
|
4137
4163
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4164
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4138
4165
|
}, z.core.$strip>;
|
|
4139
4166
|
inp: z.ZodObject<{
|
|
4140
4167
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4144,6 +4171,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4144
4171
|
poor: "poor";
|
|
4145
4172
|
}>>;
|
|
4146
4173
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4174
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4147
4175
|
}, z.core.$strip>;
|
|
4148
4176
|
cls: z.ZodObject<{
|
|
4149
4177
|
readonly p75: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4153,6 +4181,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4153
4181
|
poor: "poor";
|
|
4154
4182
|
}>>;
|
|
4155
4183
|
readonly deltaOverPeriod: z.ZodNullable<z.ZodNumber>;
|
|
4184
|
+
readonly asOf: z.ZodNullable<z.ZodString>;
|
|
4156
4185
|
}, z.core.$strip>;
|
|
4157
4186
|
overall: z.ZodNullable<z.ZodEnum<{
|
|
4158
4187
|
fail: "fail";
|
|
@@ -4281,16 +4310,19 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4281
4310
|
readonly p75: 2400;
|
|
4282
4311
|
readonly status: 'needs-improvement';
|
|
4283
4312
|
readonly deltaOverPeriod: -150;
|
|
4313
|
+
readonly asOf: '2026-08-24';
|
|
4284
4314
|
};
|
|
4285
4315
|
readonly inp: {
|
|
4286
4316
|
readonly p75: 180;
|
|
4287
4317
|
readonly status: 'good';
|
|
4288
4318
|
readonly deltaOverPeriod: 10;
|
|
4319
|
+
readonly asOf: '2026-08-24';
|
|
4289
4320
|
};
|
|
4290
4321
|
readonly cls: {
|
|
4291
4322
|
readonly p75: 0.08;
|
|
4292
4323
|
readonly status: 'good';
|
|
4293
4324
|
readonly deltaOverPeriod: null;
|
|
4325
|
+
readonly asOf: '2026-08-24';
|
|
4294
4326
|
};
|
|
4295
4327
|
readonly overall: 'ni';
|
|
4296
4328
|
readonly asOf: '2026-08-24';
|
|
@@ -4938,11 +4970,11 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4938
4970
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4939
4971
|
_tag: z.ZodLiteral<"available">;
|
|
4940
4972
|
basis: z.ZodLiteral<"observed">;
|
|
4941
|
-
throttlingMethod: z.ZodEnum<{
|
|
4973
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
4942
4974
|
devtools: "devtools";
|
|
4943
4975
|
provided: "provided";
|
|
4944
4976
|
simulate: "simulate";
|
|
4945
|
-
}
|
|
4977
|
+
}>>;
|
|
4946
4978
|
observedLcpMs: z.ZodNumber;
|
|
4947
4979
|
phases: z.ZodArray<z.ZodObject<{
|
|
4948
4980
|
id: z.ZodEnum<{
|
|
@@ -5068,11 +5100,11 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5068
5100
|
readonly observedTrace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5069
5101
|
_tag: z.ZodLiteral<"available">;
|
|
5070
5102
|
basis: z.ZodLiteral<"observed">;
|
|
5071
|
-
throttlingMethod: z.ZodEnum<{
|
|
5103
|
+
throttlingMethod: z.ZodNullable<z.ZodEnum<{
|
|
5072
5104
|
devtools: "devtools";
|
|
5073
5105
|
provided: "provided";
|
|
5074
5106
|
simulate: "simulate";
|
|
5075
|
-
}
|
|
5107
|
+
}>>;
|
|
5076
5108
|
observedLcpMs: z.ZodNumber;
|
|
5077
5109
|
phases: z.ZodArray<z.ZodObject<{
|
|
5078
5110
|
id: z.ZodEnum<{
|
package/dist/v1/performance.js
CHANGED
|
@@ -225,10 +225,12 @@ export const fieldVitalSummarySchema = defineResponseObject({
|
|
|
225
225
|
p75: schema.number().nullable(),
|
|
226
226
|
status: fieldVitalRatingSchema.nullable(),
|
|
227
227
|
deltaOverPeriod: schema.number().nullable(),
|
|
228
|
+
asOf: schema.string().min(1).nullable(),
|
|
228
229
|
}, {
|
|
229
230
|
p75: schema.number().nullable(),
|
|
230
231
|
status: fieldVitalRatingSchema.nullable(),
|
|
231
232
|
deltaOverPeriod: schema.number().nullable(),
|
|
233
|
+
asOf: schema.string().min(1).nullable(),
|
|
232
234
|
});
|
|
233
235
|
export const fieldVitalPointSchema = defineResponseObject({ date: schema.string().min(1), p75: schema.number().nullable() }, { date: schema.string().min(1), p75: schema.number().nullable() });
|
|
234
236
|
/**
|
|
@@ -330,9 +332,9 @@ export const fieldVitalsOperation = defineOperation({
|
|
|
330
332
|
available: true,
|
|
331
333
|
message: null,
|
|
332
334
|
summary: {
|
|
333
|
-
lcp: { p75: 2400, status: 'needs-improvement', deltaOverPeriod: -150 },
|
|
334
|
-
inp: { p75: 180, status: 'good', deltaOverPeriod: 10 },
|
|
335
|
-
cls: { p75: 0.08, status: 'good', deltaOverPeriod: null },
|
|
335
|
+
lcp: { p75: 2400, status: 'needs-improvement', deltaOverPeriod: -150, asOf: '2026-08-24' },
|
|
336
|
+
inp: { p75: 180, status: 'good', deltaOverPeriod: 10, asOf: '2026-08-24' },
|
|
337
|
+
cls: { p75: 0.08, status: 'good', deltaOverPeriod: null, asOf: '2026-08-24' },
|
|
336
338
|
overall: 'ni',
|
|
337
339
|
asOf: '2026-08-24',
|
|
338
340
|
},
|
|
@@ -736,7 +738,8 @@ export const lcpObservedTraceSchema = schema.discriminatedUnion('_tag', [
|
|
|
736
738
|
schema.strictObject({
|
|
737
739
|
_tag: schema.literal('available'),
|
|
738
740
|
basis: schema.literal('observed'),
|
|
739
|
-
|
|
741
|
+
// PSI can omit the method while retaining valid observed trace timings.
|
|
742
|
+
throttlingMethod: schema.enum(['simulate', 'provided', 'devtools']).nullable(),
|
|
740
743
|
observedLcpMs: schema.number().positive(),
|
|
741
744
|
phases: schema.array(schema.strictObject({
|
|
742
745
|
id: schema.enum(['timeToFirstByte', 'resourceLoadDelay', 'resourceLoadDuration', 'elementRenderDelay']),
|