uni-types 1.7.0 → 1.8.0

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 (4) hide show
  1. package/README.md +111 -1
  2. package/dist/index.d.cts +10139 -4738
  3. package/dist/index.d.mts +10139 -4738
  4. package/package.json +5 -5
package/README.md CHANGED
@@ -18,7 +18,7 @@ A comprehensive collection of type helpers for TypeScript development
18
18
 
19
19
  ## Features
20
20
 
21
- - 🎯 **700+ Type Utilities** - Comprehensive type helpers for every use case
21
+ - 🎯 **800+ Type Utilities** - Comprehensive type helpers for every use case
22
22
  - 🔒 **Type Safe** - Full TypeScript support with strict type checking
23
23
  - 📦 **Zero Dependencies** - Lightweight and tree-shakeable
24
24
  - 🚀 **TypeScript 5.x** - Built with the latest TypeScript features
@@ -1017,6 +1017,116 @@ type Result = If<true, 'success', 'error'> // 'success'
1017
1017
  | `Mean<T>`, `Median<T>` | Statistical functions |
1018
1018
  | `IsEven<N>`, `IsOdd<N>` | Even/Odd check |
1019
1019
 
1020
+ ### Type Inference Engine *(v1.8.0)*
1021
+
1022
+ | Type | Description |
1023
+ |------|-------------|
1024
+ | `InferEngine<T>` | Type inference engine |
1025
+ | `InferContext<T>` | Inference context with type variables |
1026
+ | `InferResult<T>` | Inference result (success/error) |
1027
+ | `Deduce<T>` | Type deduction utility |
1028
+ | `Constraint<T>` | Type constraint definition |
1029
+ | `Substitution<T>` | Type substitution |
1030
+ | `TypeVar` | Type variable representation |
1031
+ | `Polymorphic<T>` | Polymorphic type |
1032
+ | `Kind`, `KindArrow`, `KindCheck<T>` | Kind system |
1033
+ | `Effect<T>`, `EffectRow`, `Effectful<T>` | Effect system |
1034
+ | `Pure<T>`, `Impure<T>` | Pure/impure computations |
1035
+
1036
+ ### Type-Level Network *(v1.8.0)*
1037
+
1038
+ | Type | Description |
1039
+ |------|-------------|
1040
+ | `Protocol`, `ProtocolVersion` | Protocol definition |
1041
+ | `HTTPMethod`, `HTTPHeaders` | HTTP types |
1042
+ | `HTTPRequest<T>`, `HTTPResponse<T>` | HTTP request/response |
1043
+ | `WSMessage<T>`, `WSFrame`, `WSOpcode` | WebSocket types |
1044
+ | `gRPCService`, `gRPCMethod<T>`, `gRPCRequest<T>` | gRPC types |
1045
+ | `TCPPacket<T>`, `UDPPacket<T>`, `SocketAddress` | TCP/UDP types |
1046
+ | `ProtoMessage`, `ProtoField<T>` | Protocol Buffers |
1047
+ | `MQTTPacket<T>`, `MQTTQoS` | MQTT types |
1048
+
1049
+ ### Type-Level File System *(v1.8.0)*
1050
+
1051
+ | Type | Description |
1052
+ |------|-------------|
1053
+ | `Path`, `AbsolutePath`, `RelativePath` | Path types |
1054
+ | `ParsePath<P>`, `JoinPath<P1, P2>` | Path operations |
1055
+ | `File`, `FileContent<T>`, `FileType` | File types |
1056
+ | `Directory`, `DirectoryEntry<T>` | Directory types |
1057
+ | `FileWatch<T>`, `WatchEvent<T>` | File watching |
1058
+ | `VirtualFS<T>`, `VFSNode<T>` | Virtual file system |
1059
+ | `Archive`, `ArchiveFormat` | Archive types |
1060
+ | `MimeType`, `FileMetadata` | File metadata |
1061
+
1062
+ ### Type-Level Compiler *(v1.8.0)*
1063
+
1064
+ | Type | Description |
1065
+ |------|-------------|
1066
+ | `CompilerPlugin<T>` | Compiler plugin |
1067
+ | `Macro<T>`, `MacroExpansion<T>` | Macro system |
1068
+ | `Diagnostic`, `DiagnosticLevel` | Compiler diagnostics |
1069
+ | `SymbolTable`, `CompilerSymbol` | Symbol management |
1070
+ | `Visitor<T>`, `TransformPass<T>` | AST visitor pattern |
1071
+
1072
+ ### Type-Level Debugging *(v1.8.0)*
1073
+
1074
+ | Type | Description |
1075
+ |------|-------------|
1076
+ | `DebugSession`, `DebugStatus` | Debug session |
1077
+ | `Breakpoint`, `BreakpointLocation` | Breakpoint types |
1078
+ | `StackTrace`, `DebugStackFrame` | Stack trace |
1079
+ | `Variable`, `VariableValue` | Variable inspection |
1080
+ | `MemoryRegion`, `MemoryAddress` | Memory debugging |
1081
+ | `DebugProtocol` | Debug protocol (DAP) |
1082
+ | `REPL`, `REPLCommand<T>` | REPL interface |
1083
+
1084
+ ### Type-Level Optimizer *(v1.8.0)*
1085
+
1086
+ | Type | Description |
1087
+ |------|-------------|
1088
+ | `Optimization<T>`, `OptimizationLevel` | Optimization types |
1089
+ | `TreeShake<T>`, `ShallowResult<T>` | Tree shaking |
1090
+ | `DeadCode`, `DeadCodeAnalysis<T>` | Dead code elimination |
1091
+ | `Inline<T>`, `InlineCandidate<T>` | Function inlining |
1092
+ | `ConstantFold<T>` | Constant folding |
1093
+ | `MinifyType<T>` | Type minification |
1094
+ | `PerformanceHint<T>` | Optimization hints |
1095
+
1096
+ ### Type-Level Docgen *(v1.8.0)*
1097
+
1098
+ | Type | Description |
1099
+ |------|-------------|
1100
+ | `Documentation<T>`, `DocGenEntry<T>` | Documentation structure |
1101
+ | `JSDoc<T>`, `JSDocTag<T>` | JSDoc parsing |
1102
+ | `APIDoc<T>`, `APIEndpoint<T>` | API documentation |
1103
+ | `DocSearch<T>`, `SearchIndex` | Documentation search |
1104
+ | `DocNavigation<T>`, `DocSidebar<T>` | Documentation navigation |
1105
+ | `DocFormat` | Output format (markdown, html, json) |
1106
+
1107
+ ### Type-Level Test Framework *(v1.8.0)*
1108
+
1109
+ | Type | Description |
1110
+ |------|-------------|
1111
+ | `TestGroup`, `TestSetup`, `TestTeardown` | Test organization |
1112
+ | `Assert`, `AssertExtends<T, U>` | Type assertions |
1113
+ | `MockFunction`, `TimerMock` | Mock utilities |
1114
+ | `CoverageProvider`, `CoverageReporter` | Coverage types |
1115
+ | `SnapshotSerializer` | Snapshot serialization |
1116
+ | `Worker`, `WorkerPool` | Parallel test execution |
1117
+
1118
+ ### Type-Level Package Manager *(v1.8.0)*
1119
+
1120
+ | Type | Description |
1121
+ |------|-------------|
1122
+ | `PkgPackage<T>`, `PackageName` | Package types |
1123
+ | `Dependencies`, `Dependency<T>` | Dependency types |
1124
+ | `SemVer`, `SemVerRange`, `SemVerDiff` | SemVer types |
1125
+ | `LockFile<T>`, `LockFormat` | Lock file types |
1126
+ | `Workspace<T>`, `WorkspaceGraph<T>` | Workspace/monorepo |
1127
+ | `RegistryAuth`, `RegistryPackage<T>` | Registry types |
1128
+ | `Vulnerability` | Security vulnerability |
1129
+
1020
1130
  ### Type-Level Search *(v1.7.0)*
1021
1131
 
1022
1132
  | Type | Description |