@zudojs/types 0.0.1
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/LICENSE +21 -0
- package/README.md +42 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +2 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/runtime.core.d.ts +50 -0
- package/dist/runtime/runtime.core.d.ts.map +1 -0
- package/dist/runtime/runtime.core.js +104 -0
- package/dist/runtime/runtime.core.js.map +1 -0
- package/dist/typeConverters/index.d.ts +7 -0
- package/dist/typeConverters/index.d.ts.map +1 -0
- package/dist/typeConverters/index.js +7 -0
- package/dist/typeConverters/index.js.map +1 -0
- package/dist/typeConverters/typeConverters.core.d.ts +50 -0
- package/dist/typeConverters/typeConverters.core.d.ts.map +1 -0
- package/dist/typeConverters/typeConverters.core.js +111 -0
- package/dist/typeConverters/typeConverters.core.js.map +1 -0
- package/dist/typeGuards/index.d.ts +7 -0
- package/dist/typeGuards/index.d.ts.map +1 -0
- package/dist/typeGuards/index.js +7 -0
- package/dist/typeGuards/index.js.map +1 -0
- package/dist/typeGuards/typeGuards.core.d.ts +62 -0
- package/dist/typeGuards/typeGuards.core.d.ts.map +1 -0
- package/dist/typeGuards/typeGuards.core.js +113 -0
- package/dist/typeGuards/typeGuards.core.js.map +1 -0
- package/dist/typeUtilities/index.d.ts +7 -0
- package/dist/typeUtilities/index.d.ts.map +1 -0
- package/dist/typeUtilities/index.js +7 -0
- package/dist/typeUtilities/index.js.map +1 -0
- package/dist/typeUtilities/typeUtilities.core.d.ts +96 -0
- package/dist/typeUtilities/typeUtilities.core.d.ts.map +1 -0
- package/dist/typeUtilities/typeUtilities.core.js +7 -0
- package/dist/typeUtilities/typeUtilities.core.js.map +1 -0
- package/package.json +50 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zudojs Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @zudojs/types
|
|
2
|
+
|
|
3
|
+
Shared type guards, utility types, and type converters for the Zudojs framework.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @zudojs/types
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import {
|
|
15
|
+
isPlainObject,
|
|
16
|
+
isDate,
|
|
17
|
+
isEmail,
|
|
18
|
+
Maybe,
|
|
19
|
+
DeepReadonly,
|
|
20
|
+
} from "@zudojs/types";
|
|
21
|
+
|
|
22
|
+
if (isPlainObject(value)) {
|
|
23
|
+
console.log(value.keys());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const id: Maybe<string> = null;
|
|
27
|
+
const config: DeepReadonly<AppConfig> = { db: { host: "localhost" } };
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
- Type guards (`isPlainObject`, `isDate`, `isEmail`, etc.)
|
|
33
|
+
- Utility types (`Maybe`, `DeepReadonly`, `Prettify`, etc.)
|
|
34
|
+
- Type converters and transformers
|
|
35
|
+
- Branded type utilities
|
|
36
|
+
|
|
37
|
+
## Use Cases
|
|
38
|
+
|
|
39
|
+
- Runtime type checking
|
|
40
|
+
- Type-safe utility functions
|
|
41
|
+
- Deep immutability
|
|
42
|
+
- Nullable type handling
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"7.0.2","root":[[60,68]],"packageJsons":["../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/package.json","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/console/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/module/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/assert/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/dns/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/fs/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/path/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/readline/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/test/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/timers/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/util/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/zlib/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/os/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/path/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/process/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/stream/iter/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/util/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/assert/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/buffer/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/child_process/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/cluster/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/console/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/constants/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/crypto/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/dgram/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/dns/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/domain/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/events/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/fs/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/http/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/http2/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/https/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/module/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/net/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/os/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/path/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/path/posix/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/path/win32/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/process/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/punycode/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/querystring/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/readline/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/repl/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/stream/iter/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/stream/web/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/timers/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/trace_events/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/tty/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/url/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/util/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/util/types/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/v8/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/vm/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/wasi/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/zlib/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/iter/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/node_modules/assert/package.json","../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/buffer/package.json","../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../node_modules/.pnpm/node_modules/console/package.json","../../../node_modules/.pnpm/node_modules/constants/package.json","../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/dns/package.json","../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/domain/package.json","../../../node_modules/.pnpm/node_modules/events/package.json","../../../node_modules/.pnpm/node_modules/fs/package.json","../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/http/package.json","../../../node_modules/.pnpm/node_modules/http2/package.json","../../../node_modules/.pnpm/node_modules/https/package.json","../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/module/package.json","../../../node_modules/.pnpm/node_modules/net/package.json","../../../node_modules/.pnpm/node_modules/os/package.json","../../../node_modules/.pnpm/node_modules/path/package.json","../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/process/package.json","../../../node_modules/.pnpm/node_modules/punycode/package.json","../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../node_modules/.pnpm/node_modules/readline/package.json","../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/repl/package.json","../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/stream/iter/package.json","../../../node_modules/.pnpm/node_modules/stream/package.json","../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../node_modules/.pnpm/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/timers/package.json","../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/tls/package.json","../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../node_modules/.pnpm/node_modules/tty/package.json","../../../node_modules/.pnpm/node_modules/url/package.json","../../../node_modules/.pnpm/node_modules/util/package.json","../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../node_modules/.pnpm/node_modules/v8/package.json","../../../node_modules/.pnpm/node_modules/vm/package.json","../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/buffer/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/buffer/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/events/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/module/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/punycode/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tty/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2025.float16.d.ts","lib.esnext.disposable.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../src/typeGuards/typeGuards.core.ts","../src/typeGuards/index.ts","../src/typeUtilities/typeUtilities.core.ts","../src/typeUtilities/index.ts","../src/typeConverters/typeConverters.core.ts","../src/typeConverters/index.ts","../src/runtime/runtime.core.ts","../src/runtime/index.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/blob.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/console.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/encoding.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/dispatcher1-wrapper.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/socks5-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/importmeta.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/messaging.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/performance.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/web-globals/url.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/ffi.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/inspector/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/path/posix.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/path/win32.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/quic.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/test/reporters.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/util/types.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/vfs.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/zlib/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.4.1/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"802ff3ef6855beb36638757a6660f55e","signature":"7ca3496711f188fa63a9e7c3b6969a9f","impliedNodeFormat":99},{"version":"8071f2db2cd8538eb29b7c991a9e17a1","signature":"a8cc59e3cac9205c0c9de9765887db35","impliedNodeFormat":99},{"version":"9328b8056e68393e473203eee74d5928","signature":"fd627744701a380144d76f4f79ee5ae8","impliedNodeFormat":99},{"version":"3d278556e7684b562cd4dfa8b3e789e8","signature":"3b79615218b124a896b4edb9071a0245","impliedNodeFormat":99},{"version":"9be99cef7e3bed0334ccfa79a2ebfaf0","signature":"6010e703ffbc8727660d7b58063c210c","impliedNodeFormat":99},{"version":"9832b5b713165312fd1ba89dc59a9b6b","signature":"fa73c5e501dbb9fbb31fb73403a67a10","impliedNodeFormat":99},{"version":"b6be720a97aeca98c31cad7c03c81f52","signature":"162fae688ee910e69aed4e65720bf43d","impliedNodeFormat":99},{"version":"6c72b1644c51d2bdbf7626cfd09fc70f","impliedNodeFormat":99},{"version":"cad03cf29050559981173ae07a9fdb2e","signature":"c0b54105254e6dd0885f304037d3a08d","impliedNodeFormat":99},{"version":"014eb4d3e0618e548a7001fb52d9f78b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8ab4edc191017b1a2ad5b3cb8b46cdb8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"c5eb15737c858d986e0d5a542103b1df","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec83150a952000d42a7e6ccedac2d892","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"494755686d9e421e630117d917760e4f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"c3f3d4053311f68af31e07f6e167faf6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"86013697f2045d357ef20d7a952cdc12","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"fbef359f7184dcd12e5b3b95b171cca0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1ca5302f6fe11154128eef397b5a285b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"13835e9ba9b025ad7cab01fe7bad1fe3","affectsGlobalScope":true,"impliedNodeFormat":1},"49133c0dfbc32ab95668c3443dea49e5","d0b24ed45e91de84ca0fbafde3797006","9f970a4ba4bb3ed6326d46b3ddab3f63","7326b52c300bf65ac2f7e089fa536421","75de66fc4824402123c0d694ccc0a085","ff1283d1b4e6fa719203127857079e2e","fcd1a513c1e5802916fa602e8b8e64bc","78963d55a7500f2a08ecf81c3e2f2351","c1ace754853b3b972549a44a2316ca86","cf4561df3889c71b6b70fda4afe61f62","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","b4a1cb50a619bde79c20d19aeb560633","21dc8b1a2dfd71b39278fd1db4055489","74d351e4ed233e82c6d74c444c1a6b86","35b9b5981aa2c74f808ba3334548e89b","81870445ff689f1a6c65a6d62e034298","d7131a7789ae06e6ba79d7cd1841fde7","dd373f44a8c44dd9286f3b43e07fc873","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","9871d4fb594b51eb13a3f6db71e01844","69c7bb9c3befe9ae37eed0e6a6310fee","c9351e1ed4d066672ad38be5c44f60b9","71e556084722c2a3f00f47d999db1e35","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","f2becd2589591db92ab14e803eb8bdd5","230b29c24dac9c9800ba909debbaf7c4","518eaa3ff1153eacd0343a6bab2ce870","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","213fda99209bff9d0330b6d9f5c9c7f3","add85ec26ba695fc99c698dbec065f8c","5bfde23f96fc502b5413d772c35e1abf","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","531a291f1cbe853ce3a138313c7448e9",{"version":"3b4fc11e9a5d20c846f1ba38889cbc8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"53b0e86dfe96eb781a056e2662bf1e3b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d0bac56ae60094675c08a325b81d3b1a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"83bc735c360e42b09f2b102d7b831ede","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b1a6b0b0f8828c286f9ae2ba01c4a5c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8617a23553d74c31be6da303c668bd18","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3f2d808ba5f1ae3681bf7df616488dcd","affectsGlobalScope":true,"impliedNodeFormat":1},"4e58ba439fc661a1e2337fd17ae89d94","604aab8dd7c02abe3fcf1218fa951439","eb8c0e64b0e0e76f43e7c552937a365f",{"version":"d9f08c6ae1f16ca22e5a7ee7c02e8f55","affectsGlobalScope":true,"impliedNodeFormat":1},"e894ca92e848c9059a67e916bf4a5ccd","2c43726da10a0a524992e6fd4a561aba","75c6ee2c7a0e7d54f06ae1941553f44f","9af5958f27aacf7d18939d710f5b0da4","de7cf5e4aaf0fcdb2812d862f7dfd647","f30f64747df91267926bcf85bb6baa63","dca9e0bed5a66eaef8e9d2533b733526","4fbcefaa3aa9d4af9d76d946c7c445cc","949ce92cb920c39fb4ff87098ebe56af","2d8ebe6eb639d14875e12acf069d9c65",{"version":"2d30f3e526b72134674afeee7eb5f870","affectsGlobalScope":true,"impliedNodeFormat":1},"181dcb34d7e826bd78ede0b7f8794432","516b9a8f5be6176b42a139206d8a4b0f","c01d3dfae670c432efbc2a173594b5a1","884c159995901fb84a4c350db7da9e48","85951d6d06f2bafece2fcf8917693167","8383fa58c2f75291c454f84915f12190","4516059403323bf291a537284f4f0d21","fc81ee7b08868ee0973983110e2ef386","f7be6b8b253b7d07c8476f23bbdc98c1",{"version":"48b2540ad661c32ab2cf99d5d0300f98","affectsGlobalScope":true,"impliedNodeFormat":1},"ad1e51d53dafa1c54c669fb126b8baf5","beb256af4099983453b3f33660699c9a","860f49c8d6ad48b19bf7ed0bc5d2824e","235cc33b85ac998f0f2df0807648acb8","c0c62035e8f8a0b6da47b6277fd6dbb2","1b176e9abc725e3ab4838bc569ed6e3a",{"version":"a46453aee5afbfec3678c420313e0d47","affectsGlobalScope":true,"impliedNodeFormat":1},"196cd3003168b4ee2df015d15cfed000","66b5b9b84ab95e019a6e1f5edb8bd250","2e3deefa9b9c888c081706361a645cfe","2e2ed32d5133fb4c60f95543217e669e","2580385b74019e646d76a9f68fdbf31b","aa0f7a546acda88ef0a5df40ff0e5122","b3bdce048b1c601e1a19a4c3ee32053b","948b8517c9f39acc6e1c356773f8a660",{"version":"c18928bec3bc65892c54962be1683163","affectsGlobalScope":true,"impliedNodeFormat":1},"f9c43b0225ab4f6dc8aff6e619d322a8","e3a37368763f25483bba2c5ddedeeff3","6e1de2df81bd936ffb5509f921f1fc8c","c7576162a5c832fc7681771ad7a50357","9959a7e96eedcbc697460cf0d31bda74","cb842435634eb3f9f1b2bf85bf7fdb3b","0b355907ec29bf7f68cedaff3b6b71f5",{"version":"b73a052b5fd08948bd559dcca4424ede","affectsGlobalScope":true,"impliedNodeFormat":1},"e6ad9a1d5cc3099621a4a7bba328d248","817586087035c6ea2a0c015caba8fb59","b4dbe09999921e219d6ff56b29720eae","5d46377ba24278d5476dc24dcb760b20","93f25f3a36ba4dd4c8efff0cc442f118","513ff65469f15b8059ed4edd7033614a","b0466c3034f5921a2c78e7da534f2b19","4c638ae62e5dbcc434c231576773dd6c","59880794a53cfb4c1d90ae79136b04dc","03f9be20ff7c3e5e8b98f11d0641aa47","3b1ae8bab308b1e5ac7e7a26d27167ad","a41a5f7019678ba4b53936492dc465d1","35c1d312d8ffabf1e4546bfeaeb4142e","6728fae9ef4170f6403bf6db25cc60c6","8989c3c06069b305178e23d87eae41e7"],"fileIdsList":[[70,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,122,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[69,70,71,72,73,74,75,76,77,78,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194],[70,122,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,122,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],[70,85,88,91,92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,82,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,86,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,84,85,88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[70,82,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[70,84,88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,79,80,81,83,87,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,97,106,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,80,86,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,116,117,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,80,83,88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[70,79,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,82,83,84,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,117,118,119,120,121,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,109,112,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,97,99,100,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,86,88,99,101,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,87,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,80,82,88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,92,99,101,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,86,88,91,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,80,84,88,97,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,88,109,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,101,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,80,84,88,92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[70,82,88,116,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[61,63,65,67,70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[66,70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[64,70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[60,70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[62,70,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noUncheckedIndexedAccess":true,"noImplicitOverride":true,"outDir":"./","removeComments":false,"rootDir":"../src","skipLibCheck":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","useDefineForClassFields":true,"verbatimModuleSyntax":true},"referencedMap":[[132,1],[133,2],[134,3],[70,4],[135,5],[136,6],[137,7],[138,8],[139,9],[140,10],[141,11],[142,12],[143,13],[144,14],[145,15],[146,16],[147,17],[148,18],[149,19],[71,20],[69,20],[150,21],[151,22],[152,23],[195,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,33],[162,34],[163,35],[164,36],[165,37],[166,38],[167,39],[168,40],[169,41],[170,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[180,52],[181,53],[182,54],[183,55],[184,56],[185,57],[186,58],[187,59],[188,60],[189,61],[190,62],[191,63],[72,20],[73,20],[74,20],[75,20],[76,20],[77,20],[78,20],[123,64],[124,20],[125,20],[126,20],[127,20],[128,20],[129,20],[130,20],[131,20],[192,65],[193,66],[194,67],[58,20],[59,20],[11,20],[10,20],[2,20],[12,20],[13,20],[14,20],[15,20],[16,20],[17,20],[18,20],[19,20],[3,20],[20,20],[21,20],[4,20],[22,20],[26,20],[23,20],[24,20],[25,20],[27,20],[28,20],[29,20],[5,20],[30,20],[31,20],[32,20],[33,20],[6,20],[37,20],[34,20],[35,20],[36,20],[38,20],[7,20],[39,20],[44,20],[45,20],[40,20],[41,20],[42,20],[43,20],[8,20],[49,20],[46,20],[47,20],[48,20],[50,20],[9,20],[51,20],[52,20],[53,20],[55,20],[54,20],[56,20],[1,20],[57,20],[97,68],[111,69],[94,70],[112,20],[121,71],[85,72],[86,73],[84,20],[120,74],[115,75],[119,76],[88,77],[98,69],[108,78],[87,79],[118,80],[82,81],[83,75],[89,69],[90,20],[96,76],[93,69],[80,82],[122,83],[113,84],[101,85],[100,69],[102,86],[105,87],[99,88],[103,89],[116,74],[91,90],[92,91],[106,92],[81,20],[110,93],[109,69],[95,91],[104,94],[107,95],[114,20],[79,20],[117,96],[68,97],[67,98],[66,20],[65,99],[64,20],[61,100],[60,20],[63,101],[62,20]],"latestChangedDtsFile":"./index.d.ts"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/types
|
|
3
|
+
*
|
|
4
|
+
* Shared TypeScript type guards, utility types, and type conversion helpers.
|
|
5
|
+
*
|
|
6
|
+
* Provides runtime type guards (isEmail, isUrl, isPlainObject, etc.),
|
|
7
|
+
* advanced utility types (DeepReadonly, Prettify, NestedKeyOf, etc.),
|
|
8
|
+
* and runtime converters (safeJsonParse, snakeToCamel, toBoolean, etc.).
|
|
9
|
+
*
|
|
10
|
+
* @module @zudojs/types
|
|
11
|
+
*/
|
|
12
|
+
export * from "./typeGuards/index.js";
|
|
13
|
+
export * from "./typeUtilities/index.js";
|
|
14
|
+
export * from "./typeConverters/index.js";
|
|
15
|
+
export * from "./runtime/index.js";
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/types
|
|
3
|
+
*
|
|
4
|
+
* Shared TypeScript type guards, utility types, and type conversion helpers.
|
|
5
|
+
*
|
|
6
|
+
* Provides runtime type guards (isEmail, isUrl, isPlainObject, etc.),
|
|
7
|
+
* advanced utility types (DeepReadonly, Prettify, NestedKeyOf, etc.),
|
|
8
|
+
* and runtime converters (safeJsonParse, snakeToCamel, toBoolean, etc.).
|
|
9
|
+
*
|
|
10
|
+
* @module @zudojs/types
|
|
11
|
+
*/
|
|
12
|
+
export * from "./typeGuards/index.js";
|
|
13
|
+
export * from "./typeUtilities/index.js";
|
|
14
|
+
export * from "./typeConverters/index.js";
|
|
15
|
+
export * from "./runtime/index.js";
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/types/runtime
|
|
3
|
+
*
|
|
4
|
+
* Injectable runtime primitives — Clock and Random — that let packages
|
|
5
|
+
* avoid direct `Date.now()` and `Math.random()` calls. Tests can substitute
|
|
6
|
+
* deterministic implementations.
|
|
7
|
+
*/
|
|
8
|
+
/** Returns the current time in milliseconds since the Unix epoch. */
|
|
9
|
+
export interface Clock {
|
|
10
|
+
now(): number;
|
|
11
|
+
}
|
|
12
|
+
/** Returns the current time in seconds since the Unix epoch. */
|
|
13
|
+
export interface ClockSeconds {
|
|
14
|
+
nowSeconds(): number;
|
|
15
|
+
}
|
|
16
|
+
/** Returns cryptographically-secure random values. */
|
|
17
|
+
export interface Random {
|
|
18
|
+
/** Returns a random UUID v4 string. */
|
|
19
|
+
uuid(): string;
|
|
20
|
+
/** Returns a random integer in [0, max). */
|
|
21
|
+
int(max: number): number;
|
|
22
|
+
/** Returns a random string of the given length (alphanumeric). */
|
|
23
|
+
string(length: number): string;
|
|
24
|
+
/** Returns a random string of the given length from the given alphabet. */
|
|
25
|
+
custom(length: number, alphabet: string): string;
|
|
26
|
+
}
|
|
27
|
+
/** Default Clock implementation backed by `Date.now()`. */
|
|
28
|
+
export declare const systemClock: Clock;
|
|
29
|
+
/** Default ClockSeconds implementation backed by `Math.floor(Date.now() / 1000)`. */
|
|
30
|
+
export declare const systemClockSeconds: ClockSeconds;
|
|
31
|
+
/** Default Random implementation backed by `node:crypto`. */
|
|
32
|
+
export declare const systemRandom: Random;
|
|
33
|
+
/** Deterministic Clock useful for tests. */
|
|
34
|
+
export declare class FixedClock implements Clock {
|
|
35
|
+
private current;
|
|
36
|
+
constructor(initial?: number);
|
|
37
|
+
now(): number;
|
|
38
|
+
set(time: number): void;
|
|
39
|
+
advance(deltaMs: number): void;
|
|
40
|
+
}
|
|
41
|
+
/** Deterministic Random useful for tests. */
|
|
42
|
+
export declare class SeededRandom implements Random {
|
|
43
|
+
private state;
|
|
44
|
+
constructor(seed?: number);
|
|
45
|
+
uuid(): string;
|
|
46
|
+
int(max: number): number;
|
|
47
|
+
string(length: number): string;
|
|
48
|
+
custom(length: number, alphabet: string): string;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=runtime.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.core.d.ts","sourceRoot":"","sources":["../../src/runtime/runtime.core.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,qEAAqE;AACrE,MAAM,WAAW,KAAK;IACpB,GAAG,IAAI,MAAM,CAAC;CACf;AAED,gEAAgE;AAChE,MAAM,WAAW,YAAY;IAC3B,UAAU,IAAI,MAAM,CAAC;CACtB;AAED,sDAAsD;AACtD,MAAM,WAAW,MAAM;IACrB,uCAAuC;IACvC,IAAI,IAAI,MAAM,CAAC;IACf,4CAA4C;IAC5C,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,kEAAkE;IAClE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,2EAA2E;IAC3E,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAClD;AAED,2DAA2D;AAC3D,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,kBAAkB,EAAE,YAEhC,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,YAAY,EAAE,MAM1B,CAAC;AA6CF,4CAA4C;AAC5C,qBAAa,UAAW,YAAW,KAAK;IACtC,OAAO,CAAC,OAAO,CAAS;IACxB,YAAY,OAAO,GAAE,MAAU,EAE9B;IACD,GAAG,IAAI,MAAM,CAEZ;IACD,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEtB;IACD,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE7B;CACF;AAED,6CAA6C;AAC7C,qBAAa,YAAa,YAAW,MAAM;IACzC,OAAO,CAAC,KAAK,CAAS;IACtB,YAAY,IAAI,GAAE,MAAU,EAE3B;IACD,IAAI,IAAI,MAAM,CAIb;IACD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQvB;IACD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE7B;IACD,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAM/C;CACF"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/types/runtime
|
|
3
|
+
*
|
|
4
|
+
* Injectable runtime primitives — Clock and Random — that let packages
|
|
5
|
+
* avoid direct `Date.now()` and `Math.random()` calls. Tests can substitute
|
|
6
|
+
* deterministic implementations.
|
|
7
|
+
*/
|
|
8
|
+
/** Default Clock implementation backed by `Date.now()`. */
|
|
9
|
+
export const systemClock = {
|
|
10
|
+
now: () => Date.now(),
|
|
11
|
+
};
|
|
12
|
+
/** Default ClockSeconds implementation backed by `Math.floor(Date.now() / 1000)`. */
|
|
13
|
+
export const systemClockSeconds = {
|
|
14
|
+
nowSeconds: () => Math.floor(Date.now() / 1000),
|
|
15
|
+
};
|
|
16
|
+
/** Default Random implementation backed by `node:crypto`. */
|
|
17
|
+
export const systemRandom = {
|
|
18
|
+
uuid: () => cryptoUUID(),
|
|
19
|
+
int: (max) => cryptoInt(max),
|
|
20
|
+
string: (length) => randomString(length, ALPHANUMERIC),
|
|
21
|
+
custom: (length, alphabet) => randomString(length, alphabet),
|
|
22
|
+
};
|
|
23
|
+
const ALPHANUMERIC = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
24
|
+
function cryptoUUID() {
|
|
25
|
+
if (typeof globalThis.crypto?.randomUUID === "function") {
|
|
26
|
+
return globalThis.crypto.randomUUID();
|
|
27
|
+
}
|
|
28
|
+
// node:crypto fallback (older Node, edge runtimes)
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
30
|
+
const { randomUUID } = require("node:crypto");
|
|
31
|
+
return randomUUID();
|
|
32
|
+
}
|
|
33
|
+
function cryptoInt(max) {
|
|
34
|
+
if (!Number.isInteger(max) || max <= 0) {
|
|
35
|
+
throw new RangeError("Random.int(max) requires a positive integer max");
|
|
36
|
+
}
|
|
37
|
+
if (typeof globalThis.crypto?.getRandomValues === "function") {
|
|
38
|
+
const buf = new Uint32Array(1);
|
|
39
|
+
globalThis.crypto.getRandomValues(buf);
|
|
40
|
+
return buf[0] % max;
|
|
41
|
+
}
|
|
42
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
43
|
+
const { randomInt } = require("node:crypto");
|
|
44
|
+
return randomInt(max);
|
|
45
|
+
}
|
|
46
|
+
function randomString(length, alphabet) {
|
|
47
|
+
if (!Number.isInteger(length) || length < 0) {
|
|
48
|
+
throw new RangeError("Random.string(length) requires a non-negative integer");
|
|
49
|
+
}
|
|
50
|
+
if (alphabet.length === 0) {
|
|
51
|
+
throw new RangeError("alphabet must not be empty");
|
|
52
|
+
}
|
|
53
|
+
let out = "";
|
|
54
|
+
for (let i = 0; i < length; i++) {
|
|
55
|
+
out += alphabet.charAt(cryptoInt(alphabet.length));
|
|
56
|
+
}
|
|
57
|
+
return out;
|
|
58
|
+
}
|
|
59
|
+
/** Deterministic Clock useful for tests. */
|
|
60
|
+
export class FixedClock {
|
|
61
|
+
current;
|
|
62
|
+
constructor(initial = 0) {
|
|
63
|
+
this.current = initial;
|
|
64
|
+
}
|
|
65
|
+
now() {
|
|
66
|
+
return this.current;
|
|
67
|
+
}
|
|
68
|
+
set(time) {
|
|
69
|
+
this.current = time;
|
|
70
|
+
}
|
|
71
|
+
advance(deltaMs) {
|
|
72
|
+
this.current += deltaMs;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/** Deterministic Random useful for tests. */
|
|
76
|
+
export class SeededRandom {
|
|
77
|
+
state;
|
|
78
|
+
constructor(seed = 1) {
|
|
79
|
+
this.state = seed;
|
|
80
|
+
}
|
|
81
|
+
uuid() {
|
|
82
|
+
const hex = this.state.toString(16).padStart(8, "0");
|
|
83
|
+
this.state = (this.state * 1103515245 + 12345) & 0x7fffffff;
|
|
84
|
+
return `${hex}-${this.state.toString(16).padStart(8, "0")}-0000-0000-000000000000`;
|
|
85
|
+
}
|
|
86
|
+
int(max) {
|
|
87
|
+
if (!Number.isInteger(max) || max <= 0) {
|
|
88
|
+
throw new RangeError("SeededRandom.int(max) requires a positive integer max");
|
|
89
|
+
}
|
|
90
|
+
this.state = (this.state * 1103515245 + 12345) & 0x7fffffff;
|
|
91
|
+
return this.state % max;
|
|
92
|
+
}
|
|
93
|
+
string(length) {
|
|
94
|
+
return this.custom(length, ALPHANUMERIC);
|
|
95
|
+
}
|
|
96
|
+
custom(length, alphabet) {
|
|
97
|
+
let out = "";
|
|
98
|
+
for (let i = 0; i < length; i++) {
|
|
99
|
+
out += alphabet.charAt(this.int(alphabet.length));
|
|
100
|
+
}
|
|
101
|
+
return out;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=runtime.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.core.js","sourceRoot":"","sources":["../../src/runtime/runtime.core.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,2DAA2D;AAC3D,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,GAAG,EAAE,GAAW,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;CAC9B,CAAC;AAE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|
1
|
+
/**
|
|
2
|
+
* Runtime type conversion helpers: JSON parsing, string/number/boolean conversion, case transforms.
|
|
3
|
+
*
|
|
4
|
+
* @module typeConverters
|
|
5
|
+
*/
|
|
6
|
+
export { safeJsonParse, toString, toNumber, toBoolean, toArray, mapToObject, objectToMap, snakeToCamel, camelToSnake, kebabToCamel, camelToKebab, } from "./typeConverters.core.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typeConverters/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAO,EACP,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,GACb,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime type conversion helpers: JSON parsing, string/number/boolean conversion, case transforms.
|
|
3
|
+
*
|
|
4
|
+
* @module typeConverters
|
|
5
|
+
*/
|
|
6
|
+
export { safeJsonParse, toString, toNumber, toBoolean, toArray, mapToObject, objectToMap, snakeToCamel, camelToSnake, kebabToCamel, camelToKebab, } from "./typeConverters.core.js";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typeConverters/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAO,EACP,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,GACb,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime type conversion helpers.
|
|
3
|
+
*
|
|
4
|
+
* @module typeConverters/typeConverters
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Safely parse JSON with a fallback value.
|
|
8
|
+
*/
|
|
9
|
+
export declare function safeJsonParse<T>(json: string, fallback: T): T;
|
|
10
|
+
/**
|
|
11
|
+
* Convert a value to a string safely.
|
|
12
|
+
*/
|
|
13
|
+
export declare function toString(value: unknown, fallback?: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* Convert a value to a number safely.
|
|
16
|
+
*/
|
|
17
|
+
export declare function toNumber(value: unknown, fallback?: number): number;
|
|
18
|
+
/**
|
|
19
|
+
* Convert a value to a boolean safely.
|
|
20
|
+
*/
|
|
21
|
+
export declare function toBoolean(value: unknown, fallback?: boolean): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Convert a value to an array (wrapping non-arrays).
|
|
24
|
+
*/
|
|
25
|
+
export declare function toArray<T>(value: T | T[]): T[];
|
|
26
|
+
/**
|
|
27
|
+
* Convert a Map to a plain object.
|
|
28
|
+
*/
|
|
29
|
+
export declare function mapToObject<K extends string | number | symbol, V>(map: Map<K, V>): Record<K, V>;
|
|
30
|
+
/**
|
|
31
|
+
* Convert a plain object to a Map.
|
|
32
|
+
*/
|
|
33
|
+
export declare function objectToMap<K extends string | number | symbol, V>(obj: Record<K, V>): Map<K, V>;
|
|
34
|
+
/**
|
|
35
|
+
* Convert snake_case to camelCase.
|
|
36
|
+
*/
|
|
37
|
+
export declare function snakeToCamel(str: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* Convert camelCase to snake_case.
|
|
40
|
+
*/
|
|
41
|
+
export declare function camelToSnake(str: string): string;
|
|
42
|
+
/**
|
|
43
|
+
* Convert kebab-case to camelCase.
|
|
44
|
+
*/
|
|
45
|
+
export declare function kebabToCamel(str: string): string;
|
|
46
|
+
/**
|
|
47
|
+
* Convert camelCase to kebab-case.
|
|
48
|
+
*/
|
|
49
|
+
export declare function camelToKebab(str: string): string;
|
|
50
|
+
//# sourceMappingURL=typeConverters.core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G,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime type conversion helpers.
|
|
3
|
+
*
|
|
4
|
+
* @module typeConverters/typeConverters
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Safely parse JSON with a fallback value.
|
|
8
|
+
*/
|
|
9
|
+
export function safeJsonParse(json, fallback) {
|
|
10
|
+
try {
|
|
11
|
+
return JSON.parse(json);
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
return fallback;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Convert a value to a string safely.
|
|
19
|
+
*/
|
|
20
|
+
export function toString(value, fallback = "") {
|
|
21
|
+
if (value === null || value === undefined)
|
|
22
|
+
return fallback;
|
|
23
|
+
if (typeof value === "string")
|
|
24
|
+
return value;
|
|
25
|
+
if (typeof value === "number" || typeof value === "boolean")
|
|
26
|
+
return String(value);
|
|
27
|
+
try {
|
|
28
|
+
return JSON.stringify(value);
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return fallback;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Convert a value to a number safely.
|
|
36
|
+
*/
|
|
37
|
+
export function toNumber(value, fallback = NaN) {
|
|
38
|
+
if (typeof value === "number")
|
|
39
|
+
return value;
|
|
40
|
+
if (typeof value === "string") {
|
|
41
|
+
const num = Number(value);
|
|
42
|
+
return Number.isNaN(num) ? fallback : num;
|
|
43
|
+
}
|
|
44
|
+
return fallback;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Convert a value to a boolean safely.
|
|
48
|
+
*/
|
|
49
|
+
export function toBoolean(value, fallback = false) {
|
|
50
|
+
if (typeof value === "boolean")
|
|
51
|
+
return value;
|
|
52
|
+
if (typeof value === "string") {
|
|
53
|
+
const lower = value.toLowerCase().trim();
|
|
54
|
+
if (lower === "true" || lower === "1" || lower === "yes")
|
|
55
|
+
return true;
|
|
56
|
+
if (lower === "false" || lower === "0" || lower === "no" || lower === "")
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
if (typeof value === "number")
|
|
60
|
+
return value !== 0;
|
|
61
|
+
return fallback;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Convert a value to an array (wrapping non-arrays).
|
|
65
|
+
*/
|
|
66
|
+
export function toArray(value) {
|
|
67
|
+
if (Array.isArray(value))
|
|
68
|
+
return value;
|
|
69
|
+
return [value];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Convert a Map to a plain object.
|
|
73
|
+
*/
|
|
74
|
+
export function mapToObject(map) {
|
|
75
|
+
const obj = {};
|
|
76
|
+
for (const [key, value] of map) {
|
|
77
|
+
obj[key] = value;
|
|
78
|
+
}
|
|
79
|
+
return obj;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Convert a plain object to a Map.
|
|
83
|
+
*/
|
|
84
|
+
export function objectToMap(obj) {
|
|
85
|
+
return new Map(Object.entries(obj));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Convert snake_case to camelCase.
|
|
89
|
+
*/
|
|
90
|
+
export function snakeToCamel(str) {
|
|
91
|
+
return str.replace(/_([a-z])/g, (_, letter) => letter.toUpperCase());
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Convert camelCase to snake_case.
|
|
95
|
+
*/
|
|
96
|
+
export function camelToSnake(str) {
|
|
97
|
+
return str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Convert kebab-case to camelCase.
|
|
101
|
+
*/
|
|
102
|
+
export function kebabToCamel(str) {
|
|
103
|
+
return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Convert camelCase to kebab-case.
|
|
107
|
+
*/
|
|
108
|
+
export function camelToKebab(str) {
|
|
109
|
+
return str.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=typeConverters.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeConverters.core.js","sourceRoot":"","sources":["../../src/typeConverters/typeConverters.core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,UAAU,aAAa,CAAI,IAAY,EAAE,QAAW;IACxD,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAM,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAc,EAAE,QAAQ,GAAG,EAAE;IACpD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IAC3D,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,SAAS;QACzD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAc,EAAE,QAAQ,GAAG,GAAG;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,M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;GAEG;AACH,MAAM,UAAU,WAAW,CACzB,GAAiB;IAEjB,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAa,CAAC,CAAC;AAClD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type guard functions for common JavaScript/TypeScript types.
|
|
3
|
+
*
|
|
4
|
+
* @module typeGuards
|
|
5
|
+
*/
|
|
6
|
+
export { isPlainObject, isNonNullObject, isNonEmptyString, isPositiveNumber, isInteger, isDate, isUrl, isEmail, isUuid, isIsoDateString, isArrayOfType, isDefined, isFunction, isPromise, } from "./typeGuards.core.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typeGuards/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,KAAK,EACL,OAAO,EACP,MAAM,EACN,eAAe,EACf,aAAa,EACb,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type guard functions for common JavaScript/TypeScript types.
|
|
3
|
+
*
|
|
4
|
+
* @module typeGuards
|
|
5
|
+
*/
|
|
6
|
+
export { isPlainObject, isNonNullObject, isNonEmptyString, isPositiveNumber, isInteger, isDate, isUrl, isEmail, isUuid, isIsoDateString, isArrayOfType, isDefined, isFunction, isPromise, } from "./typeGuards.core.js";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typeGuards/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,KAAK,EACL,OAAO,EACP,MAAM,EACN,eAAe,EACf,aAAa,EACb,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type guard functions for common JavaScript/TypeScript types.
|
|
3
|
+
*
|
|
4
|
+
* @module typeGuards/typeGuards
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Check if a value is a plain object (not an array, null, or class instance).
|
|
8
|
+
*/
|
|
9
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* Check if a value is a non-null object.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isNonNullObject(value: unknown): value is Record<string, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Check if a value is a non-empty string.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isNonEmptyString(value: unknown): value is string;
|
|
18
|
+
/**
|
|
19
|
+
* Check if a value is a positive number.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isPositiveNumber(value: unknown): value is number;
|
|
22
|
+
/**
|
|
23
|
+
* Check if a value is a valid integer.
|
|
24
|
+
*/
|
|
25
|
+
export declare function isInteger(value: unknown): value is number;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a value is a valid Date object.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isDate(value: unknown): value is Date;
|
|
30
|
+
/**
|
|
31
|
+
* Check if a value is a valid URL string.
|
|
32
|
+
*/
|
|
33
|
+
export declare function isUrl(value: unknown): value is string;
|
|
34
|
+
/**
|
|
35
|
+
* Check if a value is a valid email string.
|
|
36
|
+
*/
|
|
37
|
+
export declare function isEmail(value: unknown): value is string;
|
|
38
|
+
/**
|
|
39
|
+
* Check if a value is a valid UUID v4 string.
|
|
40
|
+
*/
|
|
41
|
+
export declare function isUuid(value: unknown): value is string;
|
|
42
|
+
/**
|
|
43
|
+
* Check if a value is a valid ISO 8601 date string.
|
|
44
|
+
*/
|
|
45
|
+
export declare function isIsoDateString(value: unknown): value is string;
|
|
46
|
+
/**
|
|
47
|
+
* Check if a value is an array of a specific element type.
|
|
48
|
+
*/
|
|
49
|
+
export declare function isArrayOfType<T>(value: unknown, guard: (item: unknown) => item is T): value is T[];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a value is defined (not null or undefined).
|
|
52
|
+
*/
|
|
53
|
+
export declare function isDefined<T>(value: T | null | undefined): value is T;
|
|
54
|
+
/**
|
|
55
|
+
* Check if a value is a function.
|
|
56
|
+
*/
|
|
57
|
+
export declare function isFunction(value: unknown): value is (...args: unknown[]) => unknown;
|
|
58
|
+
/**
|
|
59
|
+
* Check if a value is a Promise.
|
|
60
|
+
*/
|
|
61
|
+
export declare function isPromise(value: unknown): value is Promise<unknown>;
|
|
62
|
+
//# sourceMappingURL=typeGuards.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeGuards.core.d.ts","sourceRoot":"","sources":["../../src/typeGuards/typeGuards.core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAIlC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAElC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEhE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEhE;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEzD;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,CAEpD;AAED;;GAEG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAQrD;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAGvD;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAKtD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAG/D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,CAAC,GAClC,KAAK,IAAI,CAAC,EAAE,CAGd;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,IAAI,CAAC,CAEpE;AAED;;GAEG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAE1C;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,OAAO,CAAC,OAAO,CAAC,CAQnE"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type guard functions for common JavaScript/TypeScript types.
|
|
3
|
+
*
|
|
4
|
+
* @module typeGuards/typeGuards
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Check if a value is a plain object (not an array, null, or class instance).
|
|
8
|
+
*/
|
|
9
|
+
export function isPlainObject(value) {
|
|
10
|
+
if (typeof value !== "object" || value === null)
|
|
11
|
+
return false;
|
|
12
|
+
const proto = Object.getPrototypeOf(value);
|
|
13
|
+
return proto === Object.prototype || proto === null;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Check if a value is a non-null object.
|
|
17
|
+
*/
|
|
18
|
+
export function isNonNullObject(value) {
|
|
19
|
+
return typeof value === "object" && value !== null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Check if a value is a non-empty string.
|
|
23
|
+
*/
|
|
24
|
+
export function isNonEmptyString(value) {
|
|
25
|
+
return typeof value === "string" && value.length > 0;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a value is a positive number.
|
|
29
|
+
*/
|
|
30
|
+
export function isPositiveNumber(value) {
|
|
31
|
+
return typeof value === "number" && value > 0 && !Number.isNaN(value);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a value is a valid integer.
|
|
35
|
+
*/
|
|
36
|
+
export function isInteger(value) {
|
|
37
|
+
return typeof value === "number" && Number.isInteger(value);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a value is a valid Date object.
|
|
41
|
+
*/
|
|
42
|
+
export function isDate(value) {
|
|
43
|
+
return value instanceof Date && !Number.isNaN(value.getTime());
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a value is a valid URL string.
|
|
47
|
+
*/
|
|
48
|
+
export function isUrl(value) {
|
|
49
|
+
if (typeof value !== "string")
|
|
50
|
+
return false;
|
|
51
|
+
try {
|
|
52
|
+
const url = new URL(value);
|
|
53
|
+
return url.protocol === "http:" || url.protocol === "https:";
|
|
54
|
+
}
|
|
55
|
+
catch {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a value is a valid email string.
|
|
61
|
+
*/
|
|
62
|
+
export function isEmail(value) {
|
|
63
|
+
if (typeof value !== "string")
|
|
64
|
+
return false;
|
|
65
|
+
return /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(value);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a value is a valid UUID v4 string.
|
|
69
|
+
*/
|
|
70
|
+
export function isUuid(value) {
|
|
71
|
+
if (typeof value !== "string")
|
|
72
|
+
return false;
|
|
73
|
+
return /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(value);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a value is a valid ISO 8601 date string.
|
|
77
|
+
*/
|
|
78
|
+
export function isIsoDateString(value) {
|
|
79
|
+
if (typeof value !== "string")
|
|
80
|
+
return false;
|
|
81
|
+
return /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$/.test(value);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a value is an array of a specific element type.
|
|
85
|
+
*/
|
|
86
|
+
export function isArrayOfType(value, guard) {
|
|
87
|
+
if (!Array.isArray(value))
|
|
88
|
+
return false;
|
|
89
|
+
return value.every(guard);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Check if a value is defined (not null or undefined).
|
|
93
|
+
*/
|
|
94
|
+
export function isDefined(value) {
|
|
95
|
+
return value !== null && value !== undefined;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Check if a value is a function.
|
|
99
|
+
*/
|
|
100
|
+
export function isFunction(value) {
|
|
101
|
+
return typeof value === "function";
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a value is a Promise.
|
|
105
|
+
*/
|
|
106
|
+
export function isPromise(value) {
|
|
107
|
+
return (value instanceof Promise ||
|
|
108
|
+
(typeof value === "object" &&
|
|
109
|
+
value !== null &&
|
|
110
|
+
"then" in value &&
|
|
111
|
+
typeof value.then === "function"));
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=typeGuards.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeGuards.core.js","sourceRoot":"","sources":["../../src/typeGuards/typeGuards.core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAc;IAEd,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC9D,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC3C,OAAO,KAAK,KAAK,MAAM,CAAC,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAc;I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C;AAED;;GAEG;AACH,MAAM,UAAU,MAAM,CAAC,KAAc;IACnC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,OAAO,wEAAwE,CAAC,IAAI,CAClF,KAAK,CACN,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,OAAO,mDAAmD,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACzE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAc,EACd,KAAmC;IAEnC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACxC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,SAAS,CAAI,KAA2B;IACtD,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CACxB,KAAc;IAEd,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;AACrC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,SAAS,CAAC,KAAc;IACtC,OAAO,CACL,KAAK,YAAY,OAAO;QACxB,CAAC,OAAO,KAAK,KAAK,QAAQ;YACxB,KAAK,KAAK,IAAI;YACd,MAAM,IAAI,KAAK;YACf,OAAQ,KAAiC,CAAC,IAAI,KAAK,UAAU,CAAC,CACjE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Advanced TypeScript utility types: DeepReadonly, Prettify, NestedKeyOf, etc.
|
|
3
|
+
*
|
|
4
|
+
* @module typeUtilities
|
|
5
|
+
*/
|
|
6
|
+
export type { DeepReadonly, DeepPartial, DeepRequired, Prettify, StringKeysOf, NumberKeysOf, PartialExcept, RequiredExcept, OptionalKeys, RequireKeys, AsyncReturnType, Nullable, Undefinable, Maybe, MaybePromise, NestedKeyOf, NestedValueOf, OmitByValue, PickByValue, } from "./typeUtilities.core.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typeUtilities/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,WAAW,GACZ,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typeUtilities/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Advanced TypeScript utility types.
|
|
3
|
+
*
|
|
4
|
+
* @module typeUtilities/typeUtilities
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Make all properties deeply readonly.
|
|
8
|
+
*/
|
|
9
|
+
export type DeepReadonly<T> = T extends (infer U)[] ? ReadonlyArray<DeepReadonly<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>> : T extends Set<infer U> ? ReadonlySet<DeepReadonly<U>> : T extends object ? {
|
|
10
|
+
readonly [K in keyof T]: DeepReadonly<T[K]>;
|
|
11
|
+
} : T;
|
|
12
|
+
/**
|
|
13
|
+
* Make all properties deeply optional.
|
|
14
|
+
*/
|
|
15
|
+
export type DeepPartial<T> = T extends (infer U)[] ? DeepPartial<U>[] : T extends Map<infer K, infer V> ? Map<DeepPartial<K>, DeepPartial<V>> : T extends Set<infer U> ? Set<DeepPartial<U>> : T extends object ? {
|
|
16
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
17
|
+
} : T;
|
|
18
|
+
/**
|
|
19
|
+
* Make all properties deeply required.
|
|
20
|
+
*/
|
|
21
|
+
export type DeepRequired<T> = T extends (infer U)[] ? DeepRequired<U>[] : T extends Map<infer K, infer V> ? Map<DeepRequired<K>, DeepRequired<V>> : T extends Set<infer U> ? Set<DeepRequired<U>> : T extends object ? {
|
|
22
|
+
[K in keyof T]-?: DeepRequired<T[K]>;
|
|
23
|
+
} : T;
|
|
24
|
+
/**
|
|
25
|
+
* Flatten nested object types into a single level.
|
|
26
|
+
*/
|
|
27
|
+
export type Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
30
|
+
/**
|
|
31
|
+
* Extract only the string keys of T.
|
|
32
|
+
*/
|
|
33
|
+
export type StringKeysOf<T> = Extract<keyof T, string>;
|
|
34
|
+
/**
|
|
35
|
+
* Extract only the number keys of T.
|
|
36
|
+
*/
|
|
37
|
+
export type NumberKeysOf<T> = Extract<keyof T, number>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a type with all properties optional except the specified keys.
|
|
40
|
+
*/
|
|
41
|
+
export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Pick<T, K>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a type with all properties required except the specified keys.
|
|
44
|
+
*/
|
|
45
|
+
export type RequiredExcept<T, K extends keyof T> = Required<Omit<T, K>> & Pick<T, K>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a type that makes specified keys optional.
|
|
48
|
+
*/
|
|
49
|
+
export type OptionalKeys<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a type that makes specified keys required.
|
|
52
|
+
*/
|
|
53
|
+
export type RequireKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
54
|
+
/**
|
|
55
|
+
* Extract the return type of an async function.
|
|
56
|
+
*/
|
|
57
|
+
export type AsyncReturnType<T extends (...args: unknown[]) => Promise<unknown>> = T extends (...args: unknown[]) => Promise<infer R> ? R : never;
|
|
58
|
+
/**
|
|
59
|
+
* Make a type nullable (allows null).
|
|
60
|
+
*/
|
|
61
|
+
export type Nullable<T> = T | null;
|
|
62
|
+
/**
|
|
63
|
+
* Make a type undefinable (allows undefined).
|
|
64
|
+
*/
|
|
65
|
+
export type Undefinable<T> = T | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Make a type nullable and undefinable.
|
|
68
|
+
*/
|
|
69
|
+
export type Maybe<T> = T | null | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Make a type that can be either a value or a Promise of that value.
|
|
72
|
+
*/
|
|
73
|
+
export type MaybePromise<T> = T | Promise<T>;
|
|
74
|
+
/**
|
|
75
|
+
* Extract all nested property paths as dot-notation strings.
|
|
76
|
+
*/
|
|
77
|
+
export type NestedKeyOf<T> = T extends object ? {
|
|
78
|
+
[K in StringKeysOf<T>]: K | `${K}.${NestedKeyOf<T[K]>}`;
|
|
79
|
+
}[StringKeysOf<T>] : never;
|
|
80
|
+
/**
|
|
81
|
+
* Get the type of a nested property by dot-notation path.
|
|
82
|
+
*/
|
|
83
|
+
export type NestedValueOf<T, P extends string> = P extends `${infer Head}.${infer Tail}` ? Head extends keyof T ? NestedValueOf<T[Head], Tail> : never : P extends keyof T ? T[P] : never;
|
|
84
|
+
/**
|
|
85
|
+
* Omit by value type (not key).
|
|
86
|
+
*/
|
|
87
|
+
export type OmitByValue<T, ValueType> = Pick<T, {
|
|
88
|
+
[K in keyof T]: T[K] extends ValueType ? never : K;
|
|
89
|
+
}[keyof T]>;
|
|
90
|
+
/**
|
|
91
|
+
* Extract by value type (not key).
|
|
92
|
+
*/
|
|
93
|
+
export type PickByValue<T, ValueType> = Pick<T, {
|
|
94
|
+
[K in keyof T]: T[K] extends ValueType ? K : never;
|
|
95
|
+
}[keyof T]>;
|
|
96
|
+
//# sourceMappingURL=typeUtilities.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeUtilities.core.d.ts","sourceRoot":"","sources":["../../src/typeUtilities/typeUtilities.core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAC/C,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAC9B,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAC7B,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,GAC7C,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GACpB,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAC5B,CAAC,SAAS,MAAM,GACd;IAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAC/C,CAAC,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAC9C,WAAW,CAAC,CAAC,CAAC,EAAE,GAChB,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAC7B,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GACnC,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GACpB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACnB,CAAC,SAAS,MAAM,GACd;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAA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AAC,EAAE;CACxD,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAClB,KAAK,CAAC;AAEV;;GAEG;AACH,MAAM,MAAM,aAAa,CACvB,CAAC,EACD,CAAC,SAAS,MAAM,IACd,CAAC,SAAS,GAAG,MAAM,IAAI,IAAI,MAAM,IAAI,EAAE,GACvC,IAAI,SAAS,MAAM,CAAC,GAClB,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,GAC5B,KAAK,GACP,CAAC,SAAS,MAAM,CAAC,GACf,CAAC,CAAC,CAAC,CAAC,GACJ,KAAK,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,SAAS,IAAI,IAAI,CAC1C,CAAC,EACD;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC;CAAE,CAAC,MAAM,CAAC,CAAC,CAChE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,SAAS,IAAI,IAAI,CAC1C,CAAC,EACD;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GAAG,CAAC,GAAG,KAAK;CAAE,CAAC,MAAM,CAAC,CAAC,CAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeUtilities.core.js","sourceRoot":"","sources":["../../src/typeUtilities/typeUtilities.core.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zudojs/types",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Shared type guards, utility types, and type converters for the Zudojs framework.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=24.0.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^26.4.1",
|
|
26
|
+
"typescript": "^7.0.2",
|
|
27
|
+
"vitest": "^4.1.11"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"zudojs",
|
|
34
|
+
"types",
|
|
35
|
+
"type-guards",
|
|
36
|
+
"utilities"
|
|
37
|
+
],
|
|
38
|
+
"homepage": "https://github.com/oyinlola-tech/zudo#readme",
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/oyinlola-tech/zudo"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsc -p tsconfig.json",
|
|
45
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
46
|
+
"clean": "rm -rf dist",
|
|
47
|
+
"test": "vitest run",
|
|
48
|
+
"test:watch": "vitest"
|
|
49
|
+
}
|
|
50
|
+
}
|