@openclaw/discord 2026.5.20 → 2026.5.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-inspect-CcJ-bl80.js → account-inspect-C4sJZNbI.js} +1 -1
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-C2TOAmpo.js → accounts-dXTfmnSZ.js} +1 -1
- package/dist/action-runtime-api.js +1 -1
- package/dist/api.js +13 -13
- package/dist/{approval-handler.runtime-hi6B0JCi.js → approval-handler.runtime-CyGGSiMH.js} +3 -3
- package/dist/{audit-DJIvRRzY.js → audit-DkBvCBsG.js} +3 -3
- package/dist/{channel-BswuOAN6.js → channel-LszCFESI.js} +16 -16
- package/dist/{channel-actions-CSepY2Kq.js → channel-actions-DDwcJy6_.js} +4 -4
- package/dist/{channel-actions.runtime-CSjcHZNT.js → channel-actions.runtime-CnwxnT58.js} +4 -4
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-C0rcLtB9.js → channel.setup-rrsenw1h.js} +4 -4
- package/dist/{components-DDPGekgY.js → components-CE63uOrc.js} +3 -0
- package/dist/{config-schema-BGgg8U6A.js → config-schema-Kuf9IrLg.js} +4 -0
- package/dist/contract-api.js +2 -2
- package/dist/{conversation-identity-CAyt5wzy.js → conversation-identity-jwZ56ing.js} +2 -2
- package/dist/{directory-config-BcWtq4k8.js → directory-config-Do_NA_H8.js} +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-5HHCCe5Q.js → directory-live-DekuEEl8.js} +1 -1
- package/dist/{doctor-BLcVWv42.js → doctor-DmPhrTLR.js} +3 -3
- package/dist/{handle-action.guild-admin-DX2D9qkG.js → handle-action.guild-admin-09HC30Oh.js} +1 -1
- package/dist/{manager.runtime-Dq0mc5K0.js → manager.runtime-DPtx2pxB.js} +3 -3
- package/dist/{message-handler-wQJd4Peh.js → message-handler-miSYjwxl.js} +5 -5
- package/dist/{message-handler.preflight-ANdoLbtA.js → message-handler.preflight-DiLKljGS.js} +8 -8
- package/dist/{message-handler.process-DG4qm0sQ.js → message-handler.process-BKvQTmVP.js} +8 -8
- package/dist/{message-utils-Bw-wDr8G.js → message-utils-U-ax3LTX.js} +1 -1
- package/dist/{outbound-adapter-TGbHliO_.js → outbound-adapter-CF4KuNM6.js} +7 -6
- package/dist/{probe-CRWV5COl.js → probe-DfIM7zSY.js} +1 -1
- package/dist/{probe.runtime-h9mEzmMs.js → probe.runtime-DoXDN3rt.js} +1 -1
- package/dist/{provider-CzKMDsSE.js → provider-Bv9Sx9lq.js} +142 -23
- package/dist/{provider-session.runtime-D0XbJS5X.js → provider-session.runtime-BbEz2CZt.js} +3 -3
- package/dist/provider.runtime-DKBGMsC7.js +2 -0
- package/dist/{resolve-allowlist-common-Bec0FONA.js → resolve-allowlist-common-QzX-w4-_.js} +1 -1
- package/dist/{resolve-channels-DcWaMURg.js → resolve-channels-BDjtLmjX.js} +1 -1
- package/dist/{resolve-users-TQPLKDeV.js → resolve-users-BeaV5INm.js} +1 -1
- package/dist/{runtime-DP_0_5a0.js → runtime-DxQPyNY7.js} +214 -7
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +19 -19
- package/dist/runtime-api.lookup.js +5 -5
- package/dist/runtime-api.monitor-Wt6Qf0SL.js +5 -0
- package/dist/runtime-api.monitor.js +4 -4
- package/dist/runtime-api.send.js +5 -5
- package/dist/runtime-api.threads.js +3 -3
- package/dist/{send-CEAtV0qd.js → send-BjHCUrvn.js} +9 -5
- package/dist/{send.components-sY6aQV0K.js → send.components-BcCQ27av.js} +42 -8
- package/dist/{send.outbound-1vG9pOh2.js → send.outbound-CyvhKilL.js} +3 -3
- package/dist/{send.shared-D4clao4K.js → send.shared-C3uAu6bc.js} +2 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-mo-r7V5W.js → shared-CgAcqTsg.js} +4 -4
- package/dist/{subagent-hooks-D65kqOor.js → subagent-hooks-DehrqnoK.js} +2 -2
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/{target-resolver-BpGdnBIZ.js → target-resolver-squYahVm.js} +2 -2
- package/dist/{targets-DMdVjHOU.js → targets-BeetkGO0.js} +1 -1
- package/dist/test-api.js +3 -3
- package/dist/{thread-bindings-BQz8z6MR.js → thread-bindings-BD9jKFo5.js} +3 -3
- package/dist/{thread-bindings.discord-api-Ddalj9wo.js → thread-bindings.discord-api-D2EF_9XS.js} +3 -3
- package/dist/{thread-bindings.manager-I5f-Oykv.js → thread-bindings.manager-AEGKdE3O.js} +2 -2
- package/node_modules/@discordjs/voice/LICENSE +191 -0
- package/node_modules/@discordjs/voice/README.md +120 -0
- package/node_modules/@discordjs/voice/dist/index.d.mts +1930 -0
- package/node_modules/@discordjs/voice/dist/index.d.ts +1930 -0
- package/node_modules/@discordjs/voice/dist/index.js +3241 -0
- package/node_modules/@discordjs/voice/dist/index.js.map +1 -0
- package/node_modules/@discordjs/voice/dist/index.mjs +3180 -0
- package/node_modules/@discordjs/voice/dist/index.mjs.map +1 -0
- package/node_modules/@discordjs/voice/package.json +100 -0
- package/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +299 -0
- package/node_modules/@napi-rs/wasm-runtime/dist/fs.js +25092 -0
- package/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +294 -0
- package/node_modules/@napi-rs/wasm-runtime/package.json +70 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.cjs +15 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.js +8 -0
- package/node_modules/@snazzah/davey/README.md +58 -0
- package/node_modules/@snazzah/davey/browser.js +1 -0
- package/node_modules/@snazzah/davey/index.d.ts +260 -0
- package/node_modules/@snazzah/davey/index.js +523 -0
- package/node_modules/@snazzah/davey/package.json +140 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/davey.android-arm-eabi.node +0 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/package.json +40 -0
- package/node_modules/@snazzah/davey-android-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm64/davey.android-arm64.node +0 -0
- package/node_modules/@snazzah/davey-android-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-arm64/davey.darwin-arm64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-x64/davey.darwin-x64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-freebsd-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-freebsd-x64/davey.freebsd-x64.node +0 -0
- package/node_modules/@snazzah/davey-freebsd-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/davey.linux-arm-gnueabihf.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/davey.linux-arm64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/davey.linux-arm64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/package.json +43 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/README.md +3 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi-browser.js +71 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi.cjs +123 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasm32-wasi.wasm +0 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/package.json +45 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker-browser.mjs +32 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker.mjs +63 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/davey.win32-arm64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/davey.win32-ia32-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/davey.win32-x64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/package.json +40 -0
- package/node_modules/@tybys/wasm-util/README.md +193 -0
- package/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +423 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +2920 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +2920 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +1 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.js +2942 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +1 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +158 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/index.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +46 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/load.js +97 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/memory.js +35 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +103 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +268 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +3 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +192 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +316 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +1586 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +141 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +220 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +128 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +153 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +9 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +39 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +89 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +28 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +97 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +256 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +1 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +186 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +310 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +1581 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +135 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +216 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +113 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +9 -0
- package/node_modules/@tybys/wasm-util/package.json +58 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +59 -0
- package/node_modules/@types/node/assert.d.ts +950 -0
- package/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@types/node/buffer.d.ts +1765 -0
- package/node_modules/@types/node/child_process.d.ts +1366 -0
- package/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@types/node/crypto.d.ts +4058 -0
- package/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
- package/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@types/node/fs/promises.d.ts +1468 -0
- package/node_modules/@types/node/fs.d.ts +4780 -0
- package/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@types/node/http.d.ts +2147 -0
- package/node_modules/@types/node/http2.d.ts +2485 -0
- package/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@types/node/index.d.ts +117 -0
- package/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@types/node/module.d.ts +755 -0
- package/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@types/node/package.json +155 -0
- package/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@types/node/perf_hooks.d.ts +612 -0
- package/node_modules/@types/node/process.d.ts +2204 -0
- package/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@types/node/quic.d.ts +897 -0
- package/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@types/node/readline.d.ts +507 -0
- package/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@types/node/sqlite.d.ts +1068 -0
- package/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@types/node/stream/iter.d.ts +301 -0
- package/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@types/node/stream.d.ts +1774 -0
- package/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@types/node/test.d.ts +2279 -0
- package/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +119 -0
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +119 -0
- package/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@types/node/v8.d.ts +980 -0
- package/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +671 -0
- package/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@types/ws/LICENSE +21 -0
- package/node_modules/@types/ws/README.md +15 -0
- package/node_modules/@types/ws/index.d.mts +451 -0
- package/node_modules/@types/ws/index.d.ts +445 -0
- package/node_modules/@types/ws/package.json +72 -0
- package/node_modules/agent-base/LICENSE +22 -0
- package/node_modules/agent-base/README.md +69 -0
- package/node_modules/agent-base/dist/helpers.d.ts +10 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +37 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +37 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +146 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/discord-api-types/CHANGELOG.md +2442 -0
- package/node_modules/discord-api-types/LICENSE +21 -0
- package/node_modules/discord-api-types/README.md +102 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts +906 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.js +3 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.js.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts +908 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.js +3 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.js.map +1 -0
- package/node_modules/discord-api-types/gateway/common.d.ts +9 -0
- package/node_modules/discord-api-types/gateway/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/common.js +3 -0
- package/node_modules/discord-api-types/gateway/common.js.map +1 -0
- package/node_modules/discord-api-types/gateway/index.d.ts +2 -0
- package/node_modules/discord-api-types/gateway/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/index.js +20 -0
- package/node_modules/discord-api-types/gateway/index.js.map +1 -0
- package/node_modules/discord-api-types/gateway/index.mjs +9 -0
- package/node_modules/discord-api-types/gateway/v10.d.ts +2054 -0
- package/node_modules/discord-api-types/gateway/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v10.js +277 -0
- package/node_modules/discord-api-types/gateway/v10.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v10.mjs +9 -0
- package/node_modules/discord-api-types/gateway/v6.d.ts +658 -0
- package/node_modules/discord-api-types/gateway/v6.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v6.js +158 -0
- package/node_modules/discord-api-types/gateway/v6.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v6.mjs +10 -0
- package/node_modules/discord-api-types/gateway/v8.d.ts +1575 -0
- package/node_modules/discord-api-types/gateway/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v8.js +231 -0
- package/node_modules/discord-api-types/gateway/v8.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v8.mjs +8 -0
- package/node_modules/discord-api-types/gateway/v9.d.ts +2053 -0
- package/node_modules/discord-api-types/gateway/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v9.js +276 -0
- package/node_modules/discord-api-types/gateway/v9.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v9.mjs +9 -0
- package/node_modules/discord-api-types/globals.d.ts +102 -0
- package/node_modules/discord-api-types/globals.d.ts.map +1 -0
- package/node_modules/discord-api-types/globals.js +105 -0
- package/node_modules/discord-api-types/globals.js.map +1 -0
- package/node_modules/discord-api-types/globals.mjs +4 -0
- package/node_modules/discord-api-types/package.json +215 -0
- package/node_modules/discord-api-types/payloads/common.d.ts +344 -0
- package/node_modules/discord-api-types/payloads/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/common.js +310 -0
- package/node_modules/discord-api-types/payloads/common.js.map +1 -0
- package/node_modules/discord-api-types/payloads/index.d.ts +2 -0
- package/node_modules/discord-api-types/payloads/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/index.js +20 -0
- package/node_modules/discord-api-types/payloads/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts +23 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts +5 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts +26 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts +17 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts +66 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts +55 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts +194 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js +89 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts +230 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.js +63 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/application.d.ts +387 -0
- package/node_modules/discord-api-types/payloads/v10/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/application.js +152 -0
- package/node_modules/discord-api-types/payloads/v10/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.d.ts +694 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.js +85 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts +222 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.js +88 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts +653 -0
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/channel.js +219 -0
- package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts +456 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.js +103 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guild.d.ts +1223 -0
- package/node_modules/discord-api-types/payloads/v10/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guild.js +403 -0
- package/node_modules/discord-api-types/payloads/v10/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts +244 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js +74 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v10/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.js +37 -0
- package/node_modules/discord-api-types/payloads/v10/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.js +19 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/invite.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v10/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/invite.js +31 -0
- package/node_modules/discord-api-types/payloads/v10/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/message.d.ts +2155 -0
- package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/message.js +590 -0
- package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.d.ts +216 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.js +101 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.d.ts +144 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.js +148 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.js +17 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/poll.d.ts +111 -0
- package/node_modules/discord-api-types/payloads/v10/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/poll.js +17 -0
- package/node_modules/discord-api-types/payloads/v10/poll.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.d.ts +125 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.js +31 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/teams.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v10/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/teams.js +24 -0
- package/node_modules/discord-api-types/payloads/v10/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/template.d.ts +64 -0
- package/node_modules/discord-api-types/payloads/v10/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/user.d.ts +430 -0
- package/node_modules/discord-api-types/payloads/v10/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/user.js +191 -0
- package/node_modules/discord-api-types/payloads/v10/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/voice.d.ts +101 -0
- package/node_modules/discord-api-types/payloads/v10/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.d.ts +190 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.js +69 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.d.ts +469 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.js +58 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/channel.d.ts +339 -0
- package/node_modules/discord-api-types/payloads/v6/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/channel.js +94 -0
- package/node_modules/discord-api-types/payloads/v6/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.d.ts +149 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.js +45 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/guild.d.ts +310 -0
- package/node_modules/discord-api-types/payloads/v6/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/guild.js +118 -0
- package/node_modules/discord-api-types/payloads/v6/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v6/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.js +29 -0
- package/node_modules/discord-api-types/payloads/v6/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.mjs +30 -0
- package/node_modules/discord-api-types/payloads/v6/invite.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v6/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/invite.js +16 -0
- package/node_modules/discord-api-types/payloads/v6/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.d.ts +75 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.js +56 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/teams.d.ts +36 -0
- package/node_modules/discord-api-types/payloads/v6/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/teams.js +17 -0
- package/node_modules/discord-api-types/payloads/v6/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/user.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v6/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/user.js +48 -0
- package/node_modules/discord-api-types/payloads/v6/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/voice.d.ts +37 -0
- package/node_modules/discord-api-types/payloads/v6/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.d.ts +32 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.js +15 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts +15 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js +23 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts +90 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js +29 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts +102 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts +53 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js +14 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts +112 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js +32 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts +116 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts +48 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts +7 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts +138 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.js +53 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/application.d.ts +134 -0
- package/node_modules/discord-api-types/payloads/v8/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/application.js +28 -0
- package/node_modules/discord-api-types/payloads/v8/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.d.ts +637 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.js +67 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/channel.d.ts +1268 -0
- package/node_modules/discord-api-types/payloads/v8/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/channel.js +253 -0
- package/node_modules/discord-api-types/payloads/v8/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.d.ts +53 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.d.ts +332 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.js +79 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guild.d.ts +1001 -0
- package/node_modules/discord-api-types/payloads/v8/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guild.js +264 -0
- package/node_modules/discord-api-types/payloads/v8/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts +163 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js +39 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v8/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.js +36 -0
- package/node_modules/discord-api-types/payloads/v8/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.mjs +51 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.d.ts +31 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.js +24 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/invite.d.ts +114 -0
- package/node_modules/discord-api-types/payloads/v8/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/invite.js +17 -0
- package/node_modules/discord-api-types/payloads/v8/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.d.ts +117 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.js +121 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts +76 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.js +20 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.d.ts +133 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.js +34 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/teams.d.ts +69 -0
- package/node_modules/discord-api-types/payloads/v8/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/teams.js +17 -0
- package/node_modules/discord-api-types/payloads/v8/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/template.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v8/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/user.d.ts +228 -0
- package/node_modules/discord-api-types/payloads/v8/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/user.js +108 -0
- package/node_modules/discord-api-types/payloads/v8/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/voice.d.ts +94 -0
- package/node_modules/discord-api-types/payloads/v8/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.js +25 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts +23 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts +5 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts +26 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts +17 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts +66 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts +55 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts +192 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js +89 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts +233 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.js +63 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/application.d.ts +387 -0
- package/node_modules/discord-api-types/payloads/v9/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/application.js +152 -0
- package/node_modules/discord-api-types/payloads/v9/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.d.ts +694 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.js +85 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts +222 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.js +88 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts +656 -0
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/channel.js +219 -0
- package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts +444 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.js +103 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guild.d.ts +1215 -0
- package/node_modules/discord-api-types/payloads/v9/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guild.js +395 -0
- package/node_modules/discord-api-types/payloads/v9/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts +244 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js +74 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v9/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.js +37 -0
- package/node_modules/discord-api-types/payloads/v9/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.js +19 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/invite.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v9/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/invite.js +31 -0
- package/node_modules/discord-api-types/payloads/v9/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/message.d.ts +2151 -0
- package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/message.js +590 -0
- package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.d.ts +216 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.js +101 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.js +136 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.js +17 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/poll.d.ts +111 -0
- package/node_modules/discord-api-types/payloads/v9/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/poll.js +17 -0
- package/node_modules/discord-api-types/payloads/v9/poll.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.d.ts +125 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.js +31 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/teams.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v9/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/teams.js +24 -0
- package/node_modules/discord-api-types/payloads/v9/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/template.d.ts +64 -0
- package/node_modules/discord-api-types/payloads/v9/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/user.d.ts +430 -0
- package/node_modules/discord-api-types/payloads/v9/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/user.js +191 -0
- package/node_modules/discord-api-types/payloads/v9/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/voice.d.ts +98 -0
- package/node_modules/discord-api-types/payloads/v9/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.d.ts +190 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.js +69 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/common.d.ts +307 -0
- package/node_modules/discord-api-types/rest/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/common.js +311 -0
- package/node_modules/discord-api-types/rest/common.js.map +1 -0
- package/node_modules/discord-api-types/rest/index.d.ts +2 -0
- package/node_modules/discord-api-types/rest/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/index.js +20 -0
- package/node_modules/discord-api-types/rest/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v10/application.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v10/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/application.js +3 -0
- package/node_modules/discord-api-types/rest/v10/application.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.d.ts +68 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.js +3 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/channel.d.ts +764 -0
- package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/channel.js +18 -0
- package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/emoji.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v10/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v10/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/gateway.d.ts +10 -0
- package/node_modules/discord-api-types/rest/v10/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v10/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guild.d.ts +1062 -0
- package/node_modules/discord-api-types/rest/v10/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v10/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts +124 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.d.ts +87 -0
- package/node_modules/discord-api-types/rest/v10/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.js +1286 -0
- package/node_modules/discord-api-types/rest/v10/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v10/interactions.d.ts +290 -0
- package/node_modules/discord-api-types/rest/v10/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v10/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/invite.d.ts +28 -0
- package/node_modules/discord-api-types/rest/v10/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v10/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/monetization.d.ts +130 -0
- package/node_modules/discord-api-types/rest/v10/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/monetization.js +12 -0
- package/node_modules/discord-api-types/rest/v10/monetization.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.d.ts +193 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/poll.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v10/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/poll.js +3 -0
- package/node_modules/discord-api-types/rest/v10/poll.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.d.ts +98 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.js +3 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.d.ts +59 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/sticker.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v10/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v10/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/template.d.ts +65 -0
- package/node_modules/discord-api-types/rest/v10/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/template.js +3 -0
- package/node_modules/discord-api-types/rest/v10/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/user.d.ts +122 -0
- package/node_modules/discord-api-types/rest/v10/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/user.js +3 -0
- package/node_modules/discord-api-types/rest/v10/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/voice.d.ts +57 -0
- package/node_modules/discord-api-types/rest/v10/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v10/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts +275 -0
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v10/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.d.ts +17 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/channel.d.ts +268 -0
- package/node_modules/discord-api-types/rest/v6/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/channel.js +15 -0
- package/node_modules/discord-api-types/rest/v6/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/emoji.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v6/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v6/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/gateway.d.ts +14 -0
- package/node_modules/discord-api-types/rest/v6/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v6/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/guild.d.ts +465 -0
- package/node_modules/discord-api-types/rest/v6/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v6/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.d.ts +348 -0
- package/node_modules/discord-api-types/rest/v6/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.js +499 -0
- package/node_modules/discord-api-types/rest/v6/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.mjs +9 -0
- package/node_modules/discord-api-types/rest/v6/invite.d.ts +20 -0
- package/node_modules/discord-api-types/rest/v6/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v6/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.d.ts +177 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/user.d.ts +80 -0
- package/node_modules/discord-api-types/rest/v6/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/user.js +3 -0
- package/node_modules/discord-api-types/rest/v6/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/voice.d.ts +8 -0
- package/node_modules/discord-api-types/rest/v6/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v6/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/webhook.d.ts +139 -0
- package/node_modules/discord-api-types/rest/v6/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v6/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.d.ts +32 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/channel.d.ts +564 -0
- package/node_modules/discord-api-types/rest/v8/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/channel.js +3 -0
- package/node_modules/discord-api-types/rest/v8/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/emoji.d.ts +69 -0
- package/node_modules/discord-api-types/rest/v8/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v8/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/gateway.d.ts +14 -0
- package/node_modules/discord-api-types/rest/v8/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v8/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guild.d.ts +882 -0
- package/node_modules/discord-api-types/rest/v8/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v8/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts +141 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.d.ts +539 -0
- package/node_modules/discord-api-types/rest/v8/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.js +747 -0
- package/node_modules/discord-api-types/rest/v8/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.mjs +10 -0
- package/node_modules/discord-api-types/rest/v8/interactions.d.ts +257 -0
- package/node_modules/discord-api-types/rest/v8/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v8/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/invite.d.ts +32 -0
- package/node_modules/discord-api-types/rest/v8/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v8/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.d.ts +213 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.d.ts +63 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/sticker.d.ts +70 -0
- package/node_modules/discord-api-types/rest/v8/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v8/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/template.d.ts +83 -0
- package/node_modules/discord-api-types/rest/v8/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/template.js +3 -0
- package/node_modules/discord-api-types/rest/v8/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/user.d.ts +109 -0
- package/node_modules/discord-api-types/rest/v8/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/user.js +3 -0
- package/node_modules/discord-api-types/rest/v8/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/voice.d.ts +8 -0
- package/node_modules/discord-api-types/rest/v8/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v8/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/webhook.d.ts +283 -0
- package/node_modules/discord-api-types/rest/v8/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v8/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/application.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v9/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/application.js +3 -0
- package/node_modules/discord-api-types/rest/v9/application.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.d.ts +68 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.js +3 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/channel.d.ts +777 -0
- package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/channel.js +18 -0
- package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/emoji.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v9/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v9/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/gateway.d.ts +10 -0
- package/node_modules/discord-api-types/rest/v9/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v9/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guild.d.ts +1068 -0
- package/node_modules/discord-api-types/rest/v9/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v9/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts +124 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.d.ts +87 -0
- package/node_modules/discord-api-types/rest/v9/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.js +1293 -0
- package/node_modules/discord-api-types/rest/v9/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v9/interactions.d.ts +290 -0
- package/node_modules/discord-api-types/rest/v9/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v9/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/invite.d.ts +28 -0
- package/node_modules/discord-api-types/rest/v9/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v9/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/monetization.d.ts +130 -0
- package/node_modules/discord-api-types/rest/v9/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/monetization.js +12 -0
- package/node_modules/discord-api-types/rest/v9/monetization.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.d.ts +193 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/poll.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v9/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/poll.js +3 -0
- package/node_modules/discord-api-types/rest/v9/poll.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.d.ts +98 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.js +3 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.d.ts +59 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/sticker.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v9/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v9/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/template.d.ts +65 -0
- package/node_modules/discord-api-types/rest/v9/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/template.js +3 -0
- package/node_modules/discord-api-types/rest/v9/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/user.d.ts +122 -0
- package/node_modules/discord-api-types/rest/v9/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/user.js +3 -0
- package/node_modules/discord-api-types/rest/v9/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/voice.d.ts +57 -0
- package/node_modules/discord-api-types/rest/v9/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v9/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts +275 -0
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v9/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rpc/common.d.ts +453 -0
- package/node_modules/discord-api-types/rpc/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/common.js +240 -0
- package/node_modules/discord-api-types/rpc/common.js.map +1 -0
- package/node_modules/discord-api-types/rpc/index.d.ts +2 -0
- package/node_modules/discord-api-types/rpc/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/index.js +20 -0
- package/node_modules/discord-api-types/rpc/index.js.map +1 -0
- package/node_modules/discord-api-types/rpc/index.mjs +13 -0
- package/node_modules/discord-api-types/rpc/v10.d.ts +2191 -0
- package/node_modules/discord-api-types/rpc/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v10.js +299 -0
- package/node_modules/discord-api-types/rpc/v10.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v10.mjs +13 -0
- package/node_modules/discord-api-types/rpc/v8.d.ts +39 -0
- package/node_modules/discord-api-types/rpc/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v8.js +18 -0
- package/node_modules/discord-api-types/rpc/v8.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v8.mjs +10 -0
- package/node_modules/discord-api-types/rpc/v9.d.ts +39 -0
- package/node_modules/discord-api-types/rpc/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v9.js +18 -0
- package/node_modules/discord-api-types/rpc/v9.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v9.mjs +10 -0
- package/node_modules/discord-api-types/scripts/versions.mjs +46 -0
- package/node_modules/discord-api-types/utils/index.d.ts +2 -0
- package/node_modules/discord-api-types/utils/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/index.js +20 -0
- package/node_modules/discord-api-types/utils/index.js.map +1 -0
- package/node_modules/discord-api-types/utils/index.mjs +17 -0
- package/node_modules/discord-api-types/utils/internals.d.ts +34 -0
- package/node_modules/discord-api-types/utils/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/internals.js +13 -0
- package/node_modules/discord-api-types/utils/internals.js.map +1 -0
- package/node_modules/discord-api-types/utils/v10.d.ts +100 -0
- package/node_modules/discord-api-types/utils/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v10.js +158 -0
- package/node_modules/discord-api-types/utils/v10.js.map +1 -0
- package/node_modules/discord-api-types/utils/v10.mjs +17 -0
- package/node_modules/discord-api-types/utils/v8.d.ts +66 -0
- package/node_modules/discord-api-types/utils/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v8.js +96 -0
- package/node_modules/discord-api-types/utils/v8.js.map +1 -0
- package/node_modules/discord-api-types/utils/v8.mjs +11 -0
- package/node_modules/discord-api-types/utils/v9.d.ts +100 -0
- package/node_modules/discord-api-types/utils/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v9.js +158 -0
- package/node_modules/discord-api-types/utils/v9.js.map +1 -0
- package/node_modules/discord-api-types/utils/v9.mjs +17 -0
- package/node_modules/discord-api-types/v10.d.ts +8 -0
- package/node_modules/discord-api-types/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/v10.js +47 -0
- package/node_modules/discord-api-types/v10.js.map +1 -0
- package/node_modules/discord-api-types/v10.mjs +132 -0
- package/node_modules/discord-api-types/v6.d.ts +5 -0
- package/node_modules/discord-api-types/v6.d.ts.map +1 -0
- package/node_modules/discord-api-types/v6.js +21 -0
- package/node_modules/discord-api-types/v6.js.map +1 -0
- package/node_modules/discord-api-types/v6.mjs +44 -0
- package/node_modules/discord-api-types/v8.d.ts +7 -0
- package/node_modules/discord-api-types/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/v8.js +46 -0
- package/node_modules/discord-api-types/v8.js.map +1 -0
- package/node_modules/discord-api-types/v8.mjs +72 -0
- package/node_modules/discord-api-types/v9.d.ts +8 -0
- package/node_modules/discord-api-types/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/v9.js +47 -0
- package/node_modules/discord-api-types/v9.js.map +1 -0
- package/node_modules/discord-api-types/v9.mjs +129 -0
- package/node_modules/discord-api-types/voice/index.d.ts +2 -0
- package/node_modules/discord-api-types/voice/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/index.js +20 -0
- package/node_modules/discord-api-types/voice/index.js.map +1 -0
- package/node_modules/discord-api-types/voice/index.mjs +8 -0
- package/node_modules/discord-api-types/voice/v4.d.ts +174 -0
- package/node_modules/discord-api-types/voice/v4.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/v4.js +179 -0
- package/node_modules/discord-api-types/voice/v4.js.map +1 -0
- package/node_modules/discord-api-types/voice/v4.mjs +6 -0
- package/node_modules/discord-api-types/voice/v8.d.ts +632 -0
- package/node_modules/discord-api-types/voice/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/v8.js +236 -0
- package/node_modules/discord-api-types/voice/v8.js.map +1 -0
- package/node_modules/discord-api-types/voice/v8.mjs +8 -0
- package/node_modules/https-proxy-agent/LICENSE +22 -0
- package/node_modules/https-proxy-agent/README.md +70 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +43 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +150 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +12 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +94 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/opusscript/LICENSE +20 -0
- package/node_modules/opusscript/README.md +53 -0
- package/node_modules/opusscript/build/COPYING.libopus +44 -0
- package/node_modules/opusscript/build/opusscript_native_nasm.js +93 -0
- package/node_modules/opusscript/build/opusscript_native_wasm.js +77 -0
- package/node_modules/opusscript/build/opusscript_native_wasm.wasm +0 -0
- package/node_modules/opusscript/index.d.ts +100 -0
- package/node_modules/opusscript/index.js +120 -0
- package/node_modules/opusscript/package.json +26 -0
- package/node_modules/prism-media/LICENSE +190 -0
- package/node_modules/prism-media/README.md +69 -0
- package/node_modules/prism-media/package.json +65 -0
- package/node_modules/prism-media/src/core/FFmpeg.js +160 -0
- package/node_modules/prism-media/src/core/VolumeTransformer.js +128 -0
- package/node_modules/prism-media/src/core/WebmBase.js +229 -0
- package/node_modules/prism-media/src/core/index.js +9 -0
- package/node_modules/prism-media/src/index.js +5 -0
- package/node_modules/prism-media/src/opus/OggDemuxer.js +143 -0
- package/node_modules/prism-media/src/opus/Opus.js +212 -0
- package/node_modules/prism-media/src/opus/WebmDemuxer.js +24 -0
- package/node_modules/prism-media/src/opus/index.js +10 -0
- package/node_modules/prism-media/src/util/loader.js +13 -0
- package/node_modules/prism-media/src/vorbis/WebmDemuxer.js +22 -0
- package/node_modules/prism-media/src/vorbis/index.js +8 -0
- package/node_modules/prism-media/typings/index.d.ts +43 -0
- package/node_modules/prism-media/typings/opus.d.ts +30 -0
- package/node_modules/prism-media/typings/vorbis.d.ts +5 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/SECURITY.md +41 -0
- package/node_modules/tslib/modules/index.d.ts +38 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.d.ts +460 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/typebox/build/guard/emit.mjs +194 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +69 -0
- package/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
- package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
- package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +12 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +27 -0
- package/node_modules/typebox/build/type/action/index.mjs +27 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
- package/node_modules/typebox/build/type/action/module.d.mts +12 -0
- package/node_modules/typebox/build/type/action/module.mjs +12 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/options.d.mts +11 -0
- package/node_modules/typebox/build/type/action/options.mjs +11 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +6 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/object.mjs +87 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
- package/node_modules/typebox/build/type/script/parser.mjs +135 -0
- package/node_modules/typebox/build/type/script/script.d.mts +17 -0
- package/node_modules/typebox/build/type/script/script.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/typebox/build/type/types/base.mjs +84 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +22 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/typebox/build/type/types/enum.mjs +17 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +48 -0
- package/node_modules/typebox/build/type/types/index.mjs +54 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
- package/node_modules/typebox/build/type/types/promise.mjs +29 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +46 -0
- package/node_modules/typebox/build/type/types/record.mjs +60 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +48 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +73 -0
- package/node_modules/typebox/build/typebox.mjs +89 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +83 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +16 -0
- package/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +356 -0
- package/node_modules/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +750 -0
- package/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/node_modules/undici/docs/docs/api/Client.md +287 -0
- package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +101 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +315 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1427 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +141 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +98 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +49 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +116 -0
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +639 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +274 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +231 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +236 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +112 -0
- package/node_modules/undici/lib/api/api-pipeline.js +265 -0
- package/node_modules/undici/lib/api/api-request.js +238 -0
- package/node_modules/undici/lib/api/api-stream.js +270 -0
- package/node_modules/undici/lib/api/api-upgrade.js +121 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +581 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +463 -0
- package/node_modules/undici/lib/core/connect.js +153 -0
- package/node_modules/undici/lib/core/constants.js +120 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +535 -0
- package/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/node_modules/undici/lib/core/symbols.js +76 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +1019 -0
- package/node_modules/undici/lib/dispatcher/agent.js +172 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +214 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1669 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +1326 -0
- package/node_modules/undici/lib/dispatcher/client.js +666 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +44 -0
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +107 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +232 -0
- package/node_modules/undici/lib/dispatcher/pool.js +143 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +343 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +159 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +264 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +62 -0
- package/node_modules/undici/lib/handler/cache-handler.js +586 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +66 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +192 -0
- package/node_modules/undici/lib/handler/retry-handler.js +407 -0
- package/node_modules/undici/lib/interceptor/cache.js +508 -0
- package/node_modules/undici/lib/interceptor/decompress.js +285 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +501 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +363 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +623 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +408 -0
- package/node_modules/undici/lib/util/date.js +653 -0
- package/node_modules/undici/lib/util/runtime-features.js +93 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +862 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +322 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +503 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +278 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2403 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1004 -0
- package/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +127 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +490 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +491 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +756 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +30 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client-stats.d.ts +15 -0
- package/node_modules/undici/types/client.d.ts +129 -0
- package/node_modules/undici/types/connector.d.ts +36 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +30 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici/types/dispatcher.d.ts +253 -0
- package/node_modules/undici/types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici/types/errors.d.ts +177 -0
- package/node_modules/undici/types/eventsource.d.ts +66 -0
- package/node_modules/undici/types/fetch.d.ts +231 -0
- package/node_modules/undici/types/formdata.d.ts +108 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/node_modules/undici/types/handlers.d.ts +14 -0
- package/node_modules/undici/types/header.d.ts +165 -0
- package/node_modules/undici/types/index.d.ts +93 -0
- package/node_modules/undici/types/interceptors.d.ts +80 -0
- package/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/node_modules/undici/types/mock-client.d.ts +27 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/node_modules/undici/types/patch.d.ts +29 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +39 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +68 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/node_modules/undici/types/round-robin-pool.d.ts +39 -0
- package/node_modules/undici/types/snapshot-agent.d.ts +113 -0
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/utility.d.ts +7 -0
- package/node_modules/undici/types/webidl.d.ts +346 -0
- package/node_modules/undici/types/websocket.d.ts +188 -0
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +32 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +123 -0
- package/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici-types/dispatcher.d.ts +279 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/undici-types/fetch.d.ts +211 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/undici-types/index.d.ts +91 -0
- package/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +41 -0
- package/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +347 -0
- package/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +554 -0
- package/node_modules/ws/lib/websocket.js +1393 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/npm-shrinkwrap.json +512 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +15 -9
- package/dist/provider.runtime-CUUefRl3.js +0 -2
- package/dist/runtime-api.monitor-D1psRR2u.js +0 -5
|
@@ -0,0 +1,1677 @@
|
|
|
1
|
+
declare module "node:util" {
|
|
2
|
+
export * as types from "node:util/types";
|
|
3
|
+
export type InspectStyle =
|
|
4
|
+
| "special"
|
|
5
|
+
| "number"
|
|
6
|
+
| "bigint"
|
|
7
|
+
| "boolean"
|
|
8
|
+
| "undefined"
|
|
9
|
+
| "null"
|
|
10
|
+
| "string"
|
|
11
|
+
| "symbol"
|
|
12
|
+
| "date"
|
|
13
|
+
| "name"
|
|
14
|
+
| "regexp"
|
|
15
|
+
| "module";
|
|
16
|
+
export interface InspectStyles extends Record<InspectStyle, InspectColor | ((value: string) => string)> {
|
|
17
|
+
regexp: {
|
|
18
|
+
(value: string): string;
|
|
19
|
+
colors: InspectColor[];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export type InspectColorModifier =
|
|
23
|
+
| "reset"
|
|
24
|
+
| "bold"
|
|
25
|
+
| "dim"
|
|
26
|
+
| "italic"
|
|
27
|
+
| "underline"
|
|
28
|
+
| "blink"
|
|
29
|
+
| "inverse"
|
|
30
|
+
| "hidden"
|
|
31
|
+
| "strikethrough"
|
|
32
|
+
| "doubleunderline";
|
|
33
|
+
export type InspectColorForeground =
|
|
34
|
+
| "black"
|
|
35
|
+
| "red"
|
|
36
|
+
| "green"
|
|
37
|
+
| "yellow"
|
|
38
|
+
| "blue"
|
|
39
|
+
| "magenta"
|
|
40
|
+
| "cyan"
|
|
41
|
+
| "white"
|
|
42
|
+
| "gray"
|
|
43
|
+
| "redBright"
|
|
44
|
+
| "greenBright"
|
|
45
|
+
| "yellowBright"
|
|
46
|
+
| "blueBright"
|
|
47
|
+
| "magentaBright"
|
|
48
|
+
| "cyanBright"
|
|
49
|
+
| "whiteBright";
|
|
50
|
+
export type InspectColorBackground = `bg${Capitalize<InspectColorForeground>}`;
|
|
51
|
+
export type InspectColor = InspectColorModifier | InspectColorForeground | InspectColorBackground;
|
|
52
|
+
export interface InspectColors extends Record<InspectColor, [number, number]> {}
|
|
53
|
+
export interface InspectOptions {
|
|
54
|
+
/**
|
|
55
|
+
* If `true`, object's non-enumerable symbols and properties are included in the formatted result.
|
|
56
|
+
* `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties).
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
showHidden?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies the number of times to recurse while formatting object.
|
|
62
|
+
* This is useful for inspecting large objects.
|
|
63
|
+
* To recurse up to the maximum call stack size pass `Infinity` or `null`.
|
|
64
|
+
* @default 2
|
|
65
|
+
*/
|
|
66
|
+
depth?: number | null | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* If `true`, the output is styled with ANSI color codes. Colors are customizable.
|
|
69
|
+
*/
|
|
70
|
+
colors?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked.
|
|
73
|
+
* @default true
|
|
74
|
+
*/
|
|
75
|
+
customInspect?: boolean | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* If `true`, `Proxy` inspection includes the target and handler objects.
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
showProxy?: boolean | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements
|
|
83
|
+
* to include when formatting. Set to `null` or `Infinity` to show all elements.
|
|
84
|
+
* Set to `0` or negative to show no elements.
|
|
85
|
+
* @default 100
|
|
86
|
+
*/
|
|
87
|
+
maxArrayLength?: number | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies the maximum number of characters to
|
|
90
|
+
* include when formatting. Set to `null` or `Infinity` to show all elements.
|
|
91
|
+
* Set to `0` or negative to show no characters.
|
|
92
|
+
* @default 10000
|
|
93
|
+
*/
|
|
94
|
+
maxStringLength?: number | null | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* The length at which input values are split across multiple lines.
|
|
97
|
+
* Set to `Infinity` to format the input as a single line
|
|
98
|
+
* (in combination with `compact` set to `true` or any number >= `1`).
|
|
99
|
+
* @default 80
|
|
100
|
+
*/
|
|
101
|
+
breakLength?: number | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Setting this to `false` causes each object key
|
|
104
|
+
* to be displayed on a new line. It will also add new lines to text that is
|
|
105
|
+
* longer than `breakLength`. If set to a number, the most `n` inner elements
|
|
106
|
+
* are united on a single line as long as all properties fit into
|
|
107
|
+
* `breakLength`. Short array elements are also grouped together. Note that no
|
|
108
|
+
* text will be reduced below 16 characters, no matter the `breakLength` size.
|
|
109
|
+
* For more information, see the example below.
|
|
110
|
+
* @default true
|
|
111
|
+
*/
|
|
112
|
+
compact?: boolean | number | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* If set to `true` or a function, all properties of an object, and `Set` and `Map`
|
|
115
|
+
* entries are sorted in the resulting string.
|
|
116
|
+
* If set to `true` the default sort is used.
|
|
117
|
+
* If set to a function, it is used as a compare function.
|
|
118
|
+
*/
|
|
119
|
+
sorted?: boolean | ((a: string, b: string) => number) | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* If set to `true`, getters are going to be
|
|
122
|
+
* inspected as well. If set to `'get'` only getters without setter are going
|
|
123
|
+
* to be inspected. If set to `'set'` only getters having a corresponding
|
|
124
|
+
* setter are going to be inspected. This might cause side effects depending on
|
|
125
|
+
* the getter function.
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
getters?: "get" | "set" | boolean | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* If set to `true`, an underscore is used to separate every three digits in all bigints and numbers.
|
|
131
|
+
* @default false
|
|
132
|
+
*/
|
|
133
|
+
numericSeparator?: boolean | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface InspectContext extends Required<InspectOptions> {
|
|
136
|
+
stylize(text: string, styleType: InspectStyle): string;
|
|
137
|
+
}
|
|
138
|
+
import _inspect = inspect;
|
|
139
|
+
export interface Inspectable {
|
|
140
|
+
[inspect.custom](depth: number, options: InspectContext, inspect: typeof _inspect): any;
|
|
141
|
+
}
|
|
142
|
+
// TODO: Remove these in a future major
|
|
143
|
+
/** @deprecated Use `InspectStyle` instead. */
|
|
144
|
+
export type Style = Exclude<InspectStyle, "name">;
|
|
145
|
+
/** @deprecated Use the `Inspectable` interface instead. */
|
|
146
|
+
export type CustomInspectFunction = (depth: number, options: InspectContext) => any;
|
|
147
|
+
/** @deprecated Use `InspectContext` instead. */
|
|
148
|
+
export interface InspectOptionsStylized extends InspectContext {}
|
|
149
|
+
/** @deprecated Use `InspectColorModifier` instead. */
|
|
150
|
+
export type Modifiers = InspectColorModifier;
|
|
151
|
+
/** @deprecated Use `InspectColorForeground` instead. */
|
|
152
|
+
export type ForegroundColors = InspectColorForeground;
|
|
153
|
+
/** @deprecated Use `InspectColorBackground` instead. */
|
|
154
|
+
export type BackgroundColors = InspectColorBackground;
|
|
155
|
+
export interface CallSiteObject {
|
|
156
|
+
/**
|
|
157
|
+
* Returns the name of the function associated with this call site.
|
|
158
|
+
*/
|
|
159
|
+
functionName: string;
|
|
160
|
+
/**
|
|
161
|
+
* Returns the name of the resource that contains the script for the
|
|
162
|
+
* function for this call site.
|
|
163
|
+
*/
|
|
164
|
+
scriptName: string;
|
|
165
|
+
/**
|
|
166
|
+
* Returns the unique id of the script, as in Chrome DevTools protocol
|
|
167
|
+
* [`Runtime.ScriptId`](https://chromedevtools.github.io/devtools-protocol/1-3/Runtime/#type-ScriptId).
|
|
168
|
+
* @since v22.14.0
|
|
169
|
+
*/
|
|
170
|
+
scriptId: string;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the number, 1-based, of the line for the associate function call.
|
|
173
|
+
*/
|
|
174
|
+
lineNumber: number;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the 1-based column offset on the line for the associated function call.
|
|
177
|
+
*/
|
|
178
|
+
columnNumber: number;
|
|
179
|
+
}
|
|
180
|
+
export type DiffEntry = [operation: -1 | 0 | 1, value: string];
|
|
181
|
+
/**
|
|
182
|
+
* `util.diff()` compares two string or array values and returns an array of difference entries.
|
|
183
|
+
* It uses the Myers diff algorithm to compute minimal differences, which is the same algorithm
|
|
184
|
+
* used internally by assertion error messages.
|
|
185
|
+
*
|
|
186
|
+
* If the values are equal, an empty array is returned.
|
|
187
|
+
*
|
|
188
|
+
* ```js
|
|
189
|
+
* const { diff } = require('node:util');
|
|
190
|
+
*
|
|
191
|
+
* // Comparing strings
|
|
192
|
+
* const actualString = '12345678';
|
|
193
|
+
* const expectedString = '12!!5!7!';
|
|
194
|
+
* console.log(diff(actualString, expectedString));
|
|
195
|
+
* // [
|
|
196
|
+
* // [0, '1'],
|
|
197
|
+
* // [0, '2'],
|
|
198
|
+
* // [1, '3'],
|
|
199
|
+
* // [1, '4'],
|
|
200
|
+
* // [-1, '!'],
|
|
201
|
+
* // [-1, '!'],
|
|
202
|
+
* // [0, '5'],
|
|
203
|
+
* // [1, '6'],
|
|
204
|
+
* // [-1, '!'],
|
|
205
|
+
* // [0, '7'],
|
|
206
|
+
* // [1, '8'],
|
|
207
|
+
* // [-1, '!'],
|
|
208
|
+
* // ]
|
|
209
|
+
* // Comparing arrays
|
|
210
|
+
* const actualArray = ['1', '2', '3'];
|
|
211
|
+
* const expectedArray = ['1', '3', '4'];
|
|
212
|
+
* console.log(diff(actualArray, expectedArray));
|
|
213
|
+
* // [
|
|
214
|
+
* // [0, '1'],
|
|
215
|
+
* // [1, '2'],
|
|
216
|
+
* // [0, '3'],
|
|
217
|
+
* // [-1, '4'],
|
|
218
|
+
* // ]
|
|
219
|
+
* // Equal values return empty array
|
|
220
|
+
* console.log(diff('same', 'same'));
|
|
221
|
+
* // []
|
|
222
|
+
* ```
|
|
223
|
+
* @since v22.15.0
|
|
224
|
+
* @experimental
|
|
225
|
+
* @param actual The first value to compare
|
|
226
|
+
* @param expected The second value to compare
|
|
227
|
+
* @returns An array of difference entries. Each entry is an array with two elements:
|
|
228
|
+
* * Index 0: `number` Operation code: `-1` for delete, `0` for no-op/unchanged, `1` for insert
|
|
229
|
+
* * Index 1: `string` The value associated with the operation
|
|
230
|
+
*/
|
|
231
|
+
export function diff(actual: string | readonly string[], expected: string | readonly string[]): DiffEntry[];
|
|
232
|
+
/**
|
|
233
|
+
* The `util.format()` method returns a formatted string using the first argument
|
|
234
|
+
* as a `printf`-like format string which can contain zero or more format
|
|
235
|
+
* specifiers. Each specifier is replaced with the converted value from the
|
|
236
|
+
* corresponding argument. Supported specifiers are:
|
|
237
|
+
*
|
|
238
|
+
* If a specifier does not have a corresponding argument, it is not replaced:
|
|
239
|
+
*
|
|
240
|
+
* ```js
|
|
241
|
+
* util.format('%s:%s', 'foo');
|
|
242
|
+
* // Returns: 'foo:%s'
|
|
243
|
+
* ```
|
|
244
|
+
*
|
|
245
|
+
* Values that are not part of the format string are formatted using `util.inspect()` if their type is not `string`.
|
|
246
|
+
*
|
|
247
|
+
* If there are more arguments passed to the `util.format()` method than the
|
|
248
|
+
* number of specifiers, the extra arguments are concatenated to the returned
|
|
249
|
+
* string, separated by spaces:
|
|
250
|
+
*
|
|
251
|
+
* ```js
|
|
252
|
+
* util.format('%s:%s', 'foo', 'bar', 'baz');
|
|
253
|
+
* // Returns: 'foo:bar baz'
|
|
254
|
+
* ```
|
|
255
|
+
*
|
|
256
|
+
* If the first argument does not contain a valid format specifier, `util.format()` returns a string that is the concatenation of all arguments separated by spaces:
|
|
257
|
+
*
|
|
258
|
+
* ```js
|
|
259
|
+
* util.format(1, 2, 3);
|
|
260
|
+
* // Returns: '1 2 3'
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
263
|
+
* If only one argument is passed to `util.format()`, it is returned as it is
|
|
264
|
+
* without any formatting:
|
|
265
|
+
*
|
|
266
|
+
* ```js
|
|
267
|
+
* util.format('%% %s');
|
|
268
|
+
* // Returns: '%% %s'
|
|
269
|
+
* ```
|
|
270
|
+
*
|
|
271
|
+
* `util.format()` is a synchronous method that is intended as a debugging tool.
|
|
272
|
+
* Some input values can have a significant performance overhead that can block the
|
|
273
|
+
* event loop. Use this function with care and never in a hot code path.
|
|
274
|
+
* @since v0.5.3
|
|
275
|
+
* @param format A `printf`-like format string.
|
|
276
|
+
*/
|
|
277
|
+
export function format(format?: any, ...param: any[]): string;
|
|
278
|
+
/**
|
|
279
|
+
* This function is identical to {@link format}, except in that it takes
|
|
280
|
+
* an `inspectOptions` argument which specifies options that are passed along to {@link inspect}.
|
|
281
|
+
*
|
|
282
|
+
* ```js
|
|
283
|
+
* util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
|
|
284
|
+
* // Returns 'See object { foo: 42 }', where `42` is colored as a number
|
|
285
|
+
* // when printed to a terminal.
|
|
286
|
+
* ```
|
|
287
|
+
* @since v10.0.0
|
|
288
|
+
*/
|
|
289
|
+
export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
|
|
290
|
+
export interface GetCallSitesOptions {
|
|
291
|
+
/**
|
|
292
|
+
* Reconstruct the original location in the stacktrace from the source-map.
|
|
293
|
+
* Enabled by default with the flag `--enable-source-maps`.
|
|
294
|
+
*/
|
|
295
|
+
sourceMap?: boolean | undefined;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Returns an array of call site objects containing the stack of
|
|
299
|
+
* the caller function.
|
|
300
|
+
*
|
|
301
|
+
* Unlike accessing an `error.stack`, the result returned from this API is not
|
|
302
|
+
* interfered with `Error.prepareStackTrace`.
|
|
303
|
+
*
|
|
304
|
+
* ```js
|
|
305
|
+
* import { getCallSites } from 'node:util';
|
|
306
|
+
*
|
|
307
|
+
* function exampleFunction() {
|
|
308
|
+
* const callSites = getCallSites();
|
|
309
|
+
*
|
|
310
|
+
* console.log('Call Sites:');
|
|
311
|
+
* callSites.forEach((callSite, index) => {
|
|
312
|
+
* console.log(`CallSite ${index + 1}:`);
|
|
313
|
+
* console.log(`Function Name: ${callSite.functionName}`);
|
|
314
|
+
* console.log(`Script Name: ${callSite.scriptName}`);
|
|
315
|
+
* console.log(`Line Number: ${callSite.lineNumber}`);
|
|
316
|
+
* console.log(`Column Number: ${callSite.columnNumber}`);
|
|
317
|
+
* });
|
|
318
|
+
* // CallSite 1:
|
|
319
|
+
* // Function Name: exampleFunction
|
|
320
|
+
* // Script Name: /home/example.js
|
|
321
|
+
* // Line Number: 5
|
|
322
|
+
* // Column Number: 26
|
|
323
|
+
*
|
|
324
|
+
* // CallSite 2:
|
|
325
|
+
* // Function Name: anotherFunction
|
|
326
|
+
* // Script Name: /home/example.js
|
|
327
|
+
* // Line Number: 22
|
|
328
|
+
* // Column Number: 3
|
|
329
|
+
*
|
|
330
|
+
* // ...
|
|
331
|
+
* }
|
|
332
|
+
*
|
|
333
|
+
* // A function to simulate another stack layer
|
|
334
|
+
* function anotherFunction() {
|
|
335
|
+
* exampleFunction();
|
|
336
|
+
* }
|
|
337
|
+
*
|
|
338
|
+
* anotherFunction();
|
|
339
|
+
* ```
|
|
340
|
+
*
|
|
341
|
+
* It is possible to reconstruct the original locations by setting the option `sourceMap` to `true`.
|
|
342
|
+
* If the source map is not available, the original location will be the same as the current location.
|
|
343
|
+
* When the `--enable-source-maps` flag is enabled, for example when using `--experimental-transform-types`,
|
|
344
|
+
* `sourceMap` will be true by default.
|
|
345
|
+
*
|
|
346
|
+
* ```ts
|
|
347
|
+
* import { getCallSites } from 'node:util';
|
|
348
|
+
*
|
|
349
|
+
* interface Foo {
|
|
350
|
+
* foo: string;
|
|
351
|
+
* }
|
|
352
|
+
*
|
|
353
|
+
* const callSites = getCallSites({ sourceMap: true });
|
|
354
|
+
*
|
|
355
|
+
* // With sourceMap:
|
|
356
|
+
* // Function Name: ''
|
|
357
|
+
* // Script Name: example.js
|
|
358
|
+
* // Line Number: 7
|
|
359
|
+
* // Column Number: 26
|
|
360
|
+
*
|
|
361
|
+
* // Without sourceMap:
|
|
362
|
+
* // Function Name: ''
|
|
363
|
+
* // Script Name: example.js
|
|
364
|
+
* // Line Number: 2
|
|
365
|
+
* // Column Number: 26
|
|
366
|
+
* ```
|
|
367
|
+
* @param frameCount Number of frames to capture as call site objects.
|
|
368
|
+
* **Default:** `10`. Allowable range is between 1 and 200.
|
|
369
|
+
* @return An array of call site objects
|
|
370
|
+
* @since v22.9.0
|
|
371
|
+
*/
|
|
372
|
+
export function getCallSites(frameCount?: number, options?: GetCallSitesOptions): CallSiteObject[];
|
|
373
|
+
export function getCallSites(options: GetCallSitesOptions): CallSiteObject[];
|
|
374
|
+
/**
|
|
375
|
+
* Returns the string name for a numeric error code that comes from a Node.js API.
|
|
376
|
+
* The mapping between error codes and error names is platform-dependent.
|
|
377
|
+
* See `Common System Errors` for the names of common errors.
|
|
378
|
+
*
|
|
379
|
+
* ```js
|
|
380
|
+
* fs.access('file/that/does/not/exist', (err) => {
|
|
381
|
+
* const name = util.getSystemErrorName(err.errno);
|
|
382
|
+
* console.error(name); // ENOENT
|
|
383
|
+
* });
|
|
384
|
+
* ```
|
|
385
|
+
* @since v9.7.0
|
|
386
|
+
*/
|
|
387
|
+
export function getSystemErrorName(err: number): string;
|
|
388
|
+
/**
|
|
389
|
+
* Enable or disable printing a stack trace on `SIGINT`. The API is only available on the main thread.
|
|
390
|
+
* @since 24.6.0
|
|
391
|
+
*/
|
|
392
|
+
export function setTraceSigInt(enable: boolean): void;
|
|
393
|
+
/**
|
|
394
|
+
* Returns a Map of all system error codes available from the Node.js API.
|
|
395
|
+
* The mapping between error codes and error names is platform-dependent.
|
|
396
|
+
* See `Common System Errors` for the names of common errors.
|
|
397
|
+
*
|
|
398
|
+
* ```js
|
|
399
|
+
* fs.access('file/that/does/not/exist', (err) => {
|
|
400
|
+
* const errorMap = util.getSystemErrorMap();
|
|
401
|
+
* const name = errorMap.get(err.errno);
|
|
402
|
+
* console.error(name); // ENOENT
|
|
403
|
+
* });
|
|
404
|
+
* ```
|
|
405
|
+
* @since v16.0.0, v14.17.0
|
|
406
|
+
*/
|
|
407
|
+
export function getSystemErrorMap(): Map<number, [string, string]>;
|
|
408
|
+
/**
|
|
409
|
+
* Returns the string message for a numeric error code that comes from a Node.js
|
|
410
|
+
* API.
|
|
411
|
+
* The mapping between error codes and string messages is platform-dependent.
|
|
412
|
+
*
|
|
413
|
+
* ```js
|
|
414
|
+
* fs.access('file/that/does/not/exist', (err) => {
|
|
415
|
+
* const message = util.getSystemErrorMessage(err.errno);
|
|
416
|
+
* console.error(message); // no such file or directory
|
|
417
|
+
* });
|
|
418
|
+
* ```
|
|
419
|
+
* @since v22.12.0
|
|
420
|
+
*/
|
|
421
|
+
export function getSystemErrorMessage(err: number): string;
|
|
422
|
+
/**
|
|
423
|
+
* Returns the `string` after replacing any surrogate code points
|
|
424
|
+
* (or equivalently, any unpaired surrogate code units) with the
|
|
425
|
+
* Unicode "replacement character" U+FFFD.
|
|
426
|
+
* @since v16.8.0, v14.18.0
|
|
427
|
+
*/
|
|
428
|
+
export function toUSVString(string: string): string;
|
|
429
|
+
/**
|
|
430
|
+
* Creates and returns an `AbortController` instance whose `AbortSignal` is marked
|
|
431
|
+
* as transferable and can be used with `structuredClone()` or `postMessage()`.
|
|
432
|
+
* @since v18.11.0
|
|
433
|
+
* @returns A transferable AbortController
|
|
434
|
+
*/
|
|
435
|
+
export function transferableAbortController(): AbortController;
|
|
436
|
+
/**
|
|
437
|
+
* Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`.
|
|
438
|
+
*
|
|
439
|
+
* ```js
|
|
440
|
+
* const signal = transferableAbortSignal(AbortSignal.timeout(100));
|
|
441
|
+
* const channel = new MessageChannel();
|
|
442
|
+
* channel.port2.postMessage(signal, [signal]);
|
|
443
|
+
* ```
|
|
444
|
+
* @since v18.11.0
|
|
445
|
+
* @param signal The AbortSignal
|
|
446
|
+
* @returns The same AbortSignal
|
|
447
|
+
*/
|
|
448
|
+
export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
|
|
449
|
+
/**
|
|
450
|
+
* Listens to abort event on the provided `signal` and returns a promise that resolves when the `signal` is aborted.
|
|
451
|
+
* If `resource` is provided, it weakly references the operation's associated object,
|
|
452
|
+
* so if `resource` is garbage collected before the `signal` aborts,
|
|
453
|
+
* then returned promise shall remain pending.
|
|
454
|
+
* This prevents memory leaks in long-running or non-cancelable operations.
|
|
455
|
+
*
|
|
456
|
+
* ```js
|
|
457
|
+
* import { aborted } from 'node:util';
|
|
458
|
+
*
|
|
459
|
+
* // Obtain an object with an abortable signal, like a custom resource or operation.
|
|
460
|
+
* const dependent = obtainSomethingAbortable();
|
|
461
|
+
*
|
|
462
|
+
* // Pass `dependent` as the resource, indicating the promise should only resolve
|
|
463
|
+
* // if `dependent` is still in memory when the signal is aborted.
|
|
464
|
+
* aborted(dependent.signal, dependent).then(() => {
|
|
465
|
+
* // This code runs when `dependent` is aborted.
|
|
466
|
+
* console.log('Dependent resource was aborted.');
|
|
467
|
+
* });
|
|
468
|
+
*
|
|
469
|
+
* // Simulate an event that triggers the abort.
|
|
470
|
+
* dependent.on('event', () => {
|
|
471
|
+
* dependent.abort(); // This will cause the `aborted` promise to resolve.
|
|
472
|
+
* });
|
|
473
|
+
* ```
|
|
474
|
+
* @since v19.7.0
|
|
475
|
+
* @param resource Any non-null object tied to the abortable operation and held weakly.
|
|
476
|
+
* If `resource` is garbage collected before the `signal` aborts, the promise remains pending,
|
|
477
|
+
* allowing Node.js to stop tracking it.
|
|
478
|
+
* This helps prevent memory leaks in long-running or non-cancelable operations.
|
|
479
|
+
*/
|
|
480
|
+
export function aborted(signal: AbortSignal, resource: any): Promise<void>;
|
|
481
|
+
/**
|
|
482
|
+
* The `util.inspect()` method returns a string representation of `object` that is
|
|
483
|
+
* intended for debugging. The output of `util.inspect` may change at any time
|
|
484
|
+
* and should not be depended upon programmatically. Additional `options` may be
|
|
485
|
+
* passed that alter the result.
|
|
486
|
+
* `util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
|
|
487
|
+
* property to make an identifiable tag for an inspected value.
|
|
488
|
+
*
|
|
489
|
+
* ```js
|
|
490
|
+
* class Foo {
|
|
491
|
+
* get [Symbol.toStringTag]() {
|
|
492
|
+
* return 'bar';
|
|
493
|
+
* }
|
|
494
|
+
* }
|
|
495
|
+
*
|
|
496
|
+
* class Bar {}
|
|
497
|
+
*
|
|
498
|
+
* const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } });
|
|
499
|
+
*
|
|
500
|
+
* util.inspect(new Foo()); // 'Foo [bar] {}'
|
|
501
|
+
* util.inspect(new Bar()); // 'Bar {}'
|
|
502
|
+
* util.inspect(baz); // '[foo] {}'
|
|
503
|
+
* ```
|
|
504
|
+
*
|
|
505
|
+
* Circular references point to their anchor by using a reference index:
|
|
506
|
+
*
|
|
507
|
+
* ```js
|
|
508
|
+
* import { inspect } from 'node:util';
|
|
509
|
+
*
|
|
510
|
+
* const obj = {};
|
|
511
|
+
* obj.a = [obj];
|
|
512
|
+
* obj.b = {};
|
|
513
|
+
* obj.b.inner = obj.b;
|
|
514
|
+
* obj.b.obj = obj;
|
|
515
|
+
*
|
|
516
|
+
* console.log(inspect(obj));
|
|
517
|
+
* // <ref *1> {
|
|
518
|
+
* // a: [ [Circular *1] ],
|
|
519
|
+
* // b: <ref *2> { inner: [Circular *2], obj: [Circular *1] }
|
|
520
|
+
* // }
|
|
521
|
+
* ```
|
|
522
|
+
*
|
|
523
|
+
* The following example inspects all properties of the `util` object:
|
|
524
|
+
*
|
|
525
|
+
* ```js
|
|
526
|
+
* import util from 'node:util';
|
|
527
|
+
*
|
|
528
|
+
* console.log(util.inspect(util, { showHidden: true, depth: null }));
|
|
529
|
+
* ```
|
|
530
|
+
*
|
|
531
|
+
* The following example highlights the effect of the `compact` option:
|
|
532
|
+
*
|
|
533
|
+
* ```js
|
|
534
|
+
* import { inspect } from 'node:util';
|
|
535
|
+
*
|
|
536
|
+
* const o = {
|
|
537
|
+
* a: [1, 2, [[
|
|
538
|
+
* 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' +
|
|
539
|
+
* 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.',
|
|
540
|
+
* 'test',
|
|
541
|
+
* 'foo']], 4],
|
|
542
|
+
* b: new Map([['za', 1], ['zb', 'test']]),
|
|
543
|
+
* };
|
|
544
|
+
* console.log(inspect(o, { compact: true, depth: 5, breakLength: 80 }));
|
|
545
|
+
*
|
|
546
|
+
* // { a:
|
|
547
|
+
* // [ 1,
|
|
548
|
+
* // 2,
|
|
549
|
+
* // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line
|
|
550
|
+
* // 'test',
|
|
551
|
+
* // 'foo' ] ],
|
|
552
|
+
* // 4 ],
|
|
553
|
+
* // b: Map(2) { 'za' => 1, 'zb' => 'test' } }
|
|
554
|
+
*
|
|
555
|
+
* // Setting `compact` to false or an integer creates more reader friendly output.
|
|
556
|
+
* console.log(inspect(o, { compact: false, depth: 5, breakLength: 80 }));
|
|
557
|
+
*
|
|
558
|
+
* // {
|
|
559
|
+
* // a: [
|
|
560
|
+
* // 1,
|
|
561
|
+
* // 2,
|
|
562
|
+
* // [
|
|
563
|
+
* // [
|
|
564
|
+
* // 'Lorem ipsum dolor sit amet,\n' +
|
|
565
|
+
* // 'consectetur adipiscing elit, sed do eiusmod \n' +
|
|
566
|
+
* // 'tempor incididunt ut labore et dolore magna aliqua.',
|
|
567
|
+
* // 'test',
|
|
568
|
+
* // 'foo'
|
|
569
|
+
* // ]
|
|
570
|
+
* // ],
|
|
571
|
+
* // 4
|
|
572
|
+
* // ],
|
|
573
|
+
* // b: Map(2) {
|
|
574
|
+
* // 'za' => 1,
|
|
575
|
+
* // 'zb' => 'test'
|
|
576
|
+
* // }
|
|
577
|
+
* // }
|
|
578
|
+
*
|
|
579
|
+
* // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a
|
|
580
|
+
* // single line.
|
|
581
|
+
* ```
|
|
582
|
+
*
|
|
583
|
+
* The `showHidden` option allows `WeakMap` and `WeakSet` entries to be
|
|
584
|
+
* inspected. If there are more entries than `maxArrayLength`, there is no
|
|
585
|
+
* guarantee which entries are displayed. That means retrieving the same
|
|
586
|
+
* `WeakSet` entries twice may result in different output. Furthermore, entries
|
|
587
|
+
* with no remaining strong references may be garbage collected at any time.
|
|
588
|
+
*
|
|
589
|
+
* ```js
|
|
590
|
+
* import { inspect } from 'node:util';
|
|
591
|
+
*
|
|
592
|
+
* const obj = { a: 1 };
|
|
593
|
+
* const obj2 = { b: 2 };
|
|
594
|
+
* const weakSet = new WeakSet([obj, obj2]);
|
|
595
|
+
*
|
|
596
|
+
* console.log(inspect(weakSet, { showHidden: true }));
|
|
597
|
+
* // WeakSet { { a: 1 }, { b: 2 } }
|
|
598
|
+
* ```
|
|
599
|
+
*
|
|
600
|
+
* The `sorted` option ensures that an object's property insertion order does not
|
|
601
|
+
* impact the result of `util.inspect()`.
|
|
602
|
+
*
|
|
603
|
+
* ```js
|
|
604
|
+
* import { inspect } from 'node:util';
|
|
605
|
+
* import assert from 'node:assert';
|
|
606
|
+
*
|
|
607
|
+
* const o1 = {
|
|
608
|
+
* b: [2, 3, 1],
|
|
609
|
+
* a: '`a` comes before `b`',
|
|
610
|
+
* c: new Set([2, 3, 1]),
|
|
611
|
+
* };
|
|
612
|
+
* console.log(inspect(o1, { sorted: true }));
|
|
613
|
+
* // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } }
|
|
614
|
+
* console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) }));
|
|
615
|
+
* // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' }
|
|
616
|
+
*
|
|
617
|
+
* const o2 = {
|
|
618
|
+
* c: new Set([2, 1, 3]),
|
|
619
|
+
* a: '`a` comes before `b`',
|
|
620
|
+
* b: [2, 3, 1],
|
|
621
|
+
* };
|
|
622
|
+
* assert.strict.equal(
|
|
623
|
+
* inspect(o1, { sorted: true }),
|
|
624
|
+
* inspect(o2, { sorted: true }),
|
|
625
|
+
* );
|
|
626
|
+
* ```
|
|
627
|
+
*
|
|
628
|
+
* The `numericSeparator` option adds an underscore every three digits to all
|
|
629
|
+
* numbers.
|
|
630
|
+
*
|
|
631
|
+
* ```js
|
|
632
|
+
* import { inspect } from 'node:util';
|
|
633
|
+
*
|
|
634
|
+
* const thousand = 1000;
|
|
635
|
+
* const million = 1000000;
|
|
636
|
+
* const bigNumber = 123456789n;
|
|
637
|
+
* const bigDecimal = 1234.12345;
|
|
638
|
+
*
|
|
639
|
+
* console.log(inspect(thousand, { numericSeparator: true }));
|
|
640
|
+
* // 1_000
|
|
641
|
+
* console.log(inspect(million, { numericSeparator: true }));
|
|
642
|
+
* // 1_000_000
|
|
643
|
+
* console.log(inspect(bigNumber, { numericSeparator: true }));
|
|
644
|
+
* // 123_456_789n
|
|
645
|
+
* console.log(inspect(bigDecimal, { numericSeparator: true }));
|
|
646
|
+
* // 1_234.123_45
|
|
647
|
+
* ```
|
|
648
|
+
*
|
|
649
|
+
* `util.inspect()` is a synchronous method intended for debugging. Its maximum
|
|
650
|
+
* output length is approximately 128 MiB. Inputs that result in longer output will
|
|
651
|
+
* be truncated.
|
|
652
|
+
* @since v0.3.0
|
|
653
|
+
* @param object Any JavaScript primitive or `Object`.
|
|
654
|
+
* @return The representation of `object`.
|
|
655
|
+
*/
|
|
656
|
+
export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
657
|
+
export function inspect(object: any, options?: InspectOptions): string;
|
|
658
|
+
export namespace inspect {
|
|
659
|
+
const custom: unique symbol;
|
|
660
|
+
let colors: InspectColors;
|
|
661
|
+
let styles: InspectStyles;
|
|
662
|
+
let defaultOptions: InspectOptions;
|
|
663
|
+
let replDefaults: InspectOptions;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray).
|
|
667
|
+
*
|
|
668
|
+
* Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`.
|
|
669
|
+
*
|
|
670
|
+
* ```js
|
|
671
|
+
* import util from 'node:util';
|
|
672
|
+
*
|
|
673
|
+
* util.isArray([]);
|
|
674
|
+
* // Returns: true
|
|
675
|
+
* util.isArray(new Array());
|
|
676
|
+
* // Returns: true
|
|
677
|
+
* util.isArray({});
|
|
678
|
+
* // Returns: false
|
|
679
|
+
* ```
|
|
680
|
+
* @since v0.6.0
|
|
681
|
+
* @deprecated Since v4.0.0 - Use `isArray` instead.
|
|
682
|
+
*/
|
|
683
|
+
export function isArray(object: unknown): object is unknown[];
|
|
684
|
+
/**
|
|
685
|
+
* Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and
|
|
686
|
+
* `extends` keywords to get language level inheritance support. Also note
|
|
687
|
+
* that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
|
|
688
|
+
*
|
|
689
|
+
* Inherit the prototype methods from one
|
|
690
|
+
* [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
|
|
691
|
+
* prototype of `constructor` will be set to a new object created from
|
|
692
|
+
* `superConstructor`.
|
|
693
|
+
*
|
|
694
|
+
* This mainly adds some input validation on top of
|
|
695
|
+
* `Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
|
|
696
|
+
* As an additional convenience, `superConstructor` will be accessible
|
|
697
|
+
* through the `constructor.super_` property.
|
|
698
|
+
*
|
|
699
|
+
* ```js
|
|
700
|
+
* const util = require('node:util');
|
|
701
|
+
* const EventEmitter = require('node:events');
|
|
702
|
+
*
|
|
703
|
+
* function MyStream() {
|
|
704
|
+
* EventEmitter.call(this);
|
|
705
|
+
* }
|
|
706
|
+
*
|
|
707
|
+
* util.inherits(MyStream, EventEmitter);
|
|
708
|
+
*
|
|
709
|
+
* MyStream.prototype.write = function(data) {
|
|
710
|
+
* this.emit('data', data);
|
|
711
|
+
* };
|
|
712
|
+
*
|
|
713
|
+
* const stream = new MyStream();
|
|
714
|
+
*
|
|
715
|
+
* console.log(stream instanceof EventEmitter); // true
|
|
716
|
+
* console.log(MyStream.super_ === EventEmitter); // true
|
|
717
|
+
*
|
|
718
|
+
* stream.on('data', (data) => {
|
|
719
|
+
* console.log(`Received data: "${data}"`);
|
|
720
|
+
* });
|
|
721
|
+
* stream.write('It works!'); // Received data: "It works!"
|
|
722
|
+
* ```
|
|
723
|
+
*
|
|
724
|
+
* ES6 example using `class` and `extends`:
|
|
725
|
+
*
|
|
726
|
+
* ```js
|
|
727
|
+
* import EventEmitter from 'node:events';
|
|
728
|
+
*
|
|
729
|
+
* class MyStream extends EventEmitter {
|
|
730
|
+
* write(data) {
|
|
731
|
+
* this.emit('data', data);
|
|
732
|
+
* }
|
|
733
|
+
* }
|
|
734
|
+
*
|
|
735
|
+
* const stream = new MyStream();
|
|
736
|
+
*
|
|
737
|
+
* stream.on('data', (data) => {
|
|
738
|
+
* console.log(`Received data: "${data}"`);
|
|
739
|
+
* });
|
|
740
|
+
* stream.write('With ES6');
|
|
741
|
+
* ```
|
|
742
|
+
* @since v0.3.0
|
|
743
|
+
* @legacy Use ES2015 class syntax and `extends` keyword instead.
|
|
744
|
+
*/
|
|
745
|
+
export function inherits(constructor: unknown, superConstructor: unknown): void;
|
|
746
|
+
/**
|
|
747
|
+
* The `util.convertProcessSignalToExitCode()` method converts a signal name to its
|
|
748
|
+
* corresponding POSIX exit code. Following the POSIX standard, the exit code
|
|
749
|
+
* for a process terminated by a signal is calculated as `128 + signal number`.
|
|
750
|
+
*
|
|
751
|
+
* If `signal` is not a valid signal name, then an error will be thrown. See
|
|
752
|
+
* [`signal(7)`](https://man7.org/linux/man-pages/man7/signal.7.html) for a list of valid signals.
|
|
753
|
+
*
|
|
754
|
+
* ```js
|
|
755
|
+
* import { convertProcessSignalToExitCode } from 'node:util';
|
|
756
|
+
*
|
|
757
|
+
* console.log(convertProcessSignalToExitCode('SIGTERM')); // 143 (128 + 15)
|
|
758
|
+
* console.log(convertProcessSignalToExitCode('SIGKILL')); // 137 (128 + 9)
|
|
759
|
+
* ```
|
|
760
|
+
*
|
|
761
|
+
* This is particularly useful when working with processes to determine
|
|
762
|
+
* the exit code based on the signal that terminated the process.
|
|
763
|
+
* @since v25.4.0
|
|
764
|
+
* @param signal A signal name (e.g. `'SIGTERM'`)
|
|
765
|
+
* @returns The exit code corresponding to `signal`
|
|
766
|
+
*/
|
|
767
|
+
export function convertProcessSignalToExitCode(signal: NodeJS.Signals): number;
|
|
768
|
+
export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void;
|
|
769
|
+
export interface DebugLogger extends DebugLoggerFunction {
|
|
770
|
+
/**
|
|
771
|
+
* The `util.debuglog().enabled` getter is used to create a test that can be used
|
|
772
|
+
* in conditionals based on the existence of the `NODE_DEBUG` environment variable.
|
|
773
|
+
* If the `section` name appears within the value of that environment variable,
|
|
774
|
+
* then the returned value will be `true`. If not, then the returned value will be
|
|
775
|
+
* `false`.
|
|
776
|
+
*
|
|
777
|
+
* ```js
|
|
778
|
+
* import { debuglog } from 'node:util';
|
|
779
|
+
* const enabled = debuglog('foo').enabled;
|
|
780
|
+
* if (enabled) {
|
|
781
|
+
* console.log('hello from foo [%d]', 123);
|
|
782
|
+
* }
|
|
783
|
+
* ```
|
|
784
|
+
*
|
|
785
|
+
* If this program is run with `NODE_DEBUG=foo` in the environment, then it will
|
|
786
|
+
* output something like:
|
|
787
|
+
*
|
|
788
|
+
* ```console
|
|
789
|
+
* hello from foo [123]
|
|
790
|
+
* ```
|
|
791
|
+
*/
|
|
792
|
+
enabled: boolean;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* The `util.debuglog()` method is used to create a function that conditionally
|
|
796
|
+
* writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`
|
|
797
|
+
* environment variable. If the `section` name appears within the value of that
|
|
798
|
+
* environment variable, then the returned function operates similar to
|
|
799
|
+
* `console.error()`. If not, then the returned function is a no-op.
|
|
800
|
+
*
|
|
801
|
+
* ```js
|
|
802
|
+
* import { debuglog } from 'node:util';
|
|
803
|
+
* const log = debuglog('foo');
|
|
804
|
+
*
|
|
805
|
+
* log('hello from foo [%d]', 123);
|
|
806
|
+
* ```
|
|
807
|
+
*
|
|
808
|
+
* If this program is run with `NODE_DEBUG=foo` in the environment, then
|
|
809
|
+
* it will output something like:
|
|
810
|
+
*
|
|
811
|
+
* ```console
|
|
812
|
+
* FOO 3245: hello from foo [123]
|
|
813
|
+
* ```
|
|
814
|
+
*
|
|
815
|
+
* where `3245` is the process id. If it is not run with that
|
|
816
|
+
* environment variable set, then it will not print anything.
|
|
817
|
+
*
|
|
818
|
+
* The `section` supports wildcard also:
|
|
819
|
+
*
|
|
820
|
+
* ```js
|
|
821
|
+
* import { debuglog } from 'node:util';
|
|
822
|
+
* const log = debuglog('foo-bar');
|
|
823
|
+
*
|
|
824
|
+
* log('hi there, it\'s foo-bar [%d]', 2333);
|
|
825
|
+
* ```
|
|
826
|
+
*
|
|
827
|
+
* if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
|
|
828
|
+
* something like:
|
|
829
|
+
*
|
|
830
|
+
* ```console
|
|
831
|
+
* FOO-BAR 3257: hi there, it's foo-bar [2333]
|
|
832
|
+
* ```
|
|
833
|
+
*
|
|
834
|
+
* Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`
|
|
835
|
+
* environment variable: `NODE_DEBUG=fs,net,tls`.
|
|
836
|
+
*
|
|
837
|
+
* The optional `callback` argument can be used to replace the logging function
|
|
838
|
+
* with a different function that doesn't have any initialization or
|
|
839
|
+
* unnecessary wrapping.
|
|
840
|
+
*
|
|
841
|
+
* ```js
|
|
842
|
+
* import { debuglog } from 'node:util';
|
|
843
|
+
* let log = debuglog('internals', (debug) => {
|
|
844
|
+
* // Replace with a logging function that optimizes out
|
|
845
|
+
* // testing if the section is enabled
|
|
846
|
+
* log = debug;
|
|
847
|
+
* });
|
|
848
|
+
* ```
|
|
849
|
+
* @since v0.11.3
|
|
850
|
+
* @param section A string identifying the portion of the application for which the `debuglog` function is being created.
|
|
851
|
+
* @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function.
|
|
852
|
+
* @return The logging function
|
|
853
|
+
*/
|
|
854
|
+
export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
|
|
855
|
+
export { debuglog as debug };
|
|
856
|
+
export interface DeprecateOptions {
|
|
857
|
+
/**
|
|
858
|
+
* When false do not change the prototype of object
|
|
859
|
+
* while emitting the deprecation warning.
|
|
860
|
+
* @since v25.2.0
|
|
861
|
+
* @default true
|
|
862
|
+
*/
|
|
863
|
+
modifyPrototype?: boolean | undefined;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* The `util.deprecate()` method wraps `fn` (which may be a function or class) in
|
|
867
|
+
* such a way that it is marked as deprecated.
|
|
868
|
+
*
|
|
869
|
+
* ```js
|
|
870
|
+
* import { deprecate } from 'node:util';
|
|
871
|
+
*
|
|
872
|
+
* export const obsoleteFunction = deprecate(() => {
|
|
873
|
+
* // Do something here.
|
|
874
|
+
* }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
|
|
875
|
+
* ```
|
|
876
|
+
*
|
|
877
|
+
* When called, `util.deprecate()` will return a function that will emit a
|
|
878
|
+
* `DeprecationWarning` using the `'warning'` event. The warning will
|
|
879
|
+
* be emitted and printed to `stderr` the first time the returned function is
|
|
880
|
+
* called. After the warning is emitted, the wrapped function is called without
|
|
881
|
+
* emitting a warning.
|
|
882
|
+
*
|
|
883
|
+
* If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
|
|
884
|
+
* the warning will be emitted only once for that `code`.
|
|
885
|
+
*
|
|
886
|
+
* ```js
|
|
887
|
+
* import { deprecate } from 'node:util';
|
|
888
|
+
*
|
|
889
|
+
* const fn1 = deprecate(
|
|
890
|
+
* () => 'a value',
|
|
891
|
+
* 'deprecation message',
|
|
892
|
+
* 'DEP0001',
|
|
893
|
+
* );
|
|
894
|
+
* const fn2 = deprecate(
|
|
895
|
+
* () => 'a different value',
|
|
896
|
+
* 'other dep message',
|
|
897
|
+
* 'DEP0001',
|
|
898
|
+
* );
|
|
899
|
+
* fn1(); // Emits a deprecation warning with code DEP0001
|
|
900
|
+
* fn2(); // Does not emit a deprecation warning because it has the same code
|
|
901
|
+
* ```
|
|
902
|
+
*
|
|
903
|
+
* If either the `--no-deprecation` or `--no-warnings` command-line flags are
|
|
904
|
+
* used, or if the `process.noDeprecation` property is set to `true` _prior_ to
|
|
905
|
+
* the first deprecation warning, the `util.deprecate()` method does nothing.
|
|
906
|
+
*
|
|
907
|
+
* If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
|
|
908
|
+
* or the `process.traceDeprecation` property is set to `true`, a warning and a
|
|
909
|
+
* stack trace are printed to `stderr` the first time the deprecated function is
|
|
910
|
+
* called.
|
|
911
|
+
*
|
|
912
|
+
* If the `--throw-deprecation` command-line flag is set, or the
|
|
913
|
+
* `process.throwDeprecation` property is set to `true`, then an exception will be
|
|
914
|
+
* thrown when the deprecated function is called.
|
|
915
|
+
*
|
|
916
|
+
* The `--throw-deprecation` command-line flag and `process.throwDeprecation`
|
|
917
|
+
* property take precedence over `--trace-deprecation` and
|
|
918
|
+
* `process.traceDeprecation`.
|
|
919
|
+
* @since v0.8.0
|
|
920
|
+
* @param fn The function that is being deprecated.
|
|
921
|
+
* @param msg A warning message to display when the deprecated function is invoked.
|
|
922
|
+
* @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
|
|
923
|
+
* @return The deprecated function wrapped to emit a warning.
|
|
924
|
+
*/
|
|
925
|
+
export function deprecate<T extends Function>(fn: T, msg: string, code?: string, options?: DeprecateOptions): T;
|
|
926
|
+
export interface IsDeepStrictEqualOptions {
|
|
927
|
+
/**
|
|
928
|
+
* If `true`, prototype and constructor
|
|
929
|
+
* comparison is skipped during deep strict equality check.
|
|
930
|
+
* @since v24.9.0
|
|
931
|
+
* @default false
|
|
932
|
+
*/
|
|
933
|
+
skipPrototype?: boolean | undefined;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Returns `true` if there is deep strict equality between `val1` and `val2`.
|
|
937
|
+
* Otherwise, returns `false`.
|
|
938
|
+
*
|
|
939
|
+
* See `assert.deepStrictEqual()` for more information about deep strict
|
|
940
|
+
* equality.
|
|
941
|
+
* @since v9.0.0
|
|
942
|
+
*/
|
|
943
|
+
export function isDeepStrictEqual(val1: unknown, val2: unknown, options?: IsDeepStrictEqualOptions): boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Returns `str` with any ANSI escape codes removed.
|
|
946
|
+
*
|
|
947
|
+
* ```js
|
|
948
|
+
* console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
|
|
949
|
+
* // Prints "value"
|
|
950
|
+
* ```
|
|
951
|
+
* @since v16.11.0
|
|
952
|
+
*/
|
|
953
|
+
export function stripVTControlCharacters(str: string): string;
|
|
954
|
+
/**
|
|
955
|
+
* Takes an `async` function (or a function that returns a `Promise`) and returns a
|
|
956
|
+
* function following the error-first callback style, i.e. taking
|
|
957
|
+
* an `(err, value) => ...` callback as the last argument. In the callback, the
|
|
958
|
+
* first argument will be the rejection reason (or `null` if the `Promise`
|
|
959
|
+
* resolved), and the second argument will be the resolved value.
|
|
960
|
+
*
|
|
961
|
+
* ```js
|
|
962
|
+
* import { callbackify } from 'node:util';
|
|
963
|
+
*
|
|
964
|
+
* async function fn() {
|
|
965
|
+
* return 'hello world';
|
|
966
|
+
* }
|
|
967
|
+
* const callbackFunction = callbackify(fn);
|
|
968
|
+
*
|
|
969
|
+
* callbackFunction((err, ret) => {
|
|
970
|
+
* if (err) throw err;
|
|
971
|
+
* console.log(ret);
|
|
972
|
+
* });
|
|
973
|
+
* ```
|
|
974
|
+
*
|
|
975
|
+
* Will print:
|
|
976
|
+
*
|
|
977
|
+
* ```text
|
|
978
|
+
* hello world
|
|
979
|
+
* ```
|
|
980
|
+
*
|
|
981
|
+
* The callback is executed asynchronously, and will have a limited stack trace.
|
|
982
|
+
* If the callback throws, the process will emit an `'uncaughtException'`
|
|
983
|
+
* event, and if not handled will exit.
|
|
984
|
+
*
|
|
985
|
+
* Since `null` has a special meaning as the first argument to a callback, if a
|
|
986
|
+
* wrapped function rejects a `Promise` with a falsy value as a reason, the value
|
|
987
|
+
* is wrapped in an `Error` with the original value stored in a field named
|
|
988
|
+
* `reason`.
|
|
989
|
+
*
|
|
990
|
+
* ```js
|
|
991
|
+
* function fn() {
|
|
992
|
+
* return Promise.reject(null);
|
|
993
|
+
* }
|
|
994
|
+
* const callbackFunction = util.callbackify(fn);
|
|
995
|
+
*
|
|
996
|
+
* callbackFunction((err, ret) => {
|
|
997
|
+
* // When the Promise was rejected with `null` it is wrapped with an Error and
|
|
998
|
+
* // the original value is stored in `reason`.
|
|
999
|
+
* err && Object.hasOwn(err, 'reason') && err.reason === null; // true
|
|
1000
|
+
* });
|
|
1001
|
+
* ```
|
|
1002
|
+
* @since v8.2.0
|
|
1003
|
+
* @param fn An `async` function
|
|
1004
|
+
* @return a callback style function
|
|
1005
|
+
*/
|
|
1006
|
+
export function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1007
|
+
export function callbackify<TResult>(
|
|
1008
|
+
fn: () => Promise<TResult>,
|
|
1009
|
+
): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
|
|
1010
|
+
export function callbackify<T1>(
|
|
1011
|
+
fn: (arg1: T1) => Promise<void>,
|
|
1012
|
+
): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1013
|
+
export function callbackify<T1, TResult>(
|
|
1014
|
+
fn: (arg1: T1) => Promise<TResult>,
|
|
1015
|
+
): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
|
|
1016
|
+
export function callbackify<T1, T2>(
|
|
1017
|
+
fn: (arg1: T1, arg2: T2) => Promise<void>,
|
|
1018
|
+
): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1019
|
+
export function callbackify<T1, T2, TResult>(
|
|
1020
|
+
fn: (arg1: T1, arg2: T2) => Promise<TResult>,
|
|
1021
|
+
): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
1022
|
+
export function callbackify<T1, T2, T3>(
|
|
1023
|
+
fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>,
|
|
1024
|
+
): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1025
|
+
export function callbackify<T1, T2, T3, TResult>(
|
|
1026
|
+
fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>,
|
|
1027
|
+
): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
1028
|
+
export function callbackify<T1, T2, T3, T4>(
|
|
1029
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>,
|
|
1030
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1031
|
+
export function callbackify<T1, T2, T3, T4, TResult>(
|
|
1032
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>,
|
|
1033
|
+
): (
|
|
1034
|
+
arg1: T1,
|
|
1035
|
+
arg2: T2,
|
|
1036
|
+
arg3: T3,
|
|
1037
|
+
arg4: T4,
|
|
1038
|
+
callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
|
|
1039
|
+
) => void;
|
|
1040
|
+
export function callbackify<T1, T2, T3, T4, T5>(
|
|
1041
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>,
|
|
1042
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
1043
|
+
export function callbackify<T1, T2, T3, T4, T5, TResult>(
|
|
1044
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
|
|
1045
|
+
): (
|
|
1046
|
+
arg1: T1,
|
|
1047
|
+
arg2: T2,
|
|
1048
|
+
arg3: T3,
|
|
1049
|
+
arg4: T4,
|
|
1050
|
+
arg5: T5,
|
|
1051
|
+
callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
|
|
1052
|
+
) => void;
|
|
1053
|
+
export function callbackify<T1, T2, T3, T4, T5, T6>(
|
|
1054
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
|
|
1055
|
+
): (
|
|
1056
|
+
arg1: T1,
|
|
1057
|
+
arg2: T2,
|
|
1058
|
+
arg3: T3,
|
|
1059
|
+
arg4: T4,
|
|
1060
|
+
arg5: T5,
|
|
1061
|
+
arg6: T6,
|
|
1062
|
+
callback: (err: NodeJS.ErrnoException) => void,
|
|
1063
|
+
) => void;
|
|
1064
|
+
export function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
|
|
1065
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>,
|
|
1066
|
+
): (
|
|
1067
|
+
arg1: T1,
|
|
1068
|
+
arg2: T2,
|
|
1069
|
+
arg3: T3,
|
|
1070
|
+
arg4: T4,
|
|
1071
|
+
arg5: T5,
|
|
1072
|
+
arg6: T6,
|
|
1073
|
+
callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
|
|
1074
|
+
) => void;
|
|
1075
|
+
export interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
|
|
1076
|
+
__promisify__: TCustom;
|
|
1077
|
+
}
|
|
1078
|
+
export interface CustomPromisifySymbol<TCustom extends Function> extends Function {
|
|
1079
|
+
[promisify.custom]: TCustom;
|
|
1080
|
+
}
|
|
1081
|
+
export type CustomPromisify<TCustom extends Function> =
|
|
1082
|
+
| CustomPromisifySymbol<TCustom>
|
|
1083
|
+
| CustomPromisifyLegacy<TCustom>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Takes a function following the common error-first callback style, i.e. taking
|
|
1086
|
+
* an `(err, value) => ...` callback as the last argument, and returns a version
|
|
1087
|
+
* that returns promises.
|
|
1088
|
+
*
|
|
1089
|
+
* ```js
|
|
1090
|
+
* import { promisify } from 'node:util';
|
|
1091
|
+
* import { stat } from 'node:fs';
|
|
1092
|
+
*
|
|
1093
|
+
* const promisifiedStat = promisify(stat);
|
|
1094
|
+
* promisifiedStat('.').then((stats) => {
|
|
1095
|
+
* // Do something with `stats`
|
|
1096
|
+
* }).catch((error) => {
|
|
1097
|
+
* // Handle the error.
|
|
1098
|
+
* });
|
|
1099
|
+
* ```
|
|
1100
|
+
*
|
|
1101
|
+
* Or, equivalently using `async function`s:
|
|
1102
|
+
*
|
|
1103
|
+
* ```js
|
|
1104
|
+
* import { promisify } from 'node:util';
|
|
1105
|
+
* import { stat } from 'node:fs';
|
|
1106
|
+
*
|
|
1107
|
+
* const promisifiedStat = promisify(stat);
|
|
1108
|
+
*
|
|
1109
|
+
* async function callStat() {
|
|
1110
|
+
* const stats = await promisifiedStat('.');
|
|
1111
|
+
* console.log(`This directory is owned by ${stats.uid}`);
|
|
1112
|
+
* }
|
|
1113
|
+
*
|
|
1114
|
+
* callStat();
|
|
1115
|
+
* ```
|
|
1116
|
+
*
|
|
1117
|
+
* If there is an `original[util.promisify.custom]` property present, `promisify`
|
|
1118
|
+
* will return its value, see [Custom promisified functions](https://nodejs.org/docs/latest-v25.x/api/util.html#custom-promisified-functions).
|
|
1119
|
+
*
|
|
1120
|
+
* `promisify()` assumes that `original` is a function taking a callback as its
|
|
1121
|
+
* final argument in all cases. If `original` is not a function, `promisify()`
|
|
1122
|
+
* will throw an error. If `original` is a function but its last argument is not
|
|
1123
|
+
* an error-first callback, it will still be passed an error-first
|
|
1124
|
+
* callback as its last argument.
|
|
1125
|
+
*
|
|
1126
|
+
* Using `promisify()` on class methods or other methods that use `this` may not
|
|
1127
|
+
* work as expected unless handled specially:
|
|
1128
|
+
*
|
|
1129
|
+
* ```js
|
|
1130
|
+
* import { promisify } from 'node:util';
|
|
1131
|
+
*
|
|
1132
|
+
* class Foo {
|
|
1133
|
+
* constructor() {
|
|
1134
|
+
* this.a = 42;
|
|
1135
|
+
* }
|
|
1136
|
+
*
|
|
1137
|
+
* bar(callback) {
|
|
1138
|
+
* callback(null, this.a);
|
|
1139
|
+
* }
|
|
1140
|
+
* }
|
|
1141
|
+
*
|
|
1142
|
+
* const foo = new Foo();
|
|
1143
|
+
*
|
|
1144
|
+
* const naiveBar = promisify(foo.bar);
|
|
1145
|
+
* // TypeError: Cannot read properties of undefined (reading 'a')
|
|
1146
|
+
* // naiveBar().then(a => console.log(a));
|
|
1147
|
+
*
|
|
1148
|
+
* naiveBar.call(foo).then((a) => console.log(a)); // '42'
|
|
1149
|
+
*
|
|
1150
|
+
* const bindBar = naiveBar.bind(foo);
|
|
1151
|
+
* bindBar().then((a) => console.log(a)); // '42'
|
|
1152
|
+
* ```
|
|
1153
|
+
* @since v8.0.0
|
|
1154
|
+
*/
|
|
1155
|
+
export function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
|
|
1156
|
+
export function promisify<TResult>(
|
|
1157
|
+
fn: (callback: (err: any, result: TResult) => void) => void,
|
|
1158
|
+
): () => Promise<TResult>;
|
|
1159
|
+
export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
|
|
1160
|
+
export function promisify<T1, TResult>(
|
|
1161
|
+
fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void,
|
|
1162
|
+
): (arg1: T1) => Promise<TResult>;
|
|
1163
|
+
export function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
|
|
1164
|
+
export function promisify<T1, T2, TResult>(
|
|
1165
|
+
fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void,
|
|
1166
|
+
): (arg1: T1, arg2: T2) => Promise<TResult>;
|
|
1167
|
+
export function promisify<T1, T2>(
|
|
1168
|
+
fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void,
|
|
1169
|
+
): (arg1: T1, arg2: T2) => Promise<void>;
|
|
1170
|
+
export function promisify<T1, T2, T3, TResult>(
|
|
1171
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void,
|
|
1172
|
+
): (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
|
|
1173
|
+
export function promisify<T1, T2, T3>(
|
|
1174
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void,
|
|
1175
|
+
): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
|
|
1176
|
+
export function promisify<T1, T2, T3, T4, TResult>(
|
|
1177
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
|
|
1178
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
|
|
1179
|
+
export function promisify<T1, T2, T3, T4>(
|
|
1180
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void,
|
|
1181
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
|
|
1182
|
+
export function promisify<T1, T2, T3, T4, T5, TResult>(
|
|
1183
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
|
|
1184
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
|
|
1185
|
+
export function promisify<T1, T2, T3, T4, T5>(
|
|
1186
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
|
|
1187
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
|
|
1188
|
+
export function promisify(fn: Function): Function;
|
|
1189
|
+
export namespace promisify {
|
|
1190
|
+
/**
|
|
1191
|
+
* That can be used to declare custom promisified variants of functions.
|
|
1192
|
+
*/
|
|
1193
|
+
const custom: unique symbol;
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* Stability: 1.1 - Active development
|
|
1197
|
+
* Given an example `.env` file:
|
|
1198
|
+
*
|
|
1199
|
+
* ```js
|
|
1200
|
+
* import { parseEnv } from 'node:util';
|
|
1201
|
+
*
|
|
1202
|
+
* parseEnv('HELLO=world\nHELLO=oh my\n');
|
|
1203
|
+
* // Returns: { HELLO: 'oh my' }
|
|
1204
|
+
* ```
|
|
1205
|
+
* @param content The raw contents of a `.env` file.
|
|
1206
|
+
* @since v20.12.0
|
|
1207
|
+
*/
|
|
1208
|
+
export function parseEnv(content: string): NodeJS.Dict<string>;
|
|
1209
|
+
export interface StyleTextOptions {
|
|
1210
|
+
/**
|
|
1211
|
+
* When true, `stream` is checked to see if it can handle colors.
|
|
1212
|
+
* @default true
|
|
1213
|
+
*/
|
|
1214
|
+
validateStream?: boolean | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* A stream that will be validated if it can be colored.
|
|
1217
|
+
* @default process.stdout
|
|
1218
|
+
*/
|
|
1219
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
1220
|
+
}
|
|
1221
|
+
/**
|
|
1222
|
+
* This function returns a formatted text considering the `format` passed
|
|
1223
|
+
* for printing in a terminal. It is aware of the terminal's capabilities
|
|
1224
|
+
* and acts according to the configuration set via `NO_COLOR`,
|
|
1225
|
+
* `NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
|
|
1226
|
+
*
|
|
1227
|
+
* ```js
|
|
1228
|
+
* import { styleText } from 'node:util';
|
|
1229
|
+
* import { stderr } from 'node:process';
|
|
1230
|
+
*
|
|
1231
|
+
* const successMessage = styleText('green', 'Success!');
|
|
1232
|
+
* console.log(successMessage);
|
|
1233
|
+
*
|
|
1234
|
+
* const errorMessage = styleText(
|
|
1235
|
+
* 'red',
|
|
1236
|
+
* 'Error! Error!',
|
|
1237
|
+
* // Validate if process.stderr has TTY
|
|
1238
|
+
* { stream: stderr },
|
|
1239
|
+
* );
|
|
1240
|
+
* console.error(errorMessage);
|
|
1241
|
+
* ```
|
|
1242
|
+
*
|
|
1243
|
+
* `util.inspect.colors` also provides text formats such as `italic`, and
|
|
1244
|
+
* `underline` and you can combine both:
|
|
1245
|
+
*
|
|
1246
|
+
* ```js
|
|
1247
|
+
* console.log(
|
|
1248
|
+
* util.styleText(['underline', 'italic'], 'My italic underlined message'),
|
|
1249
|
+
* );
|
|
1250
|
+
* ```
|
|
1251
|
+
*
|
|
1252
|
+
* When passing an array of formats, the order of the format applied
|
|
1253
|
+
* is left to right so the following style might overwrite the previous one.
|
|
1254
|
+
*
|
|
1255
|
+
* ```js
|
|
1256
|
+
* console.log(
|
|
1257
|
+
* util.styleText(['red', 'green'], 'text'), // green
|
|
1258
|
+
* );
|
|
1259
|
+
* ```
|
|
1260
|
+
*
|
|
1261
|
+
* The special format value `none` applies no additional styling to the text.
|
|
1262
|
+
*
|
|
1263
|
+
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v25.x/api/util.html#modifiers).
|
|
1264
|
+
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1265
|
+
* @param text The text to to be formatted.
|
|
1266
|
+
* @since v20.12.0
|
|
1267
|
+
*/
|
|
1268
|
+
export function styleText(
|
|
1269
|
+
format: InspectColor | readonly InspectColor[],
|
|
1270
|
+
text: string,
|
|
1271
|
+
options?: StyleTextOptions,
|
|
1272
|
+
): string;
|
|
1273
|
+
/** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
|
|
1274
|
+
// TODO: remove in future major
|
|
1275
|
+
export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
|
|
1276
|
+
//// parseArgs
|
|
1277
|
+
/**
|
|
1278
|
+
* Provides a higher level API for command-line argument parsing than interacting
|
|
1279
|
+
* with `process.argv` directly. Takes a specification for the expected arguments
|
|
1280
|
+
* and returns a structured object with the parsed options and positionals.
|
|
1281
|
+
*
|
|
1282
|
+
* ```js
|
|
1283
|
+
* import { parseArgs } from 'node:util';
|
|
1284
|
+
* const args = ['-f', '--bar', 'b'];
|
|
1285
|
+
* const options = {
|
|
1286
|
+
* foo: {
|
|
1287
|
+
* type: 'boolean',
|
|
1288
|
+
* short: 'f',
|
|
1289
|
+
* },
|
|
1290
|
+
* bar: {
|
|
1291
|
+
* type: 'string',
|
|
1292
|
+
* },
|
|
1293
|
+
* };
|
|
1294
|
+
* const {
|
|
1295
|
+
* values,
|
|
1296
|
+
* positionals,
|
|
1297
|
+
* } = parseArgs({ args, options });
|
|
1298
|
+
* console.log(values, positionals);
|
|
1299
|
+
* // Prints: [Object: null prototype] { foo: true, bar: 'b' } []
|
|
1300
|
+
* ```
|
|
1301
|
+
* @since v18.3.0, v16.17.0
|
|
1302
|
+
* @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties:
|
|
1303
|
+
* @return The parsed command line arguments:
|
|
1304
|
+
*/
|
|
1305
|
+
export function parseArgs<T extends ParseArgsConfig>(config?: T): ParsedResults<T>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Type of argument used in {@link parseArgs}.
|
|
1308
|
+
*/
|
|
1309
|
+
export type ParseArgsOptionsType = "boolean" | "string";
|
|
1310
|
+
export interface ParseArgsOptionDescriptor {
|
|
1311
|
+
/**
|
|
1312
|
+
* Type of argument.
|
|
1313
|
+
*/
|
|
1314
|
+
type: ParseArgsOptionsType;
|
|
1315
|
+
/**
|
|
1316
|
+
* Whether this option can be provided multiple times.
|
|
1317
|
+
* If `true`, all values will be collected in an array.
|
|
1318
|
+
* If `false`, values for the option are last-wins.
|
|
1319
|
+
* @default false.
|
|
1320
|
+
*/
|
|
1321
|
+
multiple?: boolean | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* A single character alias for the option.
|
|
1324
|
+
*/
|
|
1325
|
+
short?: string | undefined;
|
|
1326
|
+
/**
|
|
1327
|
+
* The value to assign to
|
|
1328
|
+
* the option if it does not appear in the arguments to be parsed. The value
|
|
1329
|
+
* must match the type specified by the `type` property. If `multiple` is
|
|
1330
|
+
* `true`, it must be an array. No default value is applied when the option
|
|
1331
|
+
* does appear in the arguments to be parsed, even if the provided value
|
|
1332
|
+
* is falsy.
|
|
1333
|
+
* @since v18.11.0
|
|
1334
|
+
*/
|
|
1335
|
+
default?: string | boolean | string[] | boolean[] | undefined;
|
|
1336
|
+
}
|
|
1337
|
+
export interface ParseArgsOptionsConfig {
|
|
1338
|
+
[longOption: string]: ParseArgsOptionDescriptor;
|
|
1339
|
+
}
|
|
1340
|
+
export interface ParseArgsConfig {
|
|
1341
|
+
/**
|
|
1342
|
+
* Array of argument strings.
|
|
1343
|
+
*/
|
|
1344
|
+
args?: readonly string[] | undefined;
|
|
1345
|
+
/**
|
|
1346
|
+
* Used to describe arguments known to the parser.
|
|
1347
|
+
*/
|
|
1348
|
+
options?: ParseArgsOptionsConfig | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* Should an error be thrown when unknown arguments are encountered,
|
|
1351
|
+
* or when arguments are passed that do not match the `type` configured in `options`.
|
|
1352
|
+
* @default true
|
|
1353
|
+
*/
|
|
1354
|
+
strict?: boolean | undefined;
|
|
1355
|
+
/**
|
|
1356
|
+
* Whether this command accepts positional arguments.
|
|
1357
|
+
*/
|
|
1358
|
+
allowPositionals?: boolean | undefined;
|
|
1359
|
+
/**
|
|
1360
|
+
* If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
|
|
1361
|
+
* @default false
|
|
1362
|
+
* @since v22.4.0
|
|
1363
|
+
*/
|
|
1364
|
+
allowNegative?: boolean | undefined;
|
|
1365
|
+
/**
|
|
1366
|
+
* Return the parsed tokens. This is useful for extending the built-in behavior,
|
|
1367
|
+
* from adding additional checks through to reprocessing the tokens in different ways.
|
|
1368
|
+
* @default false
|
|
1369
|
+
*/
|
|
1370
|
+
tokens?: boolean | undefined;
|
|
1371
|
+
}
|
|
1372
|
+
/*
|
|
1373
|
+
IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties.
|
|
1374
|
+
TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936
|
|
1375
|
+
This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present".
|
|
1376
|
+
But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present.
|
|
1377
|
+
So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value.
|
|
1378
|
+
This is technically incorrect but is a much nicer UX for the common case.
|
|
1379
|
+
The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false.
|
|
1380
|
+
*/
|
|
1381
|
+
type IfDefaultsTrue<T, IfTrue, IfFalse> = T extends true ? IfTrue
|
|
1382
|
+
: T extends false ? IfFalse
|
|
1383
|
+
: IfTrue;
|
|
1384
|
+
// we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false`
|
|
1385
|
+
type IfDefaultsFalse<T, IfTrue, IfFalse> = T extends false ? IfFalse
|
|
1386
|
+
: T extends true ? IfTrue
|
|
1387
|
+
: IfFalse;
|
|
1388
|
+
type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionDescriptor> = IfDefaultsTrue<
|
|
1389
|
+
T["strict"],
|
|
1390
|
+
O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean,
|
|
1391
|
+
string | boolean
|
|
1392
|
+
>;
|
|
1393
|
+
type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
|
|
1394
|
+
& { -readonly [LongOption in keyof O]?: V[LongOption] }
|
|
1395
|
+
& { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
|
|
1396
|
+
) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
|
|
1397
|
+
type ParsedValues<T extends ParseArgsConfig> =
|
|
1398
|
+
& IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
|
|
1399
|
+
& (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
|
|
1400
|
+
T["options"],
|
|
1401
|
+
{
|
|
1402
|
+
[LongOption in keyof T["options"]]: IfDefaultsFalse<
|
|
1403
|
+
T["options"][LongOption]["multiple"],
|
|
1404
|
+
Array<ExtractOptionValue<T, T["options"][LongOption]>>,
|
|
1405
|
+
ExtractOptionValue<T, T["options"][LongOption]>
|
|
1406
|
+
>;
|
|
1407
|
+
}
|
|
1408
|
+
>
|
|
1409
|
+
: {});
|
|
1410
|
+
type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
|
|
1411
|
+
T["strict"],
|
|
1412
|
+
IfDefaultsFalse<T["allowPositionals"], string[], []>,
|
|
1413
|
+
IfDefaultsTrue<T["allowPositionals"], string[], []>
|
|
1414
|
+
>;
|
|
1415
|
+
type PreciseTokenForOptions<
|
|
1416
|
+
K extends string,
|
|
1417
|
+
O extends ParseArgsOptionDescriptor,
|
|
1418
|
+
> = O["type"] extends "string" ? {
|
|
1419
|
+
kind: "option";
|
|
1420
|
+
index: number;
|
|
1421
|
+
name: K;
|
|
1422
|
+
rawName: string;
|
|
1423
|
+
value: string;
|
|
1424
|
+
inlineValue: boolean;
|
|
1425
|
+
}
|
|
1426
|
+
: O["type"] extends "boolean" ? {
|
|
1427
|
+
kind: "option";
|
|
1428
|
+
index: number;
|
|
1429
|
+
name: K;
|
|
1430
|
+
rawName: string;
|
|
1431
|
+
value: undefined;
|
|
1432
|
+
inlineValue: undefined;
|
|
1433
|
+
}
|
|
1434
|
+
: OptionToken & { name: K };
|
|
1435
|
+
type TokenForOptions<
|
|
1436
|
+
T extends ParseArgsConfig,
|
|
1437
|
+
K extends keyof T["options"] = keyof T["options"],
|
|
1438
|
+
> = K extends unknown
|
|
1439
|
+
? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]>
|
|
1440
|
+
: OptionToken
|
|
1441
|
+
: never;
|
|
1442
|
+
type ParsedOptionToken<T extends ParseArgsConfig> = IfDefaultsTrue<T["strict"], TokenForOptions<T>, OptionToken>;
|
|
1443
|
+
type ParsedPositionalToken<T extends ParseArgsConfig> = IfDefaultsTrue<
|
|
1444
|
+
T["strict"],
|
|
1445
|
+
IfDefaultsFalse<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>,
|
|
1446
|
+
IfDefaultsTrue<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>
|
|
1447
|
+
>;
|
|
1448
|
+
type ParsedTokens<T extends ParseArgsConfig> = Array<
|
|
1449
|
+
ParsedOptionToken<T> | ParsedPositionalToken<T> | { kind: "option-terminator"; index: number }
|
|
1450
|
+
>;
|
|
1451
|
+
type PreciseParsedResults<T extends ParseArgsConfig> = IfDefaultsFalse<
|
|
1452
|
+
T["tokens"],
|
|
1453
|
+
{
|
|
1454
|
+
values: ParsedValues<T>;
|
|
1455
|
+
positionals: ParsedPositionals<T>;
|
|
1456
|
+
tokens: ParsedTokens<T>;
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
values: ParsedValues<T>;
|
|
1460
|
+
positionals: ParsedPositionals<T>;
|
|
1461
|
+
}
|
|
1462
|
+
>;
|
|
1463
|
+
type OptionToken =
|
|
1464
|
+
| { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean }
|
|
1465
|
+
| {
|
|
1466
|
+
kind: "option";
|
|
1467
|
+
index: number;
|
|
1468
|
+
name: string;
|
|
1469
|
+
rawName: string;
|
|
1470
|
+
value: undefined;
|
|
1471
|
+
inlineValue: undefined;
|
|
1472
|
+
};
|
|
1473
|
+
type Token =
|
|
1474
|
+
| OptionToken
|
|
1475
|
+
| { kind: "positional"; index: number; value: string }
|
|
1476
|
+
| { kind: "option-terminator"; index: number };
|
|
1477
|
+
// If ParseArgsConfig extends T, then the user passed config constructed elsewhere.
|
|
1478
|
+
// So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above.
|
|
1479
|
+
type ParsedResults<T extends ParseArgsConfig> = ParseArgsConfig extends T ? {
|
|
1480
|
+
values: {
|
|
1481
|
+
[longOption: string]: undefined | string | boolean | Array<string | boolean>;
|
|
1482
|
+
};
|
|
1483
|
+
positionals: string[];
|
|
1484
|
+
tokens?: Token[];
|
|
1485
|
+
}
|
|
1486
|
+
: PreciseParsedResults<T>;
|
|
1487
|
+
/**
|
|
1488
|
+
* An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/).
|
|
1489
|
+
*
|
|
1490
|
+
* In accordance with browser conventions, all properties of `MIMEType` objects
|
|
1491
|
+
* are implemented as getters and setters on the class prototype, rather than as
|
|
1492
|
+
* data properties on the object itself.
|
|
1493
|
+
*
|
|
1494
|
+
* A MIME string is a structured string containing multiple meaningful
|
|
1495
|
+
* components. When parsed, a `MIMEType` object is returned containing
|
|
1496
|
+
* properties for each of these components.
|
|
1497
|
+
* @since v19.1.0, v18.13.0
|
|
1498
|
+
*/
|
|
1499
|
+
export class MIMEType {
|
|
1500
|
+
/**
|
|
1501
|
+
* Creates a new MIMEType object by parsing the input.
|
|
1502
|
+
*
|
|
1503
|
+
* A `TypeError` will be thrown if the `input` is not a valid MIME.
|
|
1504
|
+
* Note that an effort will be made to coerce the given values into strings.
|
|
1505
|
+
* @param input The input MIME to parse.
|
|
1506
|
+
*/
|
|
1507
|
+
constructor(input: string | { toString: () => string });
|
|
1508
|
+
/**
|
|
1509
|
+
* Gets and sets the type portion of the MIME.
|
|
1510
|
+
*
|
|
1511
|
+
* ```js
|
|
1512
|
+
* import { MIMEType } from 'node:util';
|
|
1513
|
+
*
|
|
1514
|
+
* const myMIME = new MIMEType('text/javascript');
|
|
1515
|
+
* console.log(myMIME.type);
|
|
1516
|
+
* // Prints: text
|
|
1517
|
+
* myMIME.type = 'application';
|
|
1518
|
+
* console.log(myMIME.type);
|
|
1519
|
+
* // Prints: application
|
|
1520
|
+
* console.log(String(myMIME));
|
|
1521
|
+
* // Prints: application/javascript
|
|
1522
|
+
* ```
|
|
1523
|
+
*/
|
|
1524
|
+
type: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* Gets and sets the subtype portion of the MIME.
|
|
1527
|
+
*
|
|
1528
|
+
* ```js
|
|
1529
|
+
* import { MIMEType } from 'node:util';
|
|
1530
|
+
*
|
|
1531
|
+
* const myMIME = new MIMEType('text/ecmascript');
|
|
1532
|
+
* console.log(myMIME.subtype);
|
|
1533
|
+
* // Prints: ecmascript
|
|
1534
|
+
* myMIME.subtype = 'javascript';
|
|
1535
|
+
* console.log(myMIME.subtype);
|
|
1536
|
+
* // Prints: javascript
|
|
1537
|
+
* console.log(String(myMIME));
|
|
1538
|
+
* // Prints: text/javascript
|
|
1539
|
+
* ```
|
|
1540
|
+
*/
|
|
1541
|
+
subtype: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* Gets the essence of the MIME. This property is read only.
|
|
1544
|
+
* Use `mime.type` or `mime.subtype` to alter the MIME.
|
|
1545
|
+
*
|
|
1546
|
+
* ```js
|
|
1547
|
+
* import { MIMEType } from 'node:util';
|
|
1548
|
+
*
|
|
1549
|
+
* const myMIME = new MIMEType('text/javascript;key=value');
|
|
1550
|
+
* console.log(myMIME.essence);
|
|
1551
|
+
* // Prints: text/javascript
|
|
1552
|
+
* myMIME.type = 'application';
|
|
1553
|
+
* console.log(myMIME.essence);
|
|
1554
|
+
* // Prints: application/javascript
|
|
1555
|
+
* console.log(String(myMIME));
|
|
1556
|
+
* // Prints: application/javascript;key=value
|
|
1557
|
+
* ```
|
|
1558
|
+
*/
|
|
1559
|
+
readonly essence: string;
|
|
1560
|
+
/**
|
|
1561
|
+
* Gets the `MIMEParams` object representing the
|
|
1562
|
+
* parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details.
|
|
1563
|
+
*/
|
|
1564
|
+
readonly params: MIMEParams;
|
|
1565
|
+
/**
|
|
1566
|
+
* The `toString()` method on the `MIMEType` object returns the serialized MIME.
|
|
1567
|
+
*
|
|
1568
|
+
* Because of the need for standard compliance, this method does not allow users
|
|
1569
|
+
* to customize the serialization process of the MIME.
|
|
1570
|
+
*/
|
|
1571
|
+
toString(): string;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* The `MIMEParams` API provides read and write access to the parameters of a `MIMEType`.
|
|
1575
|
+
* @since v19.1.0, v18.13.0
|
|
1576
|
+
*/
|
|
1577
|
+
export class MIMEParams {
|
|
1578
|
+
/**
|
|
1579
|
+
* Remove all name-value pairs whose name is `name`.
|
|
1580
|
+
*/
|
|
1581
|
+
delete(name: string): void;
|
|
1582
|
+
/**
|
|
1583
|
+
* Returns an iterator over each of the name-value pairs in the parameters.
|
|
1584
|
+
* Each item of the iterator is a JavaScript `Array`. The first item of the array
|
|
1585
|
+
* is the `name`, the second item of the array is the `value`.
|
|
1586
|
+
*/
|
|
1587
|
+
entries(): NodeJS.Iterator<[name: string, value: string]>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Returns the value of the first name-value pair whose name is `name`. If there
|
|
1590
|
+
* are no such pairs, `null` is returned.
|
|
1591
|
+
* @return or `null` if there is no name-value pair with the given `name`.
|
|
1592
|
+
*/
|
|
1593
|
+
get(name: string): string | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Returns `true` if there is at least one name-value pair whose name is `name`.
|
|
1596
|
+
*/
|
|
1597
|
+
has(name: string): boolean;
|
|
1598
|
+
/**
|
|
1599
|
+
* Returns an iterator over the names of each name-value pair.
|
|
1600
|
+
*
|
|
1601
|
+
* ```js
|
|
1602
|
+
* import { MIMEType } from 'node:util';
|
|
1603
|
+
*
|
|
1604
|
+
* const { params } = new MIMEType('text/plain;foo=0;bar=1');
|
|
1605
|
+
* for (const name of params.keys()) {
|
|
1606
|
+
* console.log(name);
|
|
1607
|
+
* }
|
|
1608
|
+
* // Prints:
|
|
1609
|
+
* // foo
|
|
1610
|
+
* // bar
|
|
1611
|
+
* ```
|
|
1612
|
+
*/
|
|
1613
|
+
keys(): NodeJS.Iterator<string>;
|
|
1614
|
+
/**
|
|
1615
|
+
* Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
|
|
1616
|
+
* set the first such pair's value to `value`.
|
|
1617
|
+
*
|
|
1618
|
+
* ```js
|
|
1619
|
+
* import { MIMEType } from 'node:util';
|
|
1620
|
+
*
|
|
1621
|
+
* const { params } = new MIMEType('text/plain;foo=0;bar=1');
|
|
1622
|
+
* params.set('foo', 'def');
|
|
1623
|
+
* params.set('baz', 'xyz');
|
|
1624
|
+
* console.log(params.toString());
|
|
1625
|
+
* // Prints: foo=def;bar=1;baz=xyz
|
|
1626
|
+
* ```
|
|
1627
|
+
*/
|
|
1628
|
+
set(name: string, value: string): void;
|
|
1629
|
+
/**
|
|
1630
|
+
* Returns an iterator over the values of each name-value pair.
|
|
1631
|
+
*/
|
|
1632
|
+
values(): NodeJS.Iterator<string>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Returns an iterator over each of the name-value pairs in the parameters.
|
|
1635
|
+
*/
|
|
1636
|
+
[Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
|
|
1637
|
+
}
|
|
1638
|
+
// #region web types
|
|
1639
|
+
export interface TextDecodeOptions {
|
|
1640
|
+
stream?: boolean;
|
|
1641
|
+
}
|
|
1642
|
+
export interface TextDecoderCommon {
|
|
1643
|
+
readonly encoding: string;
|
|
1644
|
+
readonly fatal: boolean;
|
|
1645
|
+
readonly ignoreBOM: boolean;
|
|
1646
|
+
}
|
|
1647
|
+
export interface TextDecoderOptions {
|
|
1648
|
+
fatal?: boolean;
|
|
1649
|
+
ignoreBOM?: boolean;
|
|
1650
|
+
}
|
|
1651
|
+
export interface TextEncoderCommon {
|
|
1652
|
+
readonly encoding: string;
|
|
1653
|
+
}
|
|
1654
|
+
export interface TextEncoderEncodeIntoResult {
|
|
1655
|
+
read: number;
|
|
1656
|
+
written: number;
|
|
1657
|
+
}
|
|
1658
|
+
export interface TextDecoder extends TextDecoderCommon {
|
|
1659
|
+
decode(input?: NodeJS.AllowSharedBufferSource, options?: TextDecodeOptions): string;
|
|
1660
|
+
}
|
|
1661
|
+
export var TextDecoder: {
|
|
1662
|
+
prototype: TextDecoder;
|
|
1663
|
+
new(label?: string, options?: TextDecoderOptions): TextDecoder;
|
|
1664
|
+
};
|
|
1665
|
+
export interface TextEncoder extends TextEncoderCommon {
|
|
1666
|
+
encode(input?: string): NodeJS.NonSharedUint8Array;
|
|
1667
|
+
encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;
|
|
1668
|
+
}
|
|
1669
|
+
export var TextEncoder: {
|
|
1670
|
+
prototype: TextEncoder;
|
|
1671
|
+
new(): TextEncoder;
|
|
1672
|
+
};
|
|
1673
|
+
// #endregion
|
|
1674
|
+
}
|
|
1675
|
+
declare module "util" {
|
|
1676
|
+
export * from "node:util";
|
|
1677
|
+
}
|