@openclaw/feishu 2026.7.2-beta.7 → 2026.7.34
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/README.md +1 -1
- package/dist/.setup/accounts-CfuPSCip.mjs +516 -0
- package/dist/.setup/app-registration-D18iu_PK.mjs +204 -0
- package/dist/.setup/channel-CiFS4inh.mjs +2661 -0
- package/dist/.setup/channel.runtime-B9LCBnp3.mjs +641 -0
- package/dist/.setup/client-DLqNWY5r.mjs +161 -0
- package/dist/.setup/conversation-id-CdLdoot3.mjs +143 -0
- package/dist/.setup/drive-Cy1tmfSn.mjs +934 -0
- package/dist/.setup/json-response-DXajw_FU.mjs +9 -0
- package/dist/.setup/legacy-state-migrations-api-CVW3tHfw.mjs +73 -0
- package/dist/.setup/legacy-state-migrations-api-jN6Z0iq0.mjs +2 -0
- package/dist/.setup/monitor-C4sFALTA.mjs +232 -0
- package/dist/.setup/monitor.account-Do7egFpi.mjs +5853 -0
- package/dist/.setup/probe-DbUBx0Px.mjs +162 -0
- package/dist/.setup/runtime-setter-api-CG-RC4_r.mjs +3 -0
- package/dist/.setup/secret-contract-DLaBl9m4.mjs +137 -0
- package/dist/.setup/secret-contract-api-ZtO0BWHd.mjs +3 -0
- package/dist/.setup/security-audit-Duuj2PkP.mjs +11 -0
- package/dist/.setup/security-audit-shared-BIHeF-S_.mjs +38 -0
- package/dist/.setup/send-DkB3ifwO.mjs +1264 -0
- package/dist/.setup/send-result-COI_ANtb.mjs +287 -0
- package/dist/.setup/session-conversation-CWBrUzmY.mjs +27 -0
- package/dist/.setup/setup-api-DY9H9ISg.mjs +3 -0
- package/dist/.setup/subagent-hooks-BQhuBlyy.mjs +235 -0
- package/dist/.setup/thread-bindings-V0bwk0A1.mjs +222 -0
- package/dist/api.js +256 -431
- package/dist/channel-plugin-api.js +1 -1
- package/dist/contract-api.js +3 -3
- package/dist/legacy-state-migrations-api.js +2 -0
- package/dist/runtime-api.js +3 -2
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/session-key-api.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/setup-entry.js +9 -3
- package/dist/subagent-hooks-api.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/README.md +0 -13
- package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +0 -12
- package/node_modules/@larksuiteoapi/node-sdk/es/index.js +3084 -8950
- package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +3083 -8951
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/index.js +52 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/README.md +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/index.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/index.js +139 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/tests/index.js +46 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/README.md +49 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/index.d.ts +31 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/index.js +112 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/package.json +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/tests/index.js +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/README.md +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/index.d.ts +45 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/index.js +86 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/tests/index.js +83 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/index.d.ts +56 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/index.js +112 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/package.json +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/tests/data/file.txt +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/tests/index.js +158 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/util/fs.js +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/README.md +102 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/bench/index.js +87 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/bench/suite.js +46 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/index.js +335 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/package.json +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/tests/index.js +100 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/index.d.ts +10 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/index.js +38 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/index.js +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/README.md +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/index.d.ts +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/index.js +65 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/tests/index.js +60 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/.npmignore +3 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/index.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/index.js +48 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/tests/index.js +33 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/README.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/index.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/index.js +104 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/data/surrogate_pair_bug.txt +207 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/index.js +74 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/README.md +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/assert.d.ts +1077 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/buffer.d.ts +1799 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/child_process.d.ts +1362 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/crypto.d.ts +3954 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/fs/promises.d.ts +1471 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/fs.d.ts +4786 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/http.d.ts +2172 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/http2.d.ts +2489 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/index.d.ts +115 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/module.d.ts +726 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/package.json +155 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/perf_hooks.d.ts +604 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/process.d.ts +2217 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/quic.d.ts +978 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/readline.d.ts +508 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/sqlite.d.ts +1123 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/iter.d.ts +451 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream.d.ts +1806 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/test.d.ts +2389 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/v8.d.ts +1062 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/worker_threads.d.ts +669 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/CHANGELOG.md +62 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/README.md +297 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.js +728 -170
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/browser/axios.cjs +871 -188
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.js +871 -188
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/node/axios.cjs +1037 -225
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/index.d.cts +102 -74
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/index.d.ts +100 -68
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/fetch.js +64 -11
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/http.js +140 -67
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/xhr.js +52 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/Axios.js +43 -20
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/AxiosError.js +33 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/AxiosHeaders.js +124 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/InterceptorManager.js +107 -8
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/buildFullPath.js +41 -15
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/dispatchRequest.js +8 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/mergeConfig.js +19 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/defaults/index.js +2 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/Http2Sessions.js +2 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/HttpStatusCode.js +12 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/combineURLs.js +11 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/composeSignals.js +12 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +115 -54
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/formDataToJSON.js +11 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/fromDataURI.js +5 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/parseHeaders.js +5 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/progressEventReducer.js +4 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/resolveConfig.js +5 -17
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/shouldBypassProxy.js +300 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/throttle.js +3 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/toFormData.js +17 -23
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/utils.js +151 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/package.json +21 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/CHANGELOG.md +1 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/README.md +41 -46
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/index.d.ts +2 -13
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/form_data.js +83 -75
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/populate.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/package.json +7 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/README.md +553 -266
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js +1985 -3177
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js +1244 -1966
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js +2005 -3330
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/README.md +70 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.d.ts +193 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.js +1185 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/test.js +54 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/annotations.json +1 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/http.json +1 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/api.json +6 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.json +87 -170
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.proto +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/source_context.json +1 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/type.json +7 -14
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/index.d.ts +703 -1066
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/package.json +52 -25
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/scripts/postinstall.js +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/common.js +8 -14
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/converter.js +51 -85
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/decoder.js +61 -205
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/encoder.js +7 -27
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/enum.js +5 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/field.js +19 -71
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-light.js +29 -29
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-minimal.js +13 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index.js +6 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/mapfield.js +8 -26
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/message.js +11 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/method.js +7 -30
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/namespace.js +10 -26
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/object.js +31 -41
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/oneof.js +1 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/parse.js +47 -169
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader.js +50 -412
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader_buffer.js +5 -31
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/root.js +4 -16
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/rpc/service.js +5 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/service.js +2 -15
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/tokenize.js +1 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/type.js +36 -80
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/typescript.jsdoc +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/longbits.js +6 -10
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/minimal.js +54 -71
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util.js +17 -51
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/verifier.js +14 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/wrappers.js +3 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer.js +191 -424
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer_buffer.js +26 -41
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/tsconfig.json +5 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/CHANGELOG.md +0 -11
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/dist/qs.js +17 -17
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/lib/parse.js +8 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/lib/utils.js +8 -47
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/package.json +5 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/test/parse.js +0 -230
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/test/utils.js +0 -194
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/README.md +6 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/agent.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/client.d.ts +129 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/fetch.d.ts +231 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/handlers.d.ts +14 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/header.d.ts +165 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/index.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/package.json +55 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/webidl.d.ts +346 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/ws/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/types/index.d.ts +698 -12522
- package/node_modules/typebox/build/compile/validator.d.mts +4 -1
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +2 -5
- package/node_modules/typebox/build/guard/string.mjs +4 -16
- package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +32 -29
- package/openclaw.plugin.json +105 -190
- package/package.json +10 -26
- package/skills/feishu-doc/SKILL.md +0 -4
- package/skills/feishu-drive/SKILL.md +2 -5
- package/dist/accounts-u9X5Wsan.js +0 -469
- package/dist/app-registration-cN1bVV6s.js +0 -201
- package/dist/channel-CScE82zY.js +0 -2795
- package/dist/channel.runtime-B21e1E0r.js +0 -889
- package/dist/client-Dcbs6vml.js +0 -248
- package/dist/conversation-id-BeJL-wq7.js +0 -146
- package/dist/doctor-contract-BiD9tyIv.js +0 -102
- package/dist/doctor-contract-api.js +0 -2
- package/dist/drive-hSi_Utp0.js +0 -1075
- package/dist/json-response-CheljwGr.js +0 -9
- package/dist/media-CEUraFOR.js +0 -1348
- package/dist/monitor-DngbaA6a.js +0 -62
- package/dist/monitor.account-BnTWCw55.js +0 -7153
- package/dist/monitor.startup-CqH2tiJq.js +0 -143
- package/dist/probe-p3POS2RN.js +0 -219
- package/dist/secret-contract-BCpDLdg9.js +0 -73
- package/dist/security-audit-D7WK_BHh.js +0 -11
- package/dist/security-audit-shared-BgpY7AiJ.js +0 -33
- package/dist/send-result-B9_BpUPx.js +0 -770
- package/dist/session-conversation-BksWrfzm.js +0 -27
- package/dist/subagent-hooks-Cx1cX7rW.js +0 -239
- package/dist/thread-bindings-N3wkgkIN.js +0 -220
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/README.md +0 -70
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.d.ts +0 -87
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.generated.d.ts +0 -417
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.js +0 -1356
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.LICENSE +0 -201
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.d.ts +0 -20
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.generated.d.ts +0 -49
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.js +0 -951
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.d.ts +0 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.generated.d.ts +0 -33
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.js +0 -1276
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.json +0 -126
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.proto +0 -47
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/typescript.js +0 -25
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.d.ts +0 -13
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.js +0 -52
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.d.ts +0 -32
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.js +0 -146
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.d.ts +0 -31
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.js +0 -118
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.d.ts +0 -45
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.js +0 -86
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.d.ts +0 -56
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.js +0 -112
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/float.js +0 -335
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.d.ts +0 -22
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.js +0 -100
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.d.ts +0 -32
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.js +0 -48
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.d.ts +0 -24
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.js +0 -190
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1348
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1177
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/README.md +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/README.md +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/package.json +0 -26
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +0 -20
- package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +0 -481
- package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +0 -272
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +0 -292
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +0 -263
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.js +0 -1152
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.js +0 -445
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.js +0 -244
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.js +0 -141
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.js +0 -1060
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -611
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.js +0 -362
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.js +0 -212
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.js +0 -115
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/package.json +0 -100
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/readme.md +0 -488
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.js +0 -256
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/package.json +0 -74
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/node_modules/mdast-util-from-markdown/package.json +0 -99
- package/node_modules/mdast-util-from-markdown/readme.md +0 -535
- package/node_modules/mdast-util-gfm-table/index.d.ts +0 -54
- package/node_modules/mdast-util-gfm-table/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/lib/index.d.ts +0 -51
- package/node_modules/mdast-util-gfm-table/lib/index.js +0 -300
- package/node_modules/mdast-util-gfm-table/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/index.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/index.js +0 -36
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/package.json +0 -73
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/readme.md +0 -150
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.d.ts +0 -171
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.js +0 -393
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/package.json +0 -77
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/readme.md +0 -344
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/index.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/lib/index.d.ts +0 -3
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/lib/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/license +0 -23
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/readme.md +0 -200
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/index.js +0 -3
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.js +0 -79
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.js +0 -30
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.js +0 -75
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.js +0 -76
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +0 -69
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.js +0 -75
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.js +0 -20
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.js +0 -82
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts +0 -42
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +0 -76
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.js +0 -114
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +0 -62
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.js +0 -100
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +0 -20
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.js +0 -23
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.js +0 -69
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.js +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.js +0 -187
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.d.ts +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.js +0 -39
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/types.d.ts +0 -965
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.js +0 -146
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.js +0 -33
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +0 -8
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +0 -38
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +0 -125
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts +0 -10
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +0 -33
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +0 -82
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +0 -34
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +0 -34
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +0 -35
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +0 -12
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +0 -41
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.js +0 -174
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.js +0 -55
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/package.json +0 -132
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/readme.md +0 -750
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.d.ts +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.d.ts +0 -111
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.js +0 -296
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/package.json +0 -103
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/readme.md +0 -351
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/index.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.js +0 -312
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/package.json +0 -108
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/readme.md +0 -313
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.d.ts +0 -219
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.js +0 -399
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/package.json +0 -106
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/readme.md +0 -388
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/index.d.ts +0 -67
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/index.js +0 -118
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/package.json +0 -72
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/readme.md +0 -226
- package/node_modules/mdast-util-gfm-table/package.json +0 -101
- package/node_modules/mdast-util-gfm-table/readme.md +0 -605
- package/node_modules/micromark-extension-gfm-table/dev/index.d.ts +0 -55
- package/node_modules/micromark-extension-gfm-table/dev/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts +0 -38
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js +0 -212
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts +0 -11
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.js +0 -148
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts +0 -14
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.js +0 -64
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts +0 -18
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js +0 -941
- package/node_modules/micromark-extension-gfm-table/index.d.ts +0 -55
- package/node_modules/micromark-extension-gfm-table/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts +0 -38
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.js +0 -202
- package/node_modules/micromark-extension-gfm-table/lib/html.d.ts +0 -11
- package/node_modules/micromark-extension-gfm-table/lib/html.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/html.js +0 -130
- package/node_modules/micromark-extension-gfm-table/lib/infer.d.ts +0 -14
- package/node_modules/micromark-extension-gfm-table/lib/infer.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/infer.js +0 -52
- package/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts +0 -18
- package/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/syntax.js +0 -819
- package/node_modules/micromark-extension-gfm-table/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/micromark-extension-gfm-table/package.json +0 -128
- package/node_modules/micromark-extension-gfm-table/readme.md +0 -515
- /package/dist/{audio-preflight.runtime-BBfC9elv.js → .setup/audio-preflight.runtime-BBfC9elv.mjs} +0 -0
- /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
- /package/dist/{runtime-C5JxBWZp.js → .setup/runtime-C5JxBWZp.mjs} +0 -0
- /package/dist/{targets-BUjQ1TcA.js → .setup/targets-BUjQ1TcA.mjs} +0 -0
- /package/node_modules/@larksuiteoapi/node-sdk/node_modules/{protobufjs/src/util/float.d.ts → @protobufjs/float/index.d.ts} +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types/debug → @larksuiteoapi/node-sdk/node_modules/@types/node}/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// DO NOT EDIT! This is a generated file. Edit the
|
|
1
|
+
// DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run build:types'.
|
|
2
2
|
|
|
3
3
|
export as namespace protobuf;
|
|
4
4
|
|
|
@@ -100,11 +100,6 @@ export namespace common {
|
|
|
100
100
|
value?: Uint8Array;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/** Properties of a google.protobuf.FieldMask message. */
|
|
104
|
-
interface IFieldMask {
|
|
105
|
-
paths?: string[];
|
|
106
|
-
}
|
|
107
|
-
|
|
108
103
|
/**
|
|
109
104
|
* Gets the root definition of the specified common proto file.
|
|
110
105
|
*
|
|
@@ -167,28 +162,28 @@ export class Enum extends ReflectionObject {
|
|
|
167
162
|
* @param [comments] The value comments for this enum
|
|
168
163
|
* @param [valuesOptions] The value options for this enum
|
|
169
164
|
*/
|
|
170
|
-
constructor(name: string, values?: { [k: string]: number }, options?: { [k: string]: any }, comment?: string, comments?: { [k: string]:
|
|
165
|
+
constructor(name: string, values?: { [k: string]: number }, options?: { [k: string]: any }, comment?: string, comments?: { [k: string]: string }, valuesOptions?: ({ [k: string]: { [k: string]: any } }|undefined));
|
|
171
166
|
|
|
172
167
|
/** Enum values by id. */
|
|
173
|
-
valuesById: { [k: number]: string };
|
|
168
|
+
public valuesById: { [k: number]: string };
|
|
174
169
|
|
|
175
170
|
/** Enum values by name. */
|
|
176
|
-
values: { [k: string]: number };
|
|
171
|
+
public values: { [k: string]: number };
|
|
177
172
|
|
|
178
173
|
/** Enum comment text. */
|
|
179
|
-
comment: (string|null);
|
|
174
|
+
public comment: (string|null);
|
|
180
175
|
|
|
181
176
|
/** Value comment texts, if any. */
|
|
182
|
-
comments: { [k: string]:
|
|
177
|
+
public comments: { [k: string]: string };
|
|
183
178
|
|
|
184
179
|
/** Values options, if any */
|
|
185
|
-
valuesOptions?: { [k: string]: { [k: string]: any } };
|
|
180
|
+
public valuesOptions?: { [k: string]: { [k: string]: any } };
|
|
186
181
|
|
|
187
182
|
/** Resolved values features, if any */
|
|
188
|
-
_valuesFeatures?: { [k: string]: { [k: string]: any } };
|
|
183
|
+
public _valuesFeatures?: { [k: string]: { [k: string]: any } };
|
|
189
184
|
|
|
190
185
|
/** Reserved ranges, if any. */
|
|
191
|
-
reserved: (number[]|string)[];
|
|
186
|
+
public reserved: (number[]|string)[];
|
|
192
187
|
|
|
193
188
|
/**
|
|
194
189
|
* Constructs an enum from an enum descriptor.
|
|
@@ -197,14 +192,14 @@ export class Enum extends ReflectionObject {
|
|
|
197
192
|
* @returns Created enum
|
|
198
193
|
* @throws {TypeError} If arguments are invalid
|
|
199
194
|
*/
|
|
200
|
-
static fromJSON(name: string, json: IEnum): Enum;
|
|
195
|
+
public static fromJSON(name: string, json: IEnum): Enum;
|
|
201
196
|
|
|
202
197
|
/**
|
|
203
198
|
* Converts this enum to an enum descriptor.
|
|
204
199
|
* @param [toJSONOptions] JSON conversion options
|
|
205
200
|
* @returns Enum descriptor
|
|
206
201
|
*/
|
|
207
|
-
toJSON(toJSONOptions?: IToJSONOptions): IEnum;
|
|
202
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IEnum;
|
|
208
203
|
|
|
209
204
|
/**
|
|
210
205
|
* Adds a value to this enum.
|
|
@@ -216,7 +211,7 @@ export class Enum extends ReflectionObject {
|
|
|
216
211
|
* @throws {TypeError} If arguments are invalid
|
|
217
212
|
* @throws {Error} If there is already a value with this name or id
|
|
218
213
|
*/
|
|
219
|
-
add(name: string, id: number, comment?: string, options?: ({ [k: string]: any }|undefined)): Enum;
|
|
214
|
+
public add(name: string, id: number, comment?: string, options?: ({ [k: string]: any }|undefined)): Enum;
|
|
220
215
|
|
|
221
216
|
/**
|
|
222
217
|
* Removes a value from this enum
|
|
@@ -225,46 +220,31 @@ export class Enum extends ReflectionObject {
|
|
|
225
220
|
* @throws {TypeError} If arguments are invalid
|
|
226
221
|
* @throws {Error} If `name` is not a name of this enum
|
|
227
222
|
*/
|
|
228
|
-
remove(name: string): Enum;
|
|
223
|
+
public remove(name: string): Enum;
|
|
229
224
|
|
|
230
225
|
/**
|
|
231
226
|
* Tests if the specified id is reserved.
|
|
232
227
|
* @param id Id to test
|
|
233
228
|
* @returns `true` if reserved, otherwise `false`
|
|
234
229
|
*/
|
|
235
|
-
isReservedId(id: number): boolean;
|
|
230
|
+
public isReservedId(id: number): boolean;
|
|
236
231
|
|
|
237
232
|
/**
|
|
238
233
|
* Tests if the specified name is reserved.
|
|
239
234
|
* @param name Name to test
|
|
240
235
|
* @returns `true` if reserved, otherwise `false`
|
|
241
236
|
*/
|
|
242
|
-
isReservedName(name: string): boolean;
|
|
237
|
+
public isReservedName(name: string): boolean;
|
|
243
238
|
}
|
|
244
239
|
|
|
245
240
|
/** Enum descriptor. */
|
|
246
241
|
export interface IEnum {
|
|
247
242
|
|
|
248
|
-
/** Edition */
|
|
249
|
-
edition?: string;
|
|
250
|
-
|
|
251
243
|
/** Enum values */
|
|
252
244
|
values: { [k: string]: number };
|
|
253
245
|
|
|
254
246
|
/** Enum options */
|
|
255
247
|
options?: { [k: string]: any };
|
|
256
|
-
|
|
257
|
-
/** Enum value options */
|
|
258
|
-
valuesOptions?: { [k: string]: { [k: string]: any } };
|
|
259
|
-
|
|
260
|
-
/** Reserved ranges */
|
|
261
|
-
reserved?: (number[]|string)[];
|
|
262
|
-
|
|
263
|
-
/** Enum comment */
|
|
264
|
-
comment?: (string|null);
|
|
265
|
-
|
|
266
|
-
/** Value comments */
|
|
267
|
-
comments?: { [k: string]: (string|null) };
|
|
268
248
|
}
|
|
269
249
|
|
|
270
250
|
/** Reflected message field. */
|
|
@@ -281,16 +261,6 @@ export class Field extends FieldBase {
|
|
|
281
261
|
*/
|
|
282
262
|
constructor(name: string, id: number, type: string, rule?: (string|{ [k: string]: any }), extend?: (string|{ [k: string]: any }), options?: { [k: string]: any });
|
|
283
263
|
|
|
284
|
-
/**
|
|
285
|
-
* Field decorator (TypeScript).
|
|
286
|
-
* @param fieldId Field id
|
|
287
|
-
* @param fieldType Field type
|
|
288
|
-
* @param [fieldRule="optional"] Field rule
|
|
289
|
-
* @returns Decorator function
|
|
290
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
291
|
-
*/
|
|
292
|
-
static d<T extends Message<T>>(fieldId: number, fieldType: (Constructor<T>|string), fieldRule?: ("optional"|"required"|"repeated")): FieldDecorator;
|
|
293
|
-
|
|
294
264
|
/**
|
|
295
265
|
* Constructs a field from a field descriptor.
|
|
296
266
|
* @param name Field name
|
|
@@ -298,48 +268,44 @@ export class Field extends FieldBase {
|
|
|
298
268
|
* @returns Created field
|
|
299
269
|
* @throws {TypeError} If arguments are invalid
|
|
300
270
|
*/
|
|
301
|
-
static fromJSON(name: string, json: IField): Field;
|
|
271
|
+
public static fromJSON(name: string, json: IField): Field;
|
|
302
272
|
|
|
303
273
|
/** Determines whether this field is required. */
|
|
304
|
-
readonly required: boolean;
|
|
274
|
+
public readonly required: boolean;
|
|
305
275
|
|
|
306
276
|
/** Determines whether this field is not required. */
|
|
307
|
-
readonly optional: boolean;
|
|
277
|
+
public readonly optional: boolean;
|
|
308
278
|
|
|
309
279
|
/**
|
|
310
280
|
* Determines whether this field uses tag-delimited encoding. In proto2 this
|
|
311
281
|
* corresponded to group syntax.
|
|
312
282
|
*/
|
|
313
|
-
readonly delimited: boolean;
|
|
283
|
+
public readonly delimited: boolean;
|
|
314
284
|
|
|
315
285
|
/** Determines whether this field is packed. Only relevant when repeated. */
|
|
316
|
-
readonly packed: boolean;
|
|
286
|
+
public readonly packed: boolean;
|
|
317
287
|
|
|
318
288
|
/** Determines whether this field tracks presence. */
|
|
319
|
-
readonly hasPresence: boolean;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* The field name as declared in the .proto source (snake_case). Populated on resolve,
|
|
323
|
-
* falling back to `name`. Mirrors `FieldDescriptorProto.name`.
|
|
324
|
-
*/
|
|
325
|
-
readonly protoName: string;
|
|
289
|
+
public readonly hasPresence: boolean;
|
|
326
290
|
|
|
327
291
|
/**
|
|
328
|
-
*
|
|
329
|
-
*
|
|
292
|
+
* Field decorator (TypeScript).
|
|
293
|
+
* @param fieldId Field id
|
|
294
|
+
* @param fieldType Field type
|
|
295
|
+
* @param [fieldRule="optional"] Field rule
|
|
296
|
+
* @param [defaultValue] Default value
|
|
297
|
+
* @returns Decorator function
|
|
330
298
|
*/
|
|
331
|
-
|
|
299
|
+
public static d<T extends number | number[] | Long | Long[] | string | string[] | boolean | boolean[] | Uint8Array | Uint8Array[] | Buffer | Buffer[]>(fieldId: number, fieldType: ("double"|"float"|"int32"|"uint32"|"sint32"|"fixed32"|"sfixed32"|"int64"|"uint64"|"sint64"|"fixed64"|"sfixed64"|"string"|"bool"|"bytes"|object), fieldRule?: ("optional"|"required"|"repeated"), defaultValue?: T): FieldDecorator;
|
|
332
300
|
|
|
333
301
|
/**
|
|
334
302
|
* Field decorator (TypeScript).
|
|
335
303
|
* @param fieldId Field id
|
|
336
304
|
* @param fieldType Field type
|
|
337
305
|
* @param [fieldRule="optional"] Field rule
|
|
338
|
-
* @param [defaultValue] Default value
|
|
339
306
|
* @returns Decorator function
|
|
340
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
341
307
|
*/
|
|
342
|
-
static d<T extends
|
|
308
|
+
public static d<T extends Message<T>>(fieldId: number, fieldType: (Constructor<T>|string), fieldRule?: ("optional"|"required"|"repeated")): FieldDecorator;
|
|
343
309
|
}
|
|
344
310
|
|
|
345
311
|
/** Base class of all reflected message fields. This is not an actual class but here for the sake of having consistent type definitions. */
|
|
@@ -357,73 +323,64 @@ export class FieldBase extends ReflectionObject {
|
|
|
357
323
|
*/
|
|
358
324
|
constructor(name: string, id: number, type: string, rule?: (string|{ [k: string]: any }), extend?: (string|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string);
|
|
359
325
|
|
|
360
|
-
/** Field rule, if any. */
|
|
361
|
-
rule?: string;
|
|
362
|
-
|
|
363
326
|
/** Field type. */
|
|
364
|
-
type: string;
|
|
327
|
+
public type: string;
|
|
365
328
|
|
|
366
329
|
/** Unique field id. */
|
|
367
|
-
id: number;
|
|
330
|
+
public id: number;
|
|
368
331
|
|
|
369
332
|
/** Extended type if different from parent. */
|
|
370
|
-
extend?: string;
|
|
333
|
+
public extend?: string;
|
|
371
334
|
|
|
372
335
|
/** Whether this field is repeated. */
|
|
373
|
-
repeated: boolean;
|
|
336
|
+
public repeated: boolean;
|
|
374
337
|
|
|
375
338
|
/** Whether this field is a map or not. */
|
|
376
|
-
map: boolean;
|
|
339
|
+
public map: boolean;
|
|
377
340
|
|
|
378
341
|
/** Message this field belongs to. */
|
|
379
|
-
message: (Type|null);
|
|
342
|
+
public message: (Type|null);
|
|
380
343
|
|
|
381
344
|
/** OneOf this field belongs to, if any, */
|
|
382
|
-
partOf: (OneOf|null);
|
|
345
|
+
public partOf: (OneOf|null);
|
|
383
346
|
|
|
384
347
|
/** The field type's default value. */
|
|
385
|
-
typeDefault: any;
|
|
348
|
+
public typeDefault: any;
|
|
386
349
|
|
|
387
350
|
/** The field's default value on prototypes. */
|
|
388
|
-
defaultValue: any;
|
|
351
|
+
public defaultValue: any;
|
|
389
352
|
|
|
390
353
|
/** Whether this field's value should be treated as a long. */
|
|
391
|
-
long: boolean;
|
|
354
|
+
public long: boolean;
|
|
392
355
|
|
|
393
356
|
/** Whether this field's value is a buffer. */
|
|
394
|
-
bytes: boolean;
|
|
357
|
+
public bytes: boolean;
|
|
395
358
|
|
|
396
359
|
/** Resolved type if not a basic type. */
|
|
397
|
-
resolvedType: (Type|Enum|null);
|
|
360
|
+
public resolvedType: (Type|Enum|null);
|
|
398
361
|
|
|
399
362
|
/** Sister-field within the extended type if a declaring extension field. */
|
|
400
|
-
extensionField: (Field|null);
|
|
363
|
+
public extensionField: (Field|null);
|
|
401
364
|
|
|
402
365
|
/** Sister-field within the declaring namespace if an extended field. */
|
|
403
|
-
declaringField: (Field|null);
|
|
366
|
+
public declaringField: (Field|null);
|
|
404
367
|
|
|
405
368
|
/** Comment for this field. */
|
|
406
|
-
comment: (string|null);
|
|
407
|
-
|
|
408
|
-
/** Field name as declared in the .proto source, if different from `name`. */
|
|
409
|
-
protoName?: string;
|
|
410
|
-
|
|
411
|
-
/** JSON name, if different from the derived default. */
|
|
412
|
-
jsonName?: string;
|
|
369
|
+
public comment: (string|null);
|
|
413
370
|
|
|
414
371
|
/**
|
|
415
372
|
* Converts this field to a field descriptor.
|
|
416
373
|
* @param [toJSONOptions] JSON conversion options
|
|
417
374
|
* @returns Field descriptor
|
|
418
375
|
*/
|
|
419
|
-
toJSON(toJSONOptions?: IToJSONOptions): IField;
|
|
376
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IField;
|
|
420
377
|
|
|
421
378
|
/**
|
|
422
379
|
* Resolves this field's type references.
|
|
423
380
|
* @returns `this`
|
|
424
381
|
* @throws {Error} If any reference cannot be resolved
|
|
425
382
|
*/
|
|
426
|
-
resolve(): Field;
|
|
383
|
+
public resolve(): Field;
|
|
427
384
|
|
|
428
385
|
/**
|
|
429
386
|
* Infers field features from legacy syntax that may have been specified differently.
|
|
@@ -431,15 +388,12 @@ export class FieldBase extends ReflectionObject {
|
|
|
431
388
|
* @param edition The edition this proto is on, or undefined if pre-editions
|
|
432
389
|
* @returns The feature values to override
|
|
433
390
|
*/
|
|
434
|
-
_inferLegacyProtoFeatures(edition: (string|undefined)): object;
|
|
391
|
+
public _inferLegacyProtoFeatures(edition: (string|undefined)): object;
|
|
435
392
|
}
|
|
436
393
|
|
|
437
394
|
/** Field descriptor. */
|
|
438
395
|
export interface IField {
|
|
439
396
|
|
|
440
|
-
/** Edition */
|
|
441
|
-
edition?: string;
|
|
442
|
-
|
|
443
397
|
/** Field rule */
|
|
444
398
|
rule?: string;
|
|
445
399
|
|
|
@@ -451,9 +405,6 @@ export interface IField {
|
|
|
451
405
|
|
|
452
406
|
/** Field options */
|
|
453
407
|
options?: { [k: string]: any };
|
|
454
|
-
|
|
455
|
-
/** Field comment */
|
|
456
|
-
comment?: (string|null);
|
|
457
408
|
}
|
|
458
409
|
|
|
459
410
|
/** Extension field descriptor. */
|
|
@@ -467,16 +418,15 @@ export interface IExtensionField extends IField {
|
|
|
467
418
|
* Decorator function as returned by {@link Field.d} and {@link MapField.d} (TypeScript).
|
|
468
419
|
* @param prototype Target prototype
|
|
469
420
|
* @param fieldName Field name
|
|
470
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
471
421
|
*/
|
|
472
|
-
|
|
422
|
+
type FieldDecorator = (prototype: object, fieldName: string) => void;
|
|
473
423
|
|
|
474
424
|
/**
|
|
475
425
|
* A node-style callback as used by {@link load} and {@link Root#load}.
|
|
476
426
|
* @param error Error, if any, otherwise `null`
|
|
477
427
|
* @param [root] Root, if there hasn't been an error
|
|
478
428
|
*/
|
|
479
|
-
|
|
429
|
+
type LoadCallback = (error: (Error|null), root?: Root) => void;
|
|
480
430
|
|
|
481
431
|
/**
|
|
482
432
|
* Loads one or multiple .proto or preprocessed .json files into a common root namespace and calls the callback.
|
|
@@ -535,10 +485,10 @@ export class MapField extends FieldBase {
|
|
|
535
485
|
constructor(name: string, id: number, keyType: string, type: string, options?: { [k: string]: any }, comment?: string);
|
|
536
486
|
|
|
537
487
|
/** Key type. */
|
|
538
|
-
keyType: string;
|
|
488
|
+
public keyType: string;
|
|
539
489
|
|
|
540
490
|
/** Resolved key type if not a basic type. */
|
|
541
|
-
resolvedKeyType: (ReflectionObject|null);
|
|
491
|
+
public resolvedKeyType: (ReflectionObject|null);
|
|
542
492
|
|
|
543
493
|
/**
|
|
544
494
|
* Constructs a map field from a map field descriptor.
|
|
@@ -547,14 +497,14 @@ export class MapField extends FieldBase {
|
|
|
547
497
|
* @returns Created map field
|
|
548
498
|
* @throws {TypeError} If arguments are invalid
|
|
549
499
|
*/
|
|
550
|
-
static fromJSON(name: string, json: IMapField): MapField;
|
|
500
|
+
public static fromJSON(name: string, json: IMapField): MapField;
|
|
551
501
|
|
|
552
502
|
/**
|
|
553
503
|
* Converts this map field to a map field descriptor.
|
|
554
504
|
* @param [toJSONOptions] JSON conversion options
|
|
555
505
|
* @returns Map field descriptor
|
|
556
506
|
*/
|
|
557
|
-
toJSON(toJSONOptions?: IToJSONOptions): IMapField;
|
|
507
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IMapField;
|
|
558
508
|
|
|
559
509
|
/**
|
|
560
510
|
* Map field decorator (TypeScript).
|
|
@@ -562,9 +512,8 @@ export class MapField extends FieldBase {
|
|
|
562
512
|
* @param fieldKeyType Field key type
|
|
563
513
|
* @param fieldValueType Field value type
|
|
564
514
|
* @returns Decorator function
|
|
565
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
566
515
|
*/
|
|
567
|
-
static d<T extends { [key: string]: number | Long | string | boolean | Uint8Array | Buffer | number[] | Message<{}> }>(fieldId: number, fieldKeyType: ("int32"|"uint32"|"sint32"|"fixed32"|"sfixed32"|"int64"|"uint64"|"sint64"|"fixed64"|"sfixed64"|"bool"|"string"), fieldValueType: ("double"|"float"|"int32"|"uint32"|"sint32"|"fixed32"|"sfixed32"|"int64"|"uint64"|"sint64"|"fixed64"|"sfixed64"|"bool"|"string"|"bytes"|object|Constructor<{}>)): FieldDecorator;
|
|
516
|
+
public static d<T extends { [key: string]: number | Long | string | boolean | Uint8Array | Buffer | number[] | Message<{}> }>(fieldId: number, fieldKeyType: ("int32"|"uint32"|"sint32"|"fixed32"|"sfixed32"|"int64"|"uint64"|"sint64"|"fixed64"|"sfixed64"|"bool"|"string"), fieldValueType: ("double"|"float"|"int32"|"uint32"|"sint32"|"fixed32"|"sfixed32"|"int64"|"uint64"|"sint64"|"fixed64"|"sfixed64"|"bool"|"string"|"bytes"|object|Constructor<{}>)): FieldDecorator;
|
|
568
517
|
}
|
|
569
518
|
|
|
570
519
|
/** Map field descriptor. */
|
|
@@ -590,21 +539,18 @@ export class Message<T extends object = object> {
|
|
|
590
539
|
*/
|
|
591
540
|
constructor(properties?: Properties<T>);
|
|
592
541
|
|
|
593
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
594
|
-
$unknowns?: Uint8Array[];
|
|
595
|
-
|
|
596
542
|
/** Reference to the reflected type. */
|
|
597
|
-
static readonly $type: Type;
|
|
543
|
+
public static readonly $type: Type;
|
|
598
544
|
|
|
599
545
|
/** Reference to the reflected type. */
|
|
600
|
-
readonly $type: Type;
|
|
546
|
+
public readonly $type: Type;
|
|
601
547
|
|
|
602
548
|
/**
|
|
603
549
|
* Creates a new message of this type using the specified properties.
|
|
604
550
|
* @param [properties] Properties to set
|
|
605
551
|
* @returns Message instance
|
|
606
552
|
*/
|
|
607
|
-
static create<T extends Message<T>>(this: Constructor<T>, properties?: { [k: string]: any }): T
|
|
553
|
+
public static create<T extends Message<T>>(this: Constructor<T>, properties?: { [k: string]: any }): Message<T>;
|
|
608
554
|
|
|
609
555
|
/**
|
|
610
556
|
* Encodes a message of this type.
|
|
@@ -612,7 +558,7 @@ export class Message<T extends object = object> {
|
|
|
612
558
|
* @param [writer] Writer to use
|
|
613
559
|
* @returns Writer
|
|
614
560
|
*/
|
|
615
|
-
static encode<T extends Message<T>>(this: Constructor<T>, message: (T|{ [k: string]: any }), writer?: Writer): Writer;
|
|
561
|
+
public static encode<T extends Message<T>>(this: Constructor<T>, message: (T|{ [k: string]: any }), writer?: Writer): Writer;
|
|
616
562
|
|
|
617
563
|
/**
|
|
618
564
|
* Encodes a message of this type preceeded by its length as a varint.
|
|
@@ -620,35 +566,35 @@ export class Message<T extends object = object> {
|
|
|
620
566
|
* @param [writer] Writer to use
|
|
621
567
|
* @returns Writer
|
|
622
568
|
*/
|
|
623
|
-
static encodeDelimited<T extends Message<T>>(this: Constructor<T>, message: (T|{ [k: string]: any }), writer?: Writer): Writer;
|
|
569
|
+
public static encodeDelimited<T extends Message<T>>(this: Constructor<T>, message: (T|{ [k: string]: any }), writer?: Writer): Writer;
|
|
624
570
|
|
|
625
571
|
/**
|
|
626
572
|
* Decodes a message of this type.
|
|
627
573
|
* @param reader Reader or buffer to decode
|
|
628
574
|
* @returns Decoded message
|
|
629
575
|
*/
|
|
630
|
-
static decode<T extends Message<T>>(this: Constructor<T>, reader: (Reader|Uint8Array)): T;
|
|
576
|
+
public static decode<T extends Message<T>>(this: Constructor<T>, reader: (Reader|Uint8Array)): T;
|
|
631
577
|
|
|
632
578
|
/**
|
|
633
579
|
* Decodes a message of this type preceeded by its length as a varint.
|
|
634
580
|
* @param reader Reader or buffer to decode
|
|
635
581
|
* @returns Decoded message
|
|
636
582
|
*/
|
|
637
|
-
static decodeDelimited<T extends Message<T>>(this: Constructor<T>, reader: (Reader|Uint8Array)): T;
|
|
583
|
+
public static decodeDelimited<T extends Message<T>>(this: Constructor<T>, reader: (Reader|Uint8Array)): T;
|
|
638
584
|
|
|
639
585
|
/**
|
|
640
586
|
* Verifies a message of this type.
|
|
641
587
|
* @param message Plain object to verify
|
|
642
588
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
643
589
|
*/
|
|
644
|
-
static verify(message: { [k: string]: any }): (string|null);
|
|
590
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
645
591
|
|
|
646
592
|
/**
|
|
647
593
|
* Creates a new message of this type from a plain object. Also converts values to their respective internal types.
|
|
648
594
|
* @param object Plain object
|
|
649
595
|
* @returns Message instance
|
|
650
596
|
*/
|
|
651
|
-
static fromObject<T extends Message<T>>(this: Constructor<T>, object: { [k: string]: any }): T;
|
|
597
|
+
public static fromObject<T extends Message<T>>(this: Constructor<T>, object: { [k: string]: any }): T;
|
|
652
598
|
|
|
653
599
|
/**
|
|
654
600
|
* Creates a plain object from a message of this type. Also converts values to other types if specified.
|
|
@@ -656,13 +602,13 @@ export class Message<T extends object = object> {
|
|
|
656
602
|
* @param [options] Conversion options
|
|
657
603
|
* @returns Plain object
|
|
658
604
|
*/
|
|
659
|
-
static toObject<T extends Message<T>>(this: Constructor<T>, message: T, options?: IConversionOptions): { [k: string]: any };
|
|
605
|
+
public static toObject<T extends Message<T>>(this: Constructor<T>, message: T, options?: IConversionOptions): { [k: string]: any };
|
|
660
606
|
|
|
661
607
|
/**
|
|
662
608
|
* Converts this message to JSON.
|
|
663
609
|
* @returns JSON object
|
|
664
610
|
*/
|
|
665
|
-
toJSON(): { [k: string]: any };
|
|
611
|
+
public toJSON(): { [k: string]: any };
|
|
666
612
|
}
|
|
667
613
|
|
|
668
614
|
/** Reflected service method. */
|
|
@@ -678,39 +624,36 @@ export class Method extends ReflectionObject {
|
|
|
678
624
|
* @param [responseStream] Whether the response is streamed
|
|
679
625
|
* @param [options] Declared options
|
|
680
626
|
* @param [comment] The comment for this method
|
|
681
|
-
* @param [parsedOptions] Declared options, properly parsed into
|
|
627
|
+
* @param [parsedOptions] Declared options, properly parsed into an object
|
|
682
628
|
*/
|
|
683
|
-
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string, parsedOptions?: { [k: string]: any }
|
|
629
|
+
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string, parsedOptions?: { [k: string]: any });
|
|
684
630
|
|
|
685
631
|
/** Method type. */
|
|
686
|
-
type: string;
|
|
632
|
+
public type: string;
|
|
687
633
|
|
|
688
634
|
/** Request type. */
|
|
689
|
-
requestType: string;
|
|
635
|
+
public requestType: string;
|
|
690
636
|
|
|
691
637
|
/** Whether requests are streamed or not. */
|
|
692
|
-
requestStream?:
|
|
638
|
+
public requestStream?: boolean;
|
|
693
639
|
|
|
694
640
|
/** Response type. */
|
|
695
|
-
responseType: string;
|
|
641
|
+
public responseType: string;
|
|
696
642
|
|
|
697
643
|
/** Whether responses are streamed or not. */
|
|
698
|
-
responseStream?:
|
|
699
|
-
|
|
700
|
-
/** gRPC-style method path. */
|
|
701
|
-
path: string;
|
|
644
|
+
public responseStream?: boolean;
|
|
702
645
|
|
|
703
646
|
/** Resolved request type. */
|
|
704
|
-
resolvedRequestType: (Type|null);
|
|
647
|
+
public resolvedRequestType: (Type|null);
|
|
705
648
|
|
|
706
649
|
/** Resolved response type. */
|
|
707
|
-
resolvedResponseType: (Type|null);
|
|
650
|
+
public resolvedResponseType: (Type|null);
|
|
708
651
|
|
|
709
652
|
/** Comment for this method */
|
|
710
|
-
comment: (string|null);
|
|
653
|
+
public comment: (string|null);
|
|
711
654
|
|
|
712
|
-
/** Options properly parsed into
|
|
713
|
-
parsedOptions
|
|
655
|
+
/** Options properly parsed into an object */
|
|
656
|
+
public parsedOptions: any;
|
|
714
657
|
|
|
715
658
|
/**
|
|
716
659
|
* Constructs a method from a method descriptor.
|
|
@@ -719,14 +662,14 @@ export class Method extends ReflectionObject {
|
|
|
719
662
|
* @returns Created method
|
|
720
663
|
* @throws {TypeError} If arguments are invalid
|
|
721
664
|
*/
|
|
722
|
-
static fromJSON(name: string, json: IMethod): Method;
|
|
665
|
+
public static fromJSON(name: string, json: IMethod): Method;
|
|
723
666
|
|
|
724
667
|
/**
|
|
725
668
|
* Converts this method to a method descriptor.
|
|
726
669
|
* @param [toJSONOptions] JSON conversion options
|
|
727
670
|
* @returns Method descriptor
|
|
728
671
|
*/
|
|
729
|
-
toJSON(toJSONOptions?: IToJSONOptions): IMethod;
|
|
672
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IMethod;
|
|
730
673
|
}
|
|
731
674
|
|
|
732
675
|
/** Method descriptor. */
|
|
@@ -750,11 +693,11 @@ export interface IMethod {
|
|
|
750
693
|
/** Method options */
|
|
751
694
|
options?: { [k: string]: any };
|
|
752
695
|
|
|
753
|
-
/** Method
|
|
754
|
-
comment
|
|
696
|
+
/** Method comments */
|
|
697
|
+
comment: string;
|
|
755
698
|
|
|
756
|
-
/** Method options properly parsed into
|
|
757
|
-
parsedOptions?: { [k: string]: any }
|
|
699
|
+
/** Method options properly parsed into an object */
|
|
700
|
+
parsedOptions?: { [k: string]: any };
|
|
758
701
|
}
|
|
759
702
|
|
|
760
703
|
/** Reflected namespace. */
|
|
@@ -775,7 +718,7 @@ export class Namespace extends NamespaceBase {
|
|
|
775
718
|
* @returns Created namespace
|
|
776
719
|
* @throws {TypeError} If arguments are invalid
|
|
777
720
|
*/
|
|
778
|
-
static fromJSON(name: string, json: { [k: string]: any }, depth?: number): Namespace;
|
|
721
|
+
public static fromJSON(name: string, json: { [k: string]: any }, depth?: number): Namespace;
|
|
779
722
|
|
|
780
723
|
/**
|
|
781
724
|
* Converts an array of reflection objects to JSON.
|
|
@@ -783,7 +726,7 @@ export class Namespace extends NamespaceBase {
|
|
|
783
726
|
* @param [toJSONOptions] JSON conversion options
|
|
784
727
|
* @returns JSON object or `undefined` when array is empty
|
|
785
728
|
*/
|
|
786
|
-
static arrayToJSON(array: ReflectionObject[], toJSONOptions?: IToJSONOptions): ({ [k: string]: any }|undefined);
|
|
729
|
+
public static arrayToJSON(array: ReflectionObject[], toJSONOptions?: IToJSONOptions): ({ [k: string]: any }|undefined);
|
|
787
730
|
|
|
788
731
|
/**
|
|
789
732
|
* Tests if the specified id is reserved.
|
|
@@ -791,7 +734,7 @@ export class Namespace extends NamespaceBase {
|
|
|
791
734
|
* @param id Id to test
|
|
792
735
|
* @returns `true` if reserved, otherwise `false`
|
|
793
736
|
*/
|
|
794
|
-
static isReservedId(reserved: ((number[]|string)[]|undefined), id: number): boolean;
|
|
737
|
+
public static isReservedId(reserved: ((number[]|string)[]|undefined), id: number): boolean;
|
|
795
738
|
|
|
796
739
|
/**
|
|
797
740
|
* Tests if the specified name is reserved.
|
|
@@ -799,14 +742,14 @@ export class Namespace extends NamespaceBase {
|
|
|
799
742
|
* @param name Name to test
|
|
800
743
|
* @returns `true` if reserved, otherwise `false`
|
|
801
744
|
*/
|
|
802
|
-
static isReservedName(reserved: ((number[]|string)[]|undefined), name: string): boolean;
|
|
745
|
+
public static isReservedName(reserved: ((number[]|string)[]|undefined), name: string): boolean;
|
|
803
746
|
}
|
|
804
747
|
|
|
805
748
|
/** Base class of all reflection objects containing nested objects. This is not an actual class but here for the sake of having consistent type definitions. */
|
|
806
749
|
export abstract class NamespaceBase extends ReflectionObject {
|
|
807
750
|
|
|
808
751
|
/** Nested objects by name. */
|
|
809
|
-
nested?: { [k: string]: ReflectionObject };
|
|
752
|
+
public nested?: { [k: string]: ReflectionObject };
|
|
810
753
|
|
|
811
754
|
/** Whether or not objects contained in this namespace need feature resolution. */
|
|
812
755
|
protected _needsRecursiveFeatureResolution: boolean;
|
|
@@ -815,14 +758,14 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
815
758
|
protected _needsRecursiveResolve: boolean;
|
|
816
759
|
|
|
817
760
|
/** Nested objects of this namespace as an array for iteration. */
|
|
818
|
-
readonly nestedArray: ReflectionObject[];
|
|
761
|
+
public readonly nestedArray: ReflectionObject[];
|
|
819
762
|
|
|
820
763
|
/**
|
|
821
764
|
* Converts this namespace to a namespace descriptor.
|
|
822
765
|
* @param [toJSONOptions] JSON conversion options
|
|
823
766
|
* @returns Namespace descriptor
|
|
824
767
|
*/
|
|
825
|
-
toJSON(toJSONOptions?: IToJSONOptions): INamespace;
|
|
768
|
+
public toJSON(toJSONOptions?: IToJSONOptions): INamespace;
|
|
826
769
|
|
|
827
770
|
/**
|
|
828
771
|
* Adds nested objects to this namespace from nested object descriptors.
|
|
@@ -830,14 +773,14 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
830
773
|
* @param [depth] Current nesting depth, defaults to `0`
|
|
831
774
|
* @returns `this`
|
|
832
775
|
*/
|
|
833
|
-
addJSON(nestedJson: { [k: string]: AnyNestedObject }, depth?: number): Namespace;
|
|
776
|
+
public addJSON(nestedJson: { [k: string]: AnyNestedObject }, depth?: number): Namespace;
|
|
834
777
|
|
|
835
778
|
/**
|
|
836
779
|
* Gets the nested object of the specified name.
|
|
837
780
|
* @param name Nested object name
|
|
838
781
|
* @returns The reflection object or `null` if it doesn't exist
|
|
839
782
|
*/
|
|
840
|
-
get(name: string): (ReflectionObject|null);
|
|
783
|
+
public get(name: string): (ReflectionObject|null);
|
|
841
784
|
|
|
842
785
|
/**
|
|
843
786
|
* Gets the values of the nested {@link Enum|enum} of the specified name.
|
|
@@ -846,7 +789,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
846
789
|
* @returns Enum values
|
|
847
790
|
* @throws {Error} If there is no such enum
|
|
848
791
|
*/
|
|
849
|
-
getEnum(name: string): { [k: string]: number };
|
|
792
|
+
public getEnum(name: string): { [k: string]: number };
|
|
850
793
|
|
|
851
794
|
/**
|
|
852
795
|
* Adds a nested object to this namespace.
|
|
@@ -855,7 +798,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
855
798
|
* @throws {TypeError} If arguments are invalid
|
|
856
799
|
* @throws {Error} If there is already a nested object with this name
|
|
857
800
|
*/
|
|
858
|
-
add(object: ReflectionObject): Namespace;
|
|
801
|
+
public add(object: ReflectionObject): Namespace;
|
|
859
802
|
|
|
860
803
|
/**
|
|
861
804
|
* Removes a nested object from this namespace.
|
|
@@ -864,7 +807,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
864
807
|
* @throws {TypeError} If arguments are invalid
|
|
865
808
|
* @throws {Error} If `object` is not a member of this namespace
|
|
866
809
|
*/
|
|
867
|
-
remove(object: ReflectionObject): Namespace;
|
|
810
|
+
public remove(object: ReflectionObject): Namespace;
|
|
868
811
|
|
|
869
812
|
/**
|
|
870
813
|
* Defines additial namespaces within this one if not yet existing.
|
|
@@ -872,13 +815,13 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
872
815
|
* @param [json] Nested types to create from JSON
|
|
873
816
|
* @returns Pointer to the last namespace created or `this` if path is empty
|
|
874
817
|
*/
|
|
875
|
-
define(path: (string|string[]), json?: any): Namespace;
|
|
818
|
+
public define(path: (string|string[]), json?: any): Namespace;
|
|
876
819
|
|
|
877
820
|
/**
|
|
878
821
|
* Resolves this namespace's and all its nested objects' type references. Useful to validate a reflection tree, but comes at a cost.
|
|
879
822
|
* @returns `this`
|
|
880
823
|
*/
|
|
881
|
-
resolveAll(): Namespace;
|
|
824
|
+
public resolveAll(): Namespace;
|
|
882
825
|
|
|
883
826
|
/**
|
|
884
827
|
* Recursively looks up the reflection object matching the specified path in the scope of this namespace.
|
|
@@ -887,7 +830,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
887
830
|
* @param [parentAlreadyChecked=false] If known, whether the parent has already been checked
|
|
888
831
|
* @returns Looked up object or `null` if none could be found
|
|
889
832
|
*/
|
|
890
|
-
lookup(path: (string|string[]), filterTypes: (any|any[]), parentAlreadyChecked?: boolean): (ReflectionObject|null);
|
|
833
|
+
public lookup(path: (string|string[]), filterTypes: (any|any[]), parentAlreadyChecked?: boolean): (ReflectionObject|null);
|
|
891
834
|
|
|
892
835
|
/**
|
|
893
836
|
* Looks up the reflection object at the specified path, relative to this namespace.
|
|
@@ -895,7 +838,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
895
838
|
* @param [parentAlreadyChecked=false] Whether the parent has already been checked
|
|
896
839
|
* @returns Looked up object or `null` if none could be found
|
|
897
840
|
*/
|
|
898
|
-
lookup(path: (string|string[]), parentAlreadyChecked?: boolean): (ReflectionObject|null);
|
|
841
|
+
public lookup(path: (string|string[]), parentAlreadyChecked?: boolean): (ReflectionObject|null);
|
|
899
842
|
|
|
900
843
|
/**
|
|
901
844
|
* Looks up the {@link Type|type} at the specified path, relative to this namespace.
|
|
@@ -904,7 +847,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
904
847
|
* @returns Looked up type
|
|
905
848
|
* @throws {Error} If `path` does not point to a type
|
|
906
849
|
*/
|
|
907
|
-
lookupType(path: (string|string[])): Type;
|
|
850
|
+
public lookupType(path: (string|string[])): Type;
|
|
908
851
|
|
|
909
852
|
/**
|
|
910
853
|
* Looks up the values of the {@link Enum|enum} at the specified path, relative to this namespace.
|
|
@@ -913,7 +856,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
913
856
|
* @returns Looked up enum
|
|
914
857
|
* @throws {Error} If `path` does not point to an enum
|
|
915
858
|
*/
|
|
916
|
-
lookupEnum(path: (string|string[])): Enum;
|
|
859
|
+
public lookupEnum(path: (string|string[])): Enum;
|
|
917
860
|
|
|
918
861
|
/**
|
|
919
862
|
* Looks up the {@link Type|type} or {@link Enum|enum} at the specified path, relative to this namespace.
|
|
@@ -922,7 +865,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
922
865
|
* @returns Looked up type or enum
|
|
923
866
|
* @throws {Error} If `path` does not point to a type or enum
|
|
924
867
|
*/
|
|
925
|
-
lookupTypeOrEnum(path: (string|string[])): Type;
|
|
868
|
+
public lookupTypeOrEnum(path: (string|string[])): Type;
|
|
926
869
|
|
|
927
870
|
/**
|
|
928
871
|
* Looks up the {@link Service|service} at the specified path, relative to this namespace.
|
|
@@ -931,7 +874,7 @@ export abstract class NamespaceBase extends ReflectionObject {
|
|
|
931
874
|
* @returns Looked up service
|
|
932
875
|
* @throws {Error} If `path` does not point to a service
|
|
933
876
|
*/
|
|
934
|
-
lookupService(path: (string|string[])): Service;
|
|
877
|
+
public lookupService(path: (string|string[])): Service;
|
|
935
878
|
}
|
|
936
879
|
|
|
937
880
|
/** Namespace descriptor. */
|
|
@@ -945,77 +888,77 @@ export interface INamespace {
|
|
|
945
888
|
}
|
|
946
889
|
|
|
947
890
|
/** Any extension field descriptor. */
|
|
948
|
-
|
|
891
|
+
type AnyExtensionField = (IExtensionField|IExtensionMapField);
|
|
949
892
|
|
|
950
893
|
/** Any nested object descriptor. */
|
|
951
|
-
|
|
894
|
+
type AnyNestedObject = (IEnum|IType|IService|AnyExtensionField|INamespace|IOneOf);
|
|
952
895
|
|
|
953
896
|
/** Base class of all reflection objects. */
|
|
954
897
|
export abstract class ReflectionObject {
|
|
955
898
|
|
|
956
899
|
/** Options. */
|
|
957
|
-
options?: { [k: string]: any };
|
|
900
|
+
public options?: { [k: string]: any };
|
|
958
901
|
|
|
959
902
|
/** Parsed Options. */
|
|
960
|
-
parsedOptions?: { [k: string]: any }
|
|
903
|
+
public parsedOptions?: { [k: string]: any[] };
|
|
961
904
|
|
|
962
905
|
/** Unique name within its namespace. */
|
|
963
|
-
name: string;
|
|
906
|
+
public name: string;
|
|
964
907
|
|
|
965
908
|
/** Parent namespace. */
|
|
966
|
-
parent: (Namespace|null);
|
|
909
|
+
public parent: (Namespace|null);
|
|
967
910
|
|
|
968
911
|
/** Whether already resolved or not. */
|
|
969
|
-
resolved: boolean;
|
|
912
|
+
public resolved: boolean;
|
|
970
913
|
|
|
971
914
|
/** Comment text, if any. */
|
|
972
|
-
comment: (string|null);
|
|
915
|
+
public comment: (string|null);
|
|
973
916
|
|
|
974
917
|
/** Defining file name. */
|
|
975
|
-
filename: (string|null);
|
|
918
|
+
public filename: (string|null);
|
|
976
919
|
|
|
977
920
|
/** Reference to the root namespace. */
|
|
978
|
-
readonly root: Root;
|
|
921
|
+
public readonly root: Root;
|
|
979
922
|
|
|
980
923
|
/** Full name including leading dot. */
|
|
981
|
-
readonly fullName: string;
|
|
924
|
+
public readonly fullName: string;
|
|
982
925
|
|
|
983
926
|
/**
|
|
984
927
|
* Converts this reflection object to its descriptor representation.
|
|
985
928
|
* @returns Descriptor
|
|
986
929
|
*/
|
|
987
|
-
toJSON(): { [k: string]: any };
|
|
930
|
+
public toJSON(): { [k: string]: any };
|
|
988
931
|
|
|
989
932
|
/**
|
|
990
933
|
* Called when this object is added to a parent.
|
|
991
934
|
* @param parent Parent added to
|
|
992
935
|
*/
|
|
993
|
-
onAdd(parent: ReflectionObject): void;
|
|
936
|
+
public onAdd(parent: ReflectionObject): void;
|
|
994
937
|
|
|
995
938
|
/**
|
|
996
939
|
* Called when this object is removed from a parent.
|
|
997
940
|
* @param parent Parent removed from
|
|
998
941
|
*/
|
|
999
|
-
onRemove(parent: ReflectionObject): void;
|
|
942
|
+
public onRemove(parent: ReflectionObject): void;
|
|
1000
943
|
|
|
1001
944
|
/**
|
|
1002
945
|
* Resolves this objects type references.
|
|
1003
946
|
* @returns `this`
|
|
1004
947
|
*/
|
|
1005
|
-
resolve(): ReflectionObject;
|
|
948
|
+
public resolve(): ReflectionObject;
|
|
1006
949
|
|
|
1007
950
|
/**
|
|
1008
951
|
* Resolves this objects editions features.
|
|
1009
952
|
* @param edition The edition we're currently resolving for.
|
|
1010
953
|
* @returns `this`
|
|
1011
954
|
*/
|
|
1012
|
-
_resolveFeaturesRecursive(edition: string): ReflectionObject;
|
|
955
|
+
public _resolveFeaturesRecursive(edition: string): ReflectionObject;
|
|
1013
956
|
|
|
1014
957
|
/**
|
|
1015
958
|
* Resolves child features from parent features
|
|
1016
959
|
* @param edition The edition we're currently resolving for.
|
|
1017
960
|
*/
|
|
1018
|
-
_resolveFeatures(edition: string): void;
|
|
961
|
+
public _resolveFeatures(edition: string): void;
|
|
1019
962
|
|
|
1020
963
|
/**
|
|
1021
964
|
* Infers features from legacy syntax that may have been specified differently.
|
|
@@ -1023,14 +966,14 @@ export abstract class ReflectionObject {
|
|
|
1023
966
|
* @param edition The edition this proto is on, or undefined if pre-editions
|
|
1024
967
|
* @returns The feature values to override
|
|
1025
968
|
*/
|
|
1026
|
-
_inferLegacyProtoFeatures(edition: (string|undefined)): object;
|
|
969
|
+
public _inferLegacyProtoFeatures(edition: (string|undefined)): object;
|
|
1027
970
|
|
|
1028
971
|
/**
|
|
1029
972
|
* Gets an option value.
|
|
1030
973
|
* @param name Option name
|
|
1031
974
|
* @returns Option value or `undefined` if not set
|
|
1032
975
|
*/
|
|
1033
|
-
getOption(name: string): any;
|
|
976
|
+
public getOption(name: string): any;
|
|
1034
977
|
|
|
1035
978
|
/**
|
|
1036
979
|
* Sets an option.
|
|
@@ -1039,7 +982,7 @@ export abstract class ReflectionObject {
|
|
|
1039
982
|
* @param [ifNotSet] Sets the option only if it isn't currently set
|
|
1040
983
|
* @returns `this`
|
|
1041
984
|
*/
|
|
1042
|
-
setOption(name: string, value: any, ifNotSet?: (boolean|undefined)): ReflectionObject;
|
|
985
|
+
public setOption(name: string, value: any, ifNotSet?: (boolean|undefined)): ReflectionObject;
|
|
1043
986
|
|
|
1044
987
|
/**
|
|
1045
988
|
* Sets a parsed option.
|
|
@@ -1048,7 +991,7 @@ export abstract class ReflectionObject {
|
|
|
1048
991
|
* @param propName dot '.' delimited full path of property within the option to set. if undefined\empty, will add a new option with that value
|
|
1049
992
|
* @returns `this`
|
|
1050
993
|
*/
|
|
1051
|
-
setParsedOption(name: string, value: any, propName: string): ReflectionObject;
|
|
994
|
+
public setParsedOption(name: string, value: any, propName: string): ReflectionObject;
|
|
1052
995
|
|
|
1053
996
|
/**
|
|
1054
997
|
* Sets multiple options.
|
|
@@ -1056,19 +999,19 @@ export abstract class ReflectionObject {
|
|
|
1056
999
|
* @param [ifNotSet] Sets an option only if it isn't currently set
|
|
1057
1000
|
* @returns `this`
|
|
1058
1001
|
*/
|
|
1059
|
-
setOptions(options: { [k: string]: any }, ifNotSet?: boolean): ReflectionObject;
|
|
1002
|
+
public setOptions(options: { [k: string]: any }, ifNotSet?: boolean): ReflectionObject;
|
|
1060
1003
|
|
|
1061
1004
|
/**
|
|
1062
1005
|
* Converts this instance to its string representation.
|
|
1063
1006
|
* @returns Class name[, space, full name]
|
|
1064
1007
|
*/
|
|
1065
|
-
toString(): string;
|
|
1008
|
+
public toString(): string;
|
|
1066
1009
|
|
|
1067
1010
|
/**
|
|
1068
1011
|
* Converts the edition this object is pinned to for JSON format.
|
|
1069
1012
|
* @returns The edition string for JSON representation
|
|
1070
1013
|
*/
|
|
1071
|
-
_editionToJSON(): (string|undefined);
|
|
1014
|
+
public _editionToJSON(): (string|undefined);
|
|
1072
1015
|
}
|
|
1073
1016
|
|
|
1074
1017
|
/** Reflected oneof. */
|
|
@@ -1084,13 +1027,13 @@ export class OneOf extends ReflectionObject {
|
|
|
1084
1027
|
constructor(name: string, fieldNames?: (string[]|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string);
|
|
1085
1028
|
|
|
1086
1029
|
/** Field names that belong to this oneof. */
|
|
1087
|
-
oneof: string[];
|
|
1030
|
+
public oneof: string[];
|
|
1088
1031
|
|
|
1089
1032
|
/** Fields that belong to this oneof as an array for iteration. */
|
|
1090
|
-
readonly fieldsArray: Field[];
|
|
1033
|
+
public readonly fieldsArray: Field[];
|
|
1091
1034
|
|
|
1092
1035
|
/** Comment for this field. */
|
|
1093
|
-
comment: (string|null);
|
|
1036
|
+
public comment: (string|null);
|
|
1094
1037
|
|
|
1095
1038
|
/**
|
|
1096
1039
|
* Constructs a oneof from a oneof descriptor.
|
|
@@ -1099,43 +1042,42 @@ export class OneOf extends ReflectionObject {
|
|
|
1099
1042
|
* @returns Created oneof
|
|
1100
1043
|
* @throws {TypeError} If arguments are invalid
|
|
1101
1044
|
*/
|
|
1102
|
-
static fromJSON(name: string, json: IOneOf): OneOf;
|
|
1045
|
+
public static fromJSON(name: string, json: IOneOf): OneOf;
|
|
1103
1046
|
|
|
1104
1047
|
/**
|
|
1105
1048
|
* Converts this oneof to a oneof descriptor.
|
|
1106
1049
|
* @param [toJSONOptions] JSON conversion options
|
|
1107
1050
|
* @returns Oneof descriptor
|
|
1108
1051
|
*/
|
|
1109
|
-
toJSON(toJSONOptions?: IToJSONOptions): IOneOf;
|
|
1052
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IOneOf;
|
|
1110
1053
|
|
|
1111
1054
|
/**
|
|
1112
1055
|
* Adds a field to this oneof and removes it from its current parent, if any.
|
|
1113
1056
|
* @param field Field to add
|
|
1114
1057
|
* @returns `this`
|
|
1115
1058
|
*/
|
|
1116
|
-
add(field: Field): OneOf;
|
|
1059
|
+
public add(field: Field): OneOf;
|
|
1117
1060
|
|
|
1118
1061
|
/**
|
|
1119
1062
|
* Removes a field from this oneof and puts it back to the oneof's parent.
|
|
1120
1063
|
* @param field Field to remove
|
|
1121
1064
|
* @returns `this`
|
|
1122
1065
|
*/
|
|
1123
|
-
remove(field: Field): OneOf;
|
|
1066
|
+
public remove(field: Field): OneOf;
|
|
1124
1067
|
|
|
1125
1068
|
/**
|
|
1126
1069
|
* Determines whether this field corresponds to a synthetic oneof created for
|
|
1127
1070
|
* a proto3 optional field. No behavioral logic should depend on this, but it
|
|
1128
1071
|
* can be relevant for reflection.
|
|
1129
1072
|
*/
|
|
1130
|
-
readonly isProto3Optional: boolean;
|
|
1073
|
+
public readonly isProto3Optional: boolean;
|
|
1131
1074
|
|
|
1132
1075
|
/**
|
|
1133
1076
|
* OneOf decorator (TypeScript).
|
|
1134
1077
|
* @param fieldNames Field names
|
|
1135
1078
|
* @returns Decorator function
|
|
1136
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
1137
1079
|
*/
|
|
1138
|
-
static d<T extends string>(...fieldNames: string[]): OneOfDecorator;
|
|
1080
|
+
public static d<T extends string>(...fieldNames: string[]): OneOfDecorator;
|
|
1139
1081
|
}
|
|
1140
1082
|
|
|
1141
1083
|
/** Oneof descriptor. */
|
|
@@ -1146,18 +1088,14 @@ export interface IOneOf {
|
|
|
1146
1088
|
|
|
1147
1089
|
/** Oneof options */
|
|
1148
1090
|
options?: { [k: string]: any };
|
|
1149
|
-
|
|
1150
|
-
/** Oneof comment */
|
|
1151
|
-
comment?: (string|null);
|
|
1152
1091
|
}
|
|
1153
1092
|
|
|
1154
1093
|
/**
|
|
1155
1094
|
* Decorator function as returned by {@link OneOf.d} (TypeScript).
|
|
1156
1095
|
* @param prototype Target prototype
|
|
1157
1096
|
* @param oneofName OneOf name
|
|
1158
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
1159
1097
|
*/
|
|
1160
|
-
|
|
1098
|
+
type OneOfDecorator = (prototype: object, oneofName: string) => void;
|
|
1161
1099
|
|
|
1162
1100
|
/**
|
|
1163
1101
|
* Parses the given .proto source and returns an object with the parsed contents.
|
|
@@ -1212,7 +1150,7 @@ export interface IToJSONOptions {
|
|
|
1212
1150
|
*/
|
|
1213
1151
|
export function parse(source: string, root: Root, options?: IParseOptions): IParserResult;
|
|
1214
1152
|
|
|
1215
|
-
/** Wire format reader using `Uint8Array`. */
|
|
1153
|
+
/** Wire format reader using `Uint8Array` if available, otherwise `Array`. */
|
|
1216
1154
|
export class Reader {
|
|
1217
1155
|
|
|
1218
1156
|
/**
|
|
@@ -1222,19 +1160,13 @@ export class Reader {
|
|
|
1222
1160
|
constructor(buffer: Uint8Array);
|
|
1223
1161
|
|
|
1224
1162
|
/** Read buffer. */
|
|
1225
|
-
buf: Uint8Array;
|
|
1163
|
+
public buf: Uint8Array;
|
|
1226
1164
|
|
|
1227
1165
|
/** Read buffer position. */
|
|
1228
|
-
pos: number;
|
|
1166
|
+
public pos: number;
|
|
1229
1167
|
|
|
1230
1168
|
/** Read buffer length. */
|
|
1231
|
-
len: number;
|
|
1232
|
-
|
|
1233
|
-
/** Cached DataView for packed reads. */
|
|
1234
|
-
view: (DataView|null);
|
|
1235
|
-
|
|
1236
|
-
/** Whether to discard unknown fields while decoding. */
|
|
1237
|
-
discardUnknown: boolean;
|
|
1169
|
+
public len: number;
|
|
1238
1170
|
|
|
1239
1171
|
/**
|
|
1240
1172
|
* Creates a new reader using the specified buffer.
|
|
@@ -1242,230 +1174,115 @@ export class Reader {
|
|
|
1242
1174
|
* @returns A {@link BufferReader} if `buffer` is a Buffer, otherwise a {@link Reader}
|
|
1243
1175
|
* @throws {Error} If `buffer` is not a valid buffer
|
|
1244
1176
|
*/
|
|
1245
|
-
static create(buffer: (Uint8Array|Buffer)): (Reader|BufferReader);
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* Returns raw bytes from the backing buffer without advancing the reader.
|
|
1249
|
-
* @param start Start offset
|
|
1250
|
-
* @param end End offset
|
|
1251
|
-
* @returns Raw bytes
|
|
1252
|
-
*/
|
|
1253
|
-
raw(start: number, end: number): Uint8Array;
|
|
1177
|
+
public static create(buffer: (Uint8Array|Buffer)): (Reader|BufferReader);
|
|
1254
1178
|
|
|
1255
1179
|
/**
|
|
1256
1180
|
* Reads a varint as an unsigned 32 bit value.
|
|
1257
1181
|
* @returns Value read
|
|
1258
1182
|
*/
|
|
1259
|
-
uint32(): number;
|
|
1260
|
-
|
|
1261
|
-
/**
|
|
1262
|
-
* Reads a field tag.
|
|
1263
|
-
* @returns Tag read
|
|
1264
|
-
*/
|
|
1265
|
-
tag(): number;
|
|
1183
|
+
public uint32(): number;
|
|
1266
1184
|
|
|
1267
1185
|
/**
|
|
1268
1186
|
* Reads a varint as a signed 32 bit value.
|
|
1269
1187
|
* @returns Value read
|
|
1270
1188
|
*/
|
|
1271
|
-
int32(): number;
|
|
1189
|
+
public int32(): number;
|
|
1272
1190
|
|
|
1273
1191
|
/**
|
|
1274
1192
|
* Reads a zig-zag encoded varint as a signed 32 bit value.
|
|
1275
1193
|
* @returns Value read
|
|
1276
1194
|
*/
|
|
1277
|
-
sint32(): number;
|
|
1195
|
+
public sint32(): number;
|
|
1278
1196
|
|
|
1279
1197
|
/**
|
|
1280
1198
|
* Reads a varint as a signed 64 bit value.
|
|
1281
1199
|
* @returns Value read
|
|
1282
1200
|
*/
|
|
1283
|
-
int64(): Long;
|
|
1201
|
+
public int64(): Long;
|
|
1284
1202
|
|
|
1285
1203
|
/**
|
|
1286
1204
|
* Reads a varint as an unsigned 64 bit value.
|
|
1287
1205
|
* @returns Value read
|
|
1288
1206
|
*/
|
|
1289
|
-
uint64(): Long;
|
|
1207
|
+
public uint64(): Long;
|
|
1290
1208
|
|
|
1291
1209
|
/**
|
|
1292
1210
|
* Reads a zig-zag encoded varint as a signed 64 bit value.
|
|
1293
1211
|
* @returns Value read
|
|
1294
1212
|
*/
|
|
1295
|
-
sint64(): Long;
|
|
1213
|
+
public sint64(): Long;
|
|
1296
1214
|
|
|
1297
1215
|
/**
|
|
1298
1216
|
* Reads a varint as a boolean.
|
|
1299
1217
|
* @returns Value read
|
|
1300
1218
|
*/
|
|
1301
|
-
bool(): boolean;
|
|
1219
|
+
public bool(): boolean;
|
|
1302
1220
|
|
|
1303
1221
|
/**
|
|
1304
1222
|
* Reads fixed 32 bits as an unsigned 32 bit integer.
|
|
1305
1223
|
* @returns Value read
|
|
1306
1224
|
*/
|
|
1307
|
-
fixed32(): number;
|
|
1225
|
+
public fixed32(): number;
|
|
1308
1226
|
|
|
1309
1227
|
/**
|
|
1310
1228
|
* Reads fixed 32 bits as a signed 32 bit integer.
|
|
1311
1229
|
* @returns Value read
|
|
1312
1230
|
*/
|
|
1313
|
-
sfixed32(): number;
|
|
1231
|
+
public sfixed32(): number;
|
|
1314
1232
|
|
|
1315
1233
|
/**
|
|
1316
1234
|
* Reads fixed 64 bits.
|
|
1317
1235
|
* @returns Value read
|
|
1318
1236
|
*/
|
|
1319
|
-
fixed64(): Long;
|
|
1237
|
+
public fixed64(): Long;
|
|
1320
1238
|
|
|
1321
1239
|
/**
|
|
1322
1240
|
* Reads zig-zag encoded fixed 64 bits.
|
|
1323
1241
|
* @returns Value read
|
|
1324
1242
|
*/
|
|
1325
|
-
sfixed64(): Long;
|
|
1243
|
+
public sfixed64(): Long;
|
|
1326
1244
|
|
|
1327
1245
|
/**
|
|
1328
1246
|
* Reads a float (32 bit) as a number.
|
|
1329
1247
|
* @returns Value read
|
|
1330
1248
|
*/
|
|
1331
|
-
float(): number;
|
|
1249
|
+
public float(): number;
|
|
1332
1250
|
|
|
1333
1251
|
/**
|
|
1334
1252
|
* Reads a double (64 bit float) as a number.
|
|
1335
1253
|
* @returns Value read
|
|
1336
1254
|
*/
|
|
1337
|
-
double(): number;
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* Reads a packed repeated field of unsigned 32 bit varints.
|
|
1341
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1342
|
-
* @returns Array read into
|
|
1343
|
-
*/
|
|
1344
|
-
uint32s(array?: number[]): number[];
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1347
|
-
* Reads a packed repeated field of signed 32 bit varints.
|
|
1348
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1349
|
-
* @returns Array read into
|
|
1350
|
-
*/
|
|
1351
|
-
int32s(array?: number[]): number[];
|
|
1352
|
-
|
|
1353
|
-
/**
|
|
1354
|
-
* Reads a packed repeated field of zig-zag encoded signed 32 bit varints.
|
|
1355
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1356
|
-
* @returns Array read into
|
|
1357
|
-
*/
|
|
1358
|
-
sint32s(array?: number[]): number[];
|
|
1359
|
-
|
|
1360
|
-
/**
|
|
1361
|
-
* Reads a packed repeated field of booleans.
|
|
1362
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1363
|
-
* @returns Array read into
|
|
1364
|
-
*/
|
|
1365
|
-
bools(array?: boolean[]): boolean[];
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* Reads a packed repeated field of unsigned 32 bit fixed values.
|
|
1369
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1370
|
-
* @returns Array read into
|
|
1371
|
-
*/
|
|
1372
|
-
fixed32s(array?: number[]): number[];
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Reads a packed repeated field of signed 32 bit fixed values.
|
|
1376
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1377
|
-
* @returns Array read into
|
|
1378
|
-
*/
|
|
1379
|
-
sfixed32s(array?: number[]): number[];
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* Reads a packed repeated field of floats (32 bit).
|
|
1383
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1384
|
-
* @returns Array read into
|
|
1385
|
-
*/
|
|
1386
|
-
floats(array?: number[]): number[];
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* Reads a packed repeated field of doubles (64 bit float).
|
|
1390
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1391
|
-
* @returns Array read into
|
|
1392
|
-
*/
|
|
1393
|
-
doubles(array?: number[]): number[];
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* Reads a packed repeated field of unsigned 64 bit varints.
|
|
1397
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1398
|
-
* @returns Array read into
|
|
1399
|
-
*/
|
|
1400
|
-
uint64s(array?: (Long|number)[]): (Long|number)[];
|
|
1401
|
-
|
|
1402
|
-
/**
|
|
1403
|
-
* Reads a packed repeated field of signed 64 bit varints.
|
|
1404
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1405
|
-
* @returns Array read into
|
|
1406
|
-
*/
|
|
1407
|
-
int64s(array?: (Long|number)[]): (Long|number)[];
|
|
1408
|
-
|
|
1409
|
-
/**
|
|
1410
|
-
* Reads a packed repeated field of zig-zag encoded signed 64 bit varints.
|
|
1411
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1412
|
-
* @returns Array read into
|
|
1413
|
-
*/
|
|
1414
|
-
sint64s(array?: (Long|number)[]): (Long|number)[];
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Reads a packed repeated field of unsigned 64 bit fixed values.
|
|
1418
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1419
|
-
* @returns Array read into
|
|
1420
|
-
*/
|
|
1421
|
-
fixed64s(array?: (Long|number)[]): (Long|number)[];
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* Reads a packed repeated field of signed 64 bit fixed values.
|
|
1425
|
-
* @param [array] Array to read into; a new one is created if omitted
|
|
1426
|
-
* @returns Array read into
|
|
1427
|
-
*/
|
|
1428
|
-
sfixed64s(array?: (Long|number)[]): (Long|number)[];
|
|
1255
|
+
public double(): number;
|
|
1429
1256
|
|
|
1430
1257
|
/**
|
|
1431
1258
|
* Reads a sequence of bytes preceeded by its length as a varint.
|
|
1432
1259
|
* @returns Value read
|
|
1433
1260
|
*/
|
|
1434
|
-
bytes(): Uint8Array;
|
|
1261
|
+
public bytes(): Uint8Array;
|
|
1435
1262
|
|
|
1436
1263
|
/**
|
|
1437
1264
|
* Reads a string preceeded by its byte length as a varint.
|
|
1438
1265
|
* @returns Value read
|
|
1439
1266
|
*/
|
|
1440
|
-
string(): string;
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* Reads a string preceeded by its byte length as a varint, rejecting invalid UTF8.
|
|
1444
|
-
* @returns Value read
|
|
1445
|
-
*/
|
|
1446
|
-
stringVerify(): string;
|
|
1267
|
+
public string(): string;
|
|
1447
1268
|
|
|
1448
1269
|
/**
|
|
1449
1270
|
* Skips the specified number of bytes if specified, otherwise skips a varint.
|
|
1450
1271
|
* @param [length] Length if known, otherwise a varint is assumed
|
|
1451
1272
|
* @returns `this`
|
|
1452
1273
|
*/
|
|
1453
|
-
skip(length?: number): Reader;
|
|
1274
|
+
public skip(length?: number): Reader;
|
|
1454
1275
|
|
|
1455
1276
|
/** Recursion limit. */
|
|
1456
|
-
static recursionLimit: number;
|
|
1457
|
-
|
|
1458
|
-
/** Whether readers discard unknown fields while decoding. */
|
|
1459
|
-
static discardUnknown: boolean;
|
|
1277
|
+
public static recursionLimit: number;
|
|
1460
1278
|
|
|
1461
1279
|
/**
|
|
1462
1280
|
* Skips the next element of the specified wire type.
|
|
1463
1281
|
* @param wireType Wire type received
|
|
1464
1282
|
* @param [depth] Depth of recursion to control nested calls; 0 if omitted
|
|
1465
|
-
* @param [fieldNumber] Field number for validating group end tags
|
|
1466
1283
|
* @returns `this`
|
|
1467
1284
|
*/
|
|
1468
|
-
skipType(wireType: number, depth?: number
|
|
1285
|
+
public skipType(wireType: number, depth?: number): Reader;
|
|
1469
1286
|
}
|
|
1470
1287
|
|
|
1471
1288
|
/** Wire format reader using node buffers. */
|
|
@@ -1477,19 +1294,11 @@ export class BufferReader extends Reader {
|
|
|
1477
1294
|
*/
|
|
1478
1295
|
constructor(buffer: Buffer);
|
|
1479
1296
|
|
|
1480
|
-
/**
|
|
1481
|
-
* Returns raw bytes from the backing buffer without advancing the reader.
|
|
1482
|
-
* @param start Start offset
|
|
1483
|
-
* @param end End offset
|
|
1484
|
-
* @returns Raw bytes
|
|
1485
|
-
*/
|
|
1486
|
-
raw(start: number, end: number): Buffer;
|
|
1487
|
-
|
|
1488
1297
|
/**
|
|
1489
1298
|
* Reads a sequence of bytes preceeded by its length as a varint.
|
|
1490
1299
|
* @returns Value read
|
|
1491
1300
|
*/
|
|
1492
|
-
bytes(): Buffer;
|
|
1301
|
+
public bytes(): Buffer;
|
|
1493
1302
|
}
|
|
1494
1303
|
|
|
1495
1304
|
/** Root namespace wrapping all types, enums, services, sub-namespaces etc. that belong together. */
|
|
@@ -1502,10 +1311,10 @@ export class Root extends NamespaceBase {
|
|
|
1502
1311
|
constructor(options?: { [k: string]: any });
|
|
1503
1312
|
|
|
1504
1313
|
/** Deferred extension fields. */
|
|
1505
|
-
deferred: Field[];
|
|
1314
|
+
public deferred: Field[];
|
|
1506
1315
|
|
|
1507
1316
|
/** Resolved file names of loaded files. */
|
|
1508
|
-
files: string[];
|
|
1317
|
+
public files: string[];
|
|
1509
1318
|
|
|
1510
1319
|
/**
|
|
1511
1320
|
* Loads a namespace descriptor into a root namespace.
|
|
@@ -1514,7 +1323,7 @@ export class Root extends NamespaceBase {
|
|
|
1514
1323
|
* @param [depth] Current nesting depth, defaults to `0`
|
|
1515
1324
|
* @returns Root namespace
|
|
1516
1325
|
*/
|
|
1517
|
-
static fromJSON(json: INamespace, root?: Root, depth?: number): Root;
|
|
1326
|
+
public static fromJSON(json: INamespace, root?: Root, depth?: number): Root;
|
|
1518
1327
|
|
|
1519
1328
|
/**
|
|
1520
1329
|
* Resolves the path of an imported file, relative to the importing origin.
|
|
@@ -1523,7 +1332,7 @@ export class Root extends NamespaceBase {
|
|
|
1523
1332
|
* @param target The file name being imported
|
|
1524
1333
|
* @returns Resolved path to `target` or `null` to skip the file
|
|
1525
1334
|
*/
|
|
1526
|
-
resolvePath(origin: string, target: string): (string|null);
|
|
1335
|
+
public resolvePath(origin: string, target: string): (string|null);
|
|
1527
1336
|
|
|
1528
1337
|
/**
|
|
1529
1338
|
* Fetch content from file path or url
|
|
@@ -1531,7 +1340,7 @@ export class Root extends NamespaceBase {
|
|
|
1531
1340
|
* @param path File path or url
|
|
1532
1341
|
* @param callback Callback function
|
|
1533
1342
|
*/
|
|
1534
|
-
fetch(path: string, callback: FetchCallback): void;
|
|
1343
|
+
public fetch(path: string, callback: FetchCallback): void;
|
|
1535
1344
|
|
|
1536
1345
|
/**
|
|
1537
1346
|
* Loads one or multiple .proto or preprocessed .json files into this root namespace and calls the callback.
|
|
@@ -1539,14 +1348,14 @@ export class Root extends NamespaceBase {
|
|
|
1539
1348
|
* @param options Parse options
|
|
1540
1349
|
* @param callback Callback function
|
|
1541
1350
|
*/
|
|
1542
|
-
load(filename: (string|string[]), options: IParseOptions, callback: LoadCallback): void;
|
|
1351
|
+
public load(filename: (string|string[]), options: IParseOptions, callback: LoadCallback): void;
|
|
1543
1352
|
|
|
1544
1353
|
/**
|
|
1545
1354
|
* Loads one or multiple .proto or preprocessed .json files into this root namespace and calls the callback.
|
|
1546
1355
|
* @param filename Names of one or multiple files to load
|
|
1547
1356
|
* @param callback Callback function
|
|
1548
1357
|
*/
|
|
1549
|
-
load(filename: (string|string[]), callback: LoadCallback): void;
|
|
1358
|
+
public load(filename: (string|string[]), callback: LoadCallback): void;
|
|
1550
1359
|
|
|
1551
1360
|
/**
|
|
1552
1361
|
* Loads one or multiple .proto or preprocessed .json files into this root namespace and returns a promise.
|
|
@@ -1554,7 +1363,7 @@ export class Root extends NamespaceBase {
|
|
|
1554
1363
|
* @param [options] Parse options. Defaults to {@link parse.defaults} when omitted.
|
|
1555
1364
|
* @returns Promise
|
|
1556
1365
|
*/
|
|
1557
|
-
load(filename: (string|string[]), options?: IParseOptions): Promise<Root>;
|
|
1366
|
+
public load(filename: (string|string[]), options?: IParseOptions): Promise<Root>;
|
|
1558
1367
|
|
|
1559
1368
|
/**
|
|
1560
1369
|
* Synchronously loads one or multiple .proto or preprocessed .json files into this root namespace (node only).
|
|
@@ -1563,7 +1372,7 @@ export class Root extends NamespaceBase {
|
|
|
1563
1372
|
* @returns Root namespace
|
|
1564
1373
|
* @throws {Error} If synchronous fetching is not supported (i.e. in browsers) or if a file's syntax is invalid
|
|
1565
1374
|
*/
|
|
1566
|
-
loadSync(filename: (string|string[]), options?: IParseOptions): Root;
|
|
1375
|
+
public loadSync(filename: (string|string[]), options?: IParseOptions): Root;
|
|
1567
1376
|
}
|
|
1568
1377
|
|
|
1569
1378
|
/**
|
|
@@ -1585,17 +1394,13 @@ export namespace rpc {
|
|
|
1585
1394
|
*/
|
|
1586
1395
|
type ServiceMethodCallback<TRes extends Message<TRes>> = (error: (Error|null), response?: TRes) => void;
|
|
1587
1396
|
|
|
1588
|
-
/**
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
readonly responseType: string;
|
|
1596
|
-
readonly requestStream: true|undefined;
|
|
1597
|
-
readonly responseStream: true|undefined;
|
|
1598
|
-
};
|
|
1397
|
+
/**
|
|
1398
|
+
* A service method part of a {@link rpc.Service} as created by {@link Service.create}.
|
|
1399
|
+
* @param request Request message or plain object
|
|
1400
|
+
* @param [callback] Node-style callback called with the error, if any, and the response message
|
|
1401
|
+
* @returns Promise if `callback` has been omitted, otherwise `undefined`
|
|
1402
|
+
*/
|
|
1403
|
+
type ServiceMethod<TReq extends Message<TReq>, TRes extends Message<TRes>> = (request: (TReq|Properties<TReq>), callback?: rpc.ServiceMethodCallback<TRes>) => Promise<Message<TRes>>;
|
|
1599
1404
|
|
|
1600
1405
|
/** An RPC service as returned by {@link Service#create}. */
|
|
1601
1406
|
class Service extends util.EventEmitter {
|
|
@@ -1609,13 +1414,13 @@ export namespace rpc {
|
|
|
1609
1414
|
constructor(rpcImpl: RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
1610
1415
|
|
|
1611
1416
|
/** RPC implementation. Becomes `null` once the service is ended. */
|
|
1612
|
-
rpcImpl: (RPCImpl|null);
|
|
1417
|
+
public rpcImpl: (RPCImpl|null);
|
|
1613
1418
|
|
|
1614
1419
|
/** Whether requests are length-delimited. */
|
|
1615
|
-
requestDelimited: boolean;
|
|
1420
|
+
public requestDelimited: boolean;
|
|
1616
1421
|
|
|
1617
1422
|
/** Whether responses are length-delimited. */
|
|
1618
|
-
responseDelimited: boolean;
|
|
1423
|
+
public responseDelimited: boolean;
|
|
1619
1424
|
|
|
1620
1425
|
/**
|
|
1621
1426
|
* Calls a service method through {@link rpc.Service#rpcImpl|rpcImpl}.
|
|
@@ -1625,14 +1430,14 @@ export namespace rpc {
|
|
|
1625
1430
|
* @param request Request message or plain object
|
|
1626
1431
|
* @param callback Service callback
|
|
1627
1432
|
*/
|
|
1628
|
-
rpcCall<TReq extends Message<TReq>, TRes extends Message<TRes>>(method: (Method|rpc.ServiceMethod<TReq, TRes>), requestCtor: Constructor<TReq>, responseCtor: Constructor<TRes>, request: (TReq|Properties<TReq>), callback: rpc.ServiceMethodCallback<TRes>): void;
|
|
1433
|
+
public rpcCall<TReq extends Message<TReq>, TRes extends Message<TRes>>(method: (Method|rpc.ServiceMethod<TReq, TRes>), requestCtor: Constructor<TReq>, responseCtor: Constructor<TRes>, request: (TReq|Properties<TReq>), callback: rpc.ServiceMethodCallback<TRes>): void;
|
|
1629
1434
|
|
|
1630
1435
|
/**
|
|
1631
1436
|
* Ends this service and emits the `end` event.
|
|
1632
1437
|
* @param [endedByRPC=false] Whether the service has been ended by the RPC implementation.
|
|
1633
1438
|
* @returns `this`
|
|
1634
1439
|
*/
|
|
1635
|
-
end(endedByRPC?: boolean): rpc.Service;
|
|
1440
|
+
public end(endedByRPC?: boolean): rpc.Service;
|
|
1636
1441
|
}
|
|
1637
1442
|
}
|
|
1638
1443
|
|
|
@@ -1642,14 +1447,14 @@ export namespace rpc {
|
|
|
1642
1447
|
* @param requestData Request data
|
|
1643
1448
|
* @param callback Callback function
|
|
1644
1449
|
*/
|
|
1645
|
-
|
|
1450
|
+
type RPCImpl = (method: (Method|rpc.ServiceMethod<Message<{}>, Message<{}>>), requestData: Uint8Array, callback: RPCImplCallback) => void;
|
|
1646
1451
|
|
|
1647
1452
|
/**
|
|
1648
1453
|
* Node-style callback as used by {@link RPCImpl}.
|
|
1649
1454
|
* @param error Error, if any, otherwise `null`
|
|
1650
1455
|
* @param [response] Response data or `null` to signal end of stream, if there hasn't been an error
|
|
1651
1456
|
*/
|
|
1652
|
-
|
|
1457
|
+
type RPCImplCallback = (error: (Error|null), response?: (Uint8Array|null)) => void;
|
|
1653
1458
|
|
|
1654
1459
|
/** Reflected service. */
|
|
1655
1460
|
export class Service extends NamespaceBase {
|
|
@@ -1663,7 +1468,7 @@ export class Service extends NamespaceBase {
|
|
|
1663
1468
|
constructor(name: string, options?: { [k: string]: any });
|
|
1664
1469
|
|
|
1665
1470
|
/** Service methods. */
|
|
1666
|
-
methods: { [k: string]: Method };
|
|
1471
|
+
public methods: { [k: string]: Method };
|
|
1667
1472
|
|
|
1668
1473
|
/**
|
|
1669
1474
|
* Constructs a service from a service descriptor.
|
|
@@ -1673,17 +1478,17 @@ export class Service extends NamespaceBase {
|
|
|
1673
1478
|
* @returns Created service
|
|
1674
1479
|
* @throws {TypeError} If arguments are invalid
|
|
1675
1480
|
*/
|
|
1676
|
-
static fromJSON(name: string, json: IService, depth?: number): Service;
|
|
1481
|
+
public static fromJSON(name: string, json: IService, depth?: number): Service;
|
|
1677
1482
|
|
|
1678
1483
|
/**
|
|
1679
1484
|
* Converts this service to a service descriptor.
|
|
1680
1485
|
* @param [toJSONOptions] JSON conversion options
|
|
1681
1486
|
* @returns Service descriptor
|
|
1682
1487
|
*/
|
|
1683
|
-
toJSON(toJSONOptions?: IToJSONOptions): IService;
|
|
1488
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IService;
|
|
1684
1489
|
|
|
1685
1490
|
/** Methods of this service as an array for iteration. */
|
|
1686
|
-
readonly methodsArray: Method[];
|
|
1491
|
+
public readonly methodsArray: Method[];
|
|
1687
1492
|
|
|
1688
1493
|
/**
|
|
1689
1494
|
* Creates a runtime service using the specified rpc implementation.
|
|
@@ -1692,39 +1497,33 @@ export class Service extends NamespaceBase {
|
|
|
1692
1497
|
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
1693
1498
|
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
1694
1499
|
*/
|
|
1695
|
-
create(rpcImpl: RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): rpc.Service;
|
|
1500
|
+
public create(rpcImpl: RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): rpc.Service;
|
|
1696
1501
|
}
|
|
1697
1502
|
|
|
1698
1503
|
/** Service descriptor. */
|
|
1699
1504
|
export interface IService extends INamespace {
|
|
1700
1505
|
|
|
1701
|
-
/** Edition */
|
|
1702
|
-
edition?: string;
|
|
1703
|
-
|
|
1704
1506
|
/** Method descriptors */
|
|
1705
1507
|
methods: { [k: string]: IMethod };
|
|
1706
|
-
|
|
1707
|
-
/** Service comment */
|
|
1708
|
-
comment?: (string|null);
|
|
1709
1508
|
}
|
|
1710
1509
|
|
|
1711
1510
|
/**
|
|
1712
1511
|
* Gets the next token and advances.
|
|
1713
1512
|
* @returns Next token or `null` on eof
|
|
1714
1513
|
*/
|
|
1715
|
-
|
|
1514
|
+
type TokenizerHandleNext = () => (string|null);
|
|
1716
1515
|
|
|
1717
1516
|
/**
|
|
1718
1517
|
* Peeks for the next token.
|
|
1719
1518
|
* @returns Next token or `null` on eof
|
|
1720
1519
|
*/
|
|
1721
|
-
|
|
1520
|
+
type TokenizerHandlePeek = () => (string|null);
|
|
1722
1521
|
|
|
1723
1522
|
/**
|
|
1724
1523
|
* Pushes a token back to the stack.
|
|
1725
1524
|
* @param token Token
|
|
1726
1525
|
*/
|
|
1727
|
-
|
|
1526
|
+
type TokenizerHandlePush = (token: string) => void;
|
|
1728
1527
|
|
|
1729
1528
|
/**
|
|
1730
1529
|
* Skips the next token.
|
|
@@ -1733,14 +1532,14 @@ export type TokenizerHandlePush = (token: string) => void;
|
|
|
1733
1532
|
* @returns Whether the token matched
|
|
1734
1533
|
* @throws {Error} If the token didn't match and is not optional
|
|
1735
1534
|
*/
|
|
1736
|
-
|
|
1535
|
+
type TokenizerHandleSkip = (expected: string, optional?: boolean) => boolean;
|
|
1737
1536
|
|
|
1738
1537
|
/**
|
|
1739
1538
|
* Gets the comment on the previous line or, alternatively, the line comment on the specified line.
|
|
1740
1539
|
* @param [line] Line number
|
|
1741
1540
|
* @returns Comment text or `null` if none
|
|
1742
1541
|
*/
|
|
1743
|
-
|
|
1542
|
+
type TokenizerHandleCmnt = (line?: number) => (string|null);
|
|
1744
1543
|
|
|
1745
1544
|
/** Handle object returned from {@link tokenize}. */
|
|
1746
1545
|
export interface ITokenizerHandle {
|
|
@@ -1793,39 +1592,38 @@ export class Type extends NamespaceBase {
|
|
|
1793
1592
|
constructor(name: string, options?: { [k: string]: any });
|
|
1794
1593
|
|
|
1795
1594
|
/** Message fields. */
|
|
1796
|
-
fields: { [k: string]: Field };
|
|
1595
|
+
public fields: { [k: string]: Field };
|
|
1797
1596
|
|
|
1798
1597
|
/** Oneofs declared within this namespace, if any. */
|
|
1799
|
-
oneofs: { [k: string]: OneOf };
|
|
1598
|
+
public oneofs: { [k: string]: OneOf };
|
|
1800
1599
|
|
|
1801
1600
|
/** Extension ranges, if any. */
|
|
1802
|
-
extensions: number[][];
|
|
1601
|
+
public extensions: number[][];
|
|
1803
1602
|
|
|
1804
1603
|
/** Reserved ranges, if any. */
|
|
1805
|
-
reserved: (number[]|string)[];
|
|
1604
|
+
public reserved: (number[]|string)[];
|
|
1806
1605
|
|
|
1807
1606
|
/** Message fields by id. */
|
|
1808
|
-
readonly fieldsById: { [k: number]: Field };
|
|
1607
|
+
public readonly fieldsById: { [k: number]: Field };
|
|
1809
1608
|
|
|
1810
1609
|
/** Fields of this message as an array for iteration. */
|
|
1811
|
-
readonly fieldsArray: Field[];
|
|
1610
|
+
public readonly fieldsArray: Field[];
|
|
1812
1611
|
|
|
1813
1612
|
/** Oneofs of this message as an array for iteration. */
|
|
1814
|
-
readonly oneofsArray: OneOf[];
|
|
1613
|
+
public readonly oneofsArray: OneOf[];
|
|
1815
1614
|
|
|
1816
1615
|
/**
|
|
1817
1616
|
* The registered constructor, if any registered, otherwise a generic constructor.
|
|
1818
1617
|
* Assigning a function replaces the internal constructor. If the function does not extend {@link Message} yet, its prototype will be setup accordingly and static methods will be populated. If it already extends {@link Message}, it will just replace the internal constructor.
|
|
1819
|
-
* When assigning manually, add the type to its parent namespace/root first if fields reference other reflected types, because constructor setup resolves field defaults.
|
|
1820
1618
|
*/
|
|
1821
|
-
ctor: Constructor<{}>;
|
|
1619
|
+
public ctor: Constructor<{}>;
|
|
1822
1620
|
|
|
1823
1621
|
/**
|
|
1824
1622
|
* Generates a constructor function for the specified type.
|
|
1825
1623
|
* @param mtype Message type
|
|
1826
1624
|
* @returns Codegen instance
|
|
1827
1625
|
*/
|
|
1828
|
-
static generateConstructor(mtype: Type): Codegen;
|
|
1626
|
+
public static generateConstructor(mtype: Type): Codegen;
|
|
1829
1627
|
|
|
1830
1628
|
/**
|
|
1831
1629
|
* Creates a message type from a message type descriptor.
|
|
@@ -1834,14 +1632,14 @@ export class Type extends NamespaceBase {
|
|
|
1834
1632
|
* @param [depth] Current nesting depth, defaults to `0`
|
|
1835
1633
|
* @returns Created message type
|
|
1836
1634
|
*/
|
|
1837
|
-
static fromJSON(name: string, json: IType, depth?: number): Type;
|
|
1635
|
+
public static fromJSON(name: string, json: IType, depth?: number): Type;
|
|
1838
1636
|
|
|
1839
1637
|
/**
|
|
1840
1638
|
* Converts this message type to a message type descriptor.
|
|
1841
1639
|
* @param [toJSONOptions] JSON conversion options
|
|
1842
1640
|
* @returns Message type descriptor
|
|
1843
1641
|
*/
|
|
1844
|
-
toJSON(toJSONOptions?: IToJSONOptions): IType;
|
|
1642
|
+
public toJSON(toJSONOptions?: IToJSONOptions): IType;
|
|
1845
1643
|
|
|
1846
1644
|
/**
|
|
1847
1645
|
* Adds a nested object to this type.
|
|
@@ -1850,7 +1648,7 @@ export class Type extends NamespaceBase {
|
|
|
1850
1648
|
* @throws {TypeError} If arguments are invalid
|
|
1851
1649
|
* @throws {Error} If there is already a nested object with this name or, if a field, when there is already a field with this id
|
|
1852
1650
|
*/
|
|
1853
|
-
add(object: ReflectionObject): Type;
|
|
1651
|
+
public add(object: ReflectionObject): Type;
|
|
1854
1652
|
|
|
1855
1653
|
/**
|
|
1856
1654
|
* Removes a nested object from this type.
|
|
@@ -1859,34 +1657,34 @@ export class Type extends NamespaceBase {
|
|
|
1859
1657
|
* @throws {TypeError} If arguments are invalid
|
|
1860
1658
|
* @throws {Error} If `object` is not a member of this type
|
|
1861
1659
|
*/
|
|
1862
|
-
remove(object: ReflectionObject): Type;
|
|
1660
|
+
public remove(object: ReflectionObject): Type;
|
|
1863
1661
|
|
|
1864
1662
|
/**
|
|
1865
1663
|
* Tests if the specified id is reserved.
|
|
1866
1664
|
* @param id Id to test
|
|
1867
1665
|
* @returns `true` if reserved, otherwise `false`
|
|
1868
1666
|
*/
|
|
1869
|
-
isReservedId(id: number): boolean;
|
|
1667
|
+
public isReservedId(id: number): boolean;
|
|
1870
1668
|
|
|
1871
1669
|
/**
|
|
1872
1670
|
* Tests if the specified name is reserved.
|
|
1873
1671
|
* @param name Name to test
|
|
1874
1672
|
* @returns `true` if reserved, otherwise `false`
|
|
1875
1673
|
*/
|
|
1876
|
-
isReservedName(name: string): boolean;
|
|
1674
|
+
public isReservedName(name: string): boolean;
|
|
1877
1675
|
|
|
1878
1676
|
/**
|
|
1879
1677
|
* Creates a new message of this type using the specified properties.
|
|
1880
1678
|
* @param [properties] Properties to set
|
|
1881
1679
|
* @returns Message instance
|
|
1882
1680
|
*/
|
|
1883
|
-
create(properties?: { [k: string]: any }):
|
|
1681
|
+
public create(properties?: { [k: string]: any }): Message<{}>;
|
|
1884
1682
|
|
|
1885
1683
|
/**
|
|
1886
1684
|
* Sets up {@link Type#encode|encode}, {@link Type#decode|decode} and {@link Type#verify|verify}.
|
|
1887
1685
|
* @returns `this`
|
|
1888
1686
|
*/
|
|
1889
|
-
setup(): Type;
|
|
1687
|
+
public setup(): Type;
|
|
1890
1688
|
|
|
1891
1689
|
/**
|
|
1892
1690
|
* Encodes a message of this type. Does not implicitly {@link Type#verify|verify} messages.
|
|
@@ -1894,7 +1692,7 @@ export class Type extends NamespaceBase {
|
|
|
1894
1692
|
* @param [writer] Writer to encode to
|
|
1895
1693
|
* @returns writer
|
|
1896
1694
|
*/
|
|
1897
|
-
encode(message: (Message<{}>|{ [k: string]: any }), writer?: Writer): Writer;
|
|
1695
|
+
public encode(message: (Message<{}>|{ [k: string]: any }), writer?: Writer): Writer;
|
|
1898
1696
|
|
|
1899
1697
|
/**
|
|
1900
1698
|
* Encodes a message of this type preceeded by its byte length as a varint. Does not implicitly {@link Type#verify|verify} messages.
|
|
@@ -1902,17 +1700,19 @@ export class Type extends NamespaceBase {
|
|
|
1902
1700
|
* @param [writer] Writer to encode to
|
|
1903
1701
|
* @returns writer
|
|
1904
1702
|
*/
|
|
1905
|
-
encodeDelimited(message: (Message<{}>|{ [k: string]: any }), writer?: Writer): Writer;
|
|
1703
|
+
public encodeDelimited(message: (Message<{}>|{ [k: string]: any }), writer?: Writer): Writer;
|
|
1906
1704
|
|
|
1907
1705
|
/**
|
|
1908
1706
|
* Decodes a message of this type.
|
|
1909
1707
|
* @param reader Reader or buffer to decode from
|
|
1910
1708
|
* @param [length] Length of the message, if known beforehand
|
|
1709
|
+
* @param [end] Expected group end tag, if decoding a group
|
|
1710
|
+
* @param [depth] Current nesting depth
|
|
1911
1711
|
* @returns Decoded message
|
|
1912
1712
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1913
1713
|
* @throws {util.ProtocolError<{}>} If required fields are missing
|
|
1914
1714
|
*/
|
|
1915
|
-
decode(reader: (Reader|Uint8Array), length?: number):
|
|
1715
|
+
public decode(reader: (Reader|Uint8Array), length?: number, end?: number, depth?: number): Message<{}>;
|
|
1916
1716
|
|
|
1917
1717
|
/**
|
|
1918
1718
|
* Decodes a message of this type preceeded by its byte length as a varint.
|
|
@@ -1921,21 +1721,23 @@ export class Type extends NamespaceBase {
|
|
|
1921
1721
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1922
1722
|
* @throws {util.ProtocolError} If required fields are missing
|
|
1923
1723
|
*/
|
|
1924
|
-
decodeDelimited(reader: (Reader|Uint8Array)):
|
|
1724
|
+
public decodeDelimited(reader: (Reader|Uint8Array)): Message<{}>;
|
|
1925
1725
|
|
|
1926
1726
|
/**
|
|
1927
1727
|
* Verifies that field values are valid and that required fields are present.
|
|
1928
1728
|
* @param message Plain object to verify
|
|
1729
|
+
* @param [depth] Current nesting depth
|
|
1929
1730
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
1930
1731
|
*/
|
|
1931
|
-
verify(message: { [k: string]: any }): (null|string);
|
|
1732
|
+
public verify(message: { [k: string]: any }, depth?: number): (null|string);
|
|
1932
1733
|
|
|
1933
1734
|
/**
|
|
1934
1735
|
* Creates a new message of this type from a plain object. Also converts values to their respective internal types.
|
|
1935
1736
|
* @param object Plain object to convert
|
|
1737
|
+
* @param [depth] Current nesting depth
|
|
1936
1738
|
* @returns Message instance
|
|
1937
1739
|
*/
|
|
1938
|
-
fromObject(object: { [k: string]: any }):
|
|
1740
|
+
public fromObject(object: { [k: string]: any }, depth?: number): Message<{}>;
|
|
1939
1741
|
|
|
1940
1742
|
/**
|
|
1941
1743
|
* Creates a plain object from a message of this type. Also converts values to other types if specified.
|
|
@@ -1943,30 +1745,19 @@ export class Type extends NamespaceBase {
|
|
|
1943
1745
|
* @param [options] Conversion options
|
|
1944
1746
|
* @returns Plain object
|
|
1945
1747
|
*/
|
|
1946
|
-
toObject(message: Message<{}>, options?: IConversionOptions): { [k: string]: any };
|
|
1947
|
-
|
|
1948
|
-
/**
|
|
1949
|
-
* Gets the type url for this type.
|
|
1950
|
-
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
1951
|
-
* @returns The type url
|
|
1952
|
-
*/
|
|
1953
|
-
getTypeUrl(prefix?: string): string;
|
|
1748
|
+
public toObject(message: Message<{}>, options?: IConversionOptions): { [k: string]: any };
|
|
1954
1749
|
|
|
1955
1750
|
/**
|
|
1956
1751
|
* Type decorator (TypeScript).
|
|
1957
1752
|
* @param [typeName] Type name, defaults to the constructor's name
|
|
1958
1753
|
* @returns Decorator function
|
|
1959
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
1960
1754
|
*/
|
|
1961
|
-
static d<T extends Message<T>>(typeName?: string): TypeDecorator<T>;
|
|
1755
|
+
public static d<T extends Message<T>>(typeName?: string): TypeDecorator<T>;
|
|
1962
1756
|
}
|
|
1963
1757
|
|
|
1964
1758
|
/** Message type descriptor. */
|
|
1965
1759
|
export interface IType extends INamespace {
|
|
1966
1760
|
|
|
1967
|
-
/** Edition */
|
|
1968
|
-
edition?: string;
|
|
1969
|
-
|
|
1970
1761
|
/** Oneof descriptors */
|
|
1971
1762
|
oneofs?: { [k: string]: IOneOf };
|
|
1972
1763
|
|
|
@@ -1981,9 +1772,6 @@ export interface IType extends INamespace {
|
|
|
1981
1772
|
|
|
1982
1773
|
/** Whether a legacy group or not */
|
|
1983
1774
|
group?: boolean;
|
|
1984
|
-
|
|
1985
|
-
/** Message type comment */
|
|
1986
|
-
comment?: (string|null);
|
|
1987
1775
|
}
|
|
1988
1776
|
|
|
1989
1777
|
/** Conversion options as used by {@link Type#toObject} and {@link Message.toObject}. */
|
|
@@ -2029,9 +1817,8 @@ export interface IConversionOptions {
|
|
|
2029
1817
|
/**
|
|
2030
1818
|
* Decorator function as returned by {@link Type.d} (TypeScript).
|
|
2031
1819
|
* @param target Target constructor
|
|
2032
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
2033
1820
|
*/
|
|
2034
|
-
|
|
1821
|
+
type TypeDecorator<T extends Message<T>> = (target: Constructor<T>) => void;
|
|
2035
1822
|
|
|
2036
1823
|
/** Common type constants. */
|
|
2037
1824
|
export namespace types {
|
|
@@ -2119,52 +1906,12 @@ export namespace types {
|
|
|
2119
1906
|
}
|
|
2120
1907
|
|
|
2121
1908
|
/** Constructor type. */
|
|
2122
|
-
export
|
|
1909
|
+
export interface Constructor<T> extends Function {
|
|
1910
|
+
new(...params: any[]): T; prototype: T;
|
|
1911
|
+
}
|
|
2123
1912
|
|
|
2124
1913
|
/** Properties type. */
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
/** Dynamically reflected message type. */
|
|
2128
|
-
export type ReflectedMessage = Message<{}> & { [k: string]: any };
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* Callback as used by {@link util.asPromise}.
|
|
2132
|
-
* @param error Error, if any
|
|
2133
|
-
* @param params Additional arguments
|
|
2134
|
-
*/
|
|
2135
|
-
export type asPromiseCallback = (error: (Error|null), ...params: any[]) => void;
|
|
2136
|
-
|
|
2137
|
-
/**
|
|
2138
|
-
* Appends code to the function's body or finishes generation.
|
|
2139
|
-
* @param [formatStringOrScope] Format string or, to finish the function, an object of additional scope variables, if any
|
|
2140
|
-
* @param [formatParams] Format parameters
|
|
2141
|
-
* @returns Itself or the generated function if finished
|
|
2142
|
-
* @throws {Error} If format parameter counts do not match
|
|
2143
|
-
*/
|
|
2144
|
-
export type Codegen = (formatStringOrScope?: (string|{ [k: string]: any }), ...formatParams: any[]) => (Codegen|Function);
|
|
2145
|
-
|
|
2146
|
-
/**
|
|
2147
|
-
* Event listener as used by {@link util.EventEmitter}.
|
|
2148
|
-
* @param args Arguments
|
|
2149
|
-
*/
|
|
2150
|
-
export type EventEmitterListener = (...args: any[]) => void;
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Node-style callback as used by {@link util.fetch}.
|
|
2154
|
-
* @param error Error, if any, otherwise `null`
|
|
2155
|
-
* @param [contents] File contents, if there hasn't been an error
|
|
2156
|
-
*/
|
|
2157
|
-
export type FetchCallback = (error: Error, contents?: string) => void;
|
|
2158
|
-
|
|
2159
|
-
/** Options as used by {@link util.fetch}. */
|
|
2160
|
-
export interface IFetchOptions {
|
|
2161
|
-
|
|
2162
|
-
/** Whether expecting a binary response */
|
|
2163
|
-
binary?: boolean;
|
|
2164
|
-
|
|
2165
|
-
/** If `true`, forces the use of XMLHttpRequest */
|
|
2166
|
-
xhr?: boolean;
|
|
2167
|
-
}
|
|
1914
|
+
type Properties<T> = { [P in keyof T]?: T[P] };
|
|
2168
1915
|
|
|
2169
1916
|
/**
|
|
2170
1917
|
* Any compatible Buffer instance.
|
|
@@ -2193,302 +1940,97 @@ export interface Long {
|
|
|
2193
1940
|
* A OneOf getter as returned by {@link util.oneOfGetter}.
|
|
2194
1941
|
* @returns Set field name, if any
|
|
2195
1942
|
*/
|
|
2196
|
-
|
|
1943
|
+
type OneOfGetter = () => (string|undefined);
|
|
2197
1944
|
|
|
2198
1945
|
/**
|
|
2199
1946
|
* A OneOf setter as returned by {@link util.oneOfSetter}.
|
|
2200
1947
|
* @param value Field name
|
|
2201
1948
|
*/
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
/**
|
|
2205
|
-
* An allocator as used by {@link util.pool}.
|
|
2206
|
-
* @param size Buffer size
|
|
2207
|
-
* @returns Buffer
|
|
2208
|
-
*/
|
|
2209
|
-
export type PoolAllocator = (size: number) => Uint8Array;
|
|
2210
|
-
|
|
2211
|
-
/**
|
|
2212
|
-
* A slicer as used by {@link util.pool}.
|
|
2213
|
-
* @param start Start offset
|
|
2214
|
-
* @param end End offset
|
|
2215
|
-
* @returns Buffer slice
|
|
2216
|
-
*/
|
|
2217
|
-
export type PoolSlicer = (this: Uint8Array, start: number, end: number) => Uint8Array;
|
|
1949
|
+
type OneOfSetter = (value: (string|undefined)) => void;
|
|
2218
1950
|
|
|
2219
1951
|
/** Various utility functions. */
|
|
2220
1952
|
export namespace util {
|
|
2221
1953
|
|
|
2222
|
-
/**
|
|
2223
|
-
|
|
2224
|
-
* @param fn Function to call
|
|
2225
|
-
* @param ctx Function context
|
|
2226
|
-
* @param params Function arguments
|
|
2227
|
-
* @returns Promisified function
|
|
2228
|
-
*/
|
|
2229
|
-
function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise<any>;
|
|
1954
|
+
/** Helper class for working with the low and high bits of a 64 bit value. */
|
|
1955
|
+
class LongBits {
|
|
2230
1956
|
|
|
2231
|
-
|
|
2232
|
-
|
|
1957
|
+
/**
|
|
1958
|
+
* Constructs new long bits.
|
|
1959
|
+
* @param lo Low 32 bits, unsigned
|
|
1960
|
+
* @param hi High 32 bits, unsigned
|
|
1961
|
+
*/
|
|
1962
|
+
constructor(lo: number, hi: number);
|
|
1963
|
+
|
|
1964
|
+
/** Low bits. */
|
|
1965
|
+
public lo: number;
|
|
1966
|
+
|
|
1967
|
+
/** High bits. */
|
|
1968
|
+
public hi: number;
|
|
1969
|
+
|
|
1970
|
+
/** Zero bits. */
|
|
1971
|
+
public static zero: util.LongBits;
|
|
1972
|
+
|
|
1973
|
+
/** Zero hash. */
|
|
1974
|
+
public static zeroHash: string;
|
|
2233
1975
|
|
|
2234
1976
|
/**
|
|
2235
|
-
*
|
|
2236
|
-
* @param
|
|
2237
|
-
* @returns
|
|
1977
|
+
* Constructs new long bits from the specified number.
|
|
1978
|
+
* @param value Value
|
|
1979
|
+
* @returns Instance
|
|
2238
1980
|
*/
|
|
2239
|
-
|
|
1981
|
+
public static fromNumber(value: number): util.LongBits;
|
|
2240
1982
|
|
|
2241
1983
|
/**
|
|
2242
|
-
*
|
|
2243
|
-
* @param
|
|
2244
|
-
* @
|
|
2245
|
-
* @param end Source end
|
|
2246
|
-
* @returns Base64 encoded string
|
|
1984
|
+
* Constructs new long bits from a number, long or string.
|
|
1985
|
+
* @param value Value
|
|
1986
|
+
* @returns Instance
|
|
2247
1987
|
*/
|
|
2248
|
-
|
|
1988
|
+
public static from(value: (Long|number|string)): util.LongBits;
|
|
2249
1989
|
|
|
2250
1990
|
/**
|
|
2251
|
-
*
|
|
2252
|
-
* @param
|
|
2253
|
-
* @
|
|
2254
|
-
* @param offset Destination offset
|
|
2255
|
-
* @returns Number of bytes written
|
|
2256
|
-
* @throws {Error} If encoding is invalid
|
|
1991
|
+
* Converts this long bits to a possibly unsafe JavaScript number.
|
|
1992
|
+
* @param [unsigned=false] Whether unsigned or not
|
|
1993
|
+
* @returns Possibly unsafe number
|
|
2257
1994
|
*/
|
|
2258
|
-
|
|
1995
|
+
public toNumber(unsigned?: boolean): number;
|
|
2259
1996
|
|
|
2260
1997
|
/**
|
|
2261
|
-
*
|
|
2262
|
-
* @param
|
|
2263
|
-
* @returns
|
|
1998
|
+
* Converts this long bits to a long.
|
|
1999
|
+
* @param [unsigned=false] Whether unsigned or not
|
|
2000
|
+
* @returns Long
|
|
2264
2001
|
*/
|
|
2265
|
-
|
|
2266
|
-
}
|
|
2002
|
+
public toLong(unsigned?: boolean): Long;
|
|
2267
2003
|
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
function codegen(functionParams: string[], functionName?: string): Codegen;
|
|
2004
|
+
/**
|
|
2005
|
+
* Constructs new long bits from the specified 8 characters long hash.
|
|
2006
|
+
* @param hash Hash
|
|
2007
|
+
* @returns Bits
|
|
2008
|
+
*/
|
|
2009
|
+
public static fromHash(hash: string): util.LongBits;
|
|
2275
2010
|
|
|
2276
|
-
|
|
2011
|
+
/**
|
|
2012
|
+
* Converts this long bits to a 8 characters long hash.
|
|
2013
|
+
* @returns Hash
|
|
2014
|
+
*/
|
|
2015
|
+
public toHash(): string;
|
|
2277
2016
|
|
|
2278
|
-
/**
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
/**
|
|
2296
|
-
* Registers an event listener.
|
|
2297
|
-
* @param evt Event name
|
|
2298
|
-
* @param fn Listener
|
|
2299
|
-
* @param [ctx] Listener context
|
|
2300
|
-
* @returns `this`
|
|
2301
|
-
*/
|
|
2302
|
-
on(evt: string, fn: EventEmitterListener, ctx?: any): this;
|
|
2303
|
-
|
|
2304
|
-
/**
|
|
2305
|
-
* Removes an event listener or any matching listeners if arguments are omitted.
|
|
2306
|
-
* @param [evt] Event name. Removes all listeners if omitted.
|
|
2307
|
-
* @param [fn] Listener to remove. Removes all listeners of `evt` if omitted.
|
|
2308
|
-
* @returns `this`
|
|
2309
|
-
*/
|
|
2310
|
-
off(evt?: string, fn?: EventEmitterListener): this;
|
|
2311
|
-
|
|
2312
|
-
/**
|
|
2313
|
-
* Emits an event by calling its listeners with the specified arguments.
|
|
2314
|
-
* @param evt Event name
|
|
2315
|
-
* @param args Arguments
|
|
2316
|
-
* @returns `this`
|
|
2317
|
-
*/
|
|
2318
|
-
emit(evt: string, ...args: any[]): this;
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
/**
|
|
2322
|
-
* Fetches the contents of a file.
|
|
2323
|
-
* @param filename File path or url
|
|
2324
|
-
* @param options Fetch options
|
|
2325
|
-
* @param callback Callback function
|
|
2326
|
-
*/
|
|
2327
|
-
function fetch(filename: string, options: IFetchOptions, callback: FetchCallback): void;
|
|
2328
|
-
|
|
2329
|
-
/**
|
|
2330
|
-
* Fetches the contents of a file.
|
|
2331
|
-
* @param path File path or url
|
|
2332
|
-
* @param callback Callback function
|
|
2333
|
-
*/
|
|
2334
|
-
function fetch(path: string, callback: FetchCallback): void;
|
|
2335
|
-
|
|
2336
|
-
/**
|
|
2337
|
-
* Fetches the contents of a file.
|
|
2338
|
-
* @param path File path or url
|
|
2339
|
-
* @param [options] Fetch options
|
|
2340
|
-
* @returns Promise
|
|
2341
|
-
*/
|
|
2342
|
-
function fetch(path: string, options?: IFetchOptions): Promise<(string|Uint8Array)>;
|
|
2343
|
-
|
|
2344
|
-
/** Reads / writes floats / doubles from / to buffers. */
|
|
2345
|
-
namespace float {
|
|
2346
|
-
|
|
2347
|
-
/**
|
|
2348
|
-
* Writes a 32 bit float to a buffer using little endian byte order.
|
|
2349
|
-
* @param val Value to write
|
|
2350
|
-
* @param buf Target buffer
|
|
2351
|
-
* @param pos Target buffer offset
|
|
2352
|
-
*/
|
|
2353
|
-
function writeFloatLE(val: number, buf: Uint8Array, pos: number): void;
|
|
2354
|
-
|
|
2355
|
-
/**
|
|
2356
|
-
* Writes a 32 bit float to a buffer using big endian byte order.
|
|
2357
|
-
* @param val Value to write
|
|
2358
|
-
* @param buf Target buffer
|
|
2359
|
-
* @param pos Target buffer offset
|
|
2360
|
-
*/
|
|
2361
|
-
function writeFloatBE(val: number, buf: Uint8Array, pos: number): void;
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* Reads a 32 bit float from a buffer using little endian byte order.
|
|
2365
|
-
* @param buf Source buffer
|
|
2366
|
-
* @param pos Source buffer offset
|
|
2367
|
-
* @returns Value read
|
|
2368
|
-
*/
|
|
2369
|
-
function readFloatLE(buf: Uint8Array, pos: number): number;
|
|
2370
|
-
|
|
2371
|
-
/**
|
|
2372
|
-
* Reads a 32 bit float from a buffer using big endian byte order.
|
|
2373
|
-
* @param buf Source buffer
|
|
2374
|
-
* @param pos Source buffer offset
|
|
2375
|
-
* @returns Value read
|
|
2376
|
-
*/
|
|
2377
|
-
function readFloatBE(buf: Uint8Array, pos: number): number;
|
|
2378
|
-
|
|
2379
|
-
/**
|
|
2380
|
-
* Writes a 64 bit double to a buffer using little endian byte order.
|
|
2381
|
-
* @param val Value to write
|
|
2382
|
-
* @param buf Target buffer
|
|
2383
|
-
* @param pos Target buffer offset
|
|
2384
|
-
*/
|
|
2385
|
-
function writeDoubleLE(val: number, buf: Uint8Array, pos: number): void;
|
|
2386
|
-
|
|
2387
|
-
/**
|
|
2388
|
-
* Writes a 64 bit double to a buffer using big endian byte order.
|
|
2389
|
-
* @param val Value to write
|
|
2390
|
-
* @param buf Target buffer
|
|
2391
|
-
* @param pos Target buffer offset
|
|
2392
|
-
*/
|
|
2393
|
-
function writeDoubleBE(val: number, buf: Uint8Array, pos: number): void;
|
|
2394
|
-
|
|
2395
|
-
/**
|
|
2396
|
-
* Reads a 64 bit double from a buffer using little endian byte order.
|
|
2397
|
-
* @param buf Source buffer
|
|
2398
|
-
* @param pos Source buffer offset
|
|
2399
|
-
* @returns Value read
|
|
2400
|
-
*/
|
|
2401
|
-
function readDoubleLE(buf: Uint8Array, pos: number): number;
|
|
2402
|
-
|
|
2403
|
-
/**
|
|
2404
|
-
* Reads a 64 bit double from a buffer using big endian byte order.
|
|
2405
|
-
* @param buf Source buffer
|
|
2406
|
-
* @param pos Source buffer offset
|
|
2407
|
-
* @returns Value read
|
|
2408
|
-
*/
|
|
2409
|
-
function readDoubleBE(buf: Uint8Array, pos: number): number;
|
|
2410
|
-
}
|
|
2411
|
-
|
|
2412
|
-
/** Helper class for working with the low and high bits of a 64 bit value. */
|
|
2413
|
-
class LongBits {
|
|
2414
|
-
|
|
2415
|
-
/**
|
|
2416
|
-
* Constructs new long bits.
|
|
2417
|
-
* @param lo Low 32 bits, unsigned
|
|
2418
|
-
* @param hi High 32 bits, unsigned
|
|
2419
|
-
*/
|
|
2420
|
-
constructor(lo: number, hi: number);
|
|
2421
|
-
|
|
2422
|
-
/** Low bits. */
|
|
2423
|
-
lo: number;
|
|
2424
|
-
|
|
2425
|
-
/** High bits. */
|
|
2426
|
-
hi: number;
|
|
2427
|
-
|
|
2428
|
-
/** Zero bits. */
|
|
2429
|
-
static zero: util.LongBits;
|
|
2430
|
-
|
|
2431
|
-
/** Zero hash. */
|
|
2432
|
-
static zeroHash: string;
|
|
2433
|
-
|
|
2434
|
-
/**
|
|
2435
|
-
* Constructs new long bits from the specified number.
|
|
2436
|
-
* @param value Value
|
|
2437
|
-
* @returns Instance
|
|
2438
|
-
*/
|
|
2439
|
-
static fromNumber(value: number): util.LongBits;
|
|
2440
|
-
|
|
2441
|
-
/**
|
|
2442
|
-
* Constructs new long bits from a number, long or string.
|
|
2443
|
-
* @param value Value
|
|
2444
|
-
* @returns Instance
|
|
2445
|
-
*/
|
|
2446
|
-
static from(value: (Long|number|string)): util.LongBits;
|
|
2447
|
-
|
|
2448
|
-
/**
|
|
2449
|
-
* Converts this long bits to a possibly unsafe JavaScript number.
|
|
2450
|
-
* @param [unsigned=false] Whether unsigned or not
|
|
2451
|
-
* @returns Possibly unsafe number
|
|
2452
|
-
*/
|
|
2453
|
-
toNumber(unsigned?: boolean): number;
|
|
2454
|
-
|
|
2455
|
-
/**
|
|
2456
|
-
* Converts this long bits to a long.
|
|
2457
|
-
* @param [unsigned=false] Whether unsigned or not
|
|
2458
|
-
* @returns Long
|
|
2459
|
-
*/
|
|
2460
|
-
toLong(unsigned?: boolean): Long;
|
|
2461
|
-
|
|
2462
|
-
/**
|
|
2463
|
-
* Constructs new long bits from the specified 8 characters long hash.
|
|
2464
|
-
* @param hash Hash
|
|
2465
|
-
* @returns Bits
|
|
2466
|
-
*/
|
|
2467
|
-
static fromHash(hash: string): util.LongBits;
|
|
2468
|
-
|
|
2469
|
-
/**
|
|
2470
|
-
* Converts this long bits to a 8 characters long hash.
|
|
2471
|
-
* @returns Hash
|
|
2472
|
-
*/
|
|
2473
|
-
toHash(): string;
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
* Zig-zag encodes this long bits.
|
|
2477
|
-
* @returns `this`
|
|
2478
|
-
*/
|
|
2479
|
-
zzEncode(): util.LongBits;
|
|
2480
|
-
|
|
2481
|
-
/**
|
|
2482
|
-
* Zig-zag decodes this long bits.
|
|
2483
|
-
* @returns `this`
|
|
2484
|
-
*/
|
|
2485
|
-
zzDecode(): util.LongBits;
|
|
2486
|
-
|
|
2487
|
-
/**
|
|
2488
|
-
* Calculates the length of this longbits when encoded as a varint.
|
|
2489
|
-
* @returns Length
|
|
2490
|
-
*/
|
|
2491
|
-
length(): number;
|
|
2017
|
+
/**
|
|
2018
|
+
* Zig-zag encodes this long bits.
|
|
2019
|
+
* @returns `this`
|
|
2020
|
+
*/
|
|
2021
|
+
public zzEncode(): util.LongBits;
|
|
2022
|
+
|
|
2023
|
+
/**
|
|
2024
|
+
* Zig-zag decodes this long bits.
|
|
2025
|
+
* @returns `this`
|
|
2026
|
+
*/
|
|
2027
|
+
public zzDecode(): util.LongBits;
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* Calculates the length of this longbits when encoded as a varint.
|
|
2031
|
+
* @returns Length
|
|
2032
|
+
*/
|
|
2033
|
+
public length(): number;
|
|
2492
2034
|
}
|
|
2493
2035
|
|
|
2494
2036
|
/**
|
|
@@ -2558,10 +2100,7 @@ export namespace util {
|
|
|
2558
2100
|
*/
|
|
2559
2101
|
function newBuffer(sizeOrArray?: (number|number[])): (Uint8Array|Buffer);
|
|
2560
2102
|
|
|
2561
|
-
/**
|
|
2562
|
-
* Array implementation used in the browser.
|
|
2563
|
-
* @deprecated Use `Uint8Array` instead.
|
|
2564
|
-
*/
|
|
2103
|
+
/** Array implementation used in the browser. `Uint8Array` if supported, otherwise `Array`. */
|
|
2565
2104
|
let Array: Constructor<Uint8Array>;
|
|
2566
2105
|
|
|
2567
2106
|
/** Long.js's Long class if available. */
|
|
@@ -2591,21 +2130,6 @@ export namespace util {
|
|
|
2591
2130
|
*/
|
|
2592
2131
|
function longFromHash(hash: string, unsigned?: boolean): (Long|number);
|
|
2593
2132
|
|
|
2594
|
-
/**
|
|
2595
|
-
* Converts a 64 bit key to a long or number if it is an 8 characters long hash string.
|
|
2596
|
-
* @param key Map key
|
|
2597
|
-
* @param [unsigned=false] Whether unsigned or not
|
|
2598
|
-
* @returns Original value
|
|
2599
|
-
*/
|
|
2600
|
-
function longFromKey(key: string, unsigned?: boolean): (Long|number|string);
|
|
2601
|
-
|
|
2602
|
-
/**
|
|
2603
|
-
* Converts a boolean key to a boolean value.
|
|
2604
|
-
* @param key Map key
|
|
2605
|
-
* @returns Boolean value
|
|
2606
|
-
*/
|
|
2607
|
-
function boolFromKey(key: string): boolean;
|
|
2608
|
-
|
|
2609
2133
|
/**
|
|
2610
2134
|
* Merges the properties of the source object into the destination object.
|
|
2611
2135
|
* @param dst Destination object
|
|
@@ -2624,9 +2148,8 @@ export namespace util {
|
|
|
2624
2148
|
* Makes a property safe for assignment as an own property.
|
|
2625
2149
|
* @param obj Object
|
|
2626
2150
|
* @param key Property key
|
|
2627
|
-
* @param [enumerable=true] Whether the property should be enumerable
|
|
2628
2151
|
*/
|
|
2629
|
-
function makeProp(obj: { [k: string]: any }, key: string
|
|
2152
|
+
function makeProp(obj: { [k: string]: any }, key: string): void;
|
|
2630
2153
|
|
|
2631
2154
|
/**
|
|
2632
2155
|
* Converts the first character of a string to lower case.
|
|
@@ -2646,46 +2169,333 @@ export namespace util {
|
|
|
2646
2169
|
class ProtocolError<T extends Message<T>> extends Error {
|
|
2647
2170
|
|
|
2648
2171
|
/**
|
|
2649
|
-
* Constructs a new protocol error.
|
|
2650
|
-
* @param message Error message
|
|
2651
|
-
* @param [properties] Additional properties
|
|
2172
|
+
* Constructs a new protocol error.
|
|
2173
|
+
* @param message Error message
|
|
2174
|
+
* @param [properties] Additional properties
|
|
2175
|
+
*/
|
|
2176
|
+
constructor(message: string, properties?: { [k: string]: any });
|
|
2177
|
+
|
|
2178
|
+
/** So far decoded message instance. */
|
|
2179
|
+
public instance: Message<T>;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Builds a getter for a oneof's present field name.
|
|
2184
|
+
* @param fieldNames Field names
|
|
2185
|
+
* @returns Unbound getter
|
|
2186
|
+
*/
|
|
2187
|
+
function oneOfGetter(fieldNames: string[]): OneOfGetter;
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* Builds a setter for a oneof's present field name.
|
|
2191
|
+
* @param fieldNames Field names
|
|
2192
|
+
* @returns Unbound setter
|
|
2193
|
+
*/
|
|
2194
|
+
function oneOfSetter(fieldNames: string[]): OneOfSetter;
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* Default conversion options used for {@link Message#toJSON} implementations.
|
|
2198
|
+
*
|
|
2199
|
+
* These options are close to proto3's JSON mapping with the exception that internal types like Any are handled just like messages. More precisely:
|
|
2200
|
+
*
|
|
2201
|
+
* - Longs become strings
|
|
2202
|
+
* - Enums become string keys
|
|
2203
|
+
* - Bytes become base64 encoded strings
|
|
2204
|
+
* - (Sub-)Messages become plain objects
|
|
2205
|
+
* - Maps become plain objects with all string keys
|
|
2206
|
+
* - Repeated fields become arrays
|
|
2207
|
+
* - NaN and Infinity for float and double fields become strings
|
|
2208
|
+
*
|
|
2209
|
+
* @see https://developers.google.com/protocol-buffers/docs/proto3?hl=en#json
|
|
2210
|
+
*/
|
|
2211
|
+
let toJSONOptions: IConversionOptions;
|
|
2212
|
+
|
|
2213
|
+
/** Node's fs module if available. */
|
|
2214
|
+
let fs: { [k: string]: any };
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Checks a recursion depth.
|
|
2218
|
+
* @param depth Depth of recursion
|
|
2219
|
+
* @returns Depth of recursion
|
|
2220
|
+
* @throws {Error} If depth exceeds util.recursionLimit
|
|
2221
|
+
*/
|
|
2222
|
+
function checkDepth(depth: (number|undefined)): number;
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Converts an object's values to an array.
|
|
2226
|
+
* @param object Object to convert
|
|
2227
|
+
* @returns Converted array
|
|
2228
|
+
*/
|
|
2229
|
+
function toArray(object: { [k: string]: any }): any[];
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Converts an array of keys immediately followed by their respective value to an object, omitting undefined values.
|
|
2233
|
+
* @param array Array to convert
|
|
2234
|
+
* @returns Converted object
|
|
2235
|
+
*/
|
|
2236
|
+
function toObject(array: any[]): { [k: string]: any };
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* Tests whether the specified name is a reserved word in JS.
|
|
2240
|
+
* @param name Name to test
|
|
2241
|
+
* @returns `true` if reserved, otherwise `false`
|
|
2242
|
+
*/
|
|
2243
|
+
function isReserved(name: string): boolean;
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* Returns a safe property accessor for the specified property name.
|
|
2247
|
+
* @param prop Property name
|
|
2248
|
+
* @returns Safe accessor
|
|
2249
|
+
*/
|
|
2250
|
+
function safeProp(prop: string): string;
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Converts the first character of a string to upper case.
|
|
2254
|
+
* @param str String to convert
|
|
2255
|
+
* @returns Converted string
|
|
2256
|
+
*/
|
|
2257
|
+
function ucFirst(str: string): string;
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Converts a string to camel case.
|
|
2261
|
+
* @param str String to convert
|
|
2262
|
+
* @returns Converted string
|
|
2263
|
+
*/
|
|
2264
|
+
function camelCase(str: string): string;
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Compares reflected fields by id.
|
|
2268
|
+
* @param a First field
|
|
2269
|
+
* @param b Second field
|
|
2270
|
+
* @returns Comparison value
|
|
2271
|
+
*/
|
|
2272
|
+
function compareFieldsById(a: Field, b: Field): number;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* Decorator helper for types (TypeScript).
|
|
2276
|
+
* @param ctor Constructor function
|
|
2277
|
+
* @param [typeName] Type name, defaults to the constructor's name
|
|
2278
|
+
* @returns Reflected type
|
|
2279
|
+
*/
|
|
2280
|
+
function decorateType<T extends Message<T>>(ctor: Constructor<T>, typeName?: string): Type;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Decorator helper for enums (TypeScript).
|
|
2284
|
+
* @param object Enum object
|
|
2285
|
+
* @returns Reflected enum
|
|
2286
|
+
*/
|
|
2287
|
+
function decorateEnum(object: object): Enum;
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* Sets the value of a property by property path. If a value already exists, it is turned to an array
|
|
2291
|
+
* @param dst Destination object
|
|
2292
|
+
* @param path dot '.' delimited path of the property to set
|
|
2293
|
+
* @param value the value to set
|
|
2294
|
+
* @param [ifNotSet] Sets the option only if it isn't currently set
|
|
2295
|
+
* @returns Destination object
|
|
2296
|
+
*/
|
|
2297
|
+
function setProperty(dst: { [k: string]: any }, path: string, value: object, ifNotSet?: (boolean|undefined)): { [k: string]: any };
|
|
2298
|
+
|
|
2299
|
+
/** Decorator root (TypeScript). */
|
|
2300
|
+
let decorateRoot: Root;
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* Returns a promise from a node-style callback function.
|
|
2304
|
+
* @param fn Function to call
|
|
2305
|
+
* @param ctx Function context
|
|
2306
|
+
* @param params Function arguments
|
|
2307
|
+
* @returns Promisified function
|
|
2308
|
+
*/
|
|
2309
|
+
function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise<any>;
|
|
2310
|
+
|
|
2311
|
+
/** A minimal base64 implementation for number arrays. */
|
|
2312
|
+
namespace base64 {
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Calculates the byte length of a base64 encoded string.
|
|
2316
|
+
* @param string Base64 encoded string
|
|
2317
|
+
* @returns Byte length
|
|
2318
|
+
*/
|
|
2319
|
+
function length(string: string): number;
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Encodes a buffer to a base64 encoded string.
|
|
2323
|
+
* @param buffer Source buffer
|
|
2324
|
+
* @param start Source start
|
|
2325
|
+
* @param end Source end
|
|
2326
|
+
* @returns Base64 encoded string
|
|
2327
|
+
*/
|
|
2328
|
+
function encode(buffer: Uint8Array, start: number, end: number): string;
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* Decodes a base64 encoded string to a buffer.
|
|
2332
|
+
* @param string Source string
|
|
2333
|
+
* @param buffer Destination buffer
|
|
2334
|
+
* @param offset Destination offset
|
|
2335
|
+
* @returns Number of bytes written
|
|
2336
|
+
* @throws {Error} If encoding is invalid
|
|
2337
|
+
*/
|
|
2338
|
+
function decode(string: string, buffer: Uint8Array, offset: number): number;
|
|
2339
|
+
|
|
2340
|
+
/**
|
|
2341
|
+
* Tests if the specified string appears to be base64 encoded.
|
|
2342
|
+
* @param string String to test
|
|
2343
|
+
* @returns `true` if probably base64 encoded, otherwise false
|
|
2344
|
+
*/
|
|
2345
|
+
function test(string: string): boolean;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Begins generating a function.
|
|
2350
|
+
* @param functionParams Function parameter names
|
|
2351
|
+
* @param [functionName] Function name if not anonymous
|
|
2352
|
+
* @returns Appender that appends code to the function's body
|
|
2353
|
+
*/
|
|
2354
|
+
function codegen(functionParams: string[], functionName?: string): Codegen;
|
|
2355
|
+
|
|
2356
|
+
namespace codegen {
|
|
2357
|
+
|
|
2358
|
+
/** When set to `true`, codegen will log generated code to console. Useful for debugging. */
|
|
2359
|
+
let verbose: boolean;
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* Begins generating a function.
|
|
2364
|
+
* @param [functionName] Function name if not anonymous
|
|
2365
|
+
* @returns Appender that appends code to the function's body
|
|
2366
|
+
*/
|
|
2367
|
+
function codegen(functionName?: string): Codegen;
|
|
2368
|
+
|
|
2369
|
+
/** A minimal event emitter. */
|
|
2370
|
+
class EventEmitter {
|
|
2371
|
+
|
|
2372
|
+
/** Constructs a new event emitter instance. */
|
|
2373
|
+
constructor();
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* Registers an event listener.
|
|
2377
|
+
* @param evt Event name
|
|
2378
|
+
* @param fn Listener
|
|
2379
|
+
* @param [ctx] Listener context
|
|
2380
|
+
* @returns `this`
|
|
2381
|
+
*/
|
|
2382
|
+
public on(evt: string, fn: EventEmitterListener, ctx?: any): this;
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* Removes an event listener or any matching listeners if arguments are omitted.
|
|
2386
|
+
* @param [evt] Event name. Removes all listeners if omitted.
|
|
2387
|
+
* @param [fn] Listener to remove. Removes all listeners of `evt` if omitted.
|
|
2388
|
+
* @returns `this`
|
|
2389
|
+
*/
|
|
2390
|
+
public off(evt?: string, fn?: EventEmitterListener): this;
|
|
2391
|
+
|
|
2392
|
+
/**
|
|
2393
|
+
* Emits an event by calling its listeners with the specified arguments.
|
|
2394
|
+
* @param evt Event name
|
|
2395
|
+
* @param args Arguments
|
|
2396
|
+
* @returns `this`
|
|
2397
|
+
*/
|
|
2398
|
+
public emit(evt: string, ...args: any[]): this;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
/** Reads / writes floats / doubles from / to buffers. */
|
|
2402
|
+
namespace float {
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Writes a 32 bit float to a buffer using little endian byte order.
|
|
2406
|
+
* @param val Value to write
|
|
2407
|
+
* @param buf Target buffer
|
|
2408
|
+
* @param pos Target buffer offset
|
|
2409
|
+
*/
|
|
2410
|
+
function writeFloatLE(val: number, buf: Uint8Array, pos: number): void;
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* Writes a 32 bit float to a buffer using big endian byte order.
|
|
2414
|
+
* @param val Value to write
|
|
2415
|
+
* @param buf Target buffer
|
|
2416
|
+
* @param pos Target buffer offset
|
|
2417
|
+
*/
|
|
2418
|
+
function writeFloatBE(val: number, buf: Uint8Array, pos: number): void;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Reads a 32 bit float from a buffer using little endian byte order.
|
|
2422
|
+
* @param buf Source buffer
|
|
2423
|
+
* @param pos Source buffer offset
|
|
2424
|
+
* @returns Value read
|
|
2425
|
+
*/
|
|
2426
|
+
function readFloatLE(buf: Uint8Array, pos: number): number;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Reads a 32 bit float from a buffer using big endian byte order.
|
|
2430
|
+
* @param buf Source buffer
|
|
2431
|
+
* @param pos Source buffer offset
|
|
2432
|
+
* @returns Value read
|
|
2433
|
+
*/
|
|
2434
|
+
function readFloatBE(buf: Uint8Array, pos: number): number;
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* Writes a 64 bit double to a buffer using little endian byte order.
|
|
2438
|
+
* @param val Value to write
|
|
2439
|
+
* @param buf Target buffer
|
|
2440
|
+
* @param pos Target buffer offset
|
|
2441
|
+
*/
|
|
2442
|
+
function writeDoubleLE(val: number, buf: Uint8Array, pos: number): void;
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* Writes a 64 bit double to a buffer using big endian byte order.
|
|
2446
|
+
* @param val Value to write
|
|
2447
|
+
* @param buf Target buffer
|
|
2448
|
+
* @param pos Target buffer offset
|
|
2449
|
+
*/
|
|
2450
|
+
function writeDoubleBE(val: number, buf: Uint8Array, pos: number): void;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* Reads a 64 bit double from a buffer using little endian byte order.
|
|
2454
|
+
* @param buf Source buffer
|
|
2455
|
+
* @param pos Source buffer offset
|
|
2456
|
+
* @returns Value read
|
|
2457
|
+
*/
|
|
2458
|
+
function readDoubleLE(buf: Uint8Array, pos: number): number;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Reads a 64 bit double from a buffer using big endian byte order.
|
|
2462
|
+
* @param buf Source buffer
|
|
2463
|
+
* @param pos Source buffer offset
|
|
2464
|
+
* @returns Value read
|
|
2652
2465
|
*/
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
/** So far decoded message instance. */
|
|
2656
|
-
instance: Message<T>;
|
|
2466
|
+
function readDoubleBE(buf: Uint8Array, pos: number): number;
|
|
2657
2467
|
}
|
|
2658
2468
|
|
|
2659
2469
|
/**
|
|
2660
|
-
*
|
|
2661
|
-
* @param
|
|
2662
|
-
* @
|
|
2470
|
+
* Fetches the contents of a file.
|
|
2471
|
+
* @param filename File path or url
|
|
2472
|
+
* @param options Fetch options
|
|
2473
|
+
* @param callback Callback function
|
|
2663
2474
|
*/
|
|
2664
|
-
function
|
|
2475
|
+
function fetch(filename: string, options: IFetchOptions, callback: FetchCallback): void;
|
|
2665
2476
|
|
|
2666
2477
|
/**
|
|
2667
|
-
*
|
|
2668
|
-
* @param
|
|
2669
|
-
* @
|
|
2478
|
+
* Fetches the contents of a file.
|
|
2479
|
+
* @param path File path or url
|
|
2480
|
+
* @param callback Callback function
|
|
2670
2481
|
*/
|
|
2671
|
-
function
|
|
2482
|
+
function fetch(path: string, callback: FetchCallback): void;
|
|
2672
2483
|
|
|
2673
2484
|
/**
|
|
2674
|
-
*
|
|
2675
|
-
*
|
|
2676
|
-
*
|
|
2677
|
-
*
|
|
2678
|
-
* - Longs become strings
|
|
2679
|
-
* - Enums become string keys
|
|
2680
|
-
* - Bytes become base64 encoded strings
|
|
2681
|
-
* - (Sub-)Messages become plain objects
|
|
2682
|
-
* - Maps become plain objects with all string keys
|
|
2683
|
-
* - Repeated fields become arrays
|
|
2684
|
-
* - NaN and Infinity for float and double fields become strings
|
|
2685
|
-
*
|
|
2686
|
-
* @see https://developers.google.com/protocol-buffers/docs/proto3?hl=en#json
|
|
2485
|
+
* Fetches the contents of a file.
|
|
2486
|
+
* @param path File path or url
|
|
2487
|
+
* @param [options] Fetch options
|
|
2488
|
+
* @returns Promise
|
|
2687
2489
|
*/
|
|
2688
|
-
|
|
2490
|
+
function fetch(path: string, options?: IFetchOptions): Promise<(string|Uint8Array)>;
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Requires a module only if available.
|
|
2494
|
+
* @param moduleName Module to require
|
|
2495
|
+
* @returns Required module if available and not empty, otherwise `null`
|
|
2496
|
+
* @deprecated Legacy optional require helper. Will be removed in a future release.
|
|
2497
|
+
*/
|
|
2498
|
+
function inquire(moduleName: string): object;
|
|
2689
2499
|
|
|
2690
2500
|
/** A minimal path module to resolve Unix, Windows and URL paths alike. */
|
|
2691
2501
|
namespace path {
|
|
@@ -2723,7 +2533,7 @@ export namespace util {
|
|
|
2723
2533
|
*/
|
|
2724
2534
|
function pool(alloc: PoolAllocator, slice: PoolSlicer, size?: number): PoolAllocator;
|
|
2725
2535
|
|
|
2726
|
-
/** A minimal UTF8 implementation. */
|
|
2536
|
+
/** A minimal UTF8 implementation for number arrays. */
|
|
2727
2537
|
namespace utf8 {
|
|
2728
2538
|
|
|
2729
2539
|
/**
|
|
@@ -2742,15 +2552,6 @@ export namespace util {
|
|
|
2742
2552
|
*/
|
|
2743
2553
|
function read(buffer: Uint8Array, start: number, end: number): string;
|
|
2744
2554
|
|
|
2745
|
-
/**
|
|
2746
|
-
* Reads UTF8 bytes as a string, rejecting invalid UTF8.
|
|
2747
|
-
* @param buffer Source buffer
|
|
2748
|
-
* @param start Source start
|
|
2749
|
-
* @param end Source end
|
|
2750
|
-
* @returns String read
|
|
2751
|
-
*/
|
|
2752
|
-
function readStrict(buffer: Uint8Array, start: number, end: number): string;
|
|
2753
|
-
|
|
2754
2555
|
/**
|
|
2755
2556
|
* Writes a string as UTF8 bytes.
|
|
2756
2557
|
* @param string Source string
|
|
@@ -2760,109 +2561,6 @@ export namespace util {
|
|
|
2760
2561
|
*/
|
|
2761
2562
|
function write(string: string, buffer: Uint8Array, offset: number): number;
|
|
2762
2563
|
}
|
|
2763
|
-
|
|
2764
|
-
/** Node's fs module if available. */
|
|
2765
|
-
let fs: { [k: string]: any };
|
|
2766
|
-
|
|
2767
|
-
/**
|
|
2768
|
-
* Converts an object's values to an array.
|
|
2769
|
-
* @param object Object to convert
|
|
2770
|
-
* @returns Converted array
|
|
2771
|
-
*/
|
|
2772
|
-
function toArray(object: { [k: string]: any }): any[];
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
* Converts an array of keys immediately followed by their respective value to an object, omitting undefined values.
|
|
2776
|
-
* @param array Array to convert
|
|
2777
|
-
* @returns Converted object
|
|
2778
|
-
*/
|
|
2779
|
-
function toObject(array: any[]): { [k: string]: any };
|
|
2780
|
-
|
|
2781
|
-
/**
|
|
2782
|
-
* Removes the first matching value from an object.
|
|
2783
|
-
* @param object Object to remove from
|
|
2784
|
-
* @param value Value to remove
|
|
2785
|
-
* @param [key] Optional key for fast path removal
|
|
2786
|
-
* @returns `true` if removed, otherwise `false`
|
|
2787
|
-
*/
|
|
2788
|
-
function remove(object: ({ [k: string]: any }|undefined), value: any, key?: string): boolean;
|
|
2789
|
-
|
|
2790
|
-
/**
|
|
2791
|
-
* Tests whether the specified name is a reserved word in JS.
|
|
2792
|
-
* @param name Name to test
|
|
2793
|
-
* @returns `true` if reserved, otherwise `false`
|
|
2794
|
-
*/
|
|
2795
|
-
function isReserved(name: string): boolean;
|
|
2796
|
-
|
|
2797
|
-
/**
|
|
2798
|
-
* Returns a safe property accessor for the specified property name.
|
|
2799
|
-
* @param prop Property name
|
|
2800
|
-
* @returns Safe accessor
|
|
2801
|
-
*/
|
|
2802
|
-
function safeProp(prop: string): string;
|
|
2803
|
-
|
|
2804
|
-
/**
|
|
2805
|
-
* Converts the first character of a string to upper case.
|
|
2806
|
-
* @param str String to convert
|
|
2807
|
-
* @returns Converted string
|
|
2808
|
-
*/
|
|
2809
|
-
function ucFirst(str: string): string;
|
|
2810
|
-
|
|
2811
|
-
/**
|
|
2812
|
-
* Converts a string to camel case.
|
|
2813
|
-
* @param str String to convert
|
|
2814
|
-
* @returns Converted string
|
|
2815
|
-
* @deprecated Use {@link util.jsonName} for protobuf field JSON names.
|
|
2816
|
-
*/
|
|
2817
|
-
function camelCase(str: string): string;
|
|
2818
|
-
|
|
2819
|
-
/**
|
|
2820
|
-
* Converts a proto field name to its protoc-compatible JSON name.
|
|
2821
|
-
* @param str Proto field name
|
|
2822
|
-
* @returns JSON name
|
|
2823
|
-
*/
|
|
2824
|
-
function jsonName(str: string): string;
|
|
2825
|
-
|
|
2826
|
-
/**
|
|
2827
|
-
* Compares reflected fields by id.
|
|
2828
|
-
* @param a First field
|
|
2829
|
-
* @param b Second field
|
|
2830
|
-
* @returns Comparison value
|
|
2831
|
-
*/
|
|
2832
|
-
function compareFieldsById(a: Field, b: Field): number;
|
|
2833
|
-
|
|
2834
|
-
/**
|
|
2835
|
-
* Decorator helper for types (TypeScript).
|
|
2836
|
-
* @param ctor Constructor function
|
|
2837
|
-
* @param [typeName] Type name, defaults to the constructor's name
|
|
2838
|
-
* @returns Reflected type
|
|
2839
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
2840
|
-
*/
|
|
2841
|
-
function decorateType<T extends Message<T>>(ctor: Constructor<T>, typeName?: string): Type;
|
|
2842
|
-
|
|
2843
|
-
/**
|
|
2844
|
-
* Decorator helper for enums (TypeScript).
|
|
2845
|
-
* @param object Enum object
|
|
2846
|
-
* @returns Reflected enum
|
|
2847
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
2848
|
-
*/
|
|
2849
|
-
function decorateEnum(object: object): Enum;
|
|
2850
|
-
|
|
2851
|
-
/**
|
|
2852
|
-
* Sets the value of a property by property path. If a value already exists, it is turned to an array
|
|
2853
|
-
* @param dst Destination object
|
|
2854
|
-
* @param path dot '.' delimited path of the property to set
|
|
2855
|
-
* @param value the value to set
|
|
2856
|
-
* @param [ifNotSet] Sets the option only if it isn't currently set
|
|
2857
|
-
* @returns Destination object
|
|
2858
|
-
*/
|
|
2859
|
-
function setProperty(dst: { [k: string]: any }, path: string, value: object, ifNotSet?: (boolean|undefined)): { [k: string]: any };
|
|
2860
|
-
|
|
2861
|
-
/**
|
|
2862
|
-
* Decorator root (TypeScript).
|
|
2863
|
-
* @deprecated Legacy TypeScript decorator support. Will be removed in a future release.
|
|
2864
|
-
*/
|
|
2865
|
-
let decorateRoot: Root;
|
|
2866
2564
|
}
|
|
2867
2565
|
|
|
2868
2566
|
/**
|
|
@@ -2880,7 +2578,7 @@ export const wrappers: { [k: string]: IWrapper };
|
|
|
2880
2578
|
* @param object Plain object
|
|
2881
2579
|
* @returns Message instance
|
|
2882
2580
|
*/
|
|
2883
|
-
|
|
2581
|
+
type WrapperFromObjectConverter = (this: Type, object: { [k: string]: any }) => Message<{}>;
|
|
2884
2582
|
|
|
2885
2583
|
/**
|
|
2886
2584
|
* To object converter part of an {@link IWrapper}.
|
|
@@ -2888,7 +2586,7 @@ export type WrapperFromObjectConverter = (this: Type, object: { [k: string]: any
|
|
|
2888
2586
|
* @param [options] Conversion options
|
|
2889
2587
|
* @returns Plain object
|
|
2890
2588
|
*/
|
|
2891
|
-
|
|
2589
|
+
type WrapperToObjectConverter = (this: Type, message: Message<{}>, options?: IConversionOptions) => { [k: string]: any };
|
|
2892
2590
|
|
|
2893
2591
|
/** Common type wrapper part of {@link wrappers}. */
|
|
2894
2592
|
export interface IWrapper {
|
|
@@ -2900,63 +2598,57 @@ export interface IWrapper {
|
|
|
2900
2598
|
toObject?: WrapperToObjectConverter;
|
|
2901
2599
|
}
|
|
2902
2600
|
|
|
2903
|
-
/** Wire format writer using `Uint8Array`. */
|
|
2601
|
+
/** Wire format writer using `Uint8Array` if available, otherwise `Array`. */
|
|
2904
2602
|
export class Writer {
|
|
2905
2603
|
|
|
2906
2604
|
/** Constructs a new writer instance. */
|
|
2907
2605
|
constructor();
|
|
2908
2606
|
|
|
2909
|
-
/**
|
|
2910
|
-
|
|
2607
|
+
/** Current length. */
|
|
2608
|
+
public len: number;
|
|
2911
2609
|
|
|
2912
|
-
/**
|
|
2913
|
-
|
|
2610
|
+
/** Operations head. */
|
|
2611
|
+
public head: object;
|
|
2914
2612
|
|
|
2915
|
-
/**
|
|
2916
|
-
|
|
2613
|
+
/** Operations tail */
|
|
2614
|
+
public tail: object;
|
|
2917
2615
|
|
|
2918
|
-
/**
|
|
2919
|
-
states: (
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* Current write position.
|
|
2923
|
-
* @deprecated Use {@link Writer#pos} instead.
|
|
2924
|
-
*/
|
|
2925
|
-
len: number;
|
|
2616
|
+
/** Linked forked states. */
|
|
2617
|
+
public states: (object|null);
|
|
2926
2618
|
|
|
2927
2619
|
/**
|
|
2928
2620
|
* Creates a new writer.
|
|
2929
2621
|
* @returns A {@link BufferWriter} when Buffers are supported, otherwise a {@link Writer}
|
|
2930
2622
|
*/
|
|
2931
|
-
static create(): (BufferWriter|Writer);
|
|
2623
|
+
public static create(): (BufferWriter|Writer);
|
|
2932
2624
|
|
|
2933
2625
|
/**
|
|
2934
2626
|
* Allocates a buffer of the specified size.
|
|
2935
2627
|
* @param size Buffer size
|
|
2936
2628
|
* @returns Buffer
|
|
2937
2629
|
*/
|
|
2938
|
-
static alloc(size: number): Uint8Array;
|
|
2630
|
+
public static alloc(size: number): Uint8Array;
|
|
2939
2631
|
|
|
2940
2632
|
/**
|
|
2941
2633
|
* Writes an unsigned 32 bit value as a varint.
|
|
2942
2634
|
* @param value Value to write
|
|
2943
2635
|
* @returns `this`
|
|
2944
2636
|
*/
|
|
2945
|
-
uint32(value: number): Writer;
|
|
2637
|
+
public uint32(value: number): Writer;
|
|
2946
2638
|
|
|
2947
2639
|
/**
|
|
2948
2640
|
* Writes a signed 32 bit value as a varint.
|
|
2949
2641
|
* @param value Value to write
|
|
2950
2642
|
* @returns `this`
|
|
2951
2643
|
*/
|
|
2952
|
-
int32(value: number): Writer;
|
|
2644
|
+
public int32(value: number): Writer;
|
|
2953
2645
|
|
|
2954
2646
|
/**
|
|
2955
2647
|
* Writes a 32 bit value as a varint, zig-zag encoded.
|
|
2956
2648
|
* @param value Value to write
|
|
2957
2649
|
* @returns `this`
|
|
2958
2650
|
*/
|
|
2959
|
-
sint32(value: number): Writer;
|
|
2651
|
+
public sint32(value: number): Writer;
|
|
2960
2652
|
|
|
2961
2653
|
/**
|
|
2962
2654
|
* Writes an unsigned 64 bit value as a varint.
|
|
@@ -2964,7 +2656,7 @@ export class Writer {
|
|
|
2964
2656
|
* @returns `this`
|
|
2965
2657
|
* @throws {TypeError} If `value` is a string and no long library is present.
|
|
2966
2658
|
*/
|
|
2967
|
-
uint64(value: (Long|number|string)): Writer;
|
|
2659
|
+
public uint64(value: (Long|number|string)): Writer;
|
|
2968
2660
|
|
|
2969
2661
|
/**
|
|
2970
2662
|
* Writes a signed 64 bit value as a varint.
|
|
@@ -2972,7 +2664,7 @@ export class Writer {
|
|
|
2972
2664
|
* @returns `this`
|
|
2973
2665
|
* @throws {TypeError} If `value` is a string and no long library is present.
|
|
2974
2666
|
*/
|
|
2975
|
-
int64(value: (Long|number|string)): Writer;
|
|
2667
|
+
public int64(value: (Long|number|string)): Writer;
|
|
2976
2668
|
|
|
2977
2669
|
/**
|
|
2978
2670
|
* Writes a signed 64 bit value as a varint, zig-zag encoded.
|
|
@@ -2980,28 +2672,28 @@ export class Writer {
|
|
|
2980
2672
|
* @returns `this`
|
|
2981
2673
|
* @throws {TypeError} If `value` is a string and no long library is present.
|
|
2982
2674
|
*/
|
|
2983
|
-
sint64(value: (Long|number|string)): Writer;
|
|
2675
|
+
public sint64(value: (Long|number|string)): Writer;
|
|
2984
2676
|
|
|
2985
2677
|
/**
|
|
2986
2678
|
* Writes a boolish value as a varint.
|
|
2987
2679
|
* @param value Value to write
|
|
2988
2680
|
* @returns `this`
|
|
2989
2681
|
*/
|
|
2990
|
-
bool(value: boolean): Writer;
|
|
2682
|
+
public bool(value: boolean): Writer;
|
|
2991
2683
|
|
|
2992
2684
|
/**
|
|
2993
2685
|
* Writes an unsigned 32 bit value as fixed 32 bits.
|
|
2994
2686
|
* @param value Value to write
|
|
2995
2687
|
* @returns `this`
|
|
2996
2688
|
*/
|
|
2997
|
-
fixed32(value: number): Writer;
|
|
2689
|
+
public fixed32(value: number): Writer;
|
|
2998
2690
|
|
|
2999
2691
|
/**
|
|
3000
2692
|
* Writes a signed 32 bit value as fixed 32 bits.
|
|
3001
2693
|
* @param value Value to write
|
|
3002
2694
|
* @returns `this`
|
|
3003
2695
|
*/
|
|
3004
|
-
sfixed32(value: number): Writer;
|
|
2696
|
+
public sfixed32(value: number): Writer;
|
|
3005
2697
|
|
|
3006
2698
|
/**
|
|
3007
2699
|
* Writes an unsigned 64 bit value as fixed 64 bits.
|
|
@@ -3009,7 +2701,7 @@ export class Writer {
|
|
|
3009
2701
|
* @returns `this`
|
|
3010
2702
|
* @throws {TypeError} If `value` is a string and no long library is present.
|
|
3011
2703
|
*/
|
|
3012
|
-
fixed64(value: (Long|number|string)): Writer;
|
|
2704
|
+
public fixed64(value: (Long|number|string)): Writer;
|
|
3013
2705
|
|
|
3014
2706
|
/**
|
|
3015
2707
|
* Writes a signed 64 bit value as fixed 64 bits.
|
|
@@ -3017,169 +2709,60 @@ export class Writer {
|
|
|
3017
2709
|
* @returns `this`
|
|
3018
2710
|
* @throws {TypeError} If `value` is a string and no long library is present.
|
|
3019
2711
|
*/
|
|
3020
|
-
sfixed64(value: (Long|number|string)): Writer;
|
|
2712
|
+
public sfixed64(value: (Long|number|string)): Writer;
|
|
3021
2713
|
|
|
3022
2714
|
/**
|
|
3023
2715
|
* Writes a float (32 bit).
|
|
3024
2716
|
* @param value Value to write
|
|
3025
2717
|
* @returns `this`
|
|
3026
2718
|
*/
|
|
3027
|
-
float(value: number): Writer;
|
|
2719
|
+
public float(value: number): Writer;
|
|
3028
2720
|
|
|
3029
2721
|
/**
|
|
3030
2722
|
* Writes a double (64 bit float).
|
|
3031
2723
|
* @param value Value to write
|
|
3032
2724
|
* @returns `this`
|
|
3033
2725
|
*/
|
|
3034
|
-
double(value: number): Writer;
|
|
2726
|
+
public double(value: number): Writer;
|
|
3035
2727
|
|
|
3036
2728
|
/**
|
|
3037
2729
|
* Writes a sequence of bytes.
|
|
3038
2730
|
* @param value Buffer or base64 encoded string to write
|
|
3039
2731
|
* @returns `this`
|
|
3040
2732
|
*/
|
|
3041
|
-
bytes(value: (Uint8Array|string)): Writer;
|
|
3042
|
-
|
|
3043
|
-
/**
|
|
3044
|
-
* Writes raw bytes without a tag or length prefix.
|
|
3045
|
-
* @param value Raw bytes
|
|
3046
|
-
* @returns `this`
|
|
3047
|
-
*/
|
|
3048
|
-
raw(value: Uint8Array): Writer;
|
|
2733
|
+
public bytes(value: (Uint8Array|string)): Writer;
|
|
3049
2734
|
|
|
3050
2735
|
/**
|
|
3051
2736
|
* Writes a string.
|
|
3052
2737
|
* @param value Value to write
|
|
3053
2738
|
* @returns `this`
|
|
3054
2739
|
*/
|
|
3055
|
-
string(value: string): Writer;
|
|
3056
|
-
|
|
3057
|
-
/**
|
|
3058
|
-
* Writes an array of unsigned 32 bit values as a packed repeated field.
|
|
3059
|
-
* @param value Values to write
|
|
3060
|
-
* @returns `this`
|
|
3061
|
-
*/
|
|
3062
|
-
uint32s(value: number[]): Writer;
|
|
3063
|
-
|
|
3064
|
-
/**
|
|
3065
|
-
* Writes an array of signed 32 bit values as a packed repeated field.
|
|
3066
|
-
* @param value Values to write
|
|
3067
|
-
* @returns `this`
|
|
3068
|
-
*/
|
|
3069
|
-
int32s(value: number[]): Writer;
|
|
3070
|
-
|
|
3071
|
-
/**
|
|
3072
|
-
* Writes an array of 32 bit values as packed, zig-zag encoded varints.
|
|
3073
|
-
* @param value Values to write
|
|
3074
|
-
* @returns `this`
|
|
3075
|
-
*/
|
|
3076
|
-
sint32s(value: number[]): Writer;
|
|
3077
|
-
|
|
3078
|
-
/**
|
|
3079
|
-
* Writes an array of unsigned 64 bit values as a packed repeated field.
|
|
3080
|
-
* @param value Values to write
|
|
3081
|
-
* @returns `this`
|
|
3082
|
-
*/
|
|
3083
|
-
uint64s(value: (Long|number|string)[]): Writer;
|
|
3084
|
-
|
|
3085
|
-
/**
|
|
3086
|
-
* Writes an array of signed 64 bit values as a packed repeated field.
|
|
3087
|
-
* @param value Values to write
|
|
3088
|
-
* @returns `this`
|
|
3089
|
-
*/
|
|
3090
|
-
int64s(value: (Long|number|string)[]): Writer;
|
|
3091
|
-
|
|
3092
|
-
/**
|
|
3093
|
-
* Writes an array of 64 bit values as packed, zig-zag encoded varints.
|
|
3094
|
-
* @param value Values to write
|
|
3095
|
-
* @returns `this`
|
|
3096
|
-
*/
|
|
3097
|
-
sint64s(value: (Long|number|string)[]): Writer;
|
|
3098
|
-
|
|
3099
|
-
/**
|
|
3100
|
-
* Writes an array of boolish values as a packed repeated field.
|
|
3101
|
-
* @param value Values to write
|
|
3102
|
-
* @returns `this`
|
|
3103
|
-
*/
|
|
3104
|
-
bools(value: boolean[]): Writer;
|
|
3105
|
-
|
|
3106
|
-
/**
|
|
3107
|
-
* Writes an array of unsigned 32 bit values as packed, fixed 32 bits.
|
|
3108
|
-
* @param value Values to write
|
|
3109
|
-
* @returns `this`
|
|
3110
|
-
*/
|
|
3111
|
-
fixed32s(value: number[]): Writer;
|
|
3112
|
-
|
|
3113
|
-
/**
|
|
3114
|
-
* Writes an array of signed 32 bit values as packed, fixed 32 bits.
|
|
3115
|
-
* @param value Values to write
|
|
3116
|
-
* @returns `this`
|
|
3117
|
-
*/
|
|
3118
|
-
sfixed32s(value: number[]): Writer;
|
|
3119
|
-
|
|
3120
|
-
/**
|
|
3121
|
-
* Writes an array of unsigned 64 bit values as packed, fixed 64 bits.
|
|
3122
|
-
* @param value Values to write
|
|
3123
|
-
* @returns `this`
|
|
3124
|
-
*/
|
|
3125
|
-
fixed64s(value: (Long|number|string)[]): Writer;
|
|
3126
|
-
|
|
3127
|
-
/**
|
|
3128
|
-
* Writes an array of signed 64 bit values as packed, fixed 64 bits.
|
|
3129
|
-
* @param value Values to write
|
|
3130
|
-
* @returns `this`
|
|
3131
|
-
*/
|
|
3132
|
-
sfixed64s(value: (Long|number|string)[]): Writer;
|
|
3133
|
-
|
|
3134
|
-
/**
|
|
3135
|
-
* Writes an array of floats (32 bit) as a packed repeated field.
|
|
3136
|
-
* @param value Values to write
|
|
3137
|
-
* @returns `this`
|
|
3138
|
-
*/
|
|
3139
|
-
floats(value: number[]): Writer;
|
|
3140
|
-
|
|
3141
|
-
/**
|
|
3142
|
-
* Writes an array of doubles (64 bit float) as a packed repeated field.
|
|
3143
|
-
* @param value Values to write
|
|
3144
|
-
* @returns `this`
|
|
3145
|
-
*/
|
|
3146
|
-
doubles(value: number[]): Writer;
|
|
2740
|
+
public string(value: string): Writer;
|
|
3147
2741
|
|
|
3148
2742
|
/**
|
|
3149
2743
|
* Forks this writer's state by pushing it to a stack.
|
|
2744
|
+
* Calling {@link Writer#reset|reset} or {@link Writer#ldelim|ldelim} resets the writer to the previous state.
|
|
3150
2745
|
* @returns `this`
|
|
3151
2746
|
*/
|
|
3152
|
-
fork(): Writer;
|
|
2747
|
+
public fork(): Writer;
|
|
3153
2748
|
|
|
3154
2749
|
/**
|
|
3155
2750
|
* Resets this instance to the last state.
|
|
3156
2751
|
* @returns `this`
|
|
3157
2752
|
*/
|
|
3158
|
-
reset(): Writer;
|
|
2753
|
+
public reset(): Writer;
|
|
3159
2754
|
|
|
3160
2755
|
/**
|
|
3161
|
-
* Resets to the last state and
|
|
2756
|
+
* Resets to the last state and appends the fork state's current write length as a varint followed by its operations.
|
|
3162
2757
|
* @returns `this`
|
|
3163
2758
|
*/
|
|
3164
|
-
ldelim(): Writer;
|
|
2759
|
+
public ldelim(): Writer;
|
|
3165
2760
|
|
|
3166
2761
|
/**
|
|
3167
2762
|
* Finishes the write operation.
|
|
3168
|
-
* Returns a buffer sized to the written data by default.
|
|
3169
|
-
* @param [shared=false] Whether to return a shared view instead of a unique copy
|
|
3170
2763
|
* @returns Finished buffer
|
|
3171
2764
|
*/
|
|
3172
|
-
finish(
|
|
3173
|
-
|
|
3174
|
-
/**
|
|
3175
|
-
* Finishes the write operation, writing into the provided buffer.
|
|
3176
|
-
* The caller must ensure that `buf` has enough space starting at `offset`
|
|
3177
|
-
* to hold {@link Writer#pos} bytes.
|
|
3178
|
-
* @param buf Target buffer
|
|
3179
|
-
* @param [offset=0] Offset to start writing at
|
|
3180
|
-
* @returns The provided buffer
|
|
3181
|
-
*/
|
|
3182
|
-
finishInto<T extends Uint8Array>(buf: T, offset?: number): T;
|
|
2765
|
+
public finish(): Uint8Array;
|
|
3183
2766
|
}
|
|
3184
2767
|
|
|
3185
2768
|
/** Wire format writer using node buffers. */
|
|
@@ -3193,11 +2776,65 @@ export class BufferWriter extends Writer {
|
|
|
3193
2776
|
* @param size Buffer size
|
|
3194
2777
|
* @returns Buffer
|
|
3195
2778
|
*/
|
|
3196
|
-
static alloc(size: number): Buffer;
|
|
2779
|
+
public static alloc(size: number): Buffer;
|
|
3197
2780
|
|
|
3198
2781
|
/**
|
|
3199
2782
|
* Finishes the write operation.
|
|
3200
2783
|
* @returns Finished buffer
|
|
3201
2784
|
*/
|
|
3202
|
-
finish(): Buffer;
|
|
2785
|
+
public finish(): Buffer;
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Callback as used by {@link util.asPromise}.
|
|
2790
|
+
* @param error Error, if any
|
|
2791
|
+
* @param params Additional arguments
|
|
2792
|
+
*/
|
|
2793
|
+
type asPromiseCallback = (error: (Error|null), ...params: any[]) => void;
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* Appends code to the function's body or finishes generation.
|
|
2797
|
+
* @param [formatStringOrScope] Format string or, to finish the function, an object of additional scope variables, if any
|
|
2798
|
+
* @param [formatParams] Format parameters
|
|
2799
|
+
* @returns Itself or the generated function if finished
|
|
2800
|
+
* @throws {Error} If format parameter counts do not match
|
|
2801
|
+
*/
|
|
2802
|
+
type Codegen = (formatStringOrScope?: (string|{ [k: string]: any }), ...formatParams: any[]) => (Codegen|Function);
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* Event listener as used by {@link util.EventEmitter}.
|
|
2806
|
+
* @param args Arguments
|
|
2807
|
+
*/
|
|
2808
|
+
type EventEmitterListener = (...args: any[]) => void;
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* Node-style callback as used by {@link util.fetch}.
|
|
2812
|
+
* @param error Error, if any, otherwise `null`
|
|
2813
|
+
* @param [contents] File contents, if there hasn't been an error
|
|
2814
|
+
*/
|
|
2815
|
+
type FetchCallback = (error: Error, contents?: string) => void;
|
|
2816
|
+
|
|
2817
|
+
/** Options as used by {@link util.fetch}. */
|
|
2818
|
+
export interface IFetchOptions {
|
|
2819
|
+
|
|
2820
|
+
/** Whether expecting a binary response */
|
|
2821
|
+
binary?: boolean;
|
|
2822
|
+
|
|
2823
|
+
/** If `true`, forces the use of XMLHttpRequest */
|
|
2824
|
+
xhr?: boolean;
|
|
3203
2825
|
}
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* An allocator as used by {@link util.pool}.
|
|
2829
|
+
* @param size Buffer size
|
|
2830
|
+
* @returns Buffer
|
|
2831
|
+
*/
|
|
2832
|
+
type PoolAllocator = (size: number) => Uint8Array;
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* A slicer as used by {@link util.pool}.
|
|
2836
|
+
* @param start Start offset
|
|
2837
|
+
* @param end End offset
|
|
2838
|
+
* @returns Buffer slice
|
|
2839
|
+
*/
|
|
2840
|
+
type PoolSlicer = (this: Uint8Array, start: number, end: number) => Uint8Array;
|