@typeslayer/validate 0.1.26 → 0.1.28
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/index.d.mts +381 -61
- package/dist/index.mjs +353 -57
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -8
- package/src/index.ts +2 -0
- package/src/trace-json.ts +69 -1
- package/src/types-json.ts +333 -59
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
+
import * as _mui_material_SvgIcon0 from "@mui/material/SvgIcon";
|
|
3
|
+
import * as _mui_material_OverridableComponent0 from "@mui/material/OverridableComponent";
|
|
4
|
+
import { SvgIconComponent } from "@mui/icons-material";
|
|
2
5
|
|
|
3
6
|
//#region src/package-name.d.ts
|
|
4
7
|
declare const packageNameRegex: RegExp;
|
|
@@ -305,6 +308,72 @@ declare const depthLimits: (z.ZodObject<{
|
|
|
305
308
|
ts: z.ZodNumber;
|
|
306
309
|
}, z.core.$strict>)[];
|
|
307
310
|
type DepthLimitNames = EventChecktypes__CheckCrossProductUnion_DepthLimit["name"] | EventChecktypes__CheckTypeRelatedTo_DepthLimit["name"] | EventChecktypes__GetTypeAtFlowNode_DepthLimit["name"] | EventChecktypes__InstantiateType_DepthLimit["name"] | EventChecktypes__RecursiveTypeRelatedTo_DepthLimit["name"] | EventChecktypes__RemoveSubtypes_DepthLimit["name"] | EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit["name"] | EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit["name"];
|
|
311
|
+
declare const depthLimitInfo: {
|
|
312
|
+
instantiateType_DepthLimit: {
|
|
313
|
+
title: string;
|
|
314
|
+
notFound: string;
|
|
315
|
+
route: string;
|
|
316
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
317
|
+
muiName: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
recursiveTypeRelatedTo_DepthLimit: {
|
|
321
|
+
title: string;
|
|
322
|
+
notFound: string;
|
|
323
|
+
route: string;
|
|
324
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
325
|
+
muiName: string;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
typeRelatedToDiscriminatedType_DepthLimit: {
|
|
329
|
+
title: string;
|
|
330
|
+
notFound: string;
|
|
331
|
+
route: string;
|
|
332
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
333
|
+
muiName: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
checkCrossProductUnion_DepthLimit: {
|
|
337
|
+
title: string;
|
|
338
|
+
notFound: string;
|
|
339
|
+
route: string;
|
|
340
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
341
|
+
muiName: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
checkTypeRelatedTo_DepthLimit: {
|
|
345
|
+
title: string;
|
|
346
|
+
notFound: string;
|
|
347
|
+
route: string;
|
|
348
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
349
|
+
muiName: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
getTypeAtFlowNode_DepthLimit: {
|
|
353
|
+
title: string;
|
|
354
|
+
notFound: string;
|
|
355
|
+
route: string;
|
|
356
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
357
|
+
muiName: string;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
removeSubtypes_DepthLimit: {
|
|
361
|
+
title: string;
|
|
362
|
+
notFound: string;
|
|
363
|
+
route: string;
|
|
364
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
365
|
+
muiName: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
traceUnionsOrIntersectionsTooLarge_DepthLimit: {
|
|
369
|
+
title: string;
|
|
370
|
+
notFound: string;
|
|
371
|
+
route: string;
|
|
372
|
+
icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
373
|
+
muiName: string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
};
|
|
308
377
|
declare const traceEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
309
378
|
cat: z.ZodLiteral<"disabled-by-default-devtools.timeline">;
|
|
310
379
|
name: z.ZodLiteral<"TracingStartedInBrowser">;
|
|
@@ -1624,89 +1693,340 @@ declare const CPU_PROFILE_FILENAME = "tsc.cpuprofile";
|
|
|
1624
1693
|
//#region src/types-json.d.ts
|
|
1625
1694
|
declare const TYPES_JSON_FILENAME = "types.json";
|
|
1626
1695
|
interface TypeRelationInfo {
|
|
1627
|
-
|
|
1628
|
-
unit: string;
|
|
1629
|
-
}
|
|
1630
|
-
declare const typeRelationInfo: {
|
|
1631
|
-
typeArguments: {
|
|
1696
|
+
source: {
|
|
1632
1697
|
title: string;
|
|
1698
|
+
description: string;
|
|
1633
1699
|
unit: string;
|
|
1634
1700
|
};
|
|
1635
|
-
|
|
1701
|
+
target: {
|
|
1636
1702
|
title: string;
|
|
1703
|
+
description: string;
|
|
1637
1704
|
unit: string;
|
|
1638
1705
|
};
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1706
|
+
route: string;
|
|
1707
|
+
icon: SvgIconComponent;
|
|
1708
|
+
}
|
|
1709
|
+
declare const typeRelationOrder: readonly ["unionTypes", "intersectionTypes", "typeArguments", "instantiatedType", "aliasTypeArguments", "conditionalCheckType", "conditionalExtendsType", "conditionalFalseType", "conditionalTrueType", "indexedAccessObjectType", "indexedAccessIndexType", "keyofType", "reverseMappedSourceType", "reverseMappedMappedType", "reverseMappedConstraintType", "substitutionBaseType", "constraintType", "evolvingArrayElementType", "evolvingArrayFinalType", "aliasType"];
|
|
1710
|
+
declare const typeRelationInfo: {
|
|
1711
|
+
readonly unionTypes: {
|
|
1712
|
+
readonly source: {
|
|
1713
|
+
readonly title: "Union";
|
|
1714
|
+
readonly unit: "union members";
|
|
1715
|
+
readonly description: "Type whose union has the greatest number of distinct members (breadth of possible shapes).";
|
|
1716
|
+
};
|
|
1717
|
+
readonly target: {
|
|
1718
|
+
readonly title: "Union Member";
|
|
1719
|
+
readonly unit: "unions";
|
|
1720
|
+
readonly description: "The type most frequently included in unions.";
|
|
1721
|
+
};
|
|
1722
|
+
readonly route: "union-types";
|
|
1723
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1724
|
+
muiName: string;
|
|
1725
|
+
};
|
|
1642
1726
|
};
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1727
|
+
readonly intersectionTypes: {
|
|
1728
|
+
readonly source: {
|
|
1729
|
+
readonly title: "Intersection";
|
|
1730
|
+
readonly unit: "intersections";
|
|
1731
|
+
readonly description: "Type whose intersection combines the greatest number of constituent types (breadth of constraints).";
|
|
1732
|
+
};
|
|
1733
|
+
readonly target: {
|
|
1734
|
+
readonly title: "Intersection Member";
|
|
1735
|
+
readonly unit: "intersections";
|
|
1736
|
+
readonly description: "The type most frequently included in intersections.";
|
|
1737
|
+
};
|
|
1738
|
+
readonly route: "intersection-types";
|
|
1739
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1740
|
+
muiName: string;
|
|
1741
|
+
};
|
|
1646
1742
|
};
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1743
|
+
readonly typeArguments: {
|
|
1744
|
+
readonly source: {
|
|
1745
|
+
readonly title: "Type Arguments";
|
|
1746
|
+
readonly unit: "type arguments";
|
|
1747
|
+
readonly description: "Generic type with the largest number of supplied type arguments at its most complex instantiation.";
|
|
1748
|
+
};
|
|
1749
|
+
readonly target: {
|
|
1750
|
+
readonly title: "Type Argument";
|
|
1751
|
+
readonly unit: "type arguments";
|
|
1752
|
+
readonly description: "The type most frequently used as a type argument (indicating complex generic interactions).";
|
|
1753
|
+
};
|
|
1754
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1755
|
+
muiName: string;
|
|
1756
|
+
};
|
|
1757
|
+
readonly route: "type-arguments";
|
|
1650
1758
|
};
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1759
|
+
readonly instantiatedType: {
|
|
1760
|
+
readonly source: {
|
|
1761
|
+
readonly title: "Instantiated";
|
|
1762
|
+
readonly unit: "";
|
|
1763
|
+
readonly description: "";
|
|
1764
|
+
};
|
|
1765
|
+
readonly target: {
|
|
1766
|
+
readonly title: "Instantiated By";
|
|
1767
|
+
readonly unit: "instantiations";
|
|
1768
|
+
readonly description: "Type that was instantiated the most, indicating high reuse.";
|
|
1769
|
+
};
|
|
1770
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1771
|
+
muiName: string;
|
|
1772
|
+
};
|
|
1773
|
+
readonly route: "instantiated-type";
|
|
1654
1774
|
};
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1775
|
+
readonly aliasTypeArguments: {
|
|
1776
|
+
readonly source: {
|
|
1777
|
+
readonly title: "Generic Argument";
|
|
1778
|
+
readonly unit: "generic arguments";
|
|
1779
|
+
readonly description: "Type alias pulling in the greatest number of distinct generic arguments through its resolution layers.";
|
|
1780
|
+
};
|
|
1781
|
+
readonly target: {
|
|
1782
|
+
readonly title: "Generic Arguments";
|
|
1783
|
+
readonly unit: "alias type-arguments";
|
|
1784
|
+
readonly description: "The types most often used as generic arguments. The TypeScript compiler calls this \"alias type-arguments.\" There are technically other kinds of types that can show up here, but it's mostly generic type arguments.";
|
|
1785
|
+
};
|
|
1786
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1787
|
+
muiName: string;
|
|
1788
|
+
};
|
|
1789
|
+
readonly route: "alias-type-arguments";
|
|
1658
1790
|
};
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1791
|
+
readonly conditionalCheckType: {
|
|
1792
|
+
readonly source: {
|
|
1793
|
+
readonly title: "Conditional Check";
|
|
1794
|
+
readonly unit: "";
|
|
1795
|
+
readonly description: "";
|
|
1796
|
+
};
|
|
1797
|
+
readonly target: {
|
|
1798
|
+
readonly title: "Conditional Check Condition";
|
|
1799
|
+
readonly unit: "conditional checks";
|
|
1800
|
+
readonly description: "Type most often used as the checked type in conditional types (the `T` in `T extends U ? A : B`).";
|
|
1801
|
+
};
|
|
1802
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1803
|
+
muiName: string;
|
|
1804
|
+
};
|
|
1805
|
+
readonly route: "conditional-check-type";
|
|
1662
1806
|
};
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1807
|
+
readonly conditionalExtendsType: {
|
|
1808
|
+
readonly source: {
|
|
1809
|
+
readonly title: "Conditional Extends";
|
|
1810
|
+
readonly unit: "";
|
|
1811
|
+
readonly description: "";
|
|
1812
|
+
};
|
|
1813
|
+
readonly target: {
|
|
1814
|
+
readonly title: "Conditional Extends";
|
|
1815
|
+
readonly unit: "extends uses";
|
|
1816
|
+
readonly description: "Type most frequently appearing on the `extends` side of conditional types (the `U` in `T extends U ? A : B`)), indicating common constraint relationships.";
|
|
1817
|
+
};
|
|
1818
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1819
|
+
muiName: string;
|
|
1820
|
+
};
|
|
1821
|
+
readonly route: "conditional-extends-type";
|
|
1666
1822
|
};
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1823
|
+
readonly conditionalFalseType: {
|
|
1824
|
+
readonly source: {
|
|
1825
|
+
readonly title: "Conditional False";
|
|
1826
|
+
readonly unit: "";
|
|
1827
|
+
readonly description: "";
|
|
1828
|
+
};
|
|
1829
|
+
readonly target: {
|
|
1830
|
+
readonly title: "Conditional False Branch";
|
|
1831
|
+
readonly unit: "false-branch uses";
|
|
1832
|
+
readonly description: "Type that most often appears as the `false` branch result of conditional types. Indicates fallback/resolution patterns.";
|
|
1833
|
+
};
|
|
1834
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1835
|
+
muiName: string;
|
|
1836
|
+
};
|
|
1837
|
+
readonly route: "conditional-false-type";
|
|
1670
1838
|
};
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1839
|
+
readonly conditionalTrueType: {
|
|
1840
|
+
readonly source: {
|
|
1841
|
+
readonly title: "Conditional True";
|
|
1842
|
+
readonly unit: "";
|
|
1843
|
+
readonly description: "";
|
|
1844
|
+
};
|
|
1845
|
+
readonly target: {
|
|
1846
|
+
readonly title: "Conditional True Branch";
|
|
1847
|
+
readonly unit: "true-branch uses";
|
|
1848
|
+
readonly description: "Type that most often appears as the `true` branch result of conditional types. Indicates favored resolution outcomes.";
|
|
1849
|
+
};
|
|
1850
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1851
|
+
muiName: string;
|
|
1852
|
+
};
|
|
1853
|
+
readonly route: "conditional-true-type";
|
|
1674
1854
|
};
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1855
|
+
readonly indexedAccessObjectType: {
|
|
1856
|
+
readonly source: {
|
|
1857
|
+
readonly title: "Indexed Access Object";
|
|
1858
|
+
readonly unit: "";
|
|
1859
|
+
readonly description: "";
|
|
1860
|
+
};
|
|
1861
|
+
readonly target: {
|
|
1862
|
+
readonly title: "Object Indexed Access By";
|
|
1863
|
+
readonly unit: "indexed-accesses";
|
|
1864
|
+
readonly description: "Type most frequently used as the object operand in indexed access (e.g. `T[K]`), indicating dynamic property shape usage.";
|
|
1865
|
+
};
|
|
1866
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1867
|
+
muiName: string;
|
|
1868
|
+
};
|
|
1869
|
+
readonly route: "indexed-access-object-type";
|
|
1678
1870
|
};
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1871
|
+
readonly indexedAccessIndexType: {
|
|
1872
|
+
readonly source: {
|
|
1873
|
+
readonly title: "Indexed Access Index";
|
|
1874
|
+
readonly unit: "";
|
|
1875
|
+
readonly description: "";
|
|
1876
|
+
};
|
|
1877
|
+
readonly target: {
|
|
1878
|
+
readonly title: "Tuple Indexed Access By";
|
|
1879
|
+
readonly unit: "indexed-accesses";
|
|
1880
|
+
readonly description: "Type most frequently used as the index operand in indexed access of a tuple (e.g. `SomeTuple[K]`).";
|
|
1881
|
+
};
|
|
1882
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1883
|
+
muiName: string;
|
|
1884
|
+
};
|
|
1885
|
+
readonly route: "indexed-access-index-type";
|
|
1682
1886
|
};
|
|
1683
|
-
keyofType: {
|
|
1684
|
-
|
|
1685
|
-
|
|
1887
|
+
readonly keyofType: {
|
|
1888
|
+
readonly source: {
|
|
1889
|
+
readonly title: "Keyof";
|
|
1890
|
+
readonly unit: "";
|
|
1891
|
+
readonly description: "";
|
|
1892
|
+
};
|
|
1893
|
+
readonly target: {
|
|
1894
|
+
readonly title: "Keyof Uses";
|
|
1895
|
+
readonly unit: "keyof uses";
|
|
1896
|
+
readonly description: "Type most frequently used within 'keyof' operations, often indicating dynamic property access patterns.";
|
|
1897
|
+
};
|
|
1898
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1899
|
+
muiName: string;
|
|
1900
|
+
};
|
|
1901
|
+
readonly route: "keyof-type";
|
|
1686
1902
|
};
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1903
|
+
readonly reverseMappedSourceType: {
|
|
1904
|
+
readonly source: {
|
|
1905
|
+
readonly title: "Reverse Mapped Source";
|
|
1906
|
+
readonly unit: "";
|
|
1907
|
+
readonly description: "";
|
|
1908
|
+
};
|
|
1909
|
+
readonly target: {
|
|
1910
|
+
readonly title: "Reverse-Map Source";
|
|
1911
|
+
readonly unit: "reverse-mappings";
|
|
1912
|
+
readonly description: "Type most commonly appearing as the source in reverse-mapped type transforms (utility mapped types in reverse).";
|
|
1913
|
+
};
|
|
1914
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1915
|
+
muiName: string;
|
|
1916
|
+
};
|
|
1917
|
+
readonly route: "reverse-mapped-source-type";
|
|
1690
1918
|
};
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1919
|
+
readonly reverseMappedMappedType: {
|
|
1920
|
+
readonly source: {
|
|
1921
|
+
readonly title: "Reverse Mapped Mapped";
|
|
1922
|
+
readonly unit: "";
|
|
1923
|
+
readonly description: "";
|
|
1924
|
+
};
|
|
1925
|
+
readonly target: {
|
|
1926
|
+
readonly title: "Reverse-Map Mapped By";
|
|
1927
|
+
readonly unit: "reverse-mapped sources";
|
|
1928
|
+
readonly description: "Type most commonly produced by reverse-mapped transformations.";
|
|
1929
|
+
};
|
|
1930
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1931
|
+
muiName: string;
|
|
1932
|
+
};
|
|
1933
|
+
readonly route: "reverse-mapped-mapped-type";
|
|
1694
1934
|
};
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1935
|
+
readonly reverseMappedConstraintType: {
|
|
1936
|
+
readonly source: {
|
|
1937
|
+
readonly title: "Reverse Mapped Constraint";
|
|
1938
|
+
readonly unit: "";
|
|
1939
|
+
readonly description: "";
|
|
1940
|
+
};
|
|
1941
|
+
readonly target: {
|
|
1942
|
+
readonly title: "Reverse-Map Constraints";
|
|
1943
|
+
readonly unit: "reverse-mapping constraints";
|
|
1944
|
+
readonly description: "Type that often serves as a constraint in reverse-mapped transformations, indicating mapped type bounds.";
|
|
1945
|
+
};
|
|
1946
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1947
|
+
muiName: string;
|
|
1948
|
+
};
|
|
1949
|
+
readonly route: "reverse-mapped-constraint-type";
|
|
1698
1950
|
};
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1951
|
+
readonly substitutionBaseType: {
|
|
1952
|
+
readonly source: {
|
|
1953
|
+
readonly title: "Substitution Base";
|
|
1954
|
+
readonly unit: "";
|
|
1955
|
+
readonly description: "";
|
|
1956
|
+
};
|
|
1957
|
+
readonly target: {
|
|
1958
|
+
readonly title: "Substitution Bases";
|
|
1959
|
+
readonly unit: "substitution uses";
|
|
1960
|
+
readonly description: "Type used as a substitution base during type substitution operations, signaling types that commonly serve as generic inference placeholders.";
|
|
1961
|
+
};
|
|
1962
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1963
|
+
muiName: string;
|
|
1964
|
+
};
|
|
1965
|
+
readonly route: "substitution-base-type";
|
|
1702
1966
|
};
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1967
|
+
readonly constraintType: {
|
|
1968
|
+
readonly source: {
|
|
1969
|
+
readonly title: "Constraint";
|
|
1970
|
+
readonly unit: "";
|
|
1971
|
+
readonly description: "";
|
|
1972
|
+
};
|
|
1973
|
+
readonly target: {
|
|
1974
|
+
readonly title: "Generic Constraints";
|
|
1975
|
+
readonly unit: "constraint uses";
|
|
1976
|
+
readonly description: "Type most often appearing as a generic constraint (e.g. in `extends` clauses) when resolving generics and conditionals.";
|
|
1977
|
+
};
|
|
1978
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1979
|
+
muiName: string;
|
|
1980
|
+
};
|
|
1981
|
+
readonly route: "constraint-type";
|
|
1706
1982
|
};
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1983
|
+
readonly evolvingArrayElementType: {
|
|
1984
|
+
readonly source: {
|
|
1985
|
+
readonly title: "Evolving Array Element";
|
|
1986
|
+
readonly unit: "";
|
|
1987
|
+
readonly description: "";
|
|
1988
|
+
};
|
|
1989
|
+
readonly target: {
|
|
1990
|
+
readonly title: "Evolving Array Element";
|
|
1991
|
+
readonly unit: "array element uses";
|
|
1992
|
+
readonly description: "Type most commonly used as the evolving array element during array widening/folding operations in inference.";
|
|
1993
|
+
};
|
|
1994
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
1995
|
+
muiName: string;
|
|
1996
|
+
};
|
|
1997
|
+
readonly route: "evolving-array-element-type";
|
|
1998
|
+
};
|
|
1999
|
+
readonly evolvingArrayFinalType: {
|
|
2000
|
+
readonly source: {
|
|
2001
|
+
readonly title: "Evolving Array Final";
|
|
2002
|
+
readonly unit: "";
|
|
2003
|
+
readonly description: "";
|
|
2004
|
+
};
|
|
2005
|
+
readonly target: {
|
|
2006
|
+
readonly title: "Evolving Array Final";
|
|
2007
|
+
readonly unit: "array final uses";
|
|
2008
|
+
readonly description: "Type that frequently becomes the final element type after array evolution/widening, useful to spot common widened shapes.";
|
|
2009
|
+
};
|
|
2010
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
2011
|
+
muiName: string;
|
|
2012
|
+
};
|
|
2013
|
+
readonly route: "evolving-array-final-type";
|
|
2014
|
+
};
|
|
2015
|
+
readonly aliasType: {
|
|
2016
|
+
readonly source: {
|
|
2017
|
+
readonly title: "Alias";
|
|
2018
|
+
readonly unit: "";
|
|
2019
|
+
readonly description: "";
|
|
2020
|
+
};
|
|
2021
|
+
readonly target: {
|
|
2022
|
+
readonly title: "Aliased As";
|
|
2023
|
+
readonly unit: "alias uses";
|
|
2024
|
+
readonly description: "Type most frequently used as an alias target, shows which aliases are heavily reused across the codebase.";
|
|
2025
|
+
};
|
|
2026
|
+
readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
|
|
2027
|
+
muiName: string;
|
|
2028
|
+
};
|
|
2029
|
+
readonly route: "alias-type";
|
|
1710
2030
|
};
|
|
1711
2031
|
};
|
|
1712
2032
|
declare const resolvedType: z.ZodObject<{
|
|
@@ -2028,5 +2348,5 @@ declare const createTypeRegistry: (typesJson: ResolvedType[]) => TypeRegistry;
|
|
|
2028
2348
|
declare const typeId: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>;
|
|
2029
2349
|
type TypeId = z.infer<typeof typeId>;
|
|
2030
2350
|
//#endregion
|
|
2031
|
-
export { CPU_PROFILE_FILENAME, type DepthLimitNames, type EventChecktypes__CheckCrossProductUnion_DepthLimit, type EventChecktypes__CheckTypeRelatedTo_DepthLimit, type EventChecktypes__GetTypeAtFlowNode_DepthLimit, type EventChecktypes__InstantiateType_DepthLimit, type EventChecktypes__RecursiveTypeRelatedTo_DepthLimit, type EventChecktypes__RemoveSubtypes_DepthLimit, type EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit, type EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit, type ResolvedType, TRACE_JSON_FILENAME, TYPES_JSON_FILENAME, type TraceEvent, type TraceJsonSchema, type TypeId, type TypeRegistry, type TypeRelationInfo, type TypesJsonSchema, createTypeRegistry, depthLimits, eventPhase, event_checktypes__checkCrossProductUnion_DepthLimit, event_checktypes__checkTypeRelatedTo_DepthLimit, event_checktypes__getTypeAtFlowNode_DepthLimit, event_checktypes__instantiateType_DepthLimit, event_checktypes__recursiveTypeRelatedTo_DepthLimit, event_checktypes__removeSubtypes_DepthLimit, event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit, event_checktypes__typeRelatedToDiscriminatedType_DepthLimit, extractPackageName, packageNameRegex, relativizePath, resolvedType, traceEvent, traceJsonSchema, typeRelationInfo, typesJsonSchema };
|
|
2351
|
+
export { CPU_PROFILE_FILENAME, type DepthLimitNames, type EventChecktypes__CheckCrossProductUnion_DepthLimit, type EventChecktypes__CheckTypeRelatedTo_DepthLimit, type EventChecktypes__GetTypeAtFlowNode_DepthLimit, type EventChecktypes__InstantiateType_DepthLimit, type EventChecktypes__RecursiveTypeRelatedTo_DepthLimit, type EventChecktypes__RemoveSubtypes_DepthLimit, type EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit, type EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit, type ResolvedType, TRACE_JSON_FILENAME, TYPES_JSON_FILENAME, type TraceEvent, type TraceJsonSchema, type TypeId, type TypeRegistry, type TypeRelationInfo, type TypesJsonSchema, createTypeRegistry, depthLimitInfo, depthLimits, eventPhase, event_checktypes__checkCrossProductUnion_DepthLimit, event_checktypes__checkTypeRelatedTo_DepthLimit, event_checktypes__getTypeAtFlowNode_DepthLimit, event_checktypes__instantiateType_DepthLimit, event_checktypes__recursiveTypeRelatedTo_DepthLimit, event_checktypes__removeSubtypes_DepthLimit, event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit, event_checktypes__typeRelatedToDiscriminatedType_DepthLimit, extractPackageName, packageNameRegex, relativizePath, resolvedType, traceEvent, traceJsonSchema, typeRelationInfo, typeRelationOrder, typesJsonSchema };
|
|
2032
2352
|
//# sourceMappingURL=index.d.mts.map
|