@typeslayer/validate 0.1.28 → 0.1.29

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 CHANGED
@@ -1,6 +1,6 @@
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";
2
+ import * as _mui_material_SvgIcon19 from "@mui/material/SvgIcon";
3
+ import * as _mui_material_OverridableComponent19 from "@mui/material/OverridableComponent";
4
4
  import { SvgIconComponent } from "@mui/icons-material";
5
5
 
6
6
  //#region src/package-name.d.ts
@@ -313,7 +313,7 @@ declare const depthLimitInfo: {
313
313
  title: string;
314
314
  notFound: string;
315
315
  route: string;
316
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
316
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
317
317
  muiName: string;
318
318
  };
319
319
  };
@@ -321,7 +321,7 @@ declare const depthLimitInfo: {
321
321
  title: string;
322
322
  notFound: string;
323
323
  route: string;
324
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
324
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
325
325
  muiName: string;
326
326
  };
327
327
  };
@@ -329,7 +329,7 @@ declare const depthLimitInfo: {
329
329
  title: string;
330
330
  notFound: string;
331
331
  route: string;
332
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
332
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
333
333
  muiName: string;
334
334
  };
335
335
  };
@@ -337,7 +337,7 @@ declare const depthLimitInfo: {
337
337
  title: string;
338
338
  notFound: string;
339
339
  route: string;
340
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
340
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
341
341
  muiName: string;
342
342
  };
343
343
  };
@@ -345,7 +345,7 @@ declare const depthLimitInfo: {
345
345
  title: string;
346
346
  notFound: string;
347
347
  route: string;
348
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
348
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
349
349
  muiName: string;
350
350
  };
351
351
  };
@@ -353,7 +353,7 @@ declare const depthLimitInfo: {
353
353
  title: string;
354
354
  notFound: string;
355
355
  route: string;
356
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
356
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
357
357
  muiName: string;
358
358
  };
359
359
  };
@@ -361,7 +361,7 @@ declare const depthLimitInfo: {
361
361
  title: string;
362
362
  notFound: string;
363
363
  route: string;
364
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
364
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
365
365
  muiName: string;
366
366
  };
367
367
  };
@@ -369,7 +369,7 @@ declare const depthLimitInfo: {
369
369
  title: string;
370
370
  notFound: string;
371
371
  route: string;
372
- icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
372
+ icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
373
373
  muiName: string;
374
374
  };
375
375
  };
@@ -1692,6 +1692,80 @@ declare const CPU_PROFILE_FILENAME = "tsc.cpuprofile";
1692
1692
  //#endregion
1693
1693
  //#region src/types-json.d.ts
1694
1694
  declare const TYPES_JSON_FILENAME = "types.json";
1695
+ declare const flag: z.ZodEnum<{
1696
+ Any: "Any";
1697
+ Unknown: "Unknown";
1698
+ String: "String";
1699
+ Number: "Number";
1700
+ Boolean: "Boolean";
1701
+ Enum: "Enum";
1702
+ BigInt: "BigInt";
1703
+ StringLiteral: "StringLiteral";
1704
+ NumberLiteral: "NumberLiteral";
1705
+ BooleanLiteral: "BooleanLiteral";
1706
+ EnumLiteral: "EnumLiteral";
1707
+ BigIntLiteral: "BigIntLiteral";
1708
+ ESSymbol: "ESSymbol";
1709
+ UniqueESSymbol: "UniqueESSymbol";
1710
+ Void: "Void";
1711
+ Undefined: "Undefined";
1712
+ Null: "Null";
1713
+ Never: "Never";
1714
+ TypeParameter: "TypeParameter";
1715
+ Object: "Object";
1716
+ Union: "Union";
1717
+ Intersection: "Intersection";
1718
+ Index: "Index";
1719
+ IndexedAccess: "IndexedAccess";
1720
+ Conditional: "Conditional";
1721
+ Substitution: "Substitution";
1722
+ NonPrimitive: "NonPrimitive";
1723
+ TemplateLiteral: "TemplateLiteral";
1724
+ StringMapping: "StringMapping";
1725
+ Reserved1: "Reserved1";
1726
+ Reserved2: "Reserved2";
1727
+ AnyOrUnknown: "AnyOrUnknown";
1728
+ Nullable: "Nullable";
1729
+ Literal: "Literal";
1730
+ Unit: "Unit";
1731
+ Freshable: "Freshable";
1732
+ StringOrNumberLiteral: "StringOrNumberLiteral";
1733
+ StringOrNumberLiteralOrUnique: "StringOrNumberLiteralOrUnique";
1734
+ DefinitelyFalsy: "DefinitelyFalsy";
1735
+ PossiblyFalsy: "PossiblyFalsy";
1736
+ Intrinsic: "Intrinsic";
1737
+ StringLike: "StringLike";
1738
+ NumberLike: "NumberLike";
1739
+ BigIntLike: "BigIntLike";
1740
+ BooleanLike: "BooleanLike";
1741
+ EnumLike: "EnumLike";
1742
+ ESSymbolLike: "ESSymbolLike";
1743
+ VoidLike: "VoidLike";
1744
+ Primitive: "Primitive";
1745
+ DefinitelyNonNullable: "DefinitelyNonNullable";
1746
+ DisjointDomains: "DisjointDomains";
1747
+ UnionOrIntersection: "UnionOrIntersection";
1748
+ StructuredType: "StructuredType";
1749
+ TypeVariable: "TypeVariable";
1750
+ InstantiableNonPrimitive: "InstantiableNonPrimitive";
1751
+ InstantiablePrimitive: "InstantiablePrimitive";
1752
+ Instantiable: "Instantiable";
1753
+ StructuredOrInstantiable: "StructuredOrInstantiable";
1754
+ ObjectFlagsType: "ObjectFlagsType";
1755
+ Simplifiable: "Simplifiable";
1756
+ Singleton: "Singleton";
1757
+ Narrowable: "Narrowable";
1758
+ IncludesMask: "IncludesMask";
1759
+ IncludesMissingType: "IncludesMissingType";
1760
+ IncludesNonWideningType: "IncludesNonWideningType";
1761
+ IncludesWildcard: "IncludesWildcard";
1762
+ IncludesEmptyObject: "IncludesEmptyObject";
1763
+ IncludesInstantiable: "IncludesInstantiable";
1764
+ IncludesConstrainedTypeVariable: "IncludesConstrainedTypeVariable";
1765
+ IncludesError: "IncludesError";
1766
+ NotPrimitiveUnion: "NotPrimitiveUnion";
1767
+ }>;
1768
+ type Flag = z.infer<typeof flag>;
1695
1769
  interface TypeRelationInfo {
1696
1770
  source: {
1697
1771
  title: string;
@@ -1720,7 +1794,7 @@ declare const typeRelationInfo: {
1720
1794
  readonly description: "The type most frequently included in unions.";
1721
1795
  };
1722
1796
  readonly route: "union-types";
1723
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1797
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1724
1798
  muiName: string;
1725
1799
  };
1726
1800
  };
@@ -1736,7 +1810,7 @@ declare const typeRelationInfo: {
1736
1810
  readonly description: "The type most frequently included in intersections.";
1737
1811
  };
1738
1812
  readonly route: "intersection-types";
1739
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1813
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1740
1814
  muiName: string;
1741
1815
  };
1742
1816
  };
@@ -1751,7 +1825,7 @@ declare const typeRelationInfo: {
1751
1825
  readonly unit: "type arguments";
1752
1826
  readonly description: "The type most frequently used as a type argument (indicating complex generic interactions).";
1753
1827
  };
1754
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1828
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1755
1829
  muiName: string;
1756
1830
  };
1757
1831
  readonly route: "type-arguments";
@@ -1767,7 +1841,7 @@ declare const typeRelationInfo: {
1767
1841
  readonly unit: "instantiations";
1768
1842
  readonly description: "Type that was instantiated the most, indicating high reuse.";
1769
1843
  };
1770
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1844
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1771
1845
  muiName: string;
1772
1846
  };
1773
1847
  readonly route: "instantiated-type";
@@ -1783,7 +1857,7 @@ declare const typeRelationInfo: {
1783
1857
  readonly unit: "alias type-arguments";
1784
1858
  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
1859
  };
1786
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1860
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1787
1861
  muiName: string;
1788
1862
  };
1789
1863
  readonly route: "alias-type-arguments";
@@ -1799,7 +1873,7 @@ declare const typeRelationInfo: {
1799
1873
  readonly unit: "conditional checks";
1800
1874
  readonly description: "Type most often used as the checked type in conditional types (the `T` in `T extends U ? A : B`).";
1801
1875
  };
1802
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1876
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1803
1877
  muiName: string;
1804
1878
  };
1805
1879
  readonly route: "conditional-check-type";
@@ -1815,7 +1889,7 @@ declare const typeRelationInfo: {
1815
1889
  readonly unit: "extends uses";
1816
1890
  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
1891
  };
1818
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1892
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1819
1893
  muiName: string;
1820
1894
  };
1821
1895
  readonly route: "conditional-extends-type";
@@ -1831,7 +1905,7 @@ declare const typeRelationInfo: {
1831
1905
  readonly unit: "false-branch uses";
1832
1906
  readonly description: "Type that most often appears as the `false` branch result of conditional types. Indicates fallback/resolution patterns.";
1833
1907
  };
1834
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1908
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1835
1909
  muiName: string;
1836
1910
  };
1837
1911
  readonly route: "conditional-false-type";
@@ -1847,7 +1921,7 @@ declare const typeRelationInfo: {
1847
1921
  readonly unit: "true-branch uses";
1848
1922
  readonly description: "Type that most often appears as the `true` branch result of conditional types. Indicates favored resolution outcomes.";
1849
1923
  };
1850
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1924
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1851
1925
  muiName: string;
1852
1926
  };
1853
1927
  readonly route: "conditional-true-type";
@@ -1863,7 +1937,7 @@ declare const typeRelationInfo: {
1863
1937
  readonly unit: "indexed-accesses";
1864
1938
  readonly description: "Type most frequently used as the object operand in indexed access (e.g. `T[K]`), indicating dynamic property shape usage.";
1865
1939
  };
1866
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1940
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1867
1941
  muiName: string;
1868
1942
  };
1869
1943
  readonly route: "indexed-access-object-type";
@@ -1879,7 +1953,7 @@ declare const typeRelationInfo: {
1879
1953
  readonly unit: "indexed-accesses";
1880
1954
  readonly description: "Type most frequently used as the index operand in indexed access of a tuple (e.g. `SomeTuple[K]`).";
1881
1955
  };
1882
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1956
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1883
1957
  muiName: string;
1884
1958
  };
1885
1959
  readonly route: "indexed-access-index-type";
@@ -1895,7 +1969,7 @@ declare const typeRelationInfo: {
1895
1969
  readonly unit: "keyof uses";
1896
1970
  readonly description: "Type most frequently used within 'keyof' operations, often indicating dynamic property access patterns.";
1897
1971
  };
1898
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1972
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1899
1973
  muiName: string;
1900
1974
  };
1901
1975
  readonly route: "keyof-type";
@@ -1911,7 +1985,7 @@ declare const typeRelationInfo: {
1911
1985
  readonly unit: "reverse-mappings";
1912
1986
  readonly description: "Type most commonly appearing as the source in reverse-mapped type transforms (utility mapped types in reverse).";
1913
1987
  };
1914
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1988
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1915
1989
  muiName: string;
1916
1990
  };
1917
1991
  readonly route: "reverse-mapped-source-type";
@@ -1927,7 +2001,7 @@ declare const typeRelationInfo: {
1927
2001
  readonly unit: "reverse-mapped sources";
1928
2002
  readonly description: "Type most commonly produced by reverse-mapped transformations.";
1929
2003
  };
1930
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2004
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1931
2005
  muiName: string;
1932
2006
  };
1933
2007
  readonly route: "reverse-mapped-mapped-type";
@@ -1943,7 +2017,7 @@ declare const typeRelationInfo: {
1943
2017
  readonly unit: "reverse-mapping constraints";
1944
2018
  readonly description: "Type that often serves as a constraint in reverse-mapped transformations, indicating mapped type bounds.";
1945
2019
  };
1946
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2020
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1947
2021
  muiName: string;
1948
2022
  };
1949
2023
  readonly route: "reverse-mapped-constraint-type";
@@ -1959,7 +2033,7 @@ declare const typeRelationInfo: {
1959
2033
  readonly unit: "substitution uses";
1960
2034
  readonly description: "Type used as a substitution base during type substitution operations, signaling types that commonly serve as generic inference placeholders.";
1961
2035
  };
1962
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2036
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1963
2037
  muiName: string;
1964
2038
  };
1965
2039
  readonly route: "substitution-base-type";
@@ -1975,7 +2049,7 @@ declare const typeRelationInfo: {
1975
2049
  readonly unit: "constraint uses";
1976
2050
  readonly description: "Type most often appearing as a generic constraint (e.g. in `extends` clauses) when resolving generics and conditionals.";
1977
2051
  };
1978
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2052
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1979
2053
  muiName: string;
1980
2054
  };
1981
2055
  readonly route: "constraint-type";
@@ -1991,7 +2065,7 @@ declare const typeRelationInfo: {
1991
2065
  readonly unit: "array element uses";
1992
2066
  readonly description: "Type most commonly used as the evolving array element during array widening/folding operations in inference.";
1993
2067
  };
1994
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2068
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1995
2069
  muiName: string;
1996
2070
  };
1997
2071
  readonly route: "evolving-array-element-type";
@@ -2007,7 +2081,7 @@ declare const typeRelationInfo: {
2007
2081
  readonly unit: "array final uses";
2008
2082
  readonly description: "Type that frequently becomes the final element type after array evolution/widening, useful to spot common widened shapes.";
2009
2083
  };
2010
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2084
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2011
2085
  muiName: string;
2012
2086
  };
2013
2087
  readonly route: "evolving-array-final-type";
@@ -2023,7 +2097,7 @@ declare const typeRelationInfo: {
2023
2097
  readonly unit: "alias uses";
2024
2098
  readonly description: "Type most frequently used as an alias target, shows which aliases are heavily reused across the codebase.";
2025
2099
  };
2026
- readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2100
+ readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2027
2101
  muiName: string;
2028
2102
  };
2029
2103
  readonly route: "alias-type";
@@ -2348,5 +2422,5 @@ declare const createTypeRegistry: (typesJson: ResolvedType[]) => TypeRegistry;
2348
2422
  declare const typeId: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>;
2349
2423
  type TypeId = z.infer<typeof typeId>;
2350
2424
  //#endregion
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 };
2425
+ 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 Flag, 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 };
2352
2426
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS: [\n ResolvedType,\n]"],"sources":["../src/package-name.ts","../src/utils.ts","../src/trace-json.ts","../src/tsc-cpuprofile.ts","../src/type-registry.ts","../src/types-json.ts"],"sourcesContent":["export const packageNameRegex =\n /\\/node_modules\\/((?:[^@][^/]+)|(?:@[^/]+\\/[^/]+))/g;\n\nexport const extractPackageName = (path: string): string | null => {\n const pnpmSentinel = \"/node_modules/.pnpm/\";\n if (path.includes(pnpmSentinel)) {\n // go to the character immediately after the pnpm sentinel\n const startIndex = path.indexOf(pnpmSentinel) + pnpmSentinel.length;\n const endIndex = path.indexOf(\"/\", startIndex);\n if (endIndex === -1) {\n throw new Error(\n \"Invalid path format: no closing slash found after pnpm sentinel\",\n );\n }\n return path.substring(startIndex, endIndex).replace(\"+\", \"/\");\n }\n\n return path;\n};\n\n/**\n * Computes the relative path from one absolute path to another.\n *\n * @param from - The anchor directory (must be an absolute path).\n * @param to - The absolute path you want to relativize.\n * @returns A relative path from `from` to `to`.\n */\nexport function relativizePath(from: string, to: string): string {\n // Ensure both paths end with a slash if they're directories\n const fromURL = new URL(`file://${from.endsWith(\"/\") ? from : `${from}/}`}`);\n const toURL = new URL(`file://${to}`);\n\n const fromParts = fromURL.pathname.split(\"/\").filter(Boolean);\n const toParts = toURL.pathname.split(\"/\").filter(Boolean);\n\n // Find where they diverge\n let i = 0;\n while (\n i < fromParts.length &&\n i < toParts.length &&\n fromParts[i] === toParts[i]\n ) {\n i++;\n }\n\n const up = fromParts.length - i;\n const down = toParts.slice(i).join(\"/\");\n\n return `${\"../\".repeat(up)}${down}`;\n}\n","import { z } from \"zod/v4\";\n\nexport const CPU_PROFILE_FILENAME = \"tsc.cpuprofile\";\n\nexport const typeId = z.number().int().positive().or(z.literal(-1));\n\nexport type TypeId = z.infer<typeof typeId>;\n\nexport const position = z.object({\n line: typeId,\n character: z.number(),\n});\n\nexport const absolutePath = z.string();\n\nexport const location = z.object({\n path: absolutePath,\n start: position,\n end: position,\n});\n","import type { SvgIconComponent } from \"@mui/icons-material\";\nimport Air from \"@mui/icons-material/Air\";\nimport Calculate from \"@mui/icons-material/Calculate\";\nimport Diversity1 from \"@mui/icons-material/Diversity1\";\nimport Expand from \"@mui/icons-material/Expand\";\nimport Lightbulb from \"@mui/icons-material/Lightbulb\";\nimport RotateRight from \"@mui/icons-material/RotateRight\";\nimport SafetyDivider from \"@mui/icons-material/SafetyDivider\";\nimport SubdirectoryArrowRight from \"@mui/icons-material/SubdirectoryArrowRight\";\nimport { z } from \"zod/v4\";\nimport { absolutePath, typeId } from \"./utils\";\n\nexport const TRACE_JSON_FILENAME = \"trace.json\";\n\nexport const eventPhase = {\n begin: \"B\",\n end: \"E\",\n complete: \"X\",\n metadata: \"M\",\n instantGlobal: \"I\",\n // 'i' is instantThread (not currently used)\n} as const;\n\nexport const instantScope = {\n thread: \"t\",\n global: \"g\",\n process: \"p\",\n};\n\nconst durationEvent = {\n ph: z.union([z.literal(eventPhase.begin), z.literal(eventPhase.end)]),\n};\n\nconst completeEvent = {\n ph: z.literal(eventPhase.complete),\n dur: z.number().positive(),\n};\n\nconst instantEvent = {\n ph: z.literal(eventPhase.instantGlobal),\n};\n\nconst category = {\n parse: {\n cat: z.literal(\"parse\"),\n },\n program: {\n cat: z.literal(\"program\"),\n },\n bind: {\n cat: z.literal(\"bind\"),\n },\n check: {\n cat: z.literal(\"check\"),\n },\n checkTypes: {\n cat: z.literal(\"checkTypes\"),\n },\n emit: {\n cat: z.literal(\"emit\"),\n },\n session: {\n cat: z.literal(\"session\"),\n },\n};\n\nconst eventCommon = {\n pid: z.number().int().positive(),\n tid: z.number().int().positive(),\n ts: z.number().positive(),\n};\n\n/*\n * METADATA EVENTS\n */\n\nconst event_metadata__TracingStartedInBrowser = z\n .object({\n ...eventCommon,\n cat: z.literal(\"disabled-by-default-devtools.timeline\"),\n name: z.literal(\"TracingStartedInBrowser\"),\n ph: z.literal(eventPhase.metadata),\n })\n .strict();\n\nconst event_metadata__process_name = z\n .object({\n ...eventCommon,\n ph: z.literal(eventPhase.metadata),\n args: z.object({\n name: z.literal(\"tsc\"),\n }),\n cat: z.literal(\"__metadata\"),\n name: z.literal(\"process_name\"),\n })\n .strict();\n\nconst event_metadata__thread_name = z\n .object({\n ...eventCommon,\n name: z.literal(\"thread_name\"),\n cat: z.literal(\"__metadata\"),\n ph: z.literal(eventPhase.metadata),\n args: z.object({\n name: z.literal(\"Main\"),\n }),\n })\n .strict();\n\n/*\n * PARSE PHASE EVENTS\n */\n\nconst event_parse__createSourceFile = z\n .object({\n ...eventCommon,\n ...category.parse,\n ...durationEvent,\n name: z.literal(\"createSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_parse__parseJsonSourceFileConfigFileContent = z\n .object({\n ...eventCommon,\n ...category.parse,\n ...completeEvent,\n name: z.literal(\"parseJsonSourceFileConfigFileContent\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * PROGRAM PHASE EVENTS\n */\n\nconst event_program__createProgram = z\n .object({\n ...eventCommon,\n ...category.program,\n ...durationEvent,\n name: z.literal(\"createProgram\"),\n args: z.object({\n configFilePath: absolutePath, // path to the tsconfig.json file\n }),\n })\n .strict();\n\nconst event_program__findSourceFile = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"findSourceFile\"),\n dur: z.number(),\n args: z.object({\n fileName: absolutePath,\n fileIncludeKind: z.union([\n z.literal(\"RootFile\"),\n z.literal(\"Import\"),\n z.literal(\"TypeReferenceDirective\"),\n z.literal(\"LibFile\"),\n z.literal(\"LibReferenceDirective\"),\n z.literal(\"AutomaticTypeDirectiveFile\"),\n z.literal(\"ReferenceFile\"),\n ]),\n }),\n })\n .strict();\n\nconst event_program__processRootFiles = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processRootFiles\"),\n dur: z.number(),\n args: z.object({ count: z.number().int().positive() }),\n })\n .strict();\n\nconst event_program__processTypeReferenceDirective = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processTypeReferenceDirective\"),\n dur: z.number(),\n args: z.object({\n directive: z.string(),\n hasResolved: z.literal(true),\n refKind: z.number().int().positive(),\n refPath: absolutePath.optional(),\n }),\n })\n .strict();\n\nconst event_program__processTypeReferences = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processTypeReferences\"),\n dur: z.number(),\n args: z.object({\n count: z.number().int().positive(),\n }),\n })\n .strict();\n\nconst event_program__resolveLibrary = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveLibrary\"),\n args: z.object({\n resolveFrom: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__resolveModuleNamesWorker = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveModuleNamesWorker\"),\n args: z.object({\n containingFileName: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__resolveTypeReferenceDirectiveNamesWorker = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveTypeReferenceDirectiveNamesWorker\"),\n args: z.object({\n containingFileName: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__shouldProgramCreateNewSourceFiles = z\n .object({\n ...eventCommon,\n ...category.program,\n ...instantEvent,\n name: z.literal(\"shouldProgramCreateNewSourceFiles\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n hasOldProgram: z.boolean(),\n }),\n })\n .strict();\n\nconst event_program__tryReuseStructureFromOldProgram = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"tryReuseStructureFromOldProgram\"),\n dur: z.number(),\n args: z.object({}),\n })\n .strict();\n\n/*\n * BIND PHASE EVENTS\n */\n\nconst event_bind__bindSourceFile = z\n .object({\n ...eventCommon,\n ...category.bind,\n ...durationEvent,\n name: z.literal(\"bindSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * CHECK PHASE EVENTS\n */\n\nconst event_check__checkExpression = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkExpression\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath.optional(),\n }),\n })\n .strict();\n\nconst event_check__checkSourceFile = z\n .object({\n ...eventCommon,\n ...category.check,\n ...durationEvent,\n name: z.literal(\"checkSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkVariableDeclaration = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkVariableDeclaration\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkDeferredNode = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkDeferredNode\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkSourceFileNodes = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkSourceFileNodes\"),\n dur: z.number(),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * CHECKTYPES PHASE EVENTS\n */\nconst event_checktypes__checkTypeParameterDeferred = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"checkTypeParameterDeferred\"),\n dur: z.number(),\n args: z.object({\n parent: typeId,\n id: typeId,\n }),\n })\n .strict();\n\nconst event_checktypes__getVariancesWorker = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"getVariancesWorker\"),\n dur: z.number(),\n args: z.object({\n arity: z.number().int().nonnegative(),\n id: z.number().int().positive(),\n results: z.object({\n variances: z.array(\n z.union([\n z.literal(\"[independent]\"),\n z.literal(\"[independent] (unreliable)\"),\n z.literal(\"[independent] (unmeasurable)\"),\n z.literal(\"[bivariant]\"),\n z.literal(\"[bivariant] (unreliable)\"),\n z.literal(\"[bivariant] (unmeasurable)\"),\n z.literal(\"in\"),\n z.literal(\"in (unreliable)\"),\n z.literal(\"in (unmeasurable)\"),\n z.literal(\"out\"),\n z.literal(\"out (unreliable)\"),\n z.literal(\"out (unmeasurable)\"),\n z.literal(\"in out\" /*burger*/),\n z.literal(\"in out (unreliable)\"),\n z.literal(\"in out (unmeasurable)\"),\n ]),\n ),\n }),\n }),\n })\n .strict();\n\nconst event_checktypes__structuredTypeRelatedTo = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"structuredTypeRelatedTo\"),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n }),\n })\n .strict();\n\n/*\n * CHECKTYPES PHASE DEPTH LIMIT EVENTS\n */\n\n/**\n * The `checkCrossProductUnion_DepthLimit` limit is hit when the cross-product of two types exceeds 100_000 combinations while expanding intersections into a union.\n *\n * This triggers the error `TS(2590) Expression produces a union type that is too complex to represent.`\n */\nexport const event_checktypes__checkCrossProductUnion_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"checkCrossProductUnion_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeIds: z.array(typeId),\n size: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__CheckCrossProductUnion_DepthLimit = z.infer<\n typeof event_checktypes__checkCrossProductUnion_DepthLimit\n>;\n\n/**\n * The `checkTypeRelatedTo_DepthLimit` limit is hit when a type relationship check overflows: either the checker reaches its recursion stack limit while comparing deeply nested (or expanding) types or it exhausts the relation-complexity budget.\n * in Node.js the maximum number of elements in a map is 2^24.\n * TypeScript therefore limits the number of entries an invocation of `checkTypeRelatedTo` can add to a relation to 1/8th of its remaining capacity.\n * This limit being hit means the relation will be recorded as failing.\n *\n * This triggers one of the following errors:\n * - `TS(2859) Excessive complexity comparing types '{0}' and '{1}'.`\n * - `TS(2321) Excessive stack depth comparing types '{0}' and '{1}'.`\n */\nexport const event_checktypes__checkTypeRelatedTo_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"checkTypeRelatedTo_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n depth: z.number().int().positive(),\n targetDepth: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__CheckTypeRelatedTo_DepthLimit = z.infer<\n typeof event_checktypes__checkTypeRelatedTo_DepthLimit\n>;\n\n/**\n * The `getTypeAtFlowNode_DepthLimit` limit is hit when resolving the control flow type for a reference causes more than 2_000 recursions.\n * To avoid overflowing the call stack we report an error and disable further control flow analysis in the containing function or module body.\n *\n * This triggers the error `TS(2563) The containing function or module body is too large for control flow analysis.`\n */\nexport const event_checktypes__getTypeAtFlowNode_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"getTypeAtFlowNode_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n flowId: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__GetTypeAtFlowNode_DepthLimit = z.infer<\n typeof event_checktypes__getTypeAtFlowNode_DepthLimit\n>;\n\n/**\n * The `instantiateType_DepthLimit` is hit when more than 100 recursive type instantiations or 5_000_000 instantiations are caused by the same statement or expression.\n * There is a very high likelihood we're dealing with a combination of infinite generic types that perpetually generate new type identities, so TypeScript stops and throws this error.\n *\n * This triggers the error `TS(2589) Type instantiation is excessively deep and possibly infinite.`\n */\n\nexport const event_checktypes__instantiateType_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"instantiateType_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeId,\n instantiationDepth: z.number().int(),\n instantiationCount: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__InstantiateType_DepthLimit = z.infer<\n typeof event_checktypes__instantiateType_DepthLimit\n>;\n\n/**\n * The `recursiveTypeRelatedTo_DepthLimit` limit is hit when the sourceDepth or targetDepth of a type check exceeds 100 during recursive type comparison, indicating a runaway recursion from deeply nested generics or type instantiations.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__recursiveTypeRelatedTo_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"recursiveTypeRelatedTo_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n sourceIdStack: z.array(typeId),\n targetId: typeId,\n targetIdStack: z.array(typeId),\n depth: z.number().int().positive(),\n targetDepth: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__RecursiveTypeRelatedTo_DepthLimit = z.infer<\n typeof event_checktypes__recursiveTypeRelatedTo_DepthLimit\n>;\n\n/**\n * The `removeSubtypes_DepthLimit` limit is hit when subtype-reduction work becomes too large.\n * Specifically, when more than 100,000 pairwise constituent checks occur, the type checker will pause and estimate remaining work.\n * If that estimate exceeds 1_000_000 pairwise checks, the checker will halt and report this error.\n *\n * This triggers the error `TS(2590) Expression produces a union type that is too complex to represent.`\n *\n */\nexport const event_checktypes__removeSubtypes_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"removeSubtypes_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeIds: z.array(typeId),\n }),\n })\n .strict();\nexport type EventChecktypes__RemoveSubtypes_DepthLimit = z.infer<\n typeof event_checktypes__removeSubtypes_DepthLimit\n>;\n\n/**\n * The `traceUnionsOrIntersectionsTooLarge_DepthLimit` limit is hit when the product of a source and target type that will be part of a union will exceed 1_000_000 members when multiplied out.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"traceUnionsOrIntersectionsTooLarge_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n sourceSize: z.number().int().positive(),\n targetId: typeId,\n targetSize: z.number().int().positive(),\n pos: z.number().int().nonnegative().optional(),\n end: z.number().int().positive().optional(),\n }),\n })\n .strict();\nexport type EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit =\n z.infer<\n typeof event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit\n >;\n\n/**\n * The `typeRelatedToDiscriminatedType_DepthLimit` limit is hit when comparing a source object to a discriminated-union target type with more than 25 constituent types.\n * When this occurs, the type checker will just return `false` for the type comparison to avoid excessive computation.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__typeRelatedToDiscriminatedType_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"typeRelatedToDiscriminatedType_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n numCombinations: z.number().int().positive(),\n }),\n })\n .strict();\n\nexport type EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit =\n z.infer<typeof event_checktypes__typeRelatedToDiscriminatedType_DepthLimit>;\n\nexport const depthLimits = [\n event_checktypes__checkCrossProductUnion_DepthLimit,\n event_checktypes__checkTypeRelatedTo_DepthLimit,\n event_checktypes__getTypeAtFlowNode_DepthLimit,\n event_checktypes__instantiateType_DepthLimit,\n event_checktypes__recursiveTypeRelatedTo_DepthLimit,\n event_checktypes__removeSubtypes_DepthLimit,\n event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit,\n event_checktypes__typeRelatedToDiscriminatedType_DepthLimit,\n];\n\nexport type DepthLimitNames =\n | EventChecktypes__CheckCrossProductUnion_DepthLimit[\"name\"]\n | EventChecktypes__CheckTypeRelatedTo_DepthLimit[\"name\"]\n | EventChecktypes__GetTypeAtFlowNode_DepthLimit[\"name\"]\n | EventChecktypes__InstantiateType_DepthLimit[\"name\"]\n | EventChecktypes__RecursiveTypeRelatedTo_DepthLimit[\"name\"]\n | EventChecktypes__RemoveSubtypes_DepthLimit[\"name\"]\n | EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit[\"name\"]\n | EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit[\"name\"];\n\nexport const depthLimitInfo = {\n instantiateType_DepthLimit: {\n title: \"Type Instantiation\",\n notFound: \"No Type Instantiation Limits Found\",\n route: \"instantiate-type-depth-limit\",\n icon: Lightbulb,\n },\n recursiveTypeRelatedTo_DepthLimit: {\n title: \"Recursive Relations\",\n notFound: \"No Recursive Relations Limits Found\",\n route: \"recursive-type-related-to-depth-limit\",\n icon: Diversity1,\n },\n typeRelatedToDiscriminatedType_DepthLimit: {\n title: \"Discrimination\",\n notFound: \"No Discriminated Type Limits Found\",\n route: \"type-related-to-discriminated-type-depth-limit\",\n icon: SafetyDivider,\n },\n checkCrossProductUnion_DepthLimit: {\n title: \"Cross-Product Union\",\n notFound: \"No Cross-Product Union Limits Found\",\n route: \"check-cross-product-union-depth-limit\",\n icon: Calculate,\n },\n checkTypeRelatedTo_DepthLimit: {\n title: \"Type Relation Depth\",\n notFound: \"No Type Relation Depth Limits Found\",\n route: \"check-type-related-to-depth-limit\",\n icon: RotateRight,\n },\n getTypeAtFlowNode_DepthLimit: {\n title: \"Flow Node Type\",\n notFound: \"No Flow Node Type Limits Found\",\n route: \"get-type-at-flow-node-depth-limit\",\n icon: Air,\n },\n removeSubtypes_DepthLimit: {\n title: \"Remove Subtypes\",\n notFound: \"No Remove Subtypes Limits Found\",\n route: \"remove-subtypes-depth-limit\",\n icon: SubdirectoryArrowRight,\n },\n traceUnionsOrIntersectionsTooLarge_DepthLimit: {\n title: \"Union/Intersection Size\",\n notFound: \"No Union/Intersection Size Limits Found\",\n route: \"trace-unions-or-intersections-too-large-depth-limit\",\n icon: Expand,\n },\n} satisfies Record<\n DepthLimitNames,\n {\n title: string;\n notFound: string;\n route: string;\n icon: SvgIconComponent;\n }\n>;\n\n/*\n * EMIT PHASE EVENTS\n */\n\nconst event_emit__emit = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...durationEvent,\n name: z.literal(\"emit\"),\n args: z.object({}), // for some reason, this is empty\n })\n .strict();\n\nconst event_emit__emitBuildInfo = z\n .object({\n ...eventCommon,\n ...category.emit,\n ph: z.union([\n z.literal(eventPhase.begin),\n z.literal(eventPhase.end),\n z.literal(eventPhase.complete),\n ]),\n dur: z.number().positive().optional(),\n name: z.literal(\"emitBuildInfo\"),\n args: z.union([\n z.object({}),\n z.object({\n buildInfoPath: absolutePath,\n }),\n ]),\n })\n .strict();\n\nconst event_emit__emitDeclarationFileOrBundle = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"emitDeclarationFileOrBundle\"),\n dur: z.number(),\n args: z.object({\n declarationFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_emit__emitJsFileOrBundle = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"emitJsFileOrBundle\"),\n dur: z.number(),\n args: z.object({\n jsFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_emit__transformNodes = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"transformNodes\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * SESSION PHASE EVENTS\n */\n\nconst event_session__cancellationThrown = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"cancellationThrown\"),\n args: z.object({\n kind: z.union([\n z.literal(\"CancellationTokenObject\"),\n z.literal(\"ThrotledCancellationToken\"),\n ]),\n }),\n })\n .strict();\n\nconst event_session__commandCanceled = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"commandCanceled\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__commandError = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"commandError\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n message: z.string(),\n }),\n })\n .strict();\n\nconst event_session__createConfiguredProject = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"createConfiguredProject\"),\n args: z.object({\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__createdDocumentRegistryBucket = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"createdDocumentRegistryBucket\"),\n args: z.object({\n configFilePath: absolutePath,\n key: z.string(),\n }),\n })\n .strict();\n\nconst event_session__documentRegistryBucketOverlap = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"documentRegistryBucketOverlap\"),\n args: z.object({\n path: absolutePath,\n key1: z.string(),\n key2: z.string(),\n }),\n })\n .strict();\n\nconst event_session__executeCommand = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"executeCommand\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__finishCachingPerDirectoryResolution = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"finishCachingPerDirectoryResolution\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n })\n .strict();\n\nconst event_session__getPackageJsonAutoImportProvider = z\n .object({\n ...eventCommon,\n ...category.session,\n ...completeEvent,\n name: z.literal(\"getPackageJsonAutoImportProvider\"),\n })\n .strict();\n\nconst event_session__getUnresolvedImports = z\n .object({\n ...eventCommon,\n ...category.session,\n ...completeEvent,\n name: z.literal(\"getUnresolvedImports\"),\n args: z.object({\n count: z.number().int().nonnegative(),\n }),\n })\n .strict();\n\nconst event_session__loadConfiguredProject = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"loadConfiguredProject\"),\n args: z.object({\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__regionSemanticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"regionSemanticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__request = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"request\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__response = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"response\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n success: z.boolean(),\n }),\n })\n .strict();\n\nconst event_session__semanticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"semanticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__stepAction = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepAction\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n seq: z.number().int().nonnegative(),\n }),\n })\n .strict();\n\nconst event_session__stepCanceled = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepCanceled\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n early: z.literal(true).optional(),\n }),\n })\n .strict();\n\nconst event_session__stepError = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepError\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n message: z.string(),\n }),\n })\n .strict();\n\nconst event_session__suggestionCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"suggestionCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__syntacticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"syntacticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__updateGraph = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"updateGraph\"),\n args: z.object({\n name: z.string(),\n kind: z.union([\n z.literal(0), //\"Inferred\n z.literal(1), // Configured\"\n z.literal(2), // \"Inferred\"\n z.literal(3), // \"External\"\n z.literal(4), // \"AutoImportProvider\"\n z.literal(5), // \"Auxiliary\"\n ]),\n }),\n })\n .strict();\n\n/*\n * TRACE EVENT UNION\n */\n\nexport const traceEvent = z.discriminatedUnion(\n \"name\",\n [\n event_metadata__TracingStartedInBrowser,\n event_metadata__process_name,\n event_metadata__thread_name,\n\n event_parse__createSourceFile,\n event_parse__parseJsonSourceFileConfigFileContent,\n\n event_program__createProgram,\n event_program__findSourceFile,\n event_program__processRootFiles,\n event_program__processTypeReferenceDirective,\n event_program__processTypeReferences,\n event_program__resolveLibrary,\n event_program__resolveModuleNamesWorker,\n event_program__resolveTypeReferenceDirectiveNamesWorker,\n event_program__shouldProgramCreateNewSourceFiles,\n event_program__tryReuseStructureFromOldProgram,\n\n event_bind__bindSourceFile,\n\n event_check__checkExpression,\n event_check__checkSourceFile,\n event_check__checkVariableDeclaration,\n event_check__checkDeferredNode,\n event_check__checkSourceFileNodes,\n\n event_checktypes__checkTypeParameterDeferred,\n event_checktypes__getVariancesWorker,\n event_checktypes__structuredTypeRelatedTo,\n\n ...depthLimits,\n\n event_emit__emit,\n event_emit__emitBuildInfo,\n event_emit__emitDeclarationFileOrBundle,\n event_emit__emitJsFileOrBundle,\n event_emit__transformNodes,\n\n event_session__cancellationThrown,\n event_session__commandCanceled,\n event_session__commandError,\n event_session__createConfiguredProject,\n event_session__createdDocumentRegistryBucket,\n event_session__documentRegistryBucketOverlap,\n event_session__executeCommand,\n event_session__finishCachingPerDirectoryResolution,\n event_session__getPackageJsonAutoImportProvider,\n event_session__getUnresolvedImports,\n event_session__loadConfiguredProject,\n event_session__regionSemanticCheck,\n event_session__request,\n event_session__response,\n event_session__semanticCheck,\n event_session__stepAction,\n event_session__stepCanceled,\n event_session__stepError,\n event_session__suggestionCheck,\n event_session__syntacticCheck,\n event_session__updateGraph,\n ],\n {\n // errorMap: (issue, ctx) => ({\n // \t// prettier-ignore\n // \tmessage: issue.code === \"invalid_union_discriminator\" ?\n // \t\t\t`Invalid discriminator value. Expected ${issue.options.map(opt => `'${String(opt)}'`).join(' | ')}, got '${ctx.data.type}'.`\n // \t\t\t: ctx.defaultError,\n // }),\n },\n);\n\nexport type TraceEvent = z.infer<typeof traceEvent>;\nexport const traceJsonSchema = z.array(traceEvent);\nexport type TraceJsonSchema = z.infer<typeof traceJsonSchema>;\n","export const CPU_PROFILE_FILENAME = \"tsc.cpuprofile\";\n","import type { ResolvedType } from \"./types-json\";\n\n/**\n * Think of a TypeRegistry like an object that you'd use to look up types by their ID.\n *\n */\nexport type TypeRegistry = ResolvedType[];\n\nconst ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS: [\n ResolvedType,\n] = [{ id: 0, recursionId: -1, flags: [] }];\n\nexport const createTypeRegistry = (typesJson: ResolvedType[]): TypeRegistry => {\n return ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS.concat(\n typesJson,\n );\n};\n","import type { SvgIconComponent } from \"@mui/icons-material\";\n\nimport AltRoute from \"@mui/icons-material/AltRoute\";\nimport Check from \"@mui/icons-material/Check\";\nimport Close from \"@mui/icons-material/Close\";\nimport Extension from \"@mui/icons-material/Extension\";\nimport FilterListAlt from \"@mui/icons-material/FilterListAlt\";\nimport FindReplace from \"@mui/icons-material/FindReplace\";\nimport Input from \"@mui/icons-material/Input\";\nimport JoinFull from \"@mui/icons-material/JoinFull\";\nimport JoinInner from \"@mui/icons-material/JoinInner\";\nimport Key from \"@mui/icons-material/Key\";\nimport Polyline from \"@mui/icons-material/Polyline\";\nimport QuestionMark from \"@mui/icons-material/QuestionMark\";\nimport Search from \"@mui/icons-material/Search\";\nimport SettingsBackupRestore from \"@mui/icons-material/SettingsBackupRestore\";\nimport SportsKabaddi from \"@mui/icons-material/SportsKabaddi\";\nimport TrackChanges from \"@mui/icons-material/TrackChanges\";\n\nimport { z } from \"zod/v4\";\nimport { location, typeId } from \"./utils\";\n\nexport const TYPES_JSON_FILENAME = \"types.json\";\n\nconst flag = z.enum([\n \"Any\",\n \"Unknown\",\n \"String\",\n \"Number\",\n \"Boolean\",\n \"Enum\",\n \"BigInt\",\n \"StringLiteral\",\n \"NumberLiteral\",\n \"BooleanLiteral\",\n \"EnumLiteral\",\n \"BigIntLiteral\",\n \"ESSymbol\",\n \"UniqueESSymbol\",\n \"Void\",\n \"Undefined\",\n \"Null\",\n \"Never\",\n \"TypeParameter\",\n \"Object\",\n \"Union\",\n \"Intersection\",\n \"Index\",\n \"IndexedAccess\",\n \"Conditional\",\n \"Substitution\",\n \"NonPrimitive\",\n \"TemplateLiteral\",\n \"StringMapping\",\n \"Reserved1\",\n \"Reserved2\",\n \"AnyOrUnknown\",\n \"Nullable\",\n \"Literal\",\n \"Unit\",\n \"Freshable\",\n \"StringOrNumberLiteral\",\n \"StringOrNumberLiteralOrUnique\",\n \"DefinitelyFalsy\",\n \"PossiblyFalsy\",\n \"Intrinsic\",\n \"StringLike\",\n \"NumberLike\",\n \"BigIntLike\",\n \"BooleanLike\",\n \"EnumLike\",\n \"ESSymbolLike\",\n \"VoidLike\",\n \"Primitive\",\n \"DefinitelyNonNullable\",\n \"DisjointDomains\",\n \"UnionOrIntersection\",\n \"StructuredType\",\n \"TypeVariable\",\n \"InstantiableNonPrimitive\",\n \"InstantiablePrimitive\",\n \"Instantiable\",\n \"StructuredOrInstantiable\",\n \"ObjectFlagsType\",\n \"Simplifiable\",\n \"Singleton\",\n \"Narrowable\",\n \"IncludesMask\",\n \"IncludesMissingType\",\n \"IncludesNonWideningType\",\n \"IncludesWildcard\",\n \"IncludesEmptyObject\",\n \"IncludesInstantiable\",\n \"IncludesConstrainedTypeVariable\",\n \"IncludesError\",\n \"NotPrimitiveUnion\",\n]);\n\nconst typeRelations = {\n typeArguments: z.array(typeId).optional(),\n unionTypes: z.array(typeId).optional(),\n intersectionTypes: z.array(typeId).optional(),\n aliasTypeArguments: z.array(typeId).optional(),\n instantiatedType: typeId.optional(),\n substitutionBaseType: typeId.optional(),\n constraintType: typeId.optional(),\n indexedAccessObjectType: typeId.optional(),\n indexedAccessIndexType: typeId.optional(),\n conditionalCheckType: typeId.optional(),\n conditionalExtendsType: typeId.optional(),\n conditionalTrueType: typeId.optional(),\n conditionalFalseType: typeId.optional(),\n keyofType: typeId.optional(),\n aliasType: typeId.optional(),\n evolvingArrayElementType: typeId.optional(),\n evolvingArrayFinalType: typeId.optional(),\n reverseMappedSourceType: typeId.optional(),\n reverseMappedMappedType: typeId.optional(),\n reverseMappedConstraintType: typeId.optional(),\n};\n\nexport interface TypeRelationInfo {\n source: {\n title: string;\n description: string;\n unit: string;\n };\n target: {\n title: string;\n description: string;\n unit: string;\n };\n route: string;\n icon: SvgIconComponent;\n}\n\nexport const typeRelationOrder = [\n \"unionTypes\",\n \"intersectionTypes\",\n \"typeArguments\",\n \"instantiatedType\",\n \"aliasTypeArguments\",\n \"conditionalCheckType\",\n \"conditionalExtendsType\",\n \"conditionalFalseType\",\n \"conditionalTrueType\",\n \"indexedAccessObjectType\",\n \"indexedAccessIndexType\",\n \"keyofType\",\n \"reverseMappedSourceType\",\n \"reverseMappedMappedType\",\n \"reverseMappedConstraintType\",\n \"substitutionBaseType\",\n \"constraintType\",\n \"evolvingArrayElementType\",\n \"evolvingArrayFinalType\",\n \"aliasType\",\n] as const;\n\nexport const typeRelationInfo = {\n unionTypes: {\n source: {\n title: \"Union\",\n unit: \"union members\",\n description:\n \"Type whose union has the greatest number of distinct members (breadth of possible shapes).\",\n },\n target: {\n title: \"Union Member\",\n unit: \"unions\",\n description: \"The type most frequently included in unions.\",\n },\n route: \"union-types\",\n icon: JoinFull,\n },\n intersectionTypes: {\n source: {\n title: \"Intersection\",\n unit: \"intersections\",\n description:\n \"Type whose intersection combines the greatest number of constituent types (breadth of constraints).\",\n },\n target: {\n title: \"Intersection Member\",\n unit: \"intersections\",\n description: \"The type most frequently included in intersections.\",\n },\n route: \"intersection-types\",\n icon: JoinInner,\n },\n typeArguments: {\n source: {\n title: \"Type Arguments\",\n unit: \"type arguments\",\n description:\n \"Generic type with the largest number of supplied type arguments at its most complex instantiation.\",\n },\n target: {\n title: \"Type Argument\",\n unit: \"type arguments\",\n description:\n \"The type most frequently used as a type argument (indicating complex generic interactions).\",\n },\n icon: SportsKabaddi,\n route: \"type-arguments\",\n },\n instantiatedType: {\n source: {\n title: \"Instantiated\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Instantiated By\",\n unit: \"instantiations\",\n description:\n \"Type that was instantiated the most, indicating high reuse.\",\n },\n icon: Polyline,\n route: \"instantiated-type\",\n },\n aliasTypeArguments: {\n source: {\n title: \"Generic Argument\",\n unit: \"generic arguments\",\n description:\n \"Type alias pulling in the greatest number of distinct generic arguments through its resolution layers.\",\n },\n target: {\n title: \"Generic Arguments\",\n unit: \"alias type-arguments\",\n description:\n '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.',\n },\n icon: Input,\n route: \"alias-type-arguments\",\n },\n conditionalCheckType: {\n source: {\n title: \"Conditional Check\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional Check Condition\",\n unit: \"conditional checks\",\n description:\n \"Type most often used as the checked type in conditional types (the `T` in `T extends U ? A : B`).\",\n },\n icon: QuestionMark,\n route: \"conditional-check-type\",\n },\n conditionalExtendsType: {\n source: {\n title: \"Conditional Extends\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional Extends\",\n unit: \"extends uses\",\n description:\n \"Type most frequently appearing on the `extends` side of conditional types (the `U` in `T extends U ? A : B`)), indicating common constraint relationships.\",\n },\n icon: Extension,\n route: \"conditional-extends-type\",\n },\n conditionalFalseType: {\n source: {\n title: \"Conditional False\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional False Branch\",\n unit: \"false-branch uses\",\n description:\n \"Type that most often appears as the `false` branch result of conditional types. Indicates fallback/resolution patterns.\",\n },\n icon: Close,\n route: \"conditional-false-type\",\n },\n conditionalTrueType: {\n source: {\n title: \"Conditional True\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional True Branch\",\n unit: \"true-branch uses\",\n description:\n \"Type that most often appears as the `true` branch result of conditional types. Indicates favored resolution outcomes.\",\n },\n icon: Check,\n route: \"conditional-true-type\",\n },\n indexedAccessObjectType: {\n source: {\n title: \"Indexed Access Object\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Object Indexed Access By\",\n unit: \"indexed-accesses\",\n description:\n \"Type most frequently used as the object operand in indexed access (e.g. `T[K]`), indicating dynamic property shape usage.\",\n },\n icon: Search,\n route: \"indexed-access-object-type\",\n },\n indexedAccessIndexType: {\n source: {\n title: \"Indexed Access Index\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Tuple Indexed Access By\",\n unit: \"indexed-accesses\",\n description:\n \"Type most frequently used as the index operand in indexed access of a tuple (e.g. `SomeTuple[K]`).\",\n },\n icon: Search,\n route: \"indexed-access-index-type\",\n },\n keyofType: {\n source: {\n title: \"Keyof\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Keyof Uses\",\n unit: \"keyof uses\",\n description:\n \"Type most frequently used within 'keyof' operations, often indicating dynamic property access patterns.\",\n },\n icon: Key,\n route: \"keyof-type\",\n },\n reverseMappedSourceType: {\n source: {\n title: \"Reverse Mapped Source\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Source\",\n unit: \"reverse-mappings\",\n description:\n \"Type most commonly appearing as the source in reverse-mapped type transforms (utility mapped types in reverse).\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-source-type\",\n },\n reverseMappedMappedType: {\n source: {\n title: \"Reverse Mapped Mapped\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Mapped By\",\n unit: \"reverse-mapped sources\",\n description:\n \"Type most commonly produced by reverse-mapped transformations.\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-mapped-type\",\n },\n reverseMappedConstraintType: {\n source: {\n title: \"Reverse Mapped Constraint\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Constraints\",\n unit: \"reverse-mapping constraints\",\n description:\n \"Type that often serves as a constraint in reverse-mapped transformations, indicating mapped type bounds.\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-constraint-type\",\n },\n substitutionBaseType: {\n source: {\n title: \"Substitution Base\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Substitution Bases\",\n unit: \"substitution uses\",\n description:\n \"Type used as a substitution base during type substitution operations, signaling types that commonly serve as generic inference placeholders.\",\n },\n icon: FindReplace,\n route: \"substitution-base-type\",\n },\n constraintType: {\n source: {\n title: \"Constraint\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Generic Constraints\",\n unit: \"constraint uses\",\n description:\n \"Type most often appearing as a generic constraint (e.g. in `extends` clauses) when resolving generics and conditionals.\",\n },\n icon: FilterListAlt,\n route: \"constraint-type\",\n },\n evolvingArrayElementType: {\n source: {\n title: \"Evolving Array Element\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Evolving Array Element\",\n unit: \"array element uses\",\n description:\n \"Type most commonly used as the evolving array element during array widening/folding operations in inference.\",\n },\n icon: TrackChanges,\n route: \"evolving-array-element-type\",\n },\n evolvingArrayFinalType: {\n source: {\n title: \"Evolving Array Final\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Evolving Array Final\",\n unit: \"array final uses\",\n description:\n \"Type that frequently becomes the final element type after array evolution/widening, useful to spot common widened shapes.\",\n },\n icon: TrackChanges,\n route: \"evolving-array-final-type\",\n },\n aliasType: {\n source: {\n title: \"Alias\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Aliased As\",\n unit: \"alias uses\",\n description:\n \"Type most frequently used as an alias target, shows which aliases are heavily reused across the codebase.\",\n },\n icon: AltRoute,\n route: \"alias-type\",\n },\n} as const satisfies Record<keyof typeof typeRelations, TypeRelationInfo>;\n\nexport const resolvedType = z\n .object({\n id: typeId,\n flags: z.array(flag),\n\n recursionId: z.number().optional(),\n intrinsicName: z\n .enum([\n \"any\",\n \"error\",\n \"unresolved\",\n \"unknown\",\n \"true\",\n \"false\",\n \"never\",\n \"void\",\n \"symbol\",\n \"bigint\",\n \"null\",\n \"undefined\",\n \"intrinsic\",\n \"object\",\n \"boolean\",\n \"number\",\n \"string\",\n ])\n .optional(),\n\n firstDeclaration: location.optional(),\n referenceLocation: location.optional(),\n destructuringPattern: location.optional(),\n\n ...typeRelations,\n\n isTuple: z.literal(true).optional(),\n\n symbolName: z.string().optional(),\n display: z.string().optional(),\n })\n .strict();\n\nexport type ResolvedType = z.infer<typeof resolvedType>;\nexport const typesJsonSchema = z.array(resolvedType);\nexport type TypesJsonSchema = z.infer<typeof typesJsonSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAa,mBACX;AAEF,MAAa,sBAAsB,SAAgC;CACjE,MAAM,eAAe;AACrB,KAAI,KAAK,SAAS,aAAa,EAAE;EAE/B,MAAM,aAAa,KAAK,QAAQ,aAAa,GAAG;EAChD,MAAM,WAAW,KAAK,QAAQ,KAAK,WAAW;AAC9C,MAAI,aAAa,GACf,OAAM,IAAI,MACR,kEACD;AAEH,SAAO,KAAK,UAAU,YAAY,SAAS,CAAC,QAAQ,KAAK,IAAI;;AAG/D,QAAO;;;;;;;;;AAUT,SAAgB,eAAe,MAAc,IAAoB;CAE/D,MAAM,UAAU,IAAI,IAAI,UAAU,KAAK,SAAS,IAAI,GAAG,OAAO,GAAG,KAAK,MAAM;CAC5E,MAAM,QAAQ,IAAI,IAAI,UAAU,KAAK;CAErC,MAAM,YAAY,QAAQ,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;CAC7D,MAAM,UAAU,MAAM,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;CAGzD,IAAI,IAAI;AACR,QACE,IAAI,UAAU,UACd,IAAI,QAAQ,UACZ,UAAU,OAAO,QAAQ,GAEzB;CAGF,MAAM,KAAK,UAAU,SAAS;CAC9B,MAAM,OAAO,QAAQ,MAAM,EAAE,CAAC,KAAK,IAAI;A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;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA,GAAG;CAEH;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,EACD,EAOC,CACF;AAGD,MAAa,kBAAkB,EAAE,MAAM,WAAW;;;;ACxqClD,MAAa,uBAAuB;;;;ACQpC,MAAMA,wGAEF,CAAC;CAAE,IAAI;CAAG,aAAa;CAAI,OAAO,EAAE;CAAE,CAAC;AAE3C,MAAa,sBAAsB,cAA4C;AAC7E,QAAO,sGAAsG,OAC3G,UACD;;;;;ACOH,MAAa,sBAAsB;AAEnC,MAAM,OAAO,EAAE,KAAK;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC;AAEF,MAAM,gBAAgB;CACpB,eAAe,EAAE,MAAM,OAAO,CAAC,UAAU;CACzC,YAAY,EAAE,MAAM,OAAO,CAAC,UAAU;CACtC,mBAAmB,EAAE,MAAM,OAAO,CAAC,UAAU;CAC7C,oBAAoB,EAAE,MAAM,OAAO,CAAC,UAAU;CAC9C,kBAAkB,OAAO,UAAU;CACnC,sBAAsB,OAAO,UAAU;CACvC,gBAAgB,OAAO,UAAU;CACjC,yBAAyB,OAAO,UAAU;CAC1C,wBAAwB,OAAO,UAAU;CACzC,sBAAsB,OAAO,UAAU;CACvC,wBAAwB,OAAO,UAAU;CACzC,qBAAqB,OAAO,UAAU;CACtC,sBAAsB,OAAO,UAAU;CACvC,WAAW,OAAO,UAAU;CAC5B,WAAW,OAAO,UAAU;CAC5B,0BAA0B,OAAO,UAAU;CAC3C,wBAAwB,OAAO,UAAU;CACzC,yBAAyB,OAAO,UAAU;CAC1C,yBAAyB,OAAO,UAAU;CAC1C,6BAA6B,OAAO,UAAU;CAC/C;AAiBD,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,mBAAmB;CAC9B,YAAY;EACV,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,OAAO;EACP,MAAM;EACP;CACD,mBAAmB;EACjB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,OAAO;EACP,MAAM;EACP;CACD,eAAe;EACb,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,kBAAkB;EAChB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,oBAAoB;EAClB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,qBAAqB;EACnB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,WAAW;EACT,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,6BAA6B;EAC3B,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,gBAAgB;EACd,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,0BAA0B;EACxB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,WAAW;EACT,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACF;AAED,MAAa,eAAe,EACzB,OAAO;CACN,IAAI;CACJ,OAAO,EAAE,MAAM,KAAK;CAEpB,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,eAAe,EACZ,KAAK;EACJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CAAC,CACD,UAAU;CAEb,kBAAkB,SAAS,UAAU;CACrC,mBAAmB,SAAS,UAAU;CACtC,sBAAsB,SAAS,UAAU;CAEzC,GAAG;CAEH,SAAS,EAAE,QAAQ,KAAK,CAAC,UAAU;CAEnC,YAAY,EAAE,QAAQ,CAAC,UAAU;CACjC,SAAS,EAAE,QAAQ,CAAC,UAAU;CAC/B,CAAC,CACD,QAAQ;AAGX,MAAa,kBAAkB,EAAE,MAAM,aAAa"}
1
+ {"version":3,"file":"index.mjs","names":["ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS: [\n ResolvedType,\n]"],"sources":["../src/package-name.ts","../src/utils.ts","../src/trace-json.ts","../src/tsc-cpuprofile.ts","../src/type-registry.ts","../src/types-json.ts"],"sourcesContent":["export const packageNameRegex =\n /\\/node_modules\\/((?:[^@][^/]+)|(?:@[^/]+\\/[^/]+))/g;\n\nexport const extractPackageName = (path: string): string | null => {\n const pnpmSentinel = \"/node_modules/.pnpm/\";\n if (path.includes(pnpmSentinel)) {\n // go to the character immediately after the pnpm sentinel\n const startIndex = path.indexOf(pnpmSentinel) + pnpmSentinel.length;\n const endIndex = path.indexOf(\"/\", startIndex);\n if (endIndex === -1) {\n throw new Error(\n \"Invalid path format: no closing slash found after pnpm sentinel\",\n );\n }\n return path.substring(startIndex, endIndex).replace(\"+\", \"/\");\n }\n\n return path;\n};\n\n/**\n * Computes the relative path from one absolute path to another.\n *\n * @param from - The anchor directory (must be an absolute path).\n * @param to - The absolute path you want to relativize.\n * @returns A relative path from `from` to `to`.\n */\nexport function relativizePath(from: string, to: string): string {\n // Ensure both paths end with a slash if they're directories\n const fromURL = new URL(`file://${from.endsWith(\"/\") ? from : `${from}/}`}`);\n const toURL = new URL(`file://${to}`);\n\n const fromParts = fromURL.pathname.split(\"/\").filter(Boolean);\n const toParts = toURL.pathname.split(\"/\").filter(Boolean);\n\n // Find where they diverge\n let i = 0;\n while (\n i < fromParts.length &&\n i < toParts.length &&\n fromParts[i] === toParts[i]\n ) {\n i++;\n }\n\n const up = fromParts.length - i;\n const down = toParts.slice(i).join(\"/\");\n\n return `${\"../\".repeat(up)}${down}`;\n}\n","import { z } from \"zod/v4\";\n\nexport const CPU_PROFILE_FILENAME = \"tsc.cpuprofile\";\n\nexport const typeId = z.number().int().positive().or(z.literal(-1));\n\nexport type TypeId = z.infer<typeof typeId>;\n\nexport const position = z.object({\n line: typeId,\n character: z.number(),\n});\n\nexport const absolutePath = z.string();\n\nexport const location = z.object({\n path: absolutePath,\n start: position,\n end: position,\n});\n","import type { SvgIconComponent } from \"@mui/icons-material\";\nimport Air from \"@mui/icons-material/Air\";\nimport Calculate from \"@mui/icons-material/Calculate\";\nimport Diversity1 from \"@mui/icons-material/Diversity1\";\nimport Expand from \"@mui/icons-material/Expand\";\nimport Lightbulb from \"@mui/icons-material/Lightbulb\";\nimport RotateRight from \"@mui/icons-material/RotateRight\";\nimport SafetyDivider from \"@mui/icons-material/SafetyDivider\";\nimport SubdirectoryArrowRight from \"@mui/icons-material/SubdirectoryArrowRight\";\nimport { z } from \"zod/v4\";\nimport { absolutePath, typeId } from \"./utils\";\n\nexport const TRACE_JSON_FILENAME = \"trace.json\";\n\nexport const eventPhase = {\n begin: \"B\",\n end: \"E\",\n complete: \"X\",\n metadata: \"M\",\n instantGlobal: \"I\",\n // 'i' is instantThread (not currently used)\n} as const;\n\nexport const instantScope = {\n thread: \"t\",\n global: \"g\",\n process: \"p\",\n};\n\nconst durationEvent = {\n ph: z.union([z.literal(eventPhase.begin), z.literal(eventPhase.end)]),\n};\n\nconst completeEvent = {\n ph: z.literal(eventPhase.complete),\n dur: z.number().positive(),\n};\n\nconst instantEvent = {\n ph: z.literal(eventPhase.instantGlobal),\n};\n\nconst category = {\n parse: {\n cat: z.literal(\"parse\"),\n },\n program: {\n cat: z.literal(\"program\"),\n },\n bind: {\n cat: z.literal(\"bind\"),\n },\n check: {\n cat: z.literal(\"check\"),\n },\n checkTypes: {\n cat: z.literal(\"checkTypes\"),\n },\n emit: {\n cat: z.literal(\"emit\"),\n },\n session: {\n cat: z.literal(\"session\"),\n },\n};\n\nconst eventCommon = {\n pid: z.number().int().positive(),\n tid: z.number().int().positive(),\n ts: z.number().positive(),\n};\n\n/*\n * METADATA EVENTS\n */\n\nconst event_metadata__TracingStartedInBrowser = z\n .object({\n ...eventCommon,\n cat: z.literal(\"disabled-by-default-devtools.timeline\"),\n name: z.literal(\"TracingStartedInBrowser\"),\n ph: z.literal(eventPhase.metadata),\n })\n .strict();\n\nconst event_metadata__process_name = z\n .object({\n ...eventCommon,\n ph: z.literal(eventPhase.metadata),\n args: z.object({\n name: z.literal(\"tsc\"),\n }),\n cat: z.literal(\"__metadata\"),\n name: z.literal(\"process_name\"),\n })\n .strict();\n\nconst event_metadata__thread_name = z\n .object({\n ...eventCommon,\n name: z.literal(\"thread_name\"),\n cat: z.literal(\"__metadata\"),\n ph: z.literal(eventPhase.metadata),\n args: z.object({\n name: z.literal(\"Main\"),\n }),\n })\n .strict();\n\n/*\n * PARSE PHASE EVENTS\n */\n\nconst event_parse__createSourceFile = z\n .object({\n ...eventCommon,\n ...category.parse,\n ...durationEvent,\n name: z.literal(\"createSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_parse__parseJsonSourceFileConfigFileContent = z\n .object({\n ...eventCommon,\n ...category.parse,\n ...completeEvent,\n name: z.literal(\"parseJsonSourceFileConfigFileContent\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * PROGRAM PHASE EVENTS\n */\n\nconst event_program__createProgram = z\n .object({\n ...eventCommon,\n ...category.program,\n ...durationEvent,\n name: z.literal(\"createProgram\"),\n args: z.object({\n configFilePath: absolutePath, // path to the tsconfig.json file\n }),\n })\n .strict();\n\nconst event_program__findSourceFile = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"findSourceFile\"),\n dur: z.number(),\n args: z.object({\n fileName: absolutePath,\n fileIncludeKind: z.union([\n z.literal(\"RootFile\"),\n z.literal(\"Import\"),\n z.literal(\"TypeReferenceDirective\"),\n z.literal(\"LibFile\"),\n z.literal(\"LibReferenceDirective\"),\n z.literal(\"AutomaticTypeDirectiveFile\"),\n z.literal(\"ReferenceFile\"),\n ]),\n }),\n })\n .strict();\n\nconst event_program__processRootFiles = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processRootFiles\"),\n dur: z.number(),\n args: z.object({ count: z.number().int().positive() }),\n })\n .strict();\n\nconst event_program__processTypeReferenceDirective = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processTypeReferenceDirective\"),\n dur: z.number(),\n args: z.object({\n directive: z.string(),\n hasResolved: z.literal(true),\n refKind: z.number().int().positive(),\n refPath: absolutePath.optional(),\n }),\n })\n .strict();\n\nconst event_program__processTypeReferences = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"processTypeReferences\"),\n dur: z.number(),\n args: z.object({\n count: z.number().int().positive(),\n }),\n })\n .strict();\n\nconst event_program__resolveLibrary = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveLibrary\"),\n args: z.object({\n resolveFrom: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__resolveModuleNamesWorker = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveModuleNamesWorker\"),\n args: z.object({\n containingFileName: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__resolveTypeReferenceDirectiveNamesWorker = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"resolveTypeReferenceDirectiveNamesWorker\"),\n args: z.object({\n containingFileName: absolutePath,\n }),\n })\n .strict();\n\nconst event_program__shouldProgramCreateNewSourceFiles = z\n .object({\n ...eventCommon,\n ...category.program,\n ...instantEvent,\n name: z.literal(\"shouldProgramCreateNewSourceFiles\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n hasOldProgram: z.boolean(),\n }),\n })\n .strict();\n\nconst event_program__tryReuseStructureFromOldProgram = z\n .object({\n ...eventCommon,\n ...category.program,\n ...completeEvent,\n name: z.literal(\"tryReuseStructureFromOldProgram\"),\n dur: z.number(),\n args: z.object({}),\n })\n .strict();\n\n/*\n * BIND PHASE EVENTS\n */\n\nconst event_bind__bindSourceFile = z\n .object({\n ...eventCommon,\n ...category.bind,\n ...durationEvent,\n name: z.literal(\"bindSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * CHECK PHASE EVENTS\n */\n\nconst event_check__checkExpression = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkExpression\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath.optional(),\n }),\n })\n .strict();\n\nconst event_check__checkSourceFile = z\n .object({\n ...eventCommon,\n ...category.check,\n ...durationEvent,\n name: z.literal(\"checkSourceFile\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkVariableDeclaration = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkVariableDeclaration\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkDeferredNode = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkDeferredNode\"),\n dur: z.number(),\n args: z.object({\n kind: z.number(),\n pos: z.number(),\n end: z.number(),\n path: absolutePath,\n }),\n })\n .strict();\n\nconst event_check__checkSourceFileNodes = z\n .object({\n ...eventCommon,\n ...category.check,\n ...completeEvent,\n name: z.literal(\"checkSourceFileNodes\"),\n dur: z.number(),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * CHECKTYPES PHASE EVENTS\n */\nconst event_checktypes__checkTypeParameterDeferred = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"checkTypeParameterDeferred\"),\n dur: z.number(),\n args: z.object({\n parent: typeId,\n id: typeId,\n }),\n })\n .strict();\n\nconst event_checktypes__getVariancesWorker = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"getVariancesWorker\"),\n dur: z.number(),\n args: z.object({\n arity: z.number().int().nonnegative(),\n id: z.number().int().positive(),\n results: z.object({\n variances: z.array(\n z.union([\n z.literal(\"[independent]\"),\n z.literal(\"[independent] (unreliable)\"),\n z.literal(\"[independent] (unmeasurable)\"),\n z.literal(\"[bivariant]\"),\n z.literal(\"[bivariant] (unreliable)\"),\n z.literal(\"[bivariant] (unmeasurable)\"),\n z.literal(\"in\"),\n z.literal(\"in (unreliable)\"),\n z.literal(\"in (unmeasurable)\"),\n z.literal(\"out\"),\n z.literal(\"out (unreliable)\"),\n z.literal(\"out (unmeasurable)\"),\n z.literal(\"in out\" /*burger*/),\n z.literal(\"in out (unreliable)\"),\n z.literal(\"in out (unmeasurable)\"),\n ]),\n ),\n }),\n }),\n })\n .strict();\n\nconst event_checktypes__structuredTypeRelatedTo = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...completeEvent,\n name: z.literal(\"structuredTypeRelatedTo\"),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n }),\n })\n .strict();\n\n/*\n * CHECKTYPES PHASE DEPTH LIMIT EVENTS\n */\n\n/**\n * The `checkCrossProductUnion_DepthLimit` limit is hit when the cross-product of two types exceeds 100_000 combinations while expanding intersections into a union.\n *\n * This triggers the error `TS(2590) Expression produces a union type that is too complex to represent.`\n */\nexport const event_checktypes__checkCrossProductUnion_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"checkCrossProductUnion_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeIds: z.array(typeId),\n size: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__CheckCrossProductUnion_DepthLimit = z.infer<\n typeof event_checktypes__checkCrossProductUnion_DepthLimit\n>;\n\n/**\n * The `checkTypeRelatedTo_DepthLimit` limit is hit when a type relationship check overflows: either the checker reaches its recursion stack limit while comparing deeply nested (or expanding) types or it exhausts the relation-complexity budget.\n * in Node.js the maximum number of elements in a map is 2^24.\n * TypeScript therefore limits the number of entries an invocation of `checkTypeRelatedTo` can add to a relation to 1/8th of its remaining capacity.\n * This limit being hit means the relation will be recorded as failing.\n *\n * This triggers one of the following errors:\n * - `TS(2859) Excessive complexity comparing types '{0}' and '{1}'.`\n * - `TS(2321) Excessive stack depth comparing types '{0}' and '{1}'.`\n */\nexport const event_checktypes__checkTypeRelatedTo_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"checkTypeRelatedTo_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n depth: z.number().int().positive(),\n targetDepth: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__CheckTypeRelatedTo_DepthLimit = z.infer<\n typeof event_checktypes__checkTypeRelatedTo_DepthLimit\n>;\n\n/**\n * The `getTypeAtFlowNode_DepthLimit` limit is hit when resolving the control flow type for a reference causes more than 2_000 recursions.\n * To avoid overflowing the call stack we report an error and disable further control flow analysis in the containing function or module body.\n *\n * This triggers the error `TS(2563) The containing function or module body is too large for control flow analysis.`\n */\nexport const event_checktypes__getTypeAtFlowNode_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"getTypeAtFlowNode_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n flowId: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__GetTypeAtFlowNode_DepthLimit = z.infer<\n typeof event_checktypes__getTypeAtFlowNode_DepthLimit\n>;\n\n/**\n * The `instantiateType_DepthLimit` is hit when more than 100 recursive type instantiations or 5_000_000 instantiations are caused by the same statement or expression.\n * There is a very high likelihood we're dealing with a combination of infinite generic types that perpetually generate new type identities, so TypeScript stops and throws this error.\n *\n * This triggers the error `TS(2589) Type instantiation is excessively deep and possibly infinite.`\n */\n\nexport const event_checktypes__instantiateType_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"instantiateType_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeId,\n instantiationDepth: z.number().int(),\n instantiationCount: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__InstantiateType_DepthLimit = z.infer<\n typeof event_checktypes__instantiateType_DepthLimit\n>;\n\n/**\n * The `recursiveTypeRelatedTo_DepthLimit` limit is hit when the sourceDepth or targetDepth of a type check exceeds 100 during recursive type comparison, indicating a runaway recursion from deeply nested generics or type instantiations.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__recursiveTypeRelatedTo_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"recursiveTypeRelatedTo_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n sourceIdStack: z.array(typeId),\n targetId: typeId,\n targetIdStack: z.array(typeId),\n depth: z.number().int().positive(),\n targetDepth: z.number().int().positive(),\n }),\n })\n .strict();\nexport type EventChecktypes__RecursiveTypeRelatedTo_DepthLimit = z.infer<\n typeof event_checktypes__recursiveTypeRelatedTo_DepthLimit\n>;\n\n/**\n * The `removeSubtypes_DepthLimit` limit is hit when subtype-reduction work becomes too large.\n * Specifically, when more than 100,000 pairwise constituent checks occur, the type checker will pause and estimate remaining work.\n * If that estimate exceeds 1_000_000 pairwise checks, the checker will halt and report this error.\n *\n * This triggers the error `TS(2590) Expression produces a union type that is too complex to represent.`\n *\n */\nexport const event_checktypes__removeSubtypes_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"removeSubtypes_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n typeIds: z.array(typeId),\n }),\n })\n .strict();\nexport type EventChecktypes__RemoveSubtypes_DepthLimit = z.infer<\n typeof event_checktypes__removeSubtypes_DepthLimit\n>;\n\n/**\n * The `traceUnionsOrIntersectionsTooLarge_DepthLimit` limit is hit when the product of a source and target type that will be part of a union will exceed 1_000_000 members when multiplied out.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"traceUnionsOrIntersectionsTooLarge_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n sourceSize: z.number().int().positive(),\n targetId: typeId,\n targetSize: z.number().int().positive(),\n pos: z.number().int().nonnegative().optional(),\n end: z.number().int().positive().optional(),\n }),\n })\n .strict();\nexport type EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit =\n z.infer<\n typeof event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit\n >;\n\n/**\n * The `typeRelatedToDiscriminatedType_DepthLimit` limit is hit when comparing a source object to a discriminated-union target type with more than 25 constituent types.\n * When this occurs, the type checker will just return `false` for the type comparison to avoid excessive computation.\n *\n * This is not currently considered a hard error by the compiler and therefore\n does not report to the user (unless you're a TypeSlayer user 😉).\n */\nexport const event_checktypes__typeRelatedToDiscriminatedType_DepthLimit = z\n .object({\n ...eventCommon,\n ...category.checkTypes,\n ...instantEvent,\n name: z.literal(\"typeRelatedToDiscriminatedType_DepthLimit\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n sourceId: typeId,\n targetId: typeId,\n numCombinations: z.number().int().positive(),\n }),\n })\n .strict();\n\nexport type EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit =\n z.infer<typeof event_checktypes__typeRelatedToDiscriminatedType_DepthLimit>;\n\nexport const depthLimits = [\n event_checktypes__checkCrossProductUnion_DepthLimit,\n event_checktypes__checkTypeRelatedTo_DepthLimit,\n event_checktypes__getTypeAtFlowNode_DepthLimit,\n event_checktypes__instantiateType_DepthLimit,\n event_checktypes__recursiveTypeRelatedTo_DepthLimit,\n event_checktypes__removeSubtypes_DepthLimit,\n event_checktypes__traceUnionsOrIntersectionsTooLarge_DepthLimit,\n event_checktypes__typeRelatedToDiscriminatedType_DepthLimit,\n];\n\nexport type DepthLimitNames =\n | EventChecktypes__CheckCrossProductUnion_DepthLimit[\"name\"]\n | EventChecktypes__CheckTypeRelatedTo_DepthLimit[\"name\"]\n | EventChecktypes__GetTypeAtFlowNode_DepthLimit[\"name\"]\n | EventChecktypes__InstantiateType_DepthLimit[\"name\"]\n | EventChecktypes__RecursiveTypeRelatedTo_DepthLimit[\"name\"]\n | EventChecktypes__RemoveSubtypes_DepthLimit[\"name\"]\n | EventChecktypes__TraceUnionsOrIntersectionsTooLarge_DepthLimit[\"name\"]\n | EventChecktypes__TypeRelatedToDiscriminatedType_DepthLimit[\"name\"];\n\nexport const depthLimitInfo = {\n instantiateType_DepthLimit: {\n title: \"Type Instantiation\",\n notFound: \"No Type Instantiation Limits Found\",\n route: \"instantiate-type-depth-limit\",\n icon: Lightbulb,\n },\n recursiveTypeRelatedTo_DepthLimit: {\n title: \"Recursive Relations\",\n notFound: \"No Recursive Relations Limits Found\",\n route: \"recursive-type-related-to-depth-limit\",\n icon: Diversity1,\n },\n typeRelatedToDiscriminatedType_DepthLimit: {\n title: \"Discrimination\",\n notFound: \"No Discriminated Type Limits Found\",\n route: \"type-related-to-discriminated-type-depth-limit\",\n icon: SafetyDivider,\n },\n checkCrossProductUnion_DepthLimit: {\n title: \"Cross-Product Union\",\n notFound: \"No Cross-Product Union Limits Found\",\n route: \"check-cross-product-union-depth-limit\",\n icon: Calculate,\n },\n checkTypeRelatedTo_DepthLimit: {\n title: \"Type Relation Depth\",\n notFound: \"No Type Relation Depth Limits Found\",\n route: \"check-type-related-to-depth-limit\",\n icon: RotateRight,\n },\n getTypeAtFlowNode_DepthLimit: {\n title: \"Flow Node Type\",\n notFound: \"No Flow Node Type Limits Found\",\n route: \"get-type-at-flow-node-depth-limit\",\n icon: Air,\n },\n removeSubtypes_DepthLimit: {\n title: \"Remove Subtypes\",\n notFound: \"No Remove Subtypes Limits Found\",\n route: \"remove-subtypes-depth-limit\",\n icon: SubdirectoryArrowRight,\n },\n traceUnionsOrIntersectionsTooLarge_DepthLimit: {\n title: \"Union/Intersection Size\",\n notFound: \"No Union/Intersection Size Limits Found\",\n route: \"trace-unions-or-intersections-too-large-depth-limit\",\n icon: Expand,\n },\n} satisfies Record<\n DepthLimitNames,\n {\n title: string;\n notFound: string;\n route: string;\n icon: SvgIconComponent;\n }\n>;\n\n/*\n * EMIT PHASE EVENTS\n */\n\nconst event_emit__emit = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...durationEvent,\n name: z.literal(\"emit\"),\n args: z.object({}), // for some reason, this is empty\n })\n .strict();\n\nconst event_emit__emitBuildInfo = z\n .object({\n ...eventCommon,\n ...category.emit,\n ph: z.union([\n z.literal(eventPhase.begin),\n z.literal(eventPhase.end),\n z.literal(eventPhase.complete),\n ]),\n dur: z.number().positive().optional(),\n name: z.literal(\"emitBuildInfo\"),\n args: z.union([\n z.object({}),\n z.object({\n buildInfoPath: absolutePath,\n }),\n ]),\n })\n .strict();\n\nconst event_emit__emitDeclarationFileOrBundle = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"emitDeclarationFileOrBundle\"),\n dur: z.number(),\n args: z.object({\n declarationFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_emit__emitJsFileOrBundle = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"emitJsFileOrBundle\"),\n dur: z.number(),\n args: z.object({\n jsFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_emit__transformNodes = z\n .object({\n ...eventCommon,\n ...category.emit,\n ...completeEvent,\n name: z.literal(\"transformNodes\"),\n args: z.object({\n path: absolutePath,\n }),\n })\n .strict();\n\n/*\n * SESSION PHASE EVENTS\n */\n\nconst event_session__cancellationThrown = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"cancellationThrown\"),\n args: z.object({\n kind: z.union([\n z.literal(\"CancellationTokenObject\"),\n z.literal(\"ThrotledCancellationToken\"),\n ]),\n }),\n })\n .strict();\n\nconst event_session__commandCanceled = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"commandCanceled\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__commandError = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"commandError\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n message: z.string(),\n }),\n })\n .strict();\n\nconst event_session__createConfiguredProject = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"createConfiguredProject\"),\n args: z.object({\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__createdDocumentRegistryBucket = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"createdDocumentRegistryBucket\"),\n args: z.object({\n configFilePath: absolutePath,\n key: z.string(),\n }),\n })\n .strict();\n\nconst event_session__documentRegistryBucketOverlap = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"documentRegistryBucketOverlap\"),\n args: z.object({\n path: absolutePath,\n key1: z.string(),\n key2: z.string(),\n }),\n })\n .strict();\n\nconst event_session__executeCommand = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"executeCommand\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__finishCachingPerDirectoryResolution = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"finishCachingPerDirectoryResolution\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n })\n .strict();\n\nconst event_session__getPackageJsonAutoImportProvider = z\n .object({\n ...eventCommon,\n ...category.session,\n ...completeEvent,\n name: z.literal(\"getPackageJsonAutoImportProvider\"),\n })\n .strict();\n\nconst event_session__getUnresolvedImports = z\n .object({\n ...eventCommon,\n ...category.session,\n ...completeEvent,\n name: z.literal(\"getUnresolvedImports\"),\n args: z.object({\n count: z.number().int().nonnegative(),\n }),\n })\n .strict();\n\nconst event_session__loadConfiguredProject = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"loadConfiguredProject\"),\n args: z.object({\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__regionSemanticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"regionSemanticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__request = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"request\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n }),\n })\n .strict();\n\nconst event_session__response = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"response\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n command: z.string(),\n success: z.boolean(),\n }),\n })\n .strict();\n\nconst event_session__semanticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"semanticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__stepAction = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepAction\"),\n s: z.union([\n z.literal(instantScope.global),\n z.literal(instantScope.thread),\n z.literal(instantScope.process),\n ]),\n args: z.object({\n seq: z.number().int().nonnegative(),\n }),\n })\n .strict();\n\nconst event_session__stepCanceled = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepCanceled\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n early: z.literal(true).optional(),\n }),\n })\n .strict();\n\nconst event_session__stepError = z\n .object({\n ...eventCommon,\n ...category.session,\n ...instantEvent,\n name: z.literal(\"stepError\"),\n args: z.object({\n seq: z.number().int().nonnegative(),\n message: z.string(),\n }),\n })\n .strict();\n\nconst event_session__suggestionCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"suggestionCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__syntacticCheck = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"syntacticCheck\"),\n args: z.object({\n file: absolutePath,\n configFilePath: absolutePath,\n }),\n })\n .strict();\n\nconst event_session__updateGraph = z\n .object({\n ...eventCommon,\n ...category.session,\n ...durationEvent,\n name: z.literal(\"updateGraph\"),\n args: z.object({\n name: z.string(),\n kind: z.union([\n z.literal(0), //\"Inferred\n z.literal(1), // Configured\"\n z.literal(2), // \"Inferred\"\n z.literal(3), // \"External\"\n z.literal(4), // \"AutoImportProvider\"\n z.literal(5), // \"Auxiliary\"\n ]),\n }),\n })\n .strict();\n\n/*\n * TRACE EVENT UNION\n */\n\nexport const traceEvent = z.discriminatedUnion(\n \"name\",\n [\n event_metadata__TracingStartedInBrowser,\n event_metadata__process_name,\n event_metadata__thread_name,\n\n event_parse__createSourceFile,\n event_parse__parseJsonSourceFileConfigFileContent,\n\n event_program__createProgram,\n event_program__findSourceFile,\n event_program__processRootFiles,\n event_program__processTypeReferenceDirective,\n event_program__processTypeReferences,\n event_program__resolveLibrary,\n event_program__resolveModuleNamesWorker,\n event_program__resolveTypeReferenceDirectiveNamesWorker,\n event_program__shouldProgramCreateNewSourceFiles,\n event_program__tryReuseStructureFromOldProgram,\n\n event_bind__bindSourceFile,\n\n event_check__checkExpression,\n event_check__checkSourceFile,\n event_check__checkVariableDeclaration,\n event_check__checkDeferredNode,\n event_check__checkSourceFileNodes,\n\n event_checktypes__checkTypeParameterDeferred,\n event_checktypes__getVariancesWorker,\n event_checktypes__structuredTypeRelatedTo,\n\n ...depthLimits,\n\n event_emit__emit,\n event_emit__emitBuildInfo,\n event_emit__emitDeclarationFileOrBundle,\n event_emit__emitJsFileOrBundle,\n event_emit__transformNodes,\n\n event_session__cancellationThrown,\n event_session__commandCanceled,\n event_session__commandError,\n event_session__createConfiguredProject,\n event_session__createdDocumentRegistryBucket,\n event_session__documentRegistryBucketOverlap,\n event_session__executeCommand,\n event_session__finishCachingPerDirectoryResolution,\n event_session__getPackageJsonAutoImportProvider,\n event_session__getUnresolvedImports,\n event_session__loadConfiguredProject,\n event_session__regionSemanticCheck,\n event_session__request,\n event_session__response,\n event_session__semanticCheck,\n event_session__stepAction,\n event_session__stepCanceled,\n event_session__stepError,\n event_session__suggestionCheck,\n event_session__syntacticCheck,\n event_session__updateGraph,\n ],\n {\n // errorMap: (issue, ctx) => ({\n // \t// prettier-ignore\n // \tmessage: issue.code === \"invalid_union_discriminator\" ?\n // \t\t\t`Invalid discriminator value. Expected ${issue.options.map(opt => `'${String(opt)}'`).join(' | ')}, got '${ctx.data.type}'.`\n // \t\t\t: ctx.defaultError,\n // }),\n },\n);\n\nexport type TraceEvent = z.infer<typeof traceEvent>;\nexport const traceJsonSchema = z.array(traceEvent);\nexport type TraceJsonSchema = z.infer<typeof traceJsonSchema>;\n","export const CPU_PROFILE_FILENAME = \"tsc.cpuprofile\";\n","import type { ResolvedType } from \"./types-json\";\n\n/**\n * Think of a TypeRegistry like an object that you'd use to look up types by their ID.\n *\n */\nexport type TypeRegistry = ResolvedType[];\n\nconst ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS: [\n ResolvedType,\n] = [{ id: 0, recursionId: -1, flags: [] }];\n\nexport const createTypeRegistry = (typesJson: ResolvedType[]): TypeRegistry => {\n return ALL_LIFE_IS_SUFFERING_THAT_BASKS_IN_NOTHINGNESS___ALL_LIFE_IS_TEMPORARY___WHAT_LASTS_IS_CONSCIOUSNESS.concat(\n typesJson,\n );\n};\n","import type { SvgIconComponent } from \"@mui/icons-material\";\n\nimport AltRoute from \"@mui/icons-material/AltRoute\";\nimport Check from \"@mui/icons-material/Check\";\nimport Close from \"@mui/icons-material/Close\";\nimport Extension from \"@mui/icons-material/Extension\";\nimport FilterListAlt from \"@mui/icons-material/FilterListAlt\";\nimport FindReplace from \"@mui/icons-material/FindReplace\";\nimport Input from \"@mui/icons-material/Input\";\nimport JoinFull from \"@mui/icons-material/JoinFull\";\nimport JoinInner from \"@mui/icons-material/JoinInner\";\nimport Key from \"@mui/icons-material/Key\";\nimport Polyline from \"@mui/icons-material/Polyline\";\nimport QuestionMark from \"@mui/icons-material/QuestionMark\";\nimport Search from \"@mui/icons-material/Search\";\nimport SettingsBackupRestore from \"@mui/icons-material/SettingsBackupRestore\";\nimport SportsKabaddi from \"@mui/icons-material/SportsKabaddi\";\nimport TrackChanges from \"@mui/icons-material/TrackChanges\";\n\nimport { z } from \"zod/v4\";\nimport { location, typeId } from \"./utils\";\n\nexport const TYPES_JSON_FILENAME = \"types.json\";\n\nconst flag = z.enum([\n \"Any\",\n \"Unknown\",\n \"String\",\n \"Number\",\n \"Boolean\",\n \"Enum\",\n \"BigInt\",\n \"StringLiteral\",\n \"NumberLiteral\",\n \"BooleanLiteral\",\n \"EnumLiteral\",\n \"BigIntLiteral\",\n \"ESSymbol\",\n \"UniqueESSymbol\",\n \"Void\",\n \"Undefined\",\n \"Null\",\n \"Never\",\n \"TypeParameter\",\n \"Object\",\n \"Union\",\n \"Intersection\",\n \"Index\",\n \"IndexedAccess\",\n \"Conditional\",\n \"Substitution\",\n \"NonPrimitive\",\n \"TemplateLiteral\",\n \"StringMapping\",\n \"Reserved1\",\n \"Reserved2\",\n \"AnyOrUnknown\",\n \"Nullable\",\n \"Literal\",\n \"Unit\",\n \"Freshable\",\n \"StringOrNumberLiteral\",\n \"StringOrNumberLiteralOrUnique\",\n \"DefinitelyFalsy\",\n \"PossiblyFalsy\",\n \"Intrinsic\",\n \"StringLike\",\n \"NumberLike\",\n \"BigIntLike\",\n \"BooleanLike\",\n \"EnumLike\",\n \"ESSymbolLike\",\n \"VoidLike\",\n \"Primitive\",\n \"DefinitelyNonNullable\",\n \"DisjointDomains\",\n \"UnionOrIntersection\",\n \"StructuredType\",\n \"TypeVariable\",\n \"InstantiableNonPrimitive\",\n \"InstantiablePrimitive\",\n \"Instantiable\",\n \"StructuredOrInstantiable\",\n \"ObjectFlagsType\",\n \"Simplifiable\",\n \"Singleton\",\n \"Narrowable\",\n \"IncludesMask\",\n \"IncludesMissingType\",\n \"IncludesNonWideningType\",\n \"IncludesWildcard\",\n \"IncludesEmptyObject\",\n \"IncludesInstantiable\",\n \"IncludesConstrainedTypeVariable\",\n \"IncludesError\",\n \"NotPrimitiveUnion\",\n]);\n\nexport type Flag = z.infer<typeof flag>;\n\nconst typeRelations = {\n typeArguments: z.array(typeId).optional(),\n unionTypes: z.array(typeId).optional(),\n intersectionTypes: z.array(typeId).optional(),\n aliasTypeArguments: z.array(typeId).optional(),\n instantiatedType: typeId.optional(),\n substitutionBaseType: typeId.optional(),\n constraintType: typeId.optional(),\n indexedAccessObjectType: typeId.optional(),\n indexedAccessIndexType: typeId.optional(),\n conditionalCheckType: typeId.optional(),\n conditionalExtendsType: typeId.optional(),\n conditionalTrueType: typeId.optional(),\n conditionalFalseType: typeId.optional(),\n keyofType: typeId.optional(),\n aliasType: typeId.optional(),\n evolvingArrayElementType: typeId.optional(),\n evolvingArrayFinalType: typeId.optional(),\n reverseMappedSourceType: typeId.optional(),\n reverseMappedMappedType: typeId.optional(),\n reverseMappedConstraintType: typeId.optional(),\n};\n\nexport interface TypeRelationInfo {\n source: {\n title: string;\n description: string;\n unit: string;\n };\n target: {\n title: string;\n description: string;\n unit: string;\n };\n route: string;\n icon: SvgIconComponent;\n}\n\nexport const typeRelationOrder = [\n \"unionTypes\",\n \"intersectionTypes\",\n \"typeArguments\",\n \"instantiatedType\",\n \"aliasTypeArguments\",\n \"conditionalCheckType\",\n \"conditionalExtendsType\",\n \"conditionalFalseType\",\n \"conditionalTrueType\",\n \"indexedAccessObjectType\",\n \"indexedAccessIndexType\",\n \"keyofType\",\n \"reverseMappedSourceType\",\n \"reverseMappedMappedType\",\n \"reverseMappedConstraintType\",\n \"substitutionBaseType\",\n \"constraintType\",\n \"evolvingArrayElementType\",\n \"evolvingArrayFinalType\",\n \"aliasType\",\n] as const;\n\nexport const typeRelationInfo = {\n unionTypes: {\n source: {\n title: \"Union\",\n unit: \"union members\",\n description:\n \"Type whose union has the greatest number of distinct members (breadth of possible shapes).\",\n },\n target: {\n title: \"Union Member\",\n unit: \"unions\",\n description: \"The type most frequently included in unions.\",\n },\n route: \"union-types\",\n icon: JoinFull,\n },\n intersectionTypes: {\n source: {\n title: \"Intersection\",\n unit: \"intersections\",\n description:\n \"Type whose intersection combines the greatest number of constituent types (breadth of constraints).\",\n },\n target: {\n title: \"Intersection Member\",\n unit: \"intersections\",\n description: \"The type most frequently included in intersections.\",\n },\n route: \"intersection-types\",\n icon: JoinInner,\n },\n typeArguments: {\n source: {\n title: \"Type Arguments\",\n unit: \"type arguments\",\n description:\n \"Generic type with the largest number of supplied type arguments at its most complex instantiation.\",\n },\n target: {\n title: \"Type Argument\",\n unit: \"type arguments\",\n description:\n \"The type most frequently used as a type argument (indicating complex generic interactions).\",\n },\n icon: SportsKabaddi,\n route: \"type-arguments\",\n },\n instantiatedType: {\n source: {\n title: \"Instantiated\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Instantiated By\",\n unit: \"instantiations\",\n description:\n \"Type that was instantiated the most, indicating high reuse.\",\n },\n icon: Polyline,\n route: \"instantiated-type\",\n },\n aliasTypeArguments: {\n source: {\n title: \"Generic Argument\",\n unit: \"generic arguments\",\n description:\n \"Type alias pulling in the greatest number of distinct generic arguments through its resolution layers.\",\n },\n target: {\n title: \"Generic Arguments\",\n unit: \"alias type-arguments\",\n description:\n '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.',\n },\n icon: Input,\n route: \"alias-type-arguments\",\n },\n conditionalCheckType: {\n source: {\n title: \"Conditional Check\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional Check Condition\",\n unit: \"conditional checks\",\n description:\n \"Type most often used as the checked type in conditional types (the `T` in `T extends U ? A : B`).\",\n },\n icon: QuestionMark,\n route: \"conditional-check-type\",\n },\n conditionalExtendsType: {\n source: {\n title: \"Conditional Extends\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional Extends\",\n unit: \"extends uses\",\n description:\n \"Type most frequently appearing on the `extends` side of conditional types (the `U` in `T extends U ? A : B`)), indicating common constraint relationships.\",\n },\n icon: Extension,\n route: \"conditional-extends-type\",\n },\n conditionalFalseType: {\n source: {\n title: \"Conditional False\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional False Branch\",\n unit: \"false-branch uses\",\n description:\n \"Type that most often appears as the `false` branch result of conditional types. Indicates fallback/resolution patterns.\",\n },\n icon: Close,\n route: \"conditional-false-type\",\n },\n conditionalTrueType: {\n source: {\n title: \"Conditional True\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Conditional True Branch\",\n unit: \"true-branch uses\",\n description:\n \"Type that most often appears as the `true` branch result of conditional types. Indicates favored resolution outcomes.\",\n },\n icon: Check,\n route: \"conditional-true-type\",\n },\n indexedAccessObjectType: {\n source: {\n title: \"Indexed Access Object\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Object Indexed Access By\",\n unit: \"indexed-accesses\",\n description:\n \"Type most frequently used as the object operand in indexed access (e.g. `T[K]`), indicating dynamic property shape usage.\",\n },\n icon: Search,\n route: \"indexed-access-object-type\",\n },\n indexedAccessIndexType: {\n source: {\n title: \"Indexed Access Index\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Tuple Indexed Access By\",\n unit: \"indexed-accesses\",\n description:\n \"Type most frequently used as the index operand in indexed access of a tuple (e.g. `SomeTuple[K]`).\",\n },\n icon: Search,\n route: \"indexed-access-index-type\",\n },\n keyofType: {\n source: {\n title: \"Keyof\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Keyof Uses\",\n unit: \"keyof uses\",\n description:\n \"Type most frequently used within 'keyof' operations, often indicating dynamic property access patterns.\",\n },\n icon: Key,\n route: \"keyof-type\",\n },\n reverseMappedSourceType: {\n source: {\n title: \"Reverse Mapped Source\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Source\",\n unit: \"reverse-mappings\",\n description:\n \"Type most commonly appearing as the source in reverse-mapped type transforms (utility mapped types in reverse).\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-source-type\",\n },\n reverseMappedMappedType: {\n source: {\n title: \"Reverse Mapped Mapped\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Mapped By\",\n unit: \"reverse-mapped sources\",\n description:\n \"Type most commonly produced by reverse-mapped transformations.\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-mapped-type\",\n },\n reverseMappedConstraintType: {\n source: {\n title: \"Reverse Mapped Constraint\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Reverse-Map Constraints\",\n unit: \"reverse-mapping constraints\",\n description:\n \"Type that often serves as a constraint in reverse-mapped transformations, indicating mapped type bounds.\",\n },\n icon: SettingsBackupRestore,\n route: \"reverse-mapped-constraint-type\",\n },\n substitutionBaseType: {\n source: {\n title: \"Substitution Base\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Substitution Bases\",\n unit: \"substitution uses\",\n description:\n \"Type used as a substitution base during type substitution operations, signaling types that commonly serve as generic inference placeholders.\",\n },\n icon: FindReplace,\n route: \"substitution-base-type\",\n },\n constraintType: {\n source: {\n title: \"Constraint\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Generic Constraints\",\n unit: \"constraint uses\",\n description:\n \"Type most often appearing as a generic constraint (e.g. in `extends` clauses) when resolving generics and conditionals.\",\n },\n icon: FilterListAlt,\n route: \"constraint-type\",\n },\n evolvingArrayElementType: {\n source: {\n title: \"Evolving Array Element\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Evolving Array Element\",\n unit: \"array element uses\",\n description:\n \"Type most commonly used as the evolving array element during array widening/folding operations in inference.\",\n },\n icon: TrackChanges,\n route: \"evolving-array-element-type\",\n },\n evolvingArrayFinalType: {\n source: {\n title: \"Evolving Array Final\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Evolving Array Final\",\n unit: \"array final uses\",\n description:\n \"Type that frequently becomes the final element type after array evolution/widening, useful to spot common widened shapes.\",\n },\n icon: TrackChanges,\n route: \"evolving-array-final-type\",\n },\n aliasType: {\n source: {\n title: \"Alias\",\n unit: \"\",\n description: \"\",\n },\n target: {\n title: \"Aliased As\",\n unit: \"alias uses\",\n description:\n \"Type most frequently used as an alias target, shows which aliases are heavily reused across the codebase.\",\n },\n icon: AltRoute,\n route: \"alias-type\",\n },\n} as const satisfies Record<keyof typeof typeRelations, TypeRelationInfo>;\n\nexport const resolvedType = z\n .object({\n id: typeId,\n flags: z.array(flag),\n\n recursionId: z.number().optional(),\n intrinsicName: z\n .enum([\n \"any\",\n \"error\",\n \"unresolved\",\n \"unknown\",\n \"true\",\n \"false\",\n \"never\",\n \"void\",\n \"symbol\",\n \"bigint\",\n \"null\",\n \"undefined\",\n \"intrinsic\",\n \"object\",\n \"boolean\",\n \"number\",\n \"string\",\n ])\n .optional(),\n\n firstDeclaration: location.optional(),\n referenceLocation: location.optional(),\n destructuringPattern: location.optional(),\n\n ...typeRelations,\n\n isTuple: z.literal(true).optional(),\n\n symbolName: z.string().optional(),\n display: z.string().optional(),\n })\n .strict();\n\nexport type ResolvedType = z.infer<typeof resolvedType>;\nexport const typesJsonSchema = z.array(resolvedType);\nexport type TypesJsonSchema = z.infer<typeof typesJsonSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAa,mBACX;AAEF,MAAa,sBAAsB,SAAgC;CACjE,MAAM,eAAe;AACrB,KAAI,KAAK,SAAS,aAAa,EAAE;EAE/B,MAAM,aAAa,KAAK,QAAQ,aAAa,GAAG;EAChD,MAAM,WAAW,KAAK,QAAQ,KAAK,WAAW;AAC9C,MAAI,aAAa,GACf,OAAM,IAAI,MACR,kEACD;AAEH,SAAO,KAAK,UAAU,YAAY,SAAS,CAAC,QAAQ,KAAK,IAAI;;AAG/D,QAAO;;;;;;;;;AAUT,SAAgB,eAAe,MAAc,IAAoB;CAE/D,MAAM,UAAU,IAAI,IAAI,UAAU,KAAK,SAAS,IAAI,GAAG,OAAO,GAAG,KAAK,MAAM;CAC5E,MAAM,QAAQ,IAAI,IAAI,UAAU,KAAK;CAErC,MAAM,YAAY,QAAQ,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;CAC7D,MAAM,UAAU,MAAM,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;CAGzD,IAAI,IAAI;AACR,QACE,IAAI,UAAU,UACd,IAAI,QAAQ,UACZ,UAAU,OAAO,QAAQ,GAEzB;CAGF,MAAM,KAAK,UAAU,SAAS;CAC9B,MAAM,OAAO,QAAQ,MAAM,EAAE,CAAC,KAAK,IAAI;AAEvC,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;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA,GAAG;CAEH;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,EACD,EAOC,CACF;AAGD,MAAa,kBAAkB,EAAE,MAAM,WAAW;;;;ACxqClD,MAAa,uBAAuB;;;;ACQpC,MAAMA,wGAEF,CAAC;CAAE,IAAI;CAAG,aAAa;CAAI,OAAO,EAAE;CAAE,CAAC;AAE3C,MAAa,sBAAsB,cAA4C;AAC7E,QAAO,sGAAsG,OAC3G,UACD;;;;;ACOH,MAAa,sBAAsB;AAEnC,MAAM,OAAO,EAAE,KAAK;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC;AAIF,MAAM,gBAAgB;CACpB,eAAe,EAAE,MAAM,OAAO,CAAC,UAAU;CACzC,YAAY,EAAE,MAAM,OAAO,CAAC,UAAU;CACtC,mBAAmB,EAAE,MAAM,OAAO,CAAC,UAAU;CAC7C,oBAAoB,EAAE,MAAM,OAAO,CAAC,UAAU;CAC9C,kBAAkB,OAAO,UAAU;CACnC,sBAAsB,OAAO,UAAU;CACvC,gBAAgB,OAAO,UAAU;CACjC,yBAAyB,OAAO,UAAU;CAC1C,wBAAwB,OAAO,UAAU;CACzC,sBAAsB,OAAO,UAAU;CACvC,wBAAwB,OAAO,UAAU;CACzC,qBAAqB,OAAO,UAAU;CACtC,sBAAsB,OAAO,UAAU;CACvC,WAAW,OAAO,UAAU;CAC5B,WAAW,OAAO,UAAU;CAC5B,0BAA0B,OAAO,UAAU;CAC3C,wBAAwB,OAAO,UAAU;CACzC,yBAAyB,OAAO,UAAU;CAC1C,yBAAyB,OAAO,UAAU;CAC1C,6BAA6B,OAAO,UAAU;CAC/C;AAiBD,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,mBAAmB;CAC9B,YAAY;EACV,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,OAAO;EACP,MAAM;EACP;CACD,mBAAmB;EACjB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,OAAO;EACP,MAAM;EACP;CACD,eAAe;EACb,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,kBAAkB;EAChB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,oBAAoB;EAClB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,qBAAqB;EACnB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,WAAW;EACT,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,yBAAyB;EACvB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,6BAA6B;EAC3B,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,sBAAsB;EACpB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,gBAAgB;EACd,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,0BAA0B;EACxB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,wBAAwB;EACtB,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACD,WAAW;EACT,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,QAAQ;GACN,OAAO;GACP,MAAM;GACN,aACE;GACH;EACD,MAAM;EACN,OAAO;EACR;CACF;AAED,MAAa,eAAe,EACzB,OAAO;CACN,IAAI;CACJ,OAAO,EAAE,MAAM,KAAK;CAEpB,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,eAAe,EACZ,KAAK;EACJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CAAC,CACD,UAAU;CAEb,kBAAkB,SAAS,UAAU;CACrC,mBAAmB,SAAS,UAAU;CACtC,sBAAsB,SAAS,UAAU;CAEzC,GAAG;CAEH,SAAS,EAAE,QAAQ,KAAK,CAAC,UAAU;CAEnC,YAAY,EAAE,QAAQ,CAAC,UAAU;CACjC,SAAS,EAAE,QAAQ,CAAC,UAAU;CAC/B,CAAC,CACD,QAAQ;AAGX,MAAa,kBAAkB,EAAE,MAAM,aAAa"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeslayer/validate",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "Validation schemas and utilities for TypeScript compiler trace analysis",
5
5
  "license": "MIT",
6
6
  "private": false,
package/src/index.ts CHANGED
@@ -33,6 +33,7 @@ export {
33
33
  export { CPU_PROFILE_FILENAME } from "./tsc-cpuprofile";
34
34
  export { createTypeRegistry, type TypeRegistry } from "./type-registry";
35
35
  export {
36
+ type Flag,
36
37
  type ResolvedType,
37
38
  resolvedType,
38
39
  TYPES_JSON_FILENAME,
package/src/types-json.ts CHANGED
@@ -96,6 +96,8 @@ const flag = z.enum([
96
96
  "NotPrimitiveUnion",
97
97
  ]);
98
98
 
99
+ export type Flag = z.infer<typeof flag>;
100
+
99
101
  const typeRelations = {
100
102
  typeArguments: z.array(typeId).optional(),
101
103
  unionTypes: z.array(typeId).optional(),