@nuxtseo/protocol 0.5.7 → 0.5.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/v1/account.d.ts +2 -2
- package/dist/v1/account.js +1 -1
- package/dist/v1/actions.d.ts +31 -68
- package/dist/v1/actions.js +10 -21
- package/dist/v1/backlinks.d.ts +7 -7
- package/dist/v1/backlinks.js +2 -2
- package/dist/v1/gsc.d.ts +529 -0
- package/dist/v1/gsc.js +21 -1
- package/dist/v1/performance.d.ts +1452 -269
- package/dist/v1/performance.js +216 -44
- package/dist/v1/sitemaps.d.ts +1756 -160
- package/dist/v1/sitemaps.js +45 -0
- package/generated/openapi.v1.json +1 -1
- package/package.json +2 -2
package/dist/v1/performance.d.ts
CHANGED
|
@@ -1662,82 +1662,245 @@ export declare const fieldVitalFindingsQuerySchema: z.ZodObject<{
|
|
|
1662
1662
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1663
1663
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1664
1664
|
}, z.core.$strict>;
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1665
|
+
/**
|
|
1666
|
+
* One failing real-user vital attributed to a DOM element. The fields after
|
|
1667
|
+
* `selector` depend on `metric`: an LCP finding names its resource and phases,
|
|
1668
|
+
* an INP finding names the interaction. `fixPrompt` restates the same facts as
|
|
1669
|
+
* prose for an agent to apply.
|
|
1670
|
+
*/
|
|
1671
|
+
export declare const fieldVitalFindingSchema: {
|
|
1672
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1673
|
+
severity: z.ZodEnum<{
|
|
1674
|
+
good: "good";
|
|
1675
|
+
"needs-improvement": "needs-improvement";
|
|
1676
|
+
poor: "poor";
|
|
1677
|
+
}>;
|
|
1678
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1679
|
+
route: z.ZodString;
|
|
1680
|
+
selector: z.ZodString;
|
|
1681
|
+
estimatedViews: z.ZodNumber;
|
|
1682
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1683
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1684
|
+
fixPrompt: z.ZodString;
|
|
1685
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
1686
|
+
fetchPriority: z.ZodNullable<z.ZodString>;
|
|
1687
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
1688
|
+
phases: z.ZodObject<{
|
|
1689
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
1690
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
1691
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
1692
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
1693
|
+
}, z.core.$strict>;
|
|
1694
|
+
metric: z.ZodLiteral<"lcp">;
|
|
1695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1696
|
+
severity: z.ZodEnum<{
|
|
1697
|
+
good: "good";
|
|
1698
|
+
"needs-improvement": "needs-improvement";
|
|
1699
|
+
poor: "poor";
|
|
1700
|
+
}>;
|
|
1701
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1702
|
+
route: z.ZodString;
|
|
1703
|
+
selector: z.ZodString;
|
|
1704
|
+
estimatedViews: z.ZodNumber;
|
|
1705
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1706
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1707
|
+
fixPrompt: z.ZodString;
|
|
1708
|
+
metric: z.ZodLiteral<"inp">;
|
|
1709
|
+
interaction: z.ZodNullable<z.ZodString>;
|
|
1710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1711
|
+
severity: z.ZodEnum<{
|
|
1712
|
+
good: "good";
|
|
1713
|
+
"needs-improvement": "needs-improvement";
|
|
1714
|
+
poor: "poor";
|
|
1715
|
+
}>;
|
|
1716
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1717
|
+
route: z.ZodString;
|
|
1718
|
+
selector: z.ZodString;
|
|
1719
|
+
estimatedViews: z.ZodNumber;
|
|
1720
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1721
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1722
|
+
fixPrompt: z.ZodString;
|
|
1723
|
+
metric: z.ZodLiteral<"cls">;
|
|
1724
|
+
}, z.core.$strict>], "metric">;
|
|
1725
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1726
|
+
severity: z.ZodEnum<{
|
|
1727
|
+
good: "good";
|
|
1728
|
+
"needs-improvement": "needs-improvement";
|
|
1729
|
+
poor: "poor";
|
|
1730
|
+
}>;
|
|
1731
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1732
|
+
route: z.ZodString;
|
|
1733
|
+
selector: z.ZodString;
|
|
1734
|
+
estimatedViews: z.ZodNumber;
|
|
1735
|
+
fixPrompt: z.ZodString;
|
|
1736
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1737
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1738
|
+
metric: z.ZodLiteral<"lcp">;
|
|
1739
|
+
resource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1740
|
+
fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1741
|
+
initiatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1742
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
1743
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
1744
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
1745
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
1746
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
1747
|
+
}, z.core.$loose>>;
|
|
1748
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1749
|
+
severity: z.ZodEnum<{
|
|
1750
|
+
good: "good";
|
|
1751
|
+
"needs-improvement": "needs-improvement";
|
|
1752
|
+
poor: "poor";
|
|
1753
|
+
}>;
|
|
1754
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1755
|
+
route: z.ZodString;
|
|
1756
|
+
selector: z.ZodString;
|
|
1757
|
+
estimatedViews: z.ZodNumber;
|
|
1758
|
+
fixPrompt: z.ZodString;
|
|
1759
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1760
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1761
|
+
metric: z.ZodLiteral<"inp">;
|
|
1762
|
+
interaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1763
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1764
|
+
severity: z.ZodEnum<{
|
|
1765
|
+
good: "good";
|
|
1766
|
+
"needs-improvement": "needs-improvement";
|
|
1767
|
+
poor: "poor";
|
|
1768
|
+
}>;
|
|
1769
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1770
|
+
route: z.ZodString;
|
|
1771
|
+
selector: z.ZodString;
|
|
1772
|
+
estimatedViews: z.ZodNumber;
|
|
1773
|
+
fixPrompt: z.ZodString;
|
|
1774
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1775
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1776
|
+
metric: z.ZodLiteral<"cls">;
|
|
1777
|
+
}, z.core.$loose>], "metric">;
|
|
1778
|
+
};
|
|
1779
|
+
export type FieldVitalFinding = z.output<typeof fieldVitalFindingSchema.producer>;
|
|
1698
1780
|
export declare const fieldVitalFindingsDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1699
1781
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1700
1782
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1783
|
+
/** Null when no Web Analytics provider answered. */
|
|
1784
|
+
readonly window: z.ZodNullable<z.ZodObject<{
|
|
1785
|
+
from: z.ZodISODate;
|
|
1786
|
+
to: z.ZodISODate;
|
|
1787
|
+
}, z.core.$strict>>;
|
|
1788
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1789
|
+
severity: z.ZodEnum<{
|
|
1790
|
+
good: "good";
|
|
1791
|
+
"needs-improvement": "needs-improvement";
|
|
1792
|
+
poor: "poor";
|
|
1706
1793
|
}>;
|
|
1707
|
-
|
|
1794
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1795
|
+
route: z.ZodString;
|
|
1796
|
+
selector: z.ZodString;
|
|
1797
|
+
estimatedViews: z.ZodNumber;
|
|
1798
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1799
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1800
|
+
fixPrompt: z.ZodString;
|
|
1801
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
1802
|
+
fetchPriority: z.ZodNullable<z.ZodString>;
|
|
1803
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
1804
|
+
phases: z.ZodObject<{
|
|
1805
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
1806
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
1807
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
1808
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
1809
|
+
}, z.core.$strict>;
|
|
1810
|
+
metric: z.ZodLiteral<"lcp">;
|
|
1811
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1812
|
+
severity: z.ZodEnum<{
|
|
1708
1813
|
good: "good";
|
|
1709
1814
|
"needs-improvement": "needs-improvement";
|
|
1710
1815
|
poor: "poor";
|
|
1711
1816
|
}>;
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1817
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1818
|
+
route: z.ZodString;
|
|
1819
|
+
selector: z.ZodString;
|
|
1820
|
+
estimatedViews: z.ZodNumber;
|
|
1821
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1822
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1823
|
+
fixPrompt: z.ZodString;
|
|
1824
|
+
metric: z.ZodLiteral<"inp">;
|
|
1825
|
+
interaction: z.ZodNullable<z.ZodString>;
|
|
1826
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1827
|
+
severity: z.ZodEnum<{
|
|
1828
|
+
good: "good";
|
|
1829
|
+
"needs-improvement": "needs-improvement";
|
|
1830
|
+
poor: "poor";
|
|
1831
|
+
}>;
|
|
1832
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1833
|
+
route: z.ZodString;
|
|
1834
|
+
selector: z.ZodString;
|
|
1835
|
+
estimatedViews: z.ZodNumber;
|
|
1836
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1837
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1838
|
+
fixPrompt: z.ZodString;
|
|
1839
|
+
metric: z.ZodLiteral<"cls">;
|
|
1840
|
+
}, z.core.$strict>], "metric">>;
|
|
1718
1841
|
readonly total: z.ZodNumber;
|
|
1719
1842
|
readonly limit: z.ZodNumber;
|
|
1720
1843
|
readonly offset: z.ZodNumber;
|
|
1721
1844
|
}, z.core.$strip>, z.ZodObject<{
|
|
1722
1845
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1723
1846
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1724
|
-
readonly
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1847
|
+
readonly window: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1848
|
+
from: z.ZodISODate;
|
|
1849
|
+
to: z.ZodISODate;
|
|
1850
|
+
}, z.core.$loose>>>;
|
|
1851
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1852
|
+
severity: z.ZodEnum<{
|
|
1853
|
+
good: "good";
|
|
1854
|
+
"needs-improvement": "needs-improvement";
|
|
1855
|
+
poor: "poor";
|
|
1729
1856
|
}>;
|
|
1730
|
-
|
|
1857
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1858
|
+
route: z.ZodString;
|
|
1859
|
+
selector: z.ZodString;
|
|
1860
|
+
estimatedViews: z.ZodNumber;
|
|
1861
|
+
fixPrompt: z.ZodString;
|
|
1862
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1863
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1864
|
+
metric: z.ZodLiteral<"lcp">;
|
|
1865
|
+
resource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1866
|
+
fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1867
|
+
initiatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1868
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
1870
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
1871
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
1872
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
1873
|
+
}, z.core.$loose>>;
|
|
1874
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1875
|
+
severity: z.ZodEnum<{
|
|
1731
1876
|
good: "good";
|
|
1732
1877
|
"needs-improvement": "needs-improvement";
|
|
1733
1878
|
poor: "poor";
|
|
1734
1879
|
}>;
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1880
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1881
|
+
route: z.ZodString;
|
|
1882
|
+
selector: z.ZodString;
|
|
1883
|
+
estimatedViews: z.ZodNumber;
|
|
1884
|
+
fixPrompt: z.ZodString;
|
|
1885
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1886
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1887
|
+
metric: z.ZodLiteral<"inp">;
|
|
1888
|
+
interaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1889
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1890
|
+
severity: z.ZodEnum<{
|
|
1891
|
+
good: "good";
|
|
1892
|
+
"needs-improvement": "needs-improvement";
|
|
1893
|
+
poor: "poor";
|
|
1894
|
+
}>;
|
|
1895
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1896
|
+
route: z.ZodString;
|
|
1897
|
+
selector: z.ZodString;
|
|
1898
|
+
estimatedViews: z.ZodNumber;
|
|
1899
|
+
fixPrompt: z.ZodString;
|
|
1900
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1901
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1902
|
+
metric: z.ZodLiteral<"cls">;
|
|
1903
|
+
}, z.core.$loose>], "metric">>;
|
|
1741
1904
|
readonly total: z.ZodNumber;
|
|
1742
1905
|
readonly limit: z.ZodNumber;
|
|
1743
1906
|
readonly offset: z.ZodNumber;
|
|
@@ -1746,23 +1909,64 @@ export declare const fieldVitalFindingsResponseSchema: import("./core.js").Compa
|
|
|
1746
1909
|
data: z.ZodObject<{
|
|
1747
1910
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1748
1911
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1912
|
+
/** Null when no Web Analytics provider answered. */
|
|
1913
|
+
readonly window: z.ZodNullable<z.ZodObject<{
|
|
1914
|
+
from: z.ZodISODate;
|
|
1915
|
+
to: z.ZodISODate;
|
|
1916
|
+
}, z.core.$strict>>;
|
|
1917
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1918
|
+
severity: z.ZodEnum<{
|
|
1919
|
+
good: "good";
|
|
1920
|
+
"needs-improvement": "needs-improvement";
|
|
1921
|
+
poor: "poor";
|
|
1754
1922
|
}>;
|
|
1755
|
-
|
|
1923
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1924
|
+
route: z.ZodString;
|
|
1925
|
+
selector: z.ZodString;
|
|
1926
|
+
estimatedViews: z.ZodNumber;
|
|
1927
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1928
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1929
|
+
fixPrompt: z.ZodString;
|
|
1930
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
1931
|
+
fetchPriority: z.ZodNullable<z.ZodString>;
|
|
1932
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
1933
|
+
phases: z.ZodObject<{
|
|
1934
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
1935
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
1936
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
1937
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
1938
|
+
}, z.core.$strict>;
|
|
1939
|
+
metric: z.ZodLiteral<"lcp">;
|
|
1940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1941
|
+
severity: z.ZodEnum<{
|
|
1756
1942
|
good: "good";
|
|
1757
1943
|
"needs-improvement": "needs-improvement";
|
|
1758
1944
|
poor: "poor";
|
|
1759
1945
|
}>;
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1946
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1947
|
+
route: z.ZodString;
|
|
1948
|
+
selector: z.ZodString;
|
|
1949
|
+
estimatedViews: z.ZodNumber;
|
|
1950
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1951
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1952
|
+
fixPrompt: z.ZodString;
|
|
1953
|
+
metric: z.ZodLiteral<"inp">;
|
|
1954
|
+
interaction: z.ZodNullable<z.ZodString>;
|
|
1955
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1956
|
+
severity: z.ZodEnum<{
|
|
1957
|
+
good: "good";
|
|
1958
|
+
"needs-improvement": "needs-improvement";
|
|
1959
|
+
poor: "poor";
|
|
1960
|
+
}>;
|
|
1961
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1962
|
+
route: z.ZodString;
|
|
1963
|
+
selector: z.ZodString;
|
|
1964
|
+
estimatedViews: z.ZodNumber;
|
|
1965
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
1966
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
1967
|
+
fixPrompt: z.ZodString;
|
|
1968
|
+
metric: z.ZodLiteral<"cls">;
|
|
1969
|
+
}, z.core.$strict>], "metric">>;
|
|
1766
1970
|
readonly total: z.ZodNumber;
|
|
1767
1971
|
readonly limit: z.ZodNumber;
|
|
1768
1972
|
readonly offset: z.ZodNumber;
|
|
@@ -1775,23 +1979,63 @@ export declare const fieldVitalFindingsResponseSchema: import("./core.js").Compa
|
|
|
1775
1979
|
data: z.ZodObject<{
|
|
1776
1980
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1777
1981
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1778
|
-
readonly
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1982
|
+
readonly window: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1983
|
+
from: z.ZodISODate;
|
|
1984
|
+
to: z.ZodISODate;
|
|
1985
|
+
}, z.core.$loose>>>;
|
|
1986
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1987
|
+
severity: z.ZodEnum<{
|
|
1988
|
+
good: "good";
|
|
1989
|
+
"needs-improvement": "needs-improvement";
|
|
1990
|
+
poor: "poor";
|
|
1783
1991
|
}>;
|
|
1784
|
-
|
|
1992
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
1993
|
+
route: z.ZodString;
|
|
1994
|
+
selector: z.ZodString;
|
|
1995
|
+
estimatedViews: z.ZodNumber;
|
|
1996
|
+
fixPrompt: z.ZodString;
|
|
1997
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1998
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1999
|
+
metric: z.ZodLiteral<"lcp">;
|
|
2000
|
+
resource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2001
|
+
fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2002
|
+
initiatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
2004
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
2005
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
2006
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
2007
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
2008
|
+
}, z.core.$loose>>;
|
|
2009
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2010
|
+
severity: z.ZodEnum<{
|
|
1785
2011
|
good: "good";
|
|
1786
2012
|
"needs-improvement": "needs-improvement";
|
|
1787
2013
|
poor: "poor";
|
|
1788
2014
|
}>;
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
2015
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2016
|
+
route: z.ZodString;
|
|
2017
|
+
selector: z.ZodString;
|
|
2018
|
+
estimatedViews: z.ZodNumber;
|
|
2019
|
+
fixPrompt: z.ZodString;
|
|
2020
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2021
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2022
|
+
metric: z.ZodLiteral<"inp">;
|
|
2023
|
+
interaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2024
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2025
|
+
severity: z.ZodEnum<{
|
|
2026
|
+
good: "good";
|
|
2027
|
+
"needs-improvement": "needs-improvement";
|
|
2028
|
+
poor: "poor";
|
|
2029
|
+
}>;
|
|
2030
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2031
|
+
route: z.ZodString;
|
|
2032
|
+
selector: z.ZodString;
|
|
2033
|
+
estimatedViews: z.ZodNumber;
|
|
2034
|
+
fixPrompt: z.ZodString;
|
|
2035
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2036
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2037
|
+
metric: z.ZodLiteral<"cls">;
|
|
2038
|
+
}, z.core.$loose>], "metric">>;
|
|
1795
2039
|
readonly total: z.ZodNumber;
|
|
1796
2040
|
readonly limit: z.ZodNumber;
|
|
1797
2041
|
readonly offset: z.ZodNumber;
|
|
@@ -1801,7 +2045,7 @@ export declare const fieldVitalFindingsResponseSchema: import("./core.js").Compa
|
|
|
1801
2045
|
version: z.ZodLiteral<"1.0">;
|
|
1802
2046
|
}, z.core.$loose>;
|
|
1803
2047
|
}, z.core.$strip>>;
|
|
1804
|
-
export type FieldVitalFindings = z.output<typeof fieldVitalFindingsDataSchema.
|
|
2048
|
+
export type FieldVitalFindings = z.output<typeof fieldVitalFindingsDataSchema.client>;
|
|
1805
2049
|
export declare const fieldVitalFindingsOperation: {
|
|
1806
2050
|
readonly id: 'page.vitals.findings';
|
|
1807
2051
|
readonly method: 'GET';
|
|
@@ -1850,23 +2094,64 @@ export declare const fieldVitalFindingsOperation: {
|
|
|
1850
2094
|
data: z.ZodObject<{
|
|
1851
2095
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1852
2096
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2097
|
+
/** Null when no Web Analytics provider answered. */
|
|
2098
|
+
readonly window: z.ZodNullable<z.ZodObject<{
|
|
2099
|
+
from: z.ZodISODate;
|
|
2100
|
+
to: z.ZodISODate;
|
|
2101
|
+
}, z.core.$strict>>;
|
|
2102
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2103
|
+
severity: z.ZodEnum<{
|
|
2104
|
+
good: "good";
|
|
2105
|
+
"needs-improvement": "needs-improvement";
|
|
2106
|
+
poor: "poor";
|
|
2107
|
+
}>;
|
|
2108
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2109
|
+
route: z.ZodString;
|
|
2110
|
+
selector: z.ZodString;
|
|
2111
|
+
estimatedViews: z.ZodNumber;
|
|
2112
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
2113
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
2114
|
+
fixPrompt: z.ZodString;
|
|
2115
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
2116
|
+
fetchPriority: z.ZodNullable<z.ZodString>;
|
|
2117
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
2118
|
+
phases: z.ZodObject<{
|
|
2119
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
2120
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
2121
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
2122
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
2123
|
+
}, z.core.$strict>;
|
|
2124
|
+
metric: z.ZodLiteral<"lcp">;
|
|
2125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2126
|
+
severity: z.ZodEnum<{
|
|
2127
|
+
good: "good";
|
|
2128
|
+
"needs-improvement": "needs-improvement";
|
|
2129
|
+
poor: "poor";
|
|
1858
2130
|
}>;
|
|
1859
|
-
|
|
2131
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2132
|
+
route: z.ZodString;
|
|
2133
|
+
selector: z.ZodString;
|
|
2134
|
+
estimatedViews: z.ZodNumber;
|
|
2135
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
2136
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
2137
|
+
fixPrompt: z.ZodString;
|
|
2138
|
+
metric: z.ZodLiteral<"inp">;
|
|
2139
|
+
interaction: z.ZodNullable<z.ZodString>;
|
|
2140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2141
|
+
severity: z.ZodEnum<{
|
|
1860
2142
|
good: "good";
|
|
1861
2143
|
"needs-improvement": "needs-improvement";
|
|
1862
2144
|
poor: "poor";
|
|
1863
2145
|
}>;
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
2146
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2147
|
+
route: z.ZodString;
|
|
2148
|
+
selector: z.ZodString;
|
|
2149
|
+
estimatedViews: z.ZodNumber;
|
|
2150
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
2151
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
2152
|
+
fixPrompt: z.ZodString;
|
|
2153
|
+
metric: z.ZodLiteral<"cls">;
|
|
2154
|
+
}, z.core.$strict>], "metric">>;
|
|
1870
2155
|
readonly total: z.ZodNumber;
|
|
1871
2156
|
readonly limit: z.ZodNumber;
|
|
1872
2157
|
readonly offset: z.ZodNumber;
|
|
@@ -1879,23 +2164,63 @@ export declare const fieldVitalFindingsOperation: {
|
|
|
1879
2164
|
data: z.ZodObject<{
|
|
1880
2165
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
1881
2166
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
1882
|
-
readonly
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
2167
|
+
readonly window: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2168
|
+
from: z.ZodISODate;
|
|
2169
|
+
to: z.ZodISODate;
|
|
2170
|
+
}, z.core.$loose>>>;
|
|
2171
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2172
|
+
severity: z.ZodEnum<{
|
|
2173
|
+
good: "good";
|
|
2174
|
+
"needs-improvement": "needs-improvement";
|
|
2175
|
+
poor: "poor";
|
|
1887
2176
|
}>;
|
|
1888
|
-
|
|
2177
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2178
|
+
route: z.ZodString;
|
|
2179
|
+
selector: z.ZodString;
|
|
2180
|
+
estimatedViews: z.ZodNumber;
|
|
2181
|
+
fixPrompt: z.ZodString;
|
|
2182
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2183
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2184
|
+
metric: z.ZodLiteral<"lcp">;
|
|
2185
|
+
resource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2186
|
+
fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2187
|
+
initiatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2188
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
2189
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
2190
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
2191
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
2192
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
2193
|
+
}, z.core.$loose>>;
|
|
2194
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2195
|
+
severity: z.ZodEnum<{
|
|
1889
2196
|
good: "good";
|
|
1890
2197
|
"needs-improvement": "needs-improvement";
|
|
1891
2198
|
poor: "poor";
|
|
1892
2199
|
}>;
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
2200
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2201
|
+
route: z.ZodString;
|
|
2202
|
+
selector: z.ZodString;
|
|
2203
|
+
estimatedViews: z.ZodNumber;
|
|
2204
|
+
fixPrompt: z.ZodString;
|
|
2205
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2206
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
|
+
metric: z.ZodLiteral<"inp">;
|
|
2208
|
+
interaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2209
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2210
|
+
severity: z.ZodEnum<{
|
|
2211
|
+
good: "good";
|
|
2212
|
+
"needs-improvement": "needs-improvement";
|
|
2213
|
+
poor: "poor";
|
|
2214
|
+
}>;
|
|
2215
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
2216
|
+
route: z.ZodString;
|
|
2217
|
+
selector: z.ZodString;
|
|
2218
|
+
estimatedViews: z.ZodNumber;
|
|
2219
|
+
fixPrompt: z.ZodString;
|
|
2220
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2221
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
|
+
metric: z.ZodLiteral<"cls">;
|
|
2223
|
+
}, z.core.$loose>], "metric">>;
|
|
1899
2224
|
readonly total: z.ZodNumber;
|
|
1900
2225
|
readonly limit: z.ZodNumber;
|
|
1901
2226
|
readonly offset: z.ZodNumber;
|
|
@@ -1978,7 +2303,7 @@ export declare const fieldVitalFindingsOperation: {
|
|
|
1978
2303
|
};
|
|
1979
2304
|
readonly docs: {
|
|
1980
2305
|
readonly summary: 'List field Core Web Vitals findings';
|
|
1981
|
-
readonly description: 'Returns each failing real-user vital attributed to the DOM element behind it, with the p75, the CSS selector, and a ready-to-apply fix prompt. It requires a connected Web Analytics provider. If no provider is connected, findings is empty and message says so.';
|
|
2306
|
+
readonly description: 'Returns each failing real-user vital attributed to the DOM element behind it, with the p75, the CSS selector, and a ready-to-apply fix prompt. An LCP finding also names its resource, fetchPriority and phases. An INP finding names the interaction. window gives the dates the provider aggregated. It requires a connected Web Analytics provider. If no provider is connected, findings is empty and message says so.';
|
|
1982
2307
|
readonly tags: readonly ["Pages"];
|
|
1983
2308
|
readonly examples: readonly [{
|
|
1984
2309
|
readonly request: {
|
|
@@ -1997,6 +2322,10 @@ export declare const fieldVitalFindingsOperation: {
|
|
|
1997
2322
|
readonly data: {
|
|
1998
2323
|
readonly source: 'cloudflare';
|
|
1999
2324
|
readonly message: null;
|
|
2325
|
+
readonly window: {
|
|
2326
|
+
readonly from: '2026-07-13';
|
|
2327
|
+
readonly to: '2026-08-09';
|
|
2328
|
+
};
|
|
2000
2329
|
readonly findings: readonly [{
|
|
2001
2330
|
readonly metric: 'lcp';
|
|
2002
2331
|
readonly severity: 'poor';
|
|
@@ -2004,6 +2333,17 @@ export declare const fieldVitalFindingsOperation: {
|
|
|
2004
2333
|
readonly route: '/blog';
|
|
2005
2334
|
readonly selector: 'main > img.hero';
|
|
2006
2335
|
readonly estimatedViews: 1840;
|
|
2336
|
+
readonly poorFraction: 0.31;
|
|
2337
|
+
readonly labHint: null;
|
|
2338
|
+
readonly resource: 'example.com/images/hero.jpg';
|
|
2339
|
+
readonly fetchPriority: 'auto';
|
|
2340
|
+
readonly initiatorType: 'img';
|
|
2341
|
+
readonly phases: {
|
|
2342
|
+
readonly timeToFirstByte: 600;
|
|
2343
|
+
readonly resourceLoadDelay: 1900;
|
|
2344
|
+
readonly resourceLoadTime: 1200;
|
|
2345
|
+
readonly elementRenderDelay: 600;
|
|
2346
|
+
};
|
|
2007
2347
|
readonly fixPrompt: 'The LCP element on /blog is main > img.hero at 4300ms.';
|
|
2008
2348
|
}];
|
|
2009
2349
|
readonly total: 1;
|
|
@@ -2026,80 +2366,237 @@ export declare const performanceScanParamsSchema: z.ZodObject<{
|
|
|
2026
2366
|
siteId: z.ZodString;
|
|
2027
2367
|
scanId: z.ZodString;
|
|
2028
2368
|
}, z.core.$strict>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Why a Scan started. `claim-recheck` follows a claimed Action. `deploy`
|
|
2371
|
+
* follows a new Nuxt build. `confirmation` repeats a Scan that looked like a
|
|
2372
|
+
* regression.
|
|
2373
|
+
*/
|
|
2374
|
+
export declare const PERFORMANCE_SCAN_TRIGGERS: readonly ['scheduled', 'manual', 'claim-recheck', 'deploy', 'confirmation'];
|
|
2375
|
+
/**
|
|
2376
|
+
* Why a Scan failed. `timeout`, `unavailable`, `quota`, `rejected`, `network`,
|
|
2377
|
+
* `empty`, `malformed` and `oversize` describe the PageSpeed Insights request.
|
|
2378
|
+
* The rest describe the pipeline around it. `rejected` means PSI refused the
|
|
2379
|
+
* URL, so a retry of the same URL fails the same way.
|
|
2380
|
+
*/
|
|
2381
|
+
export declare const PERFORMANCE_SCAN_FAILURE_KINDS: readonly ['timeout', 'unavailable', 'quota', 'rejected', 'network', 'empty', 'malformed', 'oversize', 'artifact-missing', 'processing', 'abandoned', 'unqueued', 'monitoring-changed', 'internal'];
|
|
2029
2382
|
export declare const performanceScanSummarySchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2383
|
+
id: z.ZodString;
|
|
2384
|
+
url: z.ZodString;
|
|
2385
|
+
strategy: z.ZodEnum<{
|
|
2386
|
+
desktop: "desktop";
|
|
2387
|
+
mobile: "mobile";
|
|
2388
|
+
}>;
|
|
2389
|
+
status: z.ZodEnum<{
|
|
2390
|
+
complete: "complete";
|
|
2391
|
+
failed: "failed";
|
|
2392
|
+
running: "running";
|
|
2393
|
+
}>;
|
|
2394
|
+
trigger: z.ZodEnum<{
|
|
2395
|
+
"claim-recheck": "claim-recheck";
|
|
2396
|
+
confirmation: "confirmation";
|
|
2397
|
+
deploy: "deploy";
|
|
2398
|
+
manual: "manual";
|
|
2399
|
+
scheduled: "scheduled";
|
|
2400
|
+
}>;
|
|
2401
|
+
failureKind: z.ZodNullable<z.ZodEnum<{
|
|
2402
|
+
abandoned: "abandoned";
|
|
2403
|
+
"artifact-missing": "artifact-missing";
|
|
2404
|
+
empty: "empty";
|
|
2405
|
+
internal: "internal";
|
|
2406
|
+
malformed: "malformed";
|
|
2407
|
+
"monitoring-changed": "monitoring-changed";
|
|
2408
|
+
network: "network";
|
|
2409
|
+
oversize: "oversize";
|
|
2410
|
+
processing: "processing";
|
|
2411
|
+
quota: "quota";
|
|
2412
|
+
rejected: "rejected";
|
|
2413
|
+
timeout: "timeout";
|
|
2414
|
+
unavailable: "unavailable";
|
|
2415
|
+
unqueued: "unqueued";
|
|
2416
|
+
}>>;
|
|
2417
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2418
|
+
lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2419
|
+
scores: z.ZodObject<{
|
|
2036
2420
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2037
2421
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2038
2422
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2039
2423
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2040
2424
|
}, z.core.$strict>;
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2425
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2426
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2427
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2428
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2046
2429
|
}, z.core.$strip>, z.ZodObject<{
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2430
|
+
id: z.ZodString;
|
|
2431
|
+
url: z.ZodString;
|
|
2432
|
+
strategy: z.ZodString;
|
|
2433
|
+
status: z.ZodString;
|
|
2434
|
+
trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2435
|
+
failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2436
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
|
+
lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
|
+
scores: z.ZodObject<{
|
|
2053
2439
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2054
2440
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2055
2441
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2056
2442
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2057
2443
|
}, z.core.$loose>;
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2444
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2445
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2446
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2447
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2063
2448
|
}, z.core.$strip>>;
|
|
2449
|
+
export type PerformanceScanSummary = z.output<typeof performanceScanSummarySchema.producer>;
|
|
2450
|
+
/** Metrics a Scan comparison can name. Same names and units as the Scan fields. */
|
|
2451
|
+
export declare const PERFORMANCE_SCAN_COMPARISON_METRICS: readonly ['perf', 'a11y', 'bestPractices', 'seo', 'lcp', 'tbt', 'cls', 'inp', 'fcp', 'speedIndex', 'ttfb'];
|
|
2452
|
+
/** Why two Scans of one Page cannot be compared. */
|
|
2453
|
+
export declare const PERFORMANCE_SCAN_INCOMPATIBILITY_REASONS: readonly ['source', 'target-url', 'strategy', 'lighthouse-version', 'form-factor', 'cpu-throttling', 'network-throttling', 'host-browser', 'runtime-environment'];
|
|
2454
|
+
/**
|
|
2455
|
+
* This Scan against the previous comparable Scan of the same Page and strategy.
|
|
2456
|
+
* `compared` lists each metric both Scans measured. `incompatible` names why
|
|
2457
|
+
* the two Scans differ, for example a Lighthouse version change. `none` means
|
|
2458
|
+
* no previous Scan was compared, which is always true for the homepage slot.
|
|
2459
|
+
*/
|
|
2460
|
+
export declare const performanceScanComparisonSchema: {
|
|
2461
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2462
|
+
_tag: z.ZodLiteral<"compared">;
|
|
2463
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
2464
|
+
severity: z.ZodEnum<{
|
|
2465
|
+
improvement: "improvement";
|
|
2466
|
+
neutral: "neutral";
|
|
2467
|
+
regression: "regression";
|
|
2468
|
+
}>;
|
|
2469
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2470
|
+
metric: z.ZodEnum<{
|
|
2471
|
+
a11y: "a11y";
|
|
2472
|
+
bestPractices: "bestPractices";
|
|
2473
|
+
cls: "cls";
|
|
2474
|
+
fcp: "fcp";
|
|
2475
|
+
inp: "inp";
|
|
2476
|
+
lcp: "lcp";
|
|
2477
|
+
perf: "perf";
|
|
2478
|
+
seo: "seo";
|
|
2479
|
+
speedIndex: "speedIndex";
|
|
2480
|
+
tbt: "tbt";
|
|
2481
|
+
ttfb: "ttfb";
|
|
2482
|
+
}>;
|
|
2483
|
+
previous: z.ZodNumber;
|
|
2484
|
+
current: z.ZodNumber;
|
|
2485
|
+
delta: z.ZodNumber;
|
|
2486
|
+
severity: z.ZodEnum<{
|
|
2487
|
+
improvement: "improvement";
|
|
2488
|
+
neutral: "neutral";
|
|
2489
|
+
regression: "regression";
|
|
2490
|
+
}>;
|
|
2491
|
+
}, z.core.$strict>>;
|
|
2492
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2493
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
2494
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
2495
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
2496
|
+
"cpu-throttling": "cpu-throttling";
|
|
2497
|
+
"form-factor": "form-factor";
|
|
2498
|
+
"host-browser": "host-browser";
|
|
2499
|
+
"lighthouse-version": "lighthouse-version";
|
|
2500
|
+
"network-throttling": "network-throttling";
|
|
2501
|
+
"runtime-environment": "runtime-environment";
|
|
2502
|
+
source: "source";
|
|
2503
|
+
strategy: "strategy";
|
|
2504
|
+
"target-url": "target-url";
|
|
2505
|
+
}>>;
|
|
2506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2507
|
+
_tag: z.ZodLiteral<"none">;
|
|
2508
|
+
}, z.core.$strict>], "_tag">;
|
|
2509
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2510
|
+
_tag: z.ZodLiteral<"compared">;
|
|
2511
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
2512
|
+
severity: z.ZodString;
|
|
2513
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2514
|
+
previous: z.ZodNumber;
|
|
2515
|
+
current: z.ZodNumber;
|
|
2516
|
+
delta: z.ZodNumber;
|
|
2517
|
+
metric: z.ZodString;
|
|
2518
|
+
severity: z.ZodString;
|
|
2519
|
+
}, z.core.$loose>>;
|
|
2520
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2521
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
2522
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
2523
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
2524
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2525
|
+
_tag: z.ZodLiteral<"none">;
|
|
2526
|
+
}, z.core.$loose>], "_tag">;
|
|
2527
|
+
};
|
|
2528
|
+
export type PerformanceScanComparison = z.output<typeof performanceScanComparisonSchema.producer>;
|
|
2064
2529
|
export declare const performanceScansDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
2065
2530
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2531
|
+
id: z.ZodString;
|
|
2532
|
+
url: z.ZodString;
|
|
2533
|
+
strategy: z.ZodEnum<{
|
|
2534
|
+
desktop: "desktop";
|
|
2535
|
+
mobile: "mobile";
|
|
2536
|
+
}>;
|
|
2537
|
+
status: z.ZodEnum<{
|
|
2538
|
+
complete: "complete";
|
|
2539
|
+
failed: "failed";
|
|
2540
|
+
running: "running";
|
|
2541
|
+
}>;
|
|
2542
|
+
trigger: z.ZodEnum<{
|
|
2543
|
+
"claim-recheck": "claim-recheck";
|
|
2544
|
+
confirmation: "confirmation";
|
|
2545
|
+
deploy: "deploy";
|
|
2546
|
+
manual: "manual";
|
|
2547
|
+
scheduled: "scheduled";
|
|
2548
|
+
}>;
|
|
2549
|
+
failureKind: z.ZodNullable<z.ZodEnum<{
|
|
2550
|
+
abandoned: "abandoned";
|
|
2551
|
+
"artifact-missing": "artifact-missing";
|
|
2552
|
+
empty: "empty";
|
|
2553
|
+
internal: "internal";
|
|
2554
|
+
malformed: "malformed";
|
|
2555
|
+
"monitoring-changed": "monitoring-changed";
|
|
2556
|
+
network: "network";
|
|
2557
|
+
oversize: "oversize";
|
|
2558
|
+
processing: "processing";
|
|
2559
|
+
quota: "quota";
|
|
2560
|
+
rejected: "rejected";
|
|
2561
|
+
timeout: "timeout";
|
|
2562
|
+
unavailable: "unavailable";
|
|
2563
|
+
unqueued: "unqueued";
|
|
2564
|
+
}>>;
|
|
2565
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2566
|
+
lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2567
|
+
scores: z.ZodObject<{
|
|
2072
2568
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2073
2569
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2074
2570
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2075
2571
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2076
2572
|
}, z.core.$strict>;
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2573
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2574
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2575
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2576
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2082
2577
|
}, z.core.$strip>>;
|
|
2083
2578
|
readonly total: z.ZodNumber;
|
|
2084
2579
|
readonly limit: z.ZodNumber;
|
|
2085
2580
|
}, z.core.$strip>, z.ZodObject<{
|
|
2086
2581
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2582
|
+
id: z.ZodString;
|
|
2583
|
+
url: z.ZodString;
|
|
2584
|
+
strategy: z.ZodString;
|
|
2585
|
+
status: z.ZodString;
|
|
2586
|
+
trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2587
|
+
failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2588
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2589
|
+
lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2590
|
+
scores: z.ZodObject<{
|
|
2093
2591
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2094
2592
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2095
2593
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2096
2594
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2097
2595
|
}, z.core.$loose>;
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2596
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2597
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2598
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2599
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2103
2600
|
}, z.core.$strip>>;
|
|
2104
2601
|
readonly total: z.ZodNumber;
|
|
2105
2602
|
readonly limit: z.ZodNumber;
|
|
@@ -2107,22 +2604,52 @@ export declare const performanceScansDataSchema: import("./core.js").CompatibleR
|
|
|
2107
2604
|
export declare const performanceScansResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
2108
2605
|
data: z.ZodObject<{
|
|
2109
2606
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2607
|
+
id: z.ZodString;
|
|
2608
|
+
url: z.ZodString;
|
|
2609
|
+
strategy: z.ZodEnum<{
|
|
2610
|
+
desktop: "desktop";
|
|
2611
|
+
mobile: "mobile";
|
|
2612
|
+
}>;
|
|
2613
|
+
status: z.ZodEnum<{
|
|
2614
|
+
complete: "complete";
|
|
2615
|
+
failed: "failed";
|
|
2616
|
+
running: "running";
|
|
2617
|
+
}>;
|
|
2618
|
+
trigger: z.ZodEnum<{
|
|
2619
|
+
"claim-recheck": "claim-recheck";
|
|
2620
|
+
confirmation: "confirmation";
|
|
2621
|
+
deploy: "deploy";
|
|
2622
|
+
manual: "manual";
|
|
2623
|
+
scheduled: "scheduled";
|
|
2624
|
+
}>;
|
|
2625
|
+
failureKind: z.ZodNullable<z.ZodEnum<{
|
|
2626
|
+
abandoned: "abandoned";
|
|
2627
|
+
"artifact-missing": "artifact-missing";
|
|
2628
|
+
empty: "empty";
|
|
2629
|
+
internal: "internal";
|
|
2630
|
+
malformed: "malformed";
|
|
2631
|
+
"monitoring-changed": "monitoring-changed";
|
|
2632
|
+
network: "network";
|
|
2633
|
+
oversize: "oversize";
|
|
2634
|
+
processing: "processing";
|
|
2635
|
+
quota: "quota";
|
|
2636
|
+
rejected: "rejected";
|
|
2637
|
+
timeout: "timeout";
|
|
2638
|
+
unavailable: "unavailable";
|
|
2639
|
+
unqueued: "unqueued";
|
|
2640
|
+
}>>;
|
|
2641
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2642
|
+
lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2643
|
+
scores: z.ZodObject<{
|
|
2116
2644
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2117
2645
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2118
2646
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2119
2647
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2120
2648
|
}, z.core.$strict>;
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2649
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2650
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2651
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2652
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2126
2653
|
}, z.core.$strip>>;
|
|
2127
2654
|
readonly total: z.ZodNumber;
|
|
2128
2655
|
readonly limit: z.ZodNumber;
|
|
@@ -2134,22 +2661,24 @@ export declare const performanceScansResponseSchema: import("./core.js").Compati
|
|
|
2134
2661
|
}, z.core.$strip>, z.ZodObject<{
|
|
2135
2662
|
data: z.ZodObject<{
|
|
2136
2663
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2664
|
+
id: z.ZodString;
|
|
2665
|
+
url: z.ZodString;
|
|
2666
|
+
strategy: z.ZodString;
|
|
2667
|
+
status: z.ZodString;
|
|
2668
|
+
trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2669
|
+
failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2670
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2671
|
+
lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2672
|
+
scores: z.ZodObject<{
|
|
2143
2673
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2144
2674
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2145
2675
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2146
2676
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2147
2677
|
}, z.core.$loose>;
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2678
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2679
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2680
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2681
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2153
2682
|
}, z.core.$strip>>;
|
|
2154
2683
|
readonly total: z.ZodNumber;
|
|
2155
2684
|
readonly limit: z.ZodNumber;
|
|
@@ -2159,7 +2688,7 @@ export declare const performanceScansResponseSchema: import("./core.js").Compati
|
|
|
2159
2688
|
version: z.ZodLiteral<"1.0">;
|
|
2160
2689
|
}, z.core.$loose>;
|
|
2161
2690
|
}, z.core.$strip>>;
|
|
2162
|
-
export type PerformanceScans = z.output<typeof performanceScansDataSchema.
|
|
2691
|
+
export type PerformanceScans = z.output<typeof performanceScansDataSchema.client>;
|
|
2163
2692
|
export declare const performanceScansOperation: {
|
|
2164
2693
|
readonly id: 'page.performance.scans';
|
|
2165
2694
|
readonly method: 'GET';
|
|
@@ -2191,22 +2720,52 @@ export declare const performanceScansOperation: {
|
|
|
2191
2720
|
readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
2192
2721
|
data: z.ZodObject<{
|
|
2193
2722
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2723
|
+
id: z.ZodString;
|
|
2724
|
+
url: z.ZodString;
|
|
2725
|
+
strategy: z.ZodEnum<{
|
|
2726
|
+
desktop: "desktop";
|
|
2727
|
+
mobile: "mobile";
|
|
2728
|
+
}>;
|
|
2729
|
+
status: z.ZodEnum<{
|
|
2730
|
+
complete: "complete";
|
|
2731
|
+
failed: "failed";
|
|
2732
|
+
running: "running";
|
|
2733
|
+
}>;
|
|
2734
|
+
trigger: z.ZodEnum<{
|
|
2735
|
+
"claim-recheck": "claim-recheck";
|
|
2736
|
+
confirmation: "confirmation";
|
|
2737
|
+
deploy: "deploy";
|
|
2738
|
+
manual: "manual";
|
|
2739
|
+
scheduled: "scheduled";
|
|
2740
|
+
}>;
|
|
2741
|
+
failureKind: z.ZodNullable<z.ZodEnum<{
|
|
2742
|
+
abandoned: "abandoned";
|
|
2743
|
+
"artifact-missing": "artifact-missing";
|
|
2744
|
+
empty: "empty";
|
|
2745
|
+
internal: "internal";
|
|
2746
|
+
malformed: "malformed";
|
|
2747
|
+
"monitoring-changed": "monitoring-changed";
|
|
2748
|
+
network: "network";
|
|
2749
|
+
oversize: "oversize";
|
|
2750
|
+
processing: "processing";
|
|
2751
|
+
quota: "quota";
|
|
2752
|
+
rejected: "rejected";
|
|
2753
|
+
timeout: "timeout";
|
|
2754
|
+
unavailable: "unavailable";
|
|
2755
|
+
unqueued: "unqueued";
|
|
2756
|
+
}>>;
|
|
2757
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2758
|
+
lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2759
|
+
scores: z.ZodObject<{
|
|
2200
2760
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2201
2761
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2202
2762
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2203
2763
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2204
2764
|
}, z.core.$strict>;
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2765
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2766
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2767
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2768
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2210
2769
|
}, z.core.$strip>>;
|
|
2211
2770
|
readonly total: z.ZodNumber;
|
|
2212
2771
|
readonly limit: z.ZodNumber;
|
|
@@ -2218,22 +2777,24 @@ export declare const performanceScansOperation: {
|
|
|
2218
2777
|
}, z.core.$strip>, z.ZodObject<{
|
|
2219
2778
|
data: z.ZodObject<{
|
|
2220
2779
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2780
|
+
id: z.ZodString;
|
|
2781
|
+
url: z.ZodString;
|
|
2782
|
+
strategy: z.ZodString;
|
|
2783
|
+
status: z.ZodString;
|
|
2784
|
+
trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
|
+
failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2786
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2787
|
+
lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2788
|
+
scores: z.ZodObject<{
|
|
2227
2789
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2228
2790
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
2229
2791
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
2230
2792
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
2231
2793
|
}, z.core.$loose>;
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
2794
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
2795
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
2796
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
2797
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
2237
2798
|
}, z.core.$strip>>;
|
|
2238
2799
|
readonly total: z.ZodNumber;
|
|
2239
2800
|
readonly limit: z.ZodNumber;
|
|
@@ -2316,7 +2877,7 @@ export declare const performanceScansOperation: {
|
|
|
2316
2877
|
};
|
|
2317
2878
|
readonly docs: {
|
|
2318
2879
|
readonly summary: 'List Lighthouse Scans';
|
|
2319
|
-
readonly description: 'Returns retained Lighthouse Scans for the Site, newest first, with the scores and lab vitals each one recorded. A failed Scan carries its error. Use one Scan id with the Scan read for the failing checks behind a score.';
|
|
2880
|
+
readonly description: 'Returns retained Lighthouse Scans for the Site, newest first, with the scores and lab vitals each one recorded. A failed Scan carries its failureKind and error, and its scores are null. Use one Scan id with the Scan read for the failing checks behind a score.';
|
|
2320
2881
|
readonly tags: readonly ["Pages"];
|
|
2321
2882
|
readonly examples: readonly [{
|
|
2322
2883
|
readonly request: {
|
|
@@ -2337,6 +2898,9 @@ export declare const performanceScansOperation: {
|
|
|
2337
2898
|
readonly strategy: 'mobile';
|
|
2338
2899
|
readonly status: 'complete';
|
|
2339
2900
|
readonly trigger: 'scheduled';
|
|
2901
|
+
readonly failureKind: null;
|
|
2902
|
+
readonly error: null;
|
|
2903
|
+
readonly lighthouseVersion: '13.5.0';
|
|
2340
2904
|
readonly scores: {
|
|
2341
2905
|
readonly perf: 82;
|
|
2342
2906
|
readonly a11y: 96;
|
|
@@ -2347,9 +2911,27 @@ export declare const performanceScansOperation: {
|
|
|
2347
2911
|
readonly tbt: 180;
|
|
2348
2912
|
readonly cls: 0.08;
|
|
2349
2913
|
readonly completedAt: '2026-08-10T01:00:00.000Z';
|
|
2350
|
-
|
|
2914
|
+
}, {
|
|
2915
|
+
readonly id: 'scan_01JXZA';
|
|
2916
|
+
readonly url: 'https://example.com/blog';
|
|
2917
|
+
readonly strategy: 'mobile';
|
|
2918
|
+
readonly status: 'failed';
|
|
2919
|
+
readonly trigger: 'scheduled';
|
|
2920
|
+
readonly failureKind: 'timeout';
|
|
2921
|
+
readonly error: 'PSI timed out loading the page';
|
|
2922
|
+
readonly lighthouseVersion: null;
|
|
2923
|
+
readonly scores: {
|
|
2924
|
+
readonly perf: null;
|
|
2925
|
+
readonly a11y: null;
|
|
2926
|
+
readonly bestPractices: null;
|
|
2927
|
+
readonly seo: null;
|
|
2928
|
+
};
|
|
2929
|
+
readonly lcp: null;
|
|
2930
|
+
readonly tbt: null;
|
|
2931
|
+
readonly cls: null;
|
|
2932
|
+
readonly completedAt: '2026-08-10T01:05:00.000Z';
|
|
2351
2933
|
}];
|
|
2352
|
-
readonly total:
|
|
2934
|
+
readonly total: 2;
|
|
2353
2935
|
readonly limit: 25;
|
|
2354
2936
|
};
|
|
2355
2937
|
readonly meta: {
|
|
@@ -2712,8 +3294,40 @@ export type LcpObservedTrace = z.output<typeof lcpObservedTraceSchema>;
|
|
|
2712
3294
|
export declare const performanceScanDetailDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
2713
3295
|
readonly id: z.ZodString;
|
|
2714
3296
|
readonly url: z.ZodString;
|
|
2715
|
-
readonly strategy: z.
|
|
2716
|
-
|
|
3297
|
+
readonly strategy: z.ZodEnum<{
|
|
3298
|
+
desktop: "desktop";
|
|
3299
|
+
mobile: "mobile";
|
|
3300
|
+
}>;
|
|
3301
|
+
readonly status: z.ZodEnum<{
|
|
3302
|
+
complete: "complete";
|
|
3303
|
+
failed: "failed";
|
|
3304
|
+
running: "running";
|
|
3305
|
+
}>;
|
|
3306
|
+
readonly trigger: z.ZodEnum<{
|
|
3307
|
+
"claim-recheck": "claim-recheck";
|
|
3308
|
+
confirmation: "confirmation";
|
|
3309
|
+
deploy: "deploy";
|
|
3310
|
+
manual: "manual";
|
|
3311
|
+
scheduled: "scheduled";
|
|
3312
|
+
}>;
|
|
3313
|
+
readonly failureKind: z.ZodNullable<z.ZodEnum<{
|
|
3314
|
+
abandoned: "abandoned";
|
|
3315
|
+
"artifact-missing": "artifact-missing";
|
|
3316
|
+
empty: "empty";
|
|
3317
|
+
internal: "internal";
|
|
3318
|
+
malformed: "malformed";
|
|
3319
|
+
"monitoring-changed": "monitoring-changed";
|
|
3320
|
+
network: "network";
|
|
3321
|
+
oversize: "oversize";
|
|
3322
|
+
processing: "processing";
|
|
3323
|
+
quota: "quota";
|
|
3324
|
+
rejected: "rejected";
|
|
3325
|
+
timeout: "timeout";
|
|
3326
|
+
unavailable: "unavailable";
|
|
3327
|
+
unqueued: "unqueued";
|
|
3328
|
+
}>>;
|
|
3329
|
+
readonly error: z.ZodNullable<z.ZodString>;
|
|
3330
|
+
readonly lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2717
3331
|
readonly scores: z.ZodObject<{
|
|
2718
3332
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2719
3333
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2723,10 +3337,58 @@ export declare const performanceScanDetailDataSchema: import("./core.js").Compat
|
|
|
2723
3337
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
2724
3338
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
2725
3339
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
3340
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
2726
3341
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
2727
3342
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
2728
3343
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
2729
|
-
readonly
|
|
3344
|
+
readonly comparison: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3345
|
+
_tag: z.ZodLiteral<"compared">;
|
|
3346
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3347
|
+
severity: z.ZodEnum<{
|
|
3348
|
+
improvement: "improvement";
|
|
3349
|
+
neutral: "neutral";
|
|
3350
|
+
regression: "regression";
|
|
3351
|
+
}>;
|
|
3352
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3353
|
+
metric: z.ZodEnum<{
|
|
3354
|
+
a11y: "a11y";
|
|
3355
|
+
bestPractices: "bestPractices";
|
|
3356
|
+
cls: "cls";
|
|
3357
|
+
fcp: "fcp";
|
|
3358
|
+
inp: "inp";
|
|
3359
|
+
lcp: "lcp";
|
|
3360
|
+
perf: "perf";
|
|
3361
|
+
seo: "seo";
|
|
3362
|
+
speedIndex: "speedIndex";
|
|
3363
|
+
tbt: "tbt";
|
|
3364
|
+
ttfb: "ttfb";
|
|
3365
|
+
}>;
|
|
3366
|
+
previous: z.ZodNumber;
|
|
3367
|
+
current: z.ZodNumber;
|
|
3368
|
+
delta: z.ZodNumber;
|
|
3369
|
+
severity: z.ZodEnum<{
|
|
3370
|
+
improvement: "improvement";
|
|
3371
|
+
neutral: "neutral";
|
|
3372
|
+
regression: "regression";
|
|
3373
|
+
}>;
|
|
3374
|
+
}, z.core.$strict>>;
|
|
3375
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3376
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
3377
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3378
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
3379
|
+
"cpu-throttling": "cpu-throttling";
|
|
3380
|
+
"form-factor": "form-factor";
|
|
3381
|
+
"host-browser": "host-browser";
|
|
3382
|
+
"lighthouse-version": "lighthouse-version";
|
|
3383
|
+
"network-throttling": "network-throttling";
|
|
3384
|
+
"runtime-environment": "runtime-environment";
|
|
3385
|
+
source: "source";
|
|
3386
|
+
strategy: "strategy";
|
|
3387
|
+
"target-url": "target-url";
|
|
3388
|
+
}>>;
|
|
3389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3390
|
+
_tag: z.ZodLiteral<"none">;
|
|
3391
|
+
}, z.core.$strict>], "_tag">;
|
|
2730
3392
|
readonly javascript: z.ZodNullable<z.ZodObject<{
|
|
2731
3393
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
2732
3394
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2838,6 +3500,10 @@ export declare const performanceScanDetailDataSchema: import("./core.js").Compat
|
|
|
2838
3500
|
readonly url: z.ZodString;
|
|
2839
3501
|
readonly strategy: z.ZodString;
|
|
2840
3502
|
readonly status: z.ZodString;
|
|
3503
|
+
readonly trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3504
|
+
readonly failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3505
|
+
readonly error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3506
|
+
readonly lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2841
3507
|
readonly scores: z.ZodObject<{
|
|
2842
3508
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2843
3509
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2847,10 +3513,28 @@ export declare const performanceScanDetailDataSchema: import("./core.js").Compat
|
|
|
2847
3513
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
2848
3514
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
2849
3515
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
3516
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
2850
3517
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
2851
3518
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
2852
3519
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
2853
|
-
readonly
|
|
3520
|
+
readonly comparison: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3521
|
+
_tag: z.ZodLiteral<"compared">;
|
|
3522
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3523
|
+
severity: z.ZodString;
|
|
3524
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3525
|
+
previous: z.ZodNumber;
|
|
3526
|
+
current: z.ZodNumber;
|
|
3527
|
+
delta: z.ZodNumber;
|
|
3528
|
+
metric: z.ZodString;
|
|
3529
|
+
severity: z.ZodString;
|
|
3530
|
+
}, z.core.$loose>>;
|
|
3531
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3532
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
3533
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3534
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
3535
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3536
|
+
_tag: z.ZodLiteral<"none">;
|
|
3537
|
+
}, z.core.$loose>], "_tag">>;
|
|
2854
3538
|
readonly javascript: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2855
3539
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
2856
3540
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2960,8 +3644,40 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
2960
3644
|
data: z.ZodObject<{
|
|
2961
3645
|
readonly id: z.ZodString;
|
|
2962
3646
|
readonly url: z.ZodString;
|
|
2963
|
-
readonly strategy: z.
|
|
2964
|
-
|
|
3647
|
+
readonly strategy: z.ZodEnum<{
|
|
3648
|
+
desktop: "desktop";
|
|
3649
|
+
mobile: "mobile";
|
|
3650
|
+
}>;
|
|
3651
|
+
readonly status: z.ZodEnum<{
|
|
3652
|
+
complete: "complete";
|
|
3653
|
+
failed: "failed";
|
|
3654
|
+
running: "running";
|
|
3655
|
+
}>;
|
|
3656
|
+
readonly trigger: z.ZodEnum<{
|
|
3657
|
+
"claim-recheck": "claim-recheck";
|
|
3658
|
+
confirmation: "confirmation";
|
|
3659
|
+
deploy: "deploy";
|
|
3660
|
+
manual: "manual";
|
|
3661
|
+
scheduled: "scheduled";
|
|
3662
|
+
}>;
|
|
3663
|
+
readonly failureKind: z.ZodNullable<z.ZodEnum<{
|
|
3664
|
+
abandoned: "abandoned";
|
|
3665
|
+
"artifact-missing": "artifact-missing";
|
|
3666
|
+
empty: "empty";
|
|
3667
|
+
internal: "internal";
|
|
3668
|
+
malformed: "malformed";
|
|
3669
|
+
"monitoring-changed": "monitoring-changed";
|
|
3670
|
+
network: "network";
|
|
3671
|
+
oversize: "oversize";
|
|
3672
|
+
processing: "processing";
|
|
3673
|
+
quota: "quota";
|
|
3674
|
+
rejected: "rejected";
|
|
3675
|
+
timeout: "timeout";
|
|
3676
|
+
unavailable: "unavailable";
|
|
3677
|
+
unqueued: "unqueued";
|
|
3678
|
+
}>>;
|
|
3679
|
+
readonly error: z.ZodNullable<z.ZodString>;
|
|
3680
|
+
readonly lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
2965
3681
|
readonly scores: z.ZodObject<{
|
|
2966
3682
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
2967
3683
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2971,10 +3687,58 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
2971
3687
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
2972
3688
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
2973
3689
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
3690
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
2974
3691
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
2975
3692
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
2976
3693
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
2977
|
-
readonly
|
|
3694
|
+
readonly comparison: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3695
|
+
_tag: z.ZodLiteral<"compared">;
|
|
3696
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3697
|
+
severity: z.ZodEnum<{
|
|
3698
|
+
improvement: "improvement";
|
|
3699
|
+
neutral: "neutral";
|
|
3700
|
+
regression: "regression";
|
|
3701
|
+
}>;
|
|
3702
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3703
|
+
metric: z.ZodEnum<{
|
|
3704
|
+
a11y: "a11y";
|
|
3705
|
+
bestPractices: "bestPractices";
|
|
3706
|
+
cls: "cls";
|
|
3707
|
+
fcp: "fcp";
|
|
3708
|
+
inp: "inp";
|
|
3709
|
+
lcp: "lcp";
|
|
3710
|
+
perf: "perf";
|
|
3711
|
+
seo: "seo";
|
|
3712
|
+
speedIndex: "speedIndex";
|
|
3713
|
+
tbt: "tbt";
|
|
3714
|
+
ttfb: "ttfb";
|
|
3715
|
+
}>;
|
|
3716
|
+
previous: z.ZodNumber;
|
|
3717
|
+
current: z.ZodNumber;
|
|
3718
|
+
delta: z.ZodNumber;
|
|
3719
|
+
severity: z.ZodEnum<{
|
|
3720
|
+
improvement: "improvement";
|
|
3721
|
+
neutral: "neutral";
|
|
3722
|
+
regression: "regression";
|
|
3723
|
+
}>;
|
|
3724
|
+
}, z.core.$strict>>;
|
|
3725
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3726
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
3727
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3728
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
3729
|
+
"cpu-throttling": "cpu-throttling";
|
|
3730
|
+
"form-factor": "form-factor";
|
|
3731
|
+
"host-browser": "host-browser";
|
|
3732
|
+
"lighthouse-version": "lighthouse-version";
|
|
3733
|
+
"network-throttling": "network-throttling";
|
|
3734
|
+
"runtime-environment": "runtime-environment";
|
|
3735
|
+
source: "source";
|
|
3736
|
+
strategy: "strategy";
|
|
3737
|
+
"target-url": "target-url";
|
|
3738
|
+
}>>;
|
|
3739
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3740
|
+
_tag: z.ZodLiteral<"none">;
|
|
3741
|
+
}, z.core.$strict>], "_tag">;
|
|
2978
3742
|
readonly javascript: z.ZodNullable<z.ZodObject<{
|
|
2979
3743
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
2980
3744
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3092,6 +3856,10 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
3092
3856
|
readonly url: z.ZodString;
|
|
3093
3857
|
readonly strategy: z.ZodString;
|
|
3094
3858
|
readonly status: z.ZodString;
|
|
3859
|
+
readonly trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3860
|
+
readonly failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3861
|
+
readonly error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3862
|
+
readonly lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3095
3863
|
readonly scores: z.ZodObject<{
|
|
3096
3864
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
3097
3865
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3101,10 +3869,28 @@ export declare const performanceScanDetailResponseSchema: import("./core.js").Co
|
|
|
3101
3869
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
3102
3870
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
3103
3871
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
3872
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
3104
3873
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
3105
3874
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
3106
3875
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
3107
|
-
readonly
|
|
3876
|
+
readonly comparison: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3877
|
+
_tag: z.ZodLiteral<"compared">;
|
|
3878
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3879
|
+
severity: z.ZodString;
|
|
3880
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3881
|
+
previous: z.ZodNumber;
|
|
3882
|
+
current: z.ZodNumber;
|
|
3883
|
+
delta: z.ZodNumber;
|
|
3884
|
+
metric: z.ZodString;
|
|
3885
|
+
severity: z.ZodString;
|
|
3886
|
+
}, z.core.$loose>>;
|
|
3887
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3888
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
3889
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
3890
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
3891
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3892
|
+
_tag: z.ZodLiteral<"none">;
|
|
3893
|
+
}, z.core.$loose>], "_tag">>;
|
|
3108
3894
|
readonly javascript: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3109
3895
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
3110
3896
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3247,8 +4033,40 @@ export declare const performanceScanDetailOperation: {
|
|
|
3247
4033
|
data: z.ZodObject<{
|
|
3248
4034
|
readonly id: z.ZodString;
|
|
3249
4035
|
readonly url: z.ZodString;
|
|
3250
|
-
readonly strategy: z.
|
|
3251
|
-
|
|
4036
|
+
readonly strategy: z.ZodEnum<{
|
|
4037
|
+
desktop: "desktop";
|
|
4038
|
+
mobile: "mobile";
|
|
4039
|
+
}>;
|
|
4040
|
+
readonly status: z.ZodEnum<{
|
|
4041
|
+
complete: "complete";
|
|
4042
|
+
failed: "failed";
|
|
4043
|
+
running: "running";
|
|
4044
|
+
}>;
|
|
4045
|
+
readonly trigger: z.ZodEnum<{
|
|
4046
|
+
"claim-recheck": "claim-recheck";
|
|
4047
|
+
confirmation: "confirmation";
|
|
4048
|
+
deploy: "deploy";
|
|
4049
|
+
manual: "manual";
|
|
4050
|
+
scheduled: "scheduled";
|
|
4051
|
+
}>;
|
|
4052
|
+
readonly failureKind: z.ZodNullable<z.ZodEnum<{
|
|
4053
|
+
abandoned: "abandoned";
|
|
4054
|
+
"artifact-missing": "artifact-missing";
|
|
4055
|
+
empty: "empty";
|
|
4056
|
+
internal: "internal";
|
|
4057
|
+
malformed: "malformed";
|
|
4058
|
+
"monitoring-changed": "monitoring-changed";
|
|
4059
|
+
network: "network";
|
|
4060
|
+
oversize: "oversize";
|
|
4061
|
+
processing: "processing";
|
|
4062
|
+
quota: "quota";
|
|
4063
|
+
rejected: "rejected";
|
|
4064
|
+
timeout: "timeout";
|
|
4065
|
+
unavailable: "unavailable";
|
|
4066
|
+
unqueued: "unqueued";
|
|
4067
|
+
}>>;
|
|
4068
|
+
readonly error: z.ZodNullable<z.ZodString>;
|
|
4069
|
+
readonly lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
3252
4070
|
readonly scores: z.ZodObject<{
|
|
3253
4071
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
3254
4072
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3258,10 +4076,58 @@ export declare const performanceScanDetailOperation: {
|
|
|
3258
4076
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
3259
4077
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
3260
4078
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
4079
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
3261
4080
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
3262
4081
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
3263
4082
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
3264
|
-
readonly
|
|
4083
|
+
readonly comparison: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4084
|
+
_tag: z.ZodLiteral<"compared">;
|
|
4085
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
4086
|
+
severity: z.ZodEnum<{
|
|
4087
|
+
improvement: "improvement";
|
|
4088
|
+
neutral: "neutral";
|
|
4089
|
+
regression: "regression";
|
|
4090
|
+
}>;
|
|
4091
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
4092
|
+
metric: z.ZodEnum<{
|
|
4093
|
+
a11y: "a11y";
|
|
4094
|
+
bestPractices: "bestPractices";
|
|
4095
|
+
cls: "cls";
|
|
4096
|
+
fcp: "fcp";
|
|
4097
|
+
inp: "inp";
|
|
4098
|
+
lcp: "lcp";
|
|
4099
|
+
perf: "perf";
|
|
4100
|
+
seo: "seo";
|
|
4101
|
+
speedIndex: "speedIndex";
|
|
4102
|
+
tbt: "tbt";
|
|
4103
|
+
ttfb: "ttfb";
|
|
4104
|
+
}>;
|
|
4105
|
+
previous: z.ZodNumber;
|
|
4106
|
+
current: z.ZodNumber;
|
|
4107
|
+
delta: z.ZodNumber;
|
|
4108
|
+
severity: z.ZodEnum<{
|
|
4109
|
+
improvement: "improvement";
|
|
4110
|
+
neutral: "neutral";
|
|
4111
|
+
regression: "regression";
|
|
4112
|
+
}>;
|
|
4113
|
+
}, z.core.$strict>>;
|
|
4114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4115
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
4116
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
4117
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
4118
|
+
"cpu-throttling": "cpu-throttling";
|
|
4119
|
+
"form-factor": "form-factor";
|
|
4120
|
+
"host-browser": "host-browser";
|
|
4121
|
+
"lighthouse-version": "lighthouse-version";
|
|
4122
|
+
"network-throttling": "network-throttling";
|
|
4123
|
+
"runtime-environment": "runtime-environment";
|
|
4124
|
+
source: "source";
|
|
4125
|
+
strategy: "strategy";
|
|
4126
|
+
"target-url": "target-url";
|
|
4127
|
+
}>>;
|
|
4128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4129
|
+
_tag: z.ZodLiteral<"none">;
|
|
4130
|
+
}, z.core.$strict>], "_tag">;
|
|
3265
4131
|
readonly javascript: z.ZodNullable<z.ZodObject<{
|
|
3266
4132
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
3267
4133
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3379,6 +4245,10 @@ export declare const performanceScanDetailOperation: {
|
|
|
3379
4245
|
readonly url: z.ZodString;
|
|
3380
4246
|
readonly strategy: z.ZodString;
|
|
3381
4247
|
readonly status: z.ZodString;
|
|
4248
|
+
readonly trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4249
|
+
readonly failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4250
|
+
readonly error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4251
|
+
readonly lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3382
4252
|
readonly scores: z.ZodObject<{
|
|
3383
4253
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
3384
4254
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3388,10 +4258,28 @@ export declare const performanceScanDetailOperation: {
|
|
|
3388
4258
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
3389
4259
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
3390
4260
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
4261
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
3391
4262
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
3392
4263
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
3393
4264
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
3394
|
-
readonly
|
|
4265
|
+
readonly comparison: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4266
|
+
_tag: z.ZodLiteral<"compared">;
|
|
4267
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
4268
|
+
severity: z.ZodString;
|
|
4269
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
4270
|
+
previous: z.ZodNumber;
|
|
4271
|
+
current: z.ZodNumber;
|
|
4272
|
+
delta: z.ZodNumber;
|
|
4273
|
+
metric: z.ZodString;
|
|
4274
|
+
severity: z.ZodString;
|
|
4275
|
+
}, z.core.$loose>>;
|
|
4276
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4277
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
4278
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
4279
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
4280
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4281
|
+
_tag: z.ZodLiteral<"none">;
|
|
4282
|
+
}, z.core.$loose>], "_tag">>;
|
|
3395
4283
|
readonly javascript: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3396
4284
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
3397
4285
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3575,7 +4463,7 @@ export declare const performanceScanDetailOperation: {
|
|
|
3575
4463
|
};
|
|
3576
4464
|
readonly docs: {
|
|
3577
4465
|
readonly summary: 'Get one Lighthouse Scan';
|
|
3578
|
-
readonly description: 'Returns one Scan with the evidence behind its scores: the wasteful assets, the repeat-visit cache policy, the third-party scripts, the LCP element, and every failing accessibility and best-practices check with the CSS selectors and DOM snippets that failed. Read coverage before quoting a total: elements and checks are both capped per Scan.';
|
|
4466
|
+
readonly description: 'Returns one Scan with the evidence behind its scores: the wasteful assets, the repeat-visit cache policy, the third-party scripts, the LCP element, and every failing accessibility and best-practices check with the CSS selectors and DOM snippets that failed. It also returns why the Scan started, the Lighthouse version, and the comparison with the previous Scan of the same Page. A failed Scan carries its failureKind and error. Read coverage before quoting a total: elements and checks are both capped per Scan. A null blockingTime or wastedMs is unmeasured, never zero.';
|
|
3579
4467
|
readonly tags: readonly ["Pages"];
|
|
3580
4468
|
readonly examples: readonly [{
|
|
3581
4469
|
readonly request: {
|
|
@@ -3589,9 +4477,13 @@ export declare const performanceScanDetailOperation: {
|
|
|
3589
4477
|
readonly body: {
|
|
3590
4478
|
readonly data: {
|
|
3591
4479
|
readonly id: 'scan_01JXYZ';
|
|
3592
|
-
readonly url: 'https://example.com/';
|
|
4480
|
+
readonly url: 'https://example.com/pricing';
|
|
3593
4481
|
readonly strategy: 'mobile';
|
|
3594
4482
|
readonly status: 'complete';
|
|
4483
|
+
readonly trigger: 'scheduled';
|
|
4484
|
+
readonly failureKind: null;
|
|
4485
|
+
readonly error: null;
|
|
4486
|
+
readonly lighthouseVersion: '13.5.0';
|
|
3595
4487
|
readonly scores: {
|
|
3596
4488
|
readonly perf: 82;
|
|
3597
4489
|
readonly a11y: 96;
|
|
@@ -3605,6 +4497,24 @@ export declare const performanceScanDetailOperation: {
|
|
|
3605
4497
|
readonly speedIndex: 2400;
|
|
3606
4498
|
readonly ttfb: 210;
|
|
3607
4499
|
readonly completedAt: '2026-08-10T01:00:00.000Z';
|
|
4500
|
+
readonly comparison: {
|
|
4501
|
+
readonly _tag: 'compared';
|
|
4502
|
+
readonly previousScanId: 'scan_01JXXX';
|
|
4503
|
+
readonly severity: 'regression';
|
|
4504
|
+
readonly changes: readonly [{
|
|
4505
|
+
readonly metric: 'lcp';
|
|
4506
|
+
readonly previous: 1500;
|
|
4507
|
+
readonly current: 2200;
|
|
4508
|
+
readonly delta: 700;
|
|
4509
|
+
readonly severity: 'regression';
|
|
4510
|
+
}, {
|
|
4511
|
+
readonly metric: 'perf';
|
|
4512
|
+
readonly previous: 85;
|
|
4513
|
+
readonly current: 82;
|
|
4514
|
+
readonly delta: -3;
|
|
4515
|
+
readonly severity: 'neutral';
|
|
4516
|
+
}];
|
|
4517
|
+
};
|
|
3608
4518
|
readonly javascript: null;
|
|
3609
4519
|
readonly performanceIssues: readonly [];
|
|
3610
4520
|
readonly cachePolicy: readonly [];
|
|
@@ -4386,23 +5296,64 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4386
5296
|
data: z.ZodObject<{
|
|
4387
5297
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
4388
5298
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
5299
|
+
/** Null when no Web Analytics provider answered. */
|
|
5300
|
+
readonly window: z.ZodNullable<z.ZodObject<{
|
|
5301
|
+
from: z.ZodISODate;
|
|
5302
|
+
to: z.ZodISODate;
|
|
5303
|
+
}, z.core.$strict>>;
|
|
5304
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5305
|
+
severity: z.ZodEnum<{
|
|
5306
|
+
good: "good";
|
|
5307
|
+
"needs-improvement": "needs-improvement";
|
|
5308
|
+
poor: "poor";
|
|
4394
5309
|
}>;
|
|
4395
|
-
|
|
5310
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5311
|
+
route: z.ZodString;
|
|
5312
|
+
selector: z.ZodString;
|
|
5313
|
+
estimatedViews: z.ZodNumber;
|
|
5314
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
5315
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
5316
|
+
fixPrompt: z.ZodString;
|
|
5317
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
5318
|
+
fetchPriority: z.ZodNullable<z.ZodString>;
|
|
5319
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
5320
|
+
phases: z.ZodObject<{
|
|
5321
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
5322
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
5323
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
5324
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
5325
|
+
}, z.core.$strict>;
|
|
5326
|
+
metric: z.ZodLiteral<"lcp">;
|
|
5327
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5328
|
+
severity: z.ZodEnum<{
|
|
4396
5329
|
good: "good";
|
|
4397
5330
|
"needs-improvement": "needs-improvement";
|
|
4398
5331
|
poor: "poor";
|
|
4399
5332
|
}>;
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
5333
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5334
|
+
route: z.ZodString;
|
|
5335
|
+
selector: z.ZodString;
|
|
5336
|
+
estimatedViews: z.ZodNumber;
|
|
5337
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
5338
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
5339
|
+
fixPrompt: z.ZodString;
|
|
5340
|
+
metric: z.ZodLiteral<"inp">;
|
|
5341
|
+
interaction: z.ZodNullable<z.ZodString>;
|
|
5342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5343
|
+
severity: z.ZodEnum<{
|
|
5344
|
+
good: "good";
|
|
5345
|
+
"needs-improvement": "needs-improvement";
|
|
5346
|
+
poor: "poor";
|
|
5347
|
+
}>;
|
|
5348
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5349
|
+
route: z.ZodString;
|
|
5350
|
+
selector: z.ZodString;
|
|
5351
|
+
estimatedViews: z.ZodNumber;
|
|
5352
|
+
poorFraction: z.ZodNullable<z.ZodNumber>;
|
|
5353
|
+
labHint: z.ZodNullable<z.ZodString>;
|
|
5354
|
+
fixPrompt: z.ZodString;
|
|
5355
|
+
metric: z.ZodLiteral<"cls">;
|
|
5356
|
+
}, z.core.$strict>], "metric">>;
|
|
4406
5357
|
readonly total: z.ZodNumber;
|
|
4407
5358
|
readonly limit: z.ZodNumber;
|
|
4408
5359
|
readonly offset: z.ZodNumber;
|
|
@@ -4415,23 +5366,63 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4415
5366
|
data: z.ZodObject<{
|
|
4416
5367
|
readonly source: z.ZodNullable<z.ZodString>;
|
|
4417
5368
|
readonly message: z.ZodNullable<z.ZodString>;
|
|
4418
|
-
readonly
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
5369
|
+
readonly window: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5370
|
+
from: z.ZodISODate;
|
|
5371
|
+
to: z.ZodISODate;
|
|
5372
|
+
}, z.core.$loose>>>;
|
|
5373
|
+
readonly findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5374
|
+
severity: z.ZodEnum<{
|
|
5375
|
+
good: "good";
|
|
5376
|
+
"needs-improvement": "needs-improvement";
|
|
5377
|
+
poor: "poor";
|
|
4423
5378
|
}>;
|
|
4424
|
-
|
|
5379
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5380
|
+
route: z.ZodString;
|
|
5381
|
+
selector: z.ZodString;
|
|
5382
|
+
estimatedViews: z.ZodNumber;
|
|
5383
|
+
fixPrompt: z.ZodString;
|
|
5384
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5385
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5386
|
+
metric: z.ZodLiteral<"lcp">;
|
|
5387
|
+
resource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5388
|
+
fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5389
|
+
initiatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5390
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
5391
|
+
timeToFirstByte: z.ZodNullable<z.ZodNumber>;
|
|
5392
|
+
resourceLoadDelay: z.ZodNullable<z.ZodNumber>;
|
|
5393
|
+
resourceLoadTime: z.ZodNullable<z.ZodNumber>;
|
|
5394
|
+
elementRenderDelay: z.ZodNullable<z.ZodNumber>;
|
|
5395
|
+
}, z.core.$loose>>;
|
|
5396
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
5397
|
+
severity: z.ZodEnum<{
|
|
4425
5398
|
good: "good";
|
|
4426
5399
|
"needs-improvement": "needs-improvement";
|
|
4427
5400
|
poor: "poor";
|
|
4428
5401
|
}>;
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
5402
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5403
|
+
route: z.ZodString;
|
|
5404
|
+
selector: z.ZodString;
|
|
5405
|
+
estimatedViews: z.ZodNumber;
|
|
5406
|
+
fixPrompt: z.ZodString;
|
|
5407
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5408
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5409
|
+
metric: z.ZodLiteral<"inp">;
|
|
5410
|
+
interaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5411
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
5412
|
+
severity: z.ZodEnum<{
|
|
5413
|
+
good: "good";
|
|
5414
|
+
"needs-improvement": "needs-improvement";
|
|
5415
|
+
poor: "poor";
|
|
5416
|
+
}>;
|
|
5417
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5418
|
+
route: z.ZodString;
|
|
5419
|
+
selector: z.ZodString;
|
|
5420
|
+
estimatedViews: z.ZodNumber;
|
|
5421
|
+
fixPrompt: z.ZodString;
|
|
5422
|
+
poorFraction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5423
|
+
labHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5424
|
+
metric: z.ZodLiteral<"cls">;
|
|
5425
|
+
}, z.core.$loose>], "metric">>;
|
|
4435
5426
|
readonly total: z.ZodNumber;
|
|
4436
5427
|
readonly limit: z.ZodNumber;
|
|
4437
5428
|
readonly offset: z.ZodNumber;
|
|
@@ -4514,7 +5505,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4514
5505
|
};
|
|
4515
5506
|
readonly docs: {
|
|
4516
5507
|
readonly summary: 'List field Core Web Vitals findings';
|
|
4517
|
-
readonly description: 'Returns each failing real-user vital attributed to the DOM element behind it, with the p75, the CSS selector, and a ready-to-apply fix prompt. It requires a connected Web Analytics provider. If no provider is connected, findings is empty and message says so.';
|
|
5508
|
+
readonly description: 'Returns each failing real-user vital attributed to the DOM element behind it, with the p75, the CSS selector, and a ready-to-apply fix prompt. An LCP finding also names its resource, fetchPriority and phases. An INP finding names the interaction. window gives the dates the provider aggregated. It requires a connected Web Analytics provider. If no provider is connected, findings is empty and message says so.';
|
|
4518
5509
|
readonly tags: readonly ["Pages"];
|
|
4519
5510
|
readonly examples: readonly [{
|
|
4520
5511
|
readonly request: {
|
|
@@ -4533,6 +5524,10 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4533
5524
|
readonly data: {
|
|
4534
5525
|
readonly source: 'cloudflare';
|
|
4535
5526
|
readonly message: null;
|
|
5527
|
+
readonly window: {
|
|
5528
|
+
readonly from: '2026-07-13';
|
|
5529
|
+
readonly to: '2026-08-09';
|
|
5530
|
+
};
|
|
4536
5531
|
readonly findings: readonly [{
|
|
4537
5532
|
readonly metric: 'lcp';
|
|
4538
5533
|
readonly severity: 'poor';
|
|
@@ -4540,6 +5535,17 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4540
5535
|
readonly route: '/blog';
|
|
4541
5536
|
readonly selector: 'main > img.hero';
|
|
4542
5537
|
readonly estimatedViews: 1840;
|
|
5538
|
+
readonly poorFraction: 0.31;
|
|
5539
|
+
readonly labHint: null;
|
|
5540
|
+
readonly resource: 'example.com/images/hero.jpg';
|
|
5541
|
+
readonly fetchPriority: 'auto';
|
|
5542
|
+
readonly initiatorType: 'img';
|
|
5543
|
+
readonly phases: {
|
|
5544
|
+
readonly timeToFirstByte: 600;
|
|
5545
|
+
readonly resourceLoadDelay: 1900;
|
|
5546
|
+
readonly resourceLoadTime: 1200;
|
|
5547
|
+
readonly elementRenderDelay: 600;
|
|
5548
|
+
};
|
|
4543
5549
|
readonly fixPrompt: 'The LCP element on /blog is main > img.hero at 4300ms.';
|
|
4544
5550
|
}];
|
|
4545
5551
|
readonly total: 1;
|
|
@@ -4586,22 +5592,52 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4586
5592
|
readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
4587
5593
|
data: z.ZodObject<{
|
|
4588
5594
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
5595
|
+
id: z.ZodString;
|
|
5596
|
+
url: z.ZodString;
|
|
5597
|
+
strategy: z.ZodEnum<{
|
|
5598
|
+
desktop: "desktop";
|
|
5599
|
+
mobile: "mobile";
|
|
5600
|
+
}>;
|
|
5601
|
+
status: z.ZodEnum<{
|
|
5602
|
+
complete: "complete";
|
|
5603
|
+
failed: "failed";
|
|
5604
|
+
running: "running";
|
|
5605
|
+
}>;
|
|
5606
|
+
trigger: z.ZodEnum<{
|
|
5607
|
+
"claim-recheck": "claim-recheck";
|
|
5608
|
+
confirmation: "confirmation";
|
|
5609
|
+
deploy: "deploy";
|
|
5610
|
+
manual: "manual";
|
|
5611
|
+
scheduled: "scheduled";
|
|
5612
|
+
}>;
|
|
5613
|
+
failureKind: z.ZodNullable<z.ZodEnum<{
|
|
5614
|
+
abandoned: "abandoned";
|
|
5615
|
+
"artifact-missing": "artifact-missing";
|
|
5616
|
+
empty: "empty";
|
|
5617
|
+
internal: "internal";
|
|
5618
|
+
malformed: "malformed";
|
|
5619
|
+
"monitoring-changed": "monitoring-changed";
|
|
5620
|
+
network: "network";
|
|
5621
|
+
oversize: "oversize";
|
|
5622
|
+
processing: "processing";
|
|
5623
|
+
quota: "quota";
|
|
5624
|
+
rejected: "rejected";
|
|
5625
|
+
timeout: "timeout";
|
|
5626
|
+
unavailable: "unavailable";
|
|
5627
|
+
unqueued: "unqueued";
|
|
5628
|
+
}>>;
|
|
5629
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5630
|
+
lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
5631
|
+
scores: z.ZodObject<{
|
|
4595
5632
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
4596
5633
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
4597
5634
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
4598
5635
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
4599
5636
|
}, z.core.$strict>;
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
5637
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
5638
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
5639
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
5640
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
4605
5641
|
}, z.core.$strip>>;
|
|
4606
5642
|
readonly total: z.ZodNumber;
|
|
4607
5643
|
readonly limit: z.ZodNumber;
|
|
@@ -4613,22 +5649,24 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4613
5649
|
}, z.core.$strip>, z.ZodObject<{
|
|
4614
5650
|
data: z.ZodObject<{
|
|
4615
5651
|
readonly scans: z.ZodArray<z.ZodObject<{
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
5652
|
+
id: z.ZodString;
|
|
5653
|
+
url: z.ZodString;
|
|
5654
|
+
strategy: z.ZodString;
|
|
5655
|
+
status: z.ZodString;
|
|
5656
|
+
trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5657
|
+
failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5658
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5659
|
+
lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5660
|
+
scores: z.ZodObject<{
|
|
4622
5661
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
4623
5662
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
4624
5663
|
bestPractices: z.ZodNullable<z.ZodNumber>;
|
|
4625
5664
|
seo: z.ZodNullable<z.ZodNumber>;
|
|
4626
5665
|
}, z.core.$loose>;
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
readonly error: z.ZodNullable<z.ZodString>;
|
|
5666
|
+
lcp: z.ZodNullable<z.ZodNumber>;
|
|
5667
|
+
tbt: z.ZodNullable<z.ZodNumber>;
|
|
5668
|
+
cls: z.ZodNullable<z.ZodNumber>;
|
|
5669
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
4632
5670
|
}, z.core.$strip>>;
|
|
4633
5671
|
readonly total: z.ZodNumber;
|
|
4634
5672
|
readonly limit: z.ZodNumber;
|
|
@@ -4711,7 +5749,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4711
5749
|
};
|
|
4712
5750
|
readonly docs: {
|
|
4713
5751
|
readonly summary: 'List Lighthouse Scans';
|
|
4714
|
-
readonly description: 'Returns retained Lighthouse Scans for the Site, newest first, with the scores and lab vitals each one recorded. A failed Scan carries its error. Use one Scan id with the Scan read for the failing checks behind a score.';
|
|
5752
|
+
readonly description: 'Returns retained Lighthouse Scans for the Site, newest first, with the scores and lab vitals each one recorded. A failed Scan carries its failureKind and error, and its scores are null. Use one Scan id with the Scan read for the failing checks behind a score.';
|
|
4715
5753
|
readonly tags: readonly ["Pages"];
|
|
4716
5754
|
readonly examples: readonly [{
|
|
4717
5755
|
readonly request: {
|
|
@@ -4732,6 +5770,9 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4732
5770
|
readonly strategy: 'mobile';
|
|
4733
5771
|
readonly status: 'complete';
|
|
4734
5772
|
readonly trigger: 'scheduled';
|
|
5773
|
+
readonly failureKind: null;
|
|
5774
|
+
readonly error: null;
|
|
5775
|
+
readonly lighthouseVersion: '13.5.0';
|
|
4735
5776
|
readonly scores: {
|
|
4736
5777
|
readonly perf: 82;
|
|
4737
5778
|
readonly a11y: 96;
|
|
@@ -4742,9 +5783,27 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4742
5783
|
readonly tbt: 180;
|
|
4743
5784
|
readonly cls: 0.08;
|
|
4744
5785
|
readonly completedAt: '2026-08-10T01:00:00.000Z';
|
|
4745
|
-
|
|
5786
|
+
}, {
|
|
5787
|
+
readonly id: 'scan_01JXZA';
|
|
5788
|
+
readonly url: 'https://example.com/blog';
|
|
5789
|
+
readonly strategy: 'mobile';
|
|
5790
|
+
readonly status: 'failed';
|
|
5791
|
+
readonly trigger: 'scheduled';
|
|
5792
|
+
readonly failureKind: 'timeout';
|
|
5793
|
+
readonly error: 'PSI timed out loading the page';
|
|
5794
|
+
readonly lighthouseVersion: null;
|
|
5795
|
+
readonly scores: {
|
|
5796
|
+
readonly perf: null;
|
|
5797
|
+
readonly a11y: null;
|
|
5798
|
+
readonly bestPractices: null;
|
|
5799
|
+
readonly seo: null;
|
|
5800
|
+
};
|
|
5801
|
+
readonly lcp: null;
|
|
5802
|
+
readonly tbt: null;
|
|
5803
|
+
readonly cls: null;
|
|
5804
|
+
readonly completedAt: '2026-08-10T01:05:00.000Z';
|
|
4746
5805
|
}];
|
|
4747
|
-
readonly total:
|
|
5806
|
+
readonly total: 2;
|
|
4748
5807
|
readonly limit: 25;
|
|
4749
5808
|
};
|
|
4750
5809
|
readonly meta: {
|
|
@@ -4947,8 +6006,40 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4947
6006
|
data: z.ZodObject<{
|
|
4948
6007
|
readonly id: z.ZodString;
|
|
4949
6008
|
readonly url: z.ZodString;
|
|
4950
|
-
readonly strategy: z.
|
|
4951
|
-
|
|
6009
|
+
readonly strategy: z.ZodEnum<{
|
|
6010
|
+
desktop: "desktop";
|
|
6011
|
+
mobile: "mobile";
|
|
6012
|
+
}>;
|
|
6013
|
+
readonly status: z.ZodEnum<{
|
|
6014
|
+
complete: "complete";
|
|
6015
|
+
failed: "failed";
|
|
6016
|
+
running: "running";
|
|
6017
|
+
}>;
|
|
6018
|
+
readonly trigger: z.ZodEnum<{
|
|
6019
|
+
"claim-recheck": "claim-recheck";
|
|
6020
|
+
confirmation: "confirmation";
|
|
6021
|
+
deploy: "deploy";
|
|
6022
|
+
manual: "manual";
|
|
6023
|
+
scheduled: "scheduled";
|
|
6024
|
+
}>;
|
|
6025
|
+
readonly failureKind: z.ZodNullable<z.ZodEnum<{
|
|
6026
|
+
abandoned: "abandoned";
|
|
6027
|
+
"artifact-missing": "artifact-missing";
|
|
6028
|
+
empty: "empty";
|
|
6029
|
+
internal: "internal";
|
|
6030
|
+
malformed: "malformed";
|
|
6031
|
+
"monitoring-changed": "monitoring-changed";
|
|
6032
|
+
network: "network";
|
|
6033
|
+
oversize: "oversize";
|
|
6034
|
+
processing: "processing";
|
|
6035
|
+
quota: "quota";
|
|
6036
|
+
rejected: "rejected";
|
|
6037
|
+
timeout: "timeout";
|
|
6038
|
+
unavailable: "unavailable";
|
|
6039
|
+
unqueued: "unqueued";
|
|
6040
|
+
}>>;
|
|
6041
|
+
readonly error: z.ZodNullable<z.ZodString>;
|
|
6042
|
+
readonly lighthouseVersion: z.ZodNullable<z.ZodString>;
|
|
4952
6043
|
readonly scores: z.ZodObject<{
|
|
4953
6044
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
4954
6045
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4958,10 +6049,58 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
4958
6049
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
4959
6050
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
4960
6051
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
6052
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
4961
6053
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
4962
6054
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
4963
6055
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
4964
|
-
readonly
|
|
6056
|
+
readonly comparison: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6057
|
+
_tag: z.ZodLiteral<"compared">;
|
|
6058
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
6059
|
+
severity: z.ZodEnum<{
|
|
6060
|
+
improvement: "improvement";
|
|
6061
|
+
neutral: "neutral";
|
|
6062
|
+
regression: "regression";
|
|
6063
|
+
}>;
|
|
6064
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
6065
|
+
metric: z.ZodEnum<{
|
|
6066
|
+
a11y: "a11y";
|
|
6067
|
+
bestPractices: "bestPractices";
|
|
6068
|
+
cls: "cls";
|
|
6069
|
+
fcp: "fcp";
|
|
6070
|
+
inp: "inp";
|
|
6071
|
+
lcp: "lcp";
|
|
6072
|
+
perf: "perf";
|
|
6073
|
+
seo: "seo";
|
|
6074
|
+
speedIndex: "speedIndex";
|
|
6075
|
+
tbt: "tbt";
|
|
6076
|
+
ttfb: "ttfb";
|
|
6077
|
+
}>;
|
|
6078
|
+
previous: z.ZodNumber;
|
|
6079
|
+
current: z.ZodNumber;
|
|
6080
|
+
delta: z.ZodNumber;
|
|
6081
|
+
severity: z.ZodEnum<{
|
|
6082
|
+
improvement: "improvement";
|
|
6083
|
+
neutral: "neutral";
|
|
6084
|
+
regression: "regression";
|
|
6085
|
+
}>;
|
|
6086
|
+
}, z.core.$strict>>;
|
|
6087
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6088
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
6089
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
6090
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
6091
|
+
"cpu-throttling": "cpu-throttling";
|
|
6092
|
+
"form-factor": "form-factor";
|
|
6093
|
+
"host-browser": "host-browser";
|
|
6094
|
+
"lighthouse-version": "lighthouse-version";
|
|
6095
|
+
"network-throttling": "network-throttling";
|
|
6096
|
+
"runtime-environment": "runtime-environment";
|
|
6097
|
+
source: "source";
|
|
6098
|
+
strategy: "strategy";
|
|
6099
|
+
"target-url": "target-url";
|
|
6100
|
+
}>>;
|
|
6101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6102
|
+
_tag: z.ZodLiteral<"none">;
|
|
6103
|
+
}, z.core.$strict>], "_tag">;
|
|
4965
6104
|
readonly javascript: z.ZodNullable<z.ZodObject<{
|
|
4966
6105
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
4967
6106
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5079,6 +6218,10 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5079
6218
|
readonly url: z.ZodString;
|
|
5080
6219
|
readonly strategy: z.ZodString;
|
|
5081
6220
|
readonly status: z.ZodString;
|
|
6221
|
+
readonly trigger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6222
|
+
readonly failureKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6223
|
+
readonly error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6224
|
+
readonly lighthouseVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5082
6225
|
readonly scores: z.ZodObject<{
|
|
5083
6226
|
perf: z.ZodNullable<z.ZodNumber>;
|
|
5084
6227
|
a11y: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5088,10 +6231,28 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5088
6231
|
readonly lcp: z.ZodNullable<z.ZodNumber>;
|
|
5089
6232
|
readonly tbt: z.ZodNullable<z.ZodNumber>;
|
|
5090
6233
|
readonly cls: z.ZodNullable<z.ZodNumber>;
|
|
6234
|
+
readonly completedAt: z.ZodNullable<z.ZodString>;
|
|
5091
6235
|
readonly fcp: z.ZodNullable<z.ZodNumber>;
|
|
5092
6236
|
readonly speedIndex: z.ZodNullable<z.ZodNumber>;
|
|
5093
6237
|
readonly ttfb: z.ZodNullable<z.ZodNumber>;
|
|
5094
|
-
readonly
|
|
6238
|
+
readonly comparison: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6239
|
+
_tag: z.ZodLiteral<"compared">;
|
|
6240
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
6241
|
+
severity: z.ZodString;
|
|
6242
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
6243
|
+
previous: z.ZodNumber;
|
|
6244
|
+
current: z.ZodNumber;
|
|
6245
|
+
delta: z.ZodNumber;
|
|
6246
|
+
metric: z.ZodString;
|
|
6247
|
+
severity: z.ZodString;
|
|
6248
|
+
}, z.core.$loose>>;
|
|
6249
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6250
|
+
_tag: z.ZodLiteral<"incompatible">;
|
|
6251
|
+
previousScanId: z.ZodNullable<z.ZodString>;
|
|
6252
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
6253
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6254
|
+
_tag: z.ZodLiteral<"none">;
|
|
6255
|
+
}, z.core.$loose>], "_tag">>;
|
|
5095
6256
|
readonly javascript: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5096
6257
|
transferBytes: z.ZodNullable<z.ZodNumber>;
|
|
5097
6258
|
decodedBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5275,7 +6436,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5275
6436
|
};
|
|
5276
6437
|
readonly docs: {
|
|
5277
6438
|
readonly summary: 'Get one Lighthouse Scan';
|
|
5278
|
-
readonly description: 'Returns one Scan with the evidence behind its scores: the wasteful assets, the repeat-visit cache policy, the third-party scripts, the LCP element, and every failing accessibility and best-practices check with the CSS selectors and DOM snippets that failed. Read coverage before quoting a total: elements and checks are both capped per Scan.';
|
|
6439
|
+
readonly description: 'Returns one Scan with the evidence behind its scores: the wasteful assets, the repeat-visit cache policy, the third-party scripts, the LCP element, and every failing accessibility and best-practices check with the CSS selectors and DOM snippets that failed. It also returns why the Scan started, the Lighthouse version, and the comparison with the previous Scan of the same Page. A failed Scan carries its failureKind and error. Read coverage before quoting a total: elements and checks are both capped per Scan. A null blockingTime or wastedMs is unmeasured, never zero.';
|
|
5279
6440
|
readonly tags: readonly ["Pages"];
|
|
5280
6441
|
readonly examples: readonly [{
|
|
5281
6442
|
readonly request: {
|
|
@@ -5289,9 +6450,13 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5289
6450
|
readonly body: {
|
|
5290
6451
|
readonly data: {
|
|
5291
6452
|
readonly id: 'scan_01JXYZ';
|
|
5292
|
-
readonly url: 'https://example.com/';
|
|
6453
|
+
readonly url: 'https://example.com/pricing';
|
|
5293
6454
|
readonly strategy: 'mobile';
|
|
5294
6455
|
readonly status: 'complete';
|
|
6456
|
+
readonly trigger: 'scheduled';
|
|
6457
|
+
readonly failureKind: null;
|
|
6458
|
+
readonly error: null;
|
|
6459
|
+
readonly lighthouseVersion: '13.5.0';
|
|
5295
6460
|
readonly scores: {
|
|
5296
6461
|
readonly perf: 82;
|
|
5297
6462
|
readonly a11y: 96;
|
|
@@ -5305,6 +6470,24 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
|
|
|
5305
6470
|
readonly speedIndex: 2400;
|
|
5306
6471
|
readonly ttfb: 210;
|
|
5307
6472
|
readonly completedAt: '2026-08-10T01:00:00.000Z';
|
|
6473
|
+
readonly comparison: {
|
|
6474
|
+
readonly _tag: 'compared';
|
|
6475
|
+
readonly previousScanId: 'scan_01JXXX';
|
|
6476
|
+
readonly severity: 'regression';
|
|
6477
|
+
readonly changes: readonly [{
|
|
6478
|
+
readonly metric: 'lcp';
|
|
6479
|
+
readonly previous: 1500;
|
|
6480
|
+
readonly current: 2200;
|
|
6481
|
+
readonly delta: 700;
|
|
6482
|
+
readonly severity: 'regression';
|
|
6483
|
+
}, {
|
|
6484
|
+
readonly metric: 'perf';
|
|
6485
|
+
readonly previous: 85;
|
|
6486
|
+
readonly current: 82;
|
|
6487
|
+
readonly delta: -3;
|
|
6488
|
+
readonly severity: 'neutral';
|
|
6489
|
+
}];
|
|
6490
|
+
};
|
|
5308
6491
|
readonly javascript: null;
|
|
5309
6492
|
readonly performanceIssues: readonly [];
|
|
5310
6493
|
readonly cachePolicy: readonly [];
|