@typeslayer/validate 0.1.29 → 0.1.31

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +36 -36
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
- import * as _mui_material_SvgIcon19 from "@mui/material/SvgIcon";
3
- import * as _mui_material_OverridableComponent19 from "@mui/material/OverridableComponent";
2
+ import * as _mui_material_SvgIcon0 from "@mui/material/SvgIcon";
3
+ import * as _mui_material_OverridableComponent0 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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
316
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
324
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
332
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
340
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
348
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
356
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
364
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.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_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
372
+ icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
373
373
  muiName: string;
374
374
  };
375
375
  };
@@ -1693,6 +1693,8 @@ declare const CPU_PROFILE_FILENAME = "tsc.cpuprofile";
1693
1693
  //#region src/types-json.d.ts
1694
1694
  declare const TYPES_JSON_FILENAME = "types.json";
1695
1695
  declare const flag: z.ZodEnum<{
1696
+ Union: "Union";
1697
+ Intersection: "Intersection";
1696
1698
  Any: "Any";
1697
1699
  Unknown: "Unknown";
1698
1700
  String: "String";
@@ -1713,8 +1715,6 @@ declare const flag: z.ZodEnum<{
1713
1715
  Never: "Never";
1714
1716
  TypeParameter: "TypeParameter";
1715
1717
  Object: "Object";
1716
- Union: "Union";
1717
- Intersection: "Intersection";
1718
1718
  Index: "Index";
1719
1719
  IndexedAccess: "IndexedAccess";
1720
1720
  Conditional: "Conditional";
@@ -1794,7 +1794,7 @@ declare const typeRelationInfo: {
1794
1794
  readonly description: "The type most frequently included in unions.";
1795
1795
  };
1796
1796
  readonly route: "union-types";
1797
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1797
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1798
1798
  muiName: string;
1799
1799
  };
1800
1800
  };
@@ -1810,7 +1810,7 @@ declare const typeRelationInfo: {
1810
1810
  readonly description: "The type most frequently included in intersections.";
1811
1811
  };
1812
1812
  readonly route: "intersection-types";
1813
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1813
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1814
1814
  muiName: string;
1815
1815
  };
1816
1816
  };
@@ -1825,7 +1825,7 @@ declare const typeRelationInfo: {
1825
1825
  readonly unit: "type arguments";
1826
1826
  readonly description: "The type most frequently used as a type argument (indicating complex generic interactions).";
1827
1827
  };
1828
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1828
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1829
1829
  muiName: string;
1830
1830
  };
1831
1831
  readonly route: "type-arguments";
@@ -1841,7 +1841,7 @@ declare const typeRelationInfo: {
1841
1841
  readonly unit: "instantiations";
1842
1842
  readonly description: "Type that was instantiated the most, indicating high reuse.";
1843
1843
  };
1844
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1844
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1845
1845
  muiName: string;
1846
1846
  };
1847
1847
  readonly route: "instantiated-type";
@@ -1857,7 +1857,7 @@ declare const typeRelationInfo: {
1857
1857
  readonly unit: "alias type-arguments";
1858
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.";
1859
1859
  };
1860
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1860
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1861
1861
  muiName: string;
1862
1862
  };
1863
1863
  readonly route: "alias-type-arguments";
@@ -1873,7 +1873,7 @@ declare const typeRelationInfo: {
1873
1873
  readonly unit: "conditional checks";
1874
1874
  readonly description: "Type most often used as the checked type in conditional types (the `T` in `T extends U ? A : B`).";
1875
1875
  };
1876
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1876
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1877
1877
  muiName: string;
1878
1878
  };
1879
1879
  readonly route: "conditional-check-type";
@@ -1889,7 +1889,7 @@ declare const typeRelationInfo: {
1889
1889
  readonly unit: "extends uses";
1890
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.";
1891
1891
  };
1892
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1892
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1893
1893
  muiName: string;
1894
1894
  };
1895
1895
  readonly route: "conditional-extends-type";
@@ -1905,7 +1905,7 @@ declare const typeRelationInfo: {
1905
1905
  readonly unit: "false-branch uses";
1906
1906
  readonly description: "Type that most often appears as the `false` branch result of conditional types. Indicates fallback/resolution patterns.";
1907
1907
  };
1908
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1908
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1909
1909
  muiName: string;
1910
1910
  };
1911
1911
  readonly route: "conditional-false-type";
@@ -1921,7 +1921,7 @@ declare const typeRelationInfo: {
1921
1921
  readonly unit: "true-branch uses";
1922
1922
  readonly description: "Type that most often appears as the `true` branch result of conditional types. Indicates favored resolution outcomes.";
1923
1923
  };
1924
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1924
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1925
1925
  muiName: string;
1926
1926
  };
1927
1927
  readonly route: "conditional-true-type";
@@ -1937,7 +1937,7 @@ declare const typeRelationInfo: {
1937
1937
  readonly unit: "indexed-accesses";
1938
1938
  readonly description: "Type most frequently used as the object operand in indexed access (e.g. `T[K]`), indicating dynamic property shape usage.";
1939
1939
  };
1940
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1940
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1941
1941
  muiName: string;
1942
1942
  };
1943
1943
  readonly route: "indexed-access-object-type";
@@ -1953,7 +1953,7 @@ declare const typeRelationInfo: {
1953
1953
  readonly unit: "indexed-accesses";
1954
1954
  readonly description: "Type most frequently used as the index operand in indexed access of a tuple (e.g. `SomeTuple[K]`).";
1955
1955
  };
1956
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1956
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1957
1957
  muiName: string;
1958
1958
  };
1959
1959
  readonly route: "indexed-access-index-type";
@@ -1969,7 +1969,7 @@ declare const typeRelationInfo: {
1969
1969
  readonly unit: "keyof uses";
1970
1970
  readonly description: "Type most frequently used within 'keyof' operations, often indicating dynamic property access patterns.";
1971
1971
  };
1972
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1972
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1973
1973
  muiName: string;
1974
1974
  };
1975
1975
  readonly route: "keyof-type";
@@ -1985,7 +1985,7 @@ declare const typeRelationInfo: {
1985
1985
  readonly unit: "reverse-mappings";
1986
1986
  readonly description: "Type most commonly appearing as the source in reverse-mapped type transforms (utility mapped types in reverse).";
1987
1987
  };
1988
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
1988
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
1989
1989
  muiName: string;
1990
1990
  };
1991
1991
  readonly route: "reverse-mapped-source-type";
@@ -2001,7 +2001,7 @@ declare const typeRelationInfo: {
2001
2001
  readonly unit: "reverse-mapped sources";
2002
2002
  readonly description: "Type most commonly produced by reverse-mapped transformations.";
2003
2003
  };
2004
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2004
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2005
2005
  muiName: string;
2006
2006
  };
2007
2007
  readonly route: "reverse-mapped-mapped-type";
@@ -2017,7 +2017,7 @@ declare const typeRelationInfo: {
2017
2017
  readonly unit: "reverse-mapping constraints";
2018
2018
  readonly description: "Type that often serves as a constraint in reverse-mapped transformations, indicating mapped type bounds.";
2019
2019
  };
2020
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2020
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2021
2021
  muiName: string;
2022
2022
  };
2023
2023
  readonly route: "reverse-mapped-constraint-type";
@@ -2033,7 +2033,7 @@ declare const typeRelationInfo: {
2033
2033
  readonly unit: "substitution uses";
2034
2034
  readonly description: "Type used as a substitution base during type substitution operations, signaling types that commonly serve as generic inference placeholders.";
2035
2035
  };
2036
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2036
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2037
2037
  muiName: string;
2038
2038
  };
2039
2039
  readonly route: "substitution-base-type";
@@ -2049,7 +2049,7 @@ declare const typeRelationInfo: {
2049
2049
  readonly unit: "constraint uses";
2050
2050
  readonly description: "Type most often appearing as a generic constraint (e.g. in `extends` clauses) when resolving generics and conditionals.";
2051
2051
  };
2052
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2052
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2053
2053
  muiName: string;
2054
2054
  };
2055
2055
  readonly route: "constraint-type";
@@ -2065,7 +2065,7 @@ declare const typeRelationInfo: {
2065
2065
  readonly unit: "array element uses";
2066
2066
  readonly description: "Type most commonly used as the evolving array element during array widening/folding operations in inference.";
2067
2067
  };
2068
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2068
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2069
2069
  muiName: string;
2070
2070
  };
2071
2071
  readonly route: "evolving-array-element-type";
@@ -2081,7 +2081,7 @@ declare const typeRelationInfo: {
2081
2081
  readonly unit: "array final uses";
2082
2082
  readonly description: "Type that frequently becomes the final element type after array evolution/widening, useful to spot common widened shapes.";
2083
2083
  };
2084
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2084
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2085
2085
  muiName: string;
2086
2086
  };
2087
2087
  readonly route: "evolving-array-final-type";
@@ -2097,7 +2097,7 @@ declare const typeRelationInfo: {
2097
2097
  readonly unit: "alias uses";
2098
2098
  readonly description: "Type most frequently used as an alias target, shows which aliases are heavily reused across the codebase.";
2099
2099
  };
2100
- readonly icon: _mui_material_OverridableComponent19.OverridableComponent<_mui_material_SvgIcon19.SvgIconTypeMap<{}, "svg">> & {
2100
+ readonly icon: _mui_material_OverridableComponent0.OverridableComponent<_mui_material_SvgIcon0.SvgIconTypeMap<{}, "svg">> & {
2101
2101
  muiName: string;
2102
2102
  };
2103
2103
  readonly route: "alias-type";
@@ -2129,6 +2129,8 @@ declare const resolvedType: z.ZodObject<{
2129
2129
  reverseMappedConstraintType: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>>;
2130
2130
  id: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>;
2131
2131
  flags: z.ZodArray<z.ZodEnum<{
2132
+ Union: "Union";
2133
+ Intersection: "Intersection";
2132
2134
  Any: "Any";
2133
2135
  Unknown: "Unknown";
2134
2136
  String: "String";
@@ -2149,8 +2151,6 @@ declare const resolvedType: z.ZodObject<{
2149
2151
  Never: "Never";
2150
2152
  TypeParameter: "TypeParameter";
2151
2153
  Object: "Object";
2152
- Union: "Union";
2153
- Intersection: "Intersection";
2154
2154
  Index: "Index";
2155
2155
  IndexedAccess: "IndexedAccess";
2156
2156
  Conditional: "Conditional";
@@ -2282,6 +2282,8 @@ declare const typesJsonSchema: z.ZodArray<z.ZodObject<{
2282
2282
  reverseMappedConstraintType: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>>;
2283
2283
  id: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<-1>]>;
2284
2284
  flags: z.ZodArray<z.ZodEnum<{
2285
+ Union: "Union";
2286
+ Intersection: "Intersection";
2285
2287
  Any: "Any";
2286
2288
  Unknown: "Unknown";
2287
2289
  String: "String";
@@ -2302,8 +2304,6 @@ declare const typesJsonSchema: z.ZodArray<z.ZodObject<{
2302
2304
  Never: "Never";
2303
2305
  TypeParameter: "TypeParameter";
2304
2306
  Object: "Object";
2305
- Union: "Union";
2306
- Intersection: "Intersection";
2307
2307
  Index: "Index";
2308
2308
  IndexedAccess: "IndexedAccess";
2309
2309
  Conditional: "Conditional";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeslayer/validate",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Validation schemas and utilities for TypeScript compiler trace analysis",
5
5
  "license": "MIT",
6
6
  "private": false,