@neontechspace/fluxerly 1000.0.0-nightly.12
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/CHANGELOG.md +833 -0
- package/LICENSE +201 -0
- package/README.md +129 -0
- package/agents/AGENTS.md +195 -0
- package/dist/api/default/application.d.ts +34 -0
- package/dist/api/default/application.d.ts.map +1 -0
- package/dist/api/default/application.js +2 -0
- package/dist/api/default/application.js.map +1 -0
- package/dist/api/default/attachments.d.ts +89 -0
- package/dist/api/default/attachments.d.ts.map +1 -0
- package/dist/api/default/attachments.js +2 -0
- package/dist/api/default/attachments.js.map +1 -0
- package/dist/api/default/audit-logs.d.ts +48 -0
- package/dist/api/default/audit-logs.d.ts.map +1 -0
- package/dist/api/default/audit-logs.js +2 -0
- package/dist/api/default/audit-logs.js.map +1 -0
- package/dist/api/default/bot.d.ts +200 -0
- package/dist/api/default/bot.d.ts.map +1 -0
- package/dist/api/default/bot.js +309 -0
- package/dist/api/default/bot.js.map +1 -0
- package/dist/api/default/cache.d.ts +105 -0
- package/dist/api/default/cache.d.ts.map +1 -0
- package/dist/api/default/cache.js +2 -0
- package/dist/api/default/cache.js.map +1 -0
- package/dist/api/default/channels.d.ts +249 -0
- package/dist/api/default/channels.d.ts.map +1 -0
- package/dist/api/default/channels.js +2 -0
- package/dist/api/default/channels.js.map +1 -0
- package/dist/api/default/client.d.ts +528 -0
- package/dist/api/default/client.d.ts.map +1 -0
- package/dist/api/default/client.js +301 -0
- package/dist/api/default/client.js.map +1 -0
- package/dist/api/default/collectors.d.ts +76 -0
- package/dist/api/default/collectors.d.ts.map +1 -0
- package/dist/api/default/collectors.js +2 -0
- package/dist/api/default/collectors.js.map +1 -0
- package/dist/api/default/commands.d.ts +91 -0
- package/dist/api/default/commands.d.ts.map +1 -0
- package/dist/api/default/commands.js +92 -0
- package/dist/api/default/commands.js.map +1 -0
- package/dist/api/default/direct-messages.d.ts +111 -0
- package/dist/api/default/direct-messages.d.ts.map +1 -0
- package/dist/api/default/direct-messages.js +2 -0
- package/dist/api/default/direct-messages.js.map +1 -0
- package/dist/api/default/discovery.d.ts +76 -0
- package/dist/api/default/discovery.d.ts.map +1 -0
- package/dist/api/default/discovery.js +2 -0
- package/dist/api/default/discovery.js.map +1 -0
- package/dist/api/default/emojis.d.ts +88 -0
- package/dist/api/default/emojis.d.ts.map +1 -0
- package/dist/api/default/emojis.js +2 -0
- package/dist/api/default/emojis.js.map +1 -0
- package/dist/api/default/events.d.ts +127 -0
- package/dist/api/default/events.d.ts.map +1 -0
- package/dist/api/default/events.js +2 -0
- package/dist/api/default/events.js.map +1 -0
- package/dist/api/default/gateway.d.ts +62 -0
- package/dist/api/default/gateway.d.ts.map +1 -0
- package/dist/api/default/gateway.js +2 -0
- package/dist/api/default/gateway.js.map +1 -0
- package/dist/api/default/guards.d.ts +87 -0
- package/dist/api/default/guards.d.ts.map +1 -0
- package/dist/api/default/guards.js +78 -0
- package/dist/api/default/guards.js.map +1 -0
- package/dist/api/default/guilds.d.ts +230 -0
- package/dist/api/default/guilds.d.ts.map +1 -0
- package/dist/api/default/guilds.js +2 -0
- package/dist/api/default/guilds.js.map +1 -0
- package/dist/api/default/helpers.d.ts +79 -0
- package/dist/api/default/helpers.d.ts.map +1 -0
- package/dist/api/default/helpers.js +79 -0
- package/dist/api/default/helpers.js.map +1 -0
- package/dist/api/default/instance.d.ts +47 -0
- package/dist/api/default/instance.d.ts.map +1 -0
- package/dist/api/default/instance.js +2 -0
- package/dist/api/default/instance.js.map +1 -0
- package/dist/api/default/invites.d.ts +57 -0
- package/dist/api/default/invites.d.ts.map +1 -0
- package/dist/api/default/invites.js +2 -0
- package/dist/api/default/invites.js.map +1 -0
- package/dist/api/default/logging.d.ts +37 -0
- package/dist/api/default/logging.d.ts.map +1 -0
- package/dist/api/default/logging.js +2 -0
- package/dist/api/default/logging.js.map +1 -0
- package/dist/api/default/members.d.ts +442 -0
- package/dist/api/default/members.d.ts.map +1 -0
- package/dist/api/default/members.js +2 -0
- package/dist/api/default/members.js.map +1 -0
- package/dist/api/default/messages.d.ts +898 -0
- package/dist/api/default/messages.d.ts.map +1 -0
- package/dist/api/default/messages.js +2 -0
- package/dist/api/default/messages.js.map +1 -0
- package/dist/api/default/oauth.d.ts +168 -0
- package/dist/api/default/oauth.d.ts.map +1 -0
- package/dist/api/default/oauth.js +84 -0
- package/dist/api/default/oauth.js.map +1 -0
- package/dist/api/default/permissions.d.ts +44 -0
- package/dist/api/default/permissions.d.ts.map +1 -0
- package/dist/api/default/permissions.js +2 -0
- package/dist/api/default/permissions.js.map +1 -0
- package/dist/api/default/presence.d.ts +88 -0
- package/dist/api/default/presence.d.ts.map +1 -0
- package/dist/api/default/presence.js +2 -0
- package/dist/api/default/presence.js.map +1 -0
- package/dist/api/default/rest.d.ts +28 -0
- package/dist/api/default/rest.d.ts.map +1 -0
- package/dist/api/default/rest.js +2 -0
- package/dist/api/default/rest.js.map +1 -0
- package/dist/api/default/results.d.ts +31 -0
- package/dist/api/default/results.d.ts.map +1 -0
- package/dist/api/default/results.js +14 -0
- package/dist/api/default/results.js.map +1 -0
- package/dist/api/default/roles.d.ts +119 -0
- package/dist/api/default/roles.d.ts.map +1 -0
- package/dist/api/default/roles.js +2 -0
- package/dist/api/default/roles.js.map +1 -0
- package/dist/api/default/stickers.d.ts +92 -0
- package/dist/api/default/stickers.d.ts.map +1 -0
- package/dist/api/default/stickers.js +2 -0
- package/dist/api/default/stickers.js.map +1 -0
- package/dist/api/default/supervisor.d.ts +51 -0
- package/dist/api/default/supervisor.d.ts.map +1 -0
- package/dist/api/default/supervisor.js +53 -0
- package/dist/api/default/supervisor.js.map +1 -0
- package/dist/api/default/threads.d.ts +158 -0
- package/dist/api/default/threads.d.ts.map +1 -0
- package/dist/api/default/threads.js +2 -0
- package/dist/api/default/threads.js.map +1 -0
- package/dist/api/default/users.d.ts +73 -0
- package/dist/api/default/users.d.ts.map +1 -0
- package/dist/api/default/users.js +2 -0
- package/dist/api/default/users.js.map +1 -0
- package/dist/api/default/webhook-client.d.ts +149 -0
- package/dist/api/default/webhook-client.d.ts.map +1 -0
- package/dist/api/default/webhook-client.js +69 -0
- package/dist/api/default/webhook-client.js.map +1 -0
- package/dist/api/default/webhooks.d.ts +62 -0
- package/dist/api/default/webhooks.d.ts.map +1 -0
- package/dist/api/default/webhooks.js +2 -0
- package/dist/api/default/webhooks.js.map +1 -0
- package/dist/api/effect/application.d.ts +29 -0
- package/dist/api/effect/application.d.ts.map +1 -0
- package/dist/api/effect/application.js +2 -0
- package/dist/api/effect/application.js.map +1 -0
- package/dist/api/effect/attachments.d.ts +84 -0
- package/dist/api/effect/attachments.d.ts.map +1 -0
- package/dist/api/effect/attachments.js +2 -0
- package/dist/api/effect/attachments.js.map +1 -0
- package/dist/api/effect/audit-logs.d.ts +42 -0
- package/dist/api/effect/audit-logs.d.ts.map +1 -0
- package/dist/api/effect/audit-logs.js +2 -0
- package/dist/api/effect/audit-logs.js.map +1 -0
- package/dist/api/effect/bot.d.ts +233 -0
- package/dist/api/effect/bot.d.ts.map +1 -0
- package/dist/api/effect/bot.js +230 -0
- package/dist/api/effect/bot.js.map +1 -0
- package/dist/api/effect/cache.d.ts +103 -0
- package/dist/api/effect/cache.d.ts.map +1 -0
- package/dist/api/effect/cache.js +2 -0
- package/dist/api/effect/cache.js.map +1 -0
- package/dist/api/effect/channels.d.ts +231 -0
- package/dist/api/effect/channels.d.ts.map +1 -0
- package/dist/api/effect/channels.js +2 -0
- package/dist/api/effect/channels.js.map +1 -0
- package/dist/api/effect/client.d.ts +622 -0
- package/dist/api/effect/client.d.ts.map +1 -0
- package/dist/api/effect/client.js +191 -0
- package/dist/api/effect/client.js.map +1 -0
- package/dist/api/effect/collectors.d.ts +90 -0
- package/dist/api/effect/collectors.d.ts.map +1 -0
- package/dist/api/effect/collectors.js +2 -0
- package/dist/api/effect/collectors.js.map +1 -0
- package/dist/api/effect/commands.d.ts +86 -0
- package/dist/api/effect/commands.d.ts.map +1 -0
- package/dist/api/effect/commands.js +87 -0
- package/dist/api/effect/commands.js.map +1 -0
- package/dist/api/effect/direct-messages.d.ts +102 -0
- package/dist/api/effect/direct-messages.d.ts.map +1 -0
- package/dist/api/effect/direct-messages.js +2 -0
- package/dist/api/effect/direct-messages.js.map +1 -0
- package/dist/api/effect/discovery.d.ts +68 -0
- package/dist/api/effect/discovery.d.ts.map +1 -0
- package/dist/api/effect/discovery.js +2 -0
- package/dist/api/effect/discovery.js.map +1 -0
- package/dist/api/effect/emojis.d.ts +77 -0
- package/dist/api/effect/emojis.d.ts.map +1 -0
- package/dist/api/effect/emojis.js +2 -0
- package/dist/api/effect/emojis.js.map +1 -0
- package/dist/api/effect/events.d.ts +78 -0
- package/dist/api/effect/events.d.ts.map +1 -0
- package/dist/api/effect/events.js +12 -0
- package/dist/api/effect/events.js.map +1 -0
- package/dist/api/effect/failures.d.ts +14 -0
- package/dist/api/effect/failures.d.ts.map +1 -0
- package/dist/api/effect/failures.js +2 -0
- package/dist/api/effect/failures.js.map +1 -0
- package/dist/api/effect/gateway.d.ts +63 -0
- package/dist/api/effect/gateway.d.ts.map +1 -0
- package/dist/api/effect/gateway.js +2 -0
- package/dist/api/effect/gateway.js.map +1 -0
- package/dist/api/effect/guards.d.ts +91 -0
- package/dist/api/effect/guards.d.ts.map +1 -0
- package/dist/api/effect/guards.js +94 -0
- package/dist/api/effect/guards.js.map +1 -0
- package/dist/api/effect/guilds.d.ts +221 -0
- package/dist/api/effect/guilds.d.ts.map +1 -0
- package/dist/api/effect/guilds.js +2 -0
- package/dist/api/effect/guilds.js.map +1 -0
- package/dist/api/effect/helpers.d.ts +300 -0
- package/dist/api/effect/helpers.d.ts.map +1 -0
- package/dist/api/effect/helpers.js +156 -0
- package/dist/api/effect/helpers.js.map +1 -0
- package/dist/api/effect/hierarchy.d.ts +26 -0
- package/dist/api/effect/hierarchy.d.ts.map +1 -0
- package/dist/api/effect/hierarchy.js +26 -0
- package/dist/api/effect/hierarchy.js.map +1 -0
- package/dist/api/effect/instance.d.ts +46 -0
- package/dist/api/effect/instance.d.ts.map +1 -0
- package/dist/api/effect/instance.js +8 -0
- package/dist/api/effect/instance.js.map +1 -0
- package/dist/api/effect/invites.d.ts +49 -0
- package/dist/api/effect/invites.d.ts.map +1 -0
- package/dist/api/effect/invites.js +2 -0
- package/dist/api/effect/invites.js.map +1 -0
- package/dist/api/effect/logging.d.ts +37 -0
- package/dist/api/effect/logging.d.ts.map +1 -0
- package/dist/api/effect/logging.js +2 -0
- package/dist/api/effect/logging.js.map +1 -0
- package/dist/api/effect/members.d.ts +433 -0
- package/dist/api/effect/members.d.ts.map +1 -0
- package/dist/api/effect/members.js +2 -0
- package/dist/api/effect/members.js.map +1 -0
- package/dist/api/effect/messages.d.ts +877 -0
- package/dist/api/effect/messages.d.ts.map +1 -0
- package/dist/api/effect/messages.js +2 -0
- package/dist/api/effect/messages.js.map +1 -0
- package/dist/api/effect/oauth.d.ts +148 -0
- package/dist/api/effect/oauth.d.ts.map +1 -0
- package/dist/api/effect/oauth.js +51 -0
- package/dist/api/effect/oauth.js.map +1 -0
- package/dist/api/effect/permissions.d.ts +41 -0
- package/dist/api/effect/permissions.d.ts.map +1 -0
- package/dist/api/effect/permissions.js +2 -0
- package/dist/api/effect/permissions.js.map +1 -0
- package/dist/api/effect/presence.d.ts +83 -0
- package/dist/api/effect/presence.d.ts.map +1 -0
- package/dist/api/effect/presence.js +2 -0
- package/dist/api/effect/presence.js.map +1 -0
- package/dist/api/effect/rest.d.ts +27 -0
- package/dist/api/effect/rest.d.ts.map +1 -0
- package/dist/api/effect/rest.js +2 -0
- package/dist/api/effect/rest.js.map +1 -0
- package/dist/api/effect/roles.d.ts +104 -0
- package/dist/api/effect/roles.d.ts.map +1 -0
- package/dist/api/effect/roles.js +2 -0
- package/dist/api/effect/roles.js.map +1 -0
- package/dist/api/effect/service.d.ts +76 -0
- package/dist/api/effect/service.d.ts.map +1 -0
- package/dist/api/effect/service.js +79 -0
- package/dist/api/effect/service.js.map +1 -0
- package/dist/api/effect/stickers.d.ts +81 -0
- package/dist/api/effect/stickers.d.ts.map +1 -0
- package/dist/api/effect/stickers.js +2 -0
- package/dist/api/effect/stickers.js.map +1 -0
- package/dist/api/effect/supervisor.d.ts +56 -0
- package/dist/api/effect/supervisor.d.ts.map +1 -0
- package/dist/api/effect/supervisor.js +58 -0
- package/dist/api/effect/supervisor.js.map +1 -0
- package/dist/api/effect/threads.d.ts +154 -0
- package/dist/api/effect/threads.d.ts.map +1 -0
- package/dist/api/effect/threads.js +2 -0
- package/dist/api/effect/threads.js.map +1 -0
- package/dist/api/effect/users.d.ts +62 -0
- package/dist/api/effect/users.d.ts.map +1 -0
- package/dist/api/effect/users.js +2 -0
- package/dist/api/effect/users.js.map +1 -0
- package/dist/api/effect/webhook-client.d.ts +140 -0
- package/dist/api/effect/webhook-client.d.ts.map +1 -0
- package/dist/api/effect/webhook-client.js +50 -0
- package/dist/api/effect/webhook-client.js.map +1 -0
- package/dist/api/effect/webhooks.d.ts +54 -0
- package/dist/api/effect/webhooks.d.ts.map +1 -0
- package/dist/api/effect/webhooks.js +2 -0
- package/dist/api/effect/webhooks.js.map +1 -0
- package/dist/api-errors.d.ts +609 -0
- package/dist/api-errors.d.ts.map +1 -0
- package/dist/api-errors.js +589 -0
- package/dist/api-errors.js.map +1 -0
- package/dist/application.d.ts +85 -0
- package/dist/application.d.ts.map +1 -0
- package/dist/application.js +44 -0
- package/dist/application.js.map +1 -0
- package/dist/assets.d.ts +197 -0
- package/dist/assets.d.ts.map +1 -0
- package/dist/assets.js +419 -0
- package/dist/assets.js.map +1 -0
- package/dist/attachments.d.ts +400 -0
- package/dist/attachments.d.ts.map +1 -0
- package/dist/attachments.js +88 -0
- package/dist/attachments.js.map +1 -0
- package/dist/audit-logs.d.ts +292 -0
- package/dist/audit-logs.d.ts.map +1 -0
- package/dist/audit-logs.js +46 -0
- package/dist/audit-logs.js.map +1 -0
- package/dist/bot-runner.d.ts +69 -0
- package/dist/bot-runner.d.ts.map +1 -0
- package/dist/bot-runner.js +41 -0
- package/dist/bot-runner.js.map +1 -0
- package/dist/builders.d.ts +153 -0
- package/dist/builders.d.ts.map +1 -0
- package/dist/builders.js +326 -0
- package/dist/builders.js.map +1 -0
- package/dist/cache.d.ts +187 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +2 -0
- package/dist/cache.js.map +1 -0
- package/dist/channels.d.ts +903 -0
- package/dist/channels.d.ts.map +1 -0
- package/dist/channels.js +125 -0
- package/dist/channels.js.map +1 -0
- package/dist/cli.d.ts +9 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +65 -0
- package/dist/cli.js.map +1 -0
- package/dist/client.d.ts +645 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -0
- package/dist/collectors.d.ts +205 -0
- package/dist/collectors.d.ts.map +1 -0
- package/dist/collectors.js +71 -0
- package/dist/collectors.js.map +1 -0
- package/dist/colors.d.ts +55 -0
- package/dist/colors.d.ts.map +1 -0
- package/dist/colors.js +40 -0
- package/dist/colors.js.map +1 -0
- package/dist/command-arguments.d.ts +353 -0
- package/dist/command-arguments.d.ts.map +1 -0
- package/dist/command-arguments.js +2 -0
- package/dist/command-arguments.js.map +1 -0
- package/dist/command-help.d.ts +54 -0
- package/dist/command-help.d.ts.map +1 -0
- package/dist/command-help.js +2 -0
- package/dist/command-help.js.map +1 -0
- package/dist/commands.d.ts +328 -0
- package/dist/commands.d.ts.map +1 -0
- package/dist/commands.js +62 -0
- package/dist/commands.js.map +1 -0
- package/dist/counts.d.ts +124 -0
- package/dist/counts.d.ts.map +1 -0
- package/dist/counts.js +52 -0
- package/dist/counts.js.map +1 -0
- package/dist/default-commands.d.ts +400 -0
- package/dist/default-commands.d.ts.map +1 -0
- package/dist/default-commands.js +488 -0
- package/dist/default-commands.js.map +1 -0
- package/dist/default-supervisor.d.ts +111 -0
- package/dist/default-supervisor.d.ts.map +1 -0
- package/dist/default-supervisor.js +277 -0
- package/dist/default-supervisor.js.map +1 -0
- package/dist/discovery.d.ts +223 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +18 -0
- package/dist/discovery.js.map +1 -0
- package/dist/effect-testing.d.ts +388 -0
- package/dist/effect-testing.d.ts.map +1 -0
- package/dist/effect-testing.js +261 -0
- package/dist/effect-testing.js.map +1 -0
- package/dist/effect.d.ts +220 -0
- package/dist/effect.d.ts.map +1 -0
- package/dist/effect.js +101 -0
- package/dist/effect.js.map +1 -0
- package/dist/embeds.d.ts +243 -0
- package/dist/embeds.d.ts.map +1 -0
- package/dist/embeds.js +2 -0
- package/dist/embeds.js.map +1 -0
- package/dist/error-tools.d.ts +101 -0
- package/dist/error-tools.d.ts.map +1 -0
- package/dist/error-tools.js +125 -0
- package/dist/error-tools.js.map +1 -0
- package/dist/errors.d.ts +386 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +440 -0
- package/dist/errors.js.map +1 -0
- package/dist/events.d.ts +798 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -0
- package/dist/expressions.d.ts +188 -0
- package/dist/expressions.d.ts.map +1 -0
- package/dist/expressions.js +2 -0
- package/dist/expressions.js.map +1 -0
- package/dist/failures.d.ts +53 -0
- package/dist/failures.d.ts.map +1 -0
- package/dist/failures.js +2 -0
- package/dist/failures.js.map +1 -0
- package/dist/gateway.d.ts +48 -0
- package/dist/gateway.d.ts.map +1 -0
- package/dist/gateway.js +60 -0
- package/dist/gateway.js.map +1 -0
- package/dist/guilds.d.ts +923 -0
- package/dist/guilds.d.ts.map +1 -0
- package/dist/guilds.js +204 -0
- package/dist/guilds.js.map +1 -0
- package/dist/helpers.d.ts +423 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/helpers.js +434 -0
- package/dist/helpers.js.map +1 -0
- package/dist/index.d.ts +228 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -0
- package/dist/input-validation.d.ts +51 -0
- package/dist/input-validation.d.ts.map +1 -0
- package/dist/input-validation.js +34 -0
- package/dist/input-validation.js.map +1 -0
- package/dist/instance.d.ts +101 -0
- package/dist/instance.d.ts.map +1 -0
- package/dist/instance.js +2 -0
- package/dist/instance.js.map +1 -0
- package/dist/internal/agents-section.d.ts +22 -0
- package/dist/internal/agents-section.d.ts.map +1 -0
- package/dist/internal/agents-section.js +101 -0
- package/dist/internal/agents-section.js.map +1 -0
- package/dist/internal/application.d.ts +16 -0
- package/dist/internal/application.d.ts.map +1 -0
- package/dist/internal/application.js +33 -0
- package/dist/internal/application.js.map +1 -0
- package/dist/internal/attachment-refresh.d.ts +18 -0
- package/dist/internal/attachment-refresh.d.ts.map +1 -0
- package/dist/internal/attachment-refresh.js +39 -0
- package/dist/internal/attachment-refresh.js.map +1 -0
- package/dist/internal/attachments.d.ts +45 -0
- package/dist/internal/attachments.d.ts.map +1 -0
- package/dist/internal/attachments.js +230 -0
- package/dist/internal/attachments.js.map +1 -0
- package/dist/internal/audit-logs.d.ts +13 -0
- package/dist/internal/audit-logs.d.ts.map +1 -0
- package/dist/internal/audit-logs.js +295 -0
- package/dist/internal/audit-logs.js.map +1 -0
- package/dist/internal/audit.d.ts +12 -0
- package/dist/internal/audit.d.ts.map +1 -0
- package/dist/internal/audit.js +22 -0
- package/dist/internal/audit.js.map +1 -0
- package/dist/internal/binding/default-adapters.d.ts +22 -0
- package/dist/internal/binding/default-adapters.d.ts.map +1 -0
- package/dist/internal/binding/default-adapters.js +304 -0
- package/dist/internal/binding/default-adapters.js.map +1 -0
- package/dist/internal/binding/default.d.ts +45 -0
- package/dist/internal/binding/default.d.ts.map +1 -0
- package/dist/internal/binding/default.js +86 -0
- package/dist/internal/binding/default.js.map +1 -0
- package/dist/internal/binding/execute.d.ts +51 -0
- package/dist/internal/binding/execute.d.ts.map +1 -0
- package/dist/internal/binding/execute.js +123 -0
- package/dist/internal/binding/execute.js.map +1 -0
- package/dist/internal/binding/native-adapters.d.ts +23 -0
- package/dist/internal/binding/native-adapters.d.ts.map +1 -0
- package/dist/internal/binding/native-adapters.js +90 -0
- package/dist/internal/binding/native-adapters.js.map +1 -0
- package/dist/internal/binding/native.d.ts +41 -0
- package/dist/internal/binding/native.d.ts.map +1 -0
- package/dist/internal/binding/native.js +34 -0
- package/dist/internal/binding/native.js.map +1 -0
- package/dist/internal/binding/operations.d.ts +361 -0
- package/dist/internal/binding/operations.d.ts.map +1 -0
- package/dist/internal/binding/operations.js +272 -0
- package/dist/internal/binding/operations.js.map +1 -0
- package/dist/internal/bot-runner.d.ts +65 -0
- package/dist/internal/bot-runner.d.ts.map +1 -0
- package/dist/internal/bot-runner.js +363 -0
- package/dist/internal/bot-runner.js.map +1 -0
- package/dist/internal/cache-changes.d.ts +43 -0
- package/dist/internal/cache-changes.d.ts.map +1 -0
- package/dist/internal/cache-changes.js +320 -0
- package/dist/internal/cache-changes.js.map +1 -0
- package/dist/internal/cache.d.ts +57 -0
- package/dist/internal/cache.d.ts.map +1 -0
- package/dist/internal/cache.js +318 -0
- package/dist/internal/cache.js.map +1 -0
- package/dist/internal/calls.d.ts +16 -0
- package/dist/internal/calls.d.ts.map +1 -0
- package/dist/internal/calls.js +108 -0
- package/dist/internal/calls.js.map +1 -0
- package/dist/internal/channel-cache.d.ts +69 -0
- package/dist/internal/channel-cache.d.ts.map +1 -0
- package/dist/internal/channel-cache.js +413 -0
- package/dist/internal/channel-cache.js.map +1 -0
- package/dist/internal/channel-decode.d.ts +44 -0
- package/dist/internal/channel-decode.d.ts.map +1 -0
- package/dist/internal/channel-decode.js +377 -0
- package/dist/internal/channel-decode.js.map +1 -0
- package/dist/internal/channels.d.ts +60 -0
- package/dist/internal/channels.d.ts.map +1 -0
- package/dist/internal/channels.js +605 -0
- package/dist/internal/channels.js.map +1 -0
- package/dist/internal/client/backoff.d.ts +42 -0
- package/dist/internal/client/backoff.d.ts.map +1 -0
- package/dist/internal/client/backoff.js +36 -0
- package/dist/internal/client/backoff.js.map +1 -0
- package/dist/internal/client/configuration-fields.d.ts +14 -0
- package/dist/internal/client/configuration-fields.d.ts.map +1 -0
- package/dist/internal/client/configuration-fields.js +11 -0
- package/dist/internal/client/configuration-fields.js.map +1 -0
- package/dist/internal/client/drain.d.ts +33 -0
- package/dist/internal/client/drain.d.ts.map +1 -0
- package/dist/internal/client/drain.js +109 -0
- package/dist/internal/client/drain.js.map +1 -0
- package/dist/internal/client/intake.d.ts +27 -0
- package/dist/internal/client/intake.d.ts.map +1 -0
- package/dist/internal/client/intake.js +198 -0
- package/dist/internal/client/intake.js.map +1 -0
- package/dist/internal/client/lifetime.d.ts +35 -0
- package/dist/internal/client/lifetime.d.ts.map +1 -0
- package/dist/internal/client/lifetime.js +109 -0
- package/dist/internal/client/lifetime.js.map +1 -0
- package/dist/internal/client/shard-loop.d.ts +93 -0
- package/dist/internal/client/shard-loop.d.ts.map +1 -0
- package/dist/internal/client/shard-loop.js +452 -0
- package/dist/internal/client/shard-loop.js.map +1 -0
- package/dist/internal/client-registry.d.ts +26 -0
- package/dist/internal/client-registry.d.ts.map +1 -0
- package/dist/internal/client-registry.js +11 -0
- package/dist/internal/client-registry.js.map +1 -0
- package/dist/internal/client.d.ts +189 -0
- package/dist/internal/client.d.ts.map +1 -0
- package/dist/internal/client.js +1935 -0
- package/dist/internal/client.js.map +1 -0
- package/dist/internal/clock.d.ts +9 -0
- package/dist/internal/clock.d.ts.map +1 -0
- package/dist/internal/clock.js +5 -0
- package/dist/internal/clock.js.map +1 -0
- package/dist/internal/code-catalogue.d.ts +712 -0
- package/dist/internal/code-catalogue.d.ts.map +1 -0
- package/dist/internal/code-catalogue.js +655 -0
- package/dist/internal/code-catalogue.js.map +1 -0
- package/dist/internal/collector.d.ts +34 -0
- package/dist/internal/collector.d.ts.map +1 -0
- package/dist/internal/collector.js +400 -0
- package/dist/internal/collector.js.map +1 -0
- package/dist/internal/command-arguments.d.ts +29 -0
- package/dist/internal/command-arguments.d.ts.map +1 -0
- package/dist/internal/command-arguments.js +484 -0
- package/dist/internal/command-arguments.js.map +1 -0
- package/dist/internal/command-guards.d.ts +57 -0
- package/dist/internal/command-guards.d.ts.map +1 -0
- package/dist/internal/command-guards.js +81 -0
- package/dist/internal/command-guards.js.map +1 -0
- package/dist/internal/command-help.d.ts +15 -0
- package/dist/internal/command-help.d.ts.map +1 -0
- package/dist/internal/command-help.js +121 -0
- package/dist/internal/command-help.js.map +1 -0
- package/dist/internal/commands.d.ts +212 -0
- package/dist/internal/commands.d.ts.map +1 -0
- package/dist/internal/commands.js +1004 -0
- package/dist/internal/commands.js.map +1 -0
- package/dist/internal/configuration.d.ts +86 -0
- package/dist/internal/configuration.d.ts.map +1 -0
- package/dist/internal/configuration.js +401 -0
- package/dist/internal/configuration.js.map +1 -0
- package/dist/internal/counts.d.ts +33 -0
- package/dist/internal/counts.d.ts.map +1 -0
- package/dist/internal/counts.js +348 -0
- package/dist/internal/counts.js.map +1 -0
- package/dist/internal/decode/primitives.d.ts +30 -0
- package/dist/internal/decode/primitives.d.ts.map +1 -0
- package/dist/internal/decode/primitives.js +56 -0
- package/dist/internal/decode/primitives.js.map +1 -0
- package/dist/internal/decode/timestamp.d.ts +13 -0
- package/dist/internal/decode/timestamp.d.ts.map +1 -0
- package/dist/internal/decode/timestamp.js +27 -0
- package/dist/internal/decode/timestamp.js.map +1 -0
- package/dist/internal/decode/trace.d.ts +11 -0
- package/dist/internal/decode/trace.d.ts.map +1 -0
- package/dist/internal/decode/trace.js +69 -0
- package/dist/internal/decode/trace.js.map +1 -0
- package/dist/internal/defects.d.ts +48 -0
- package/dist/internal/defects.d.ts.map +1 -0
- package/dist/internal/defects.js +100 -0
- package/dist/internal/defects.js.map +1 -0
- package/dist/internal/effect-failures.d.ts +12 -0
- package/dist/internal/effect-failures.d.ts.map +1 -0
- package/dist/internal/effect-failures.js +45 -0
- package/dist/internal/effect-failures.js.map +1 -0
- package/dist/internal/embeds.d.ts +12 -0
- package/dist/internal/embeds.d.ts.map +1 -0
- package/dist/internal/embeds.js +308 -0
- package/dist/internal/embeds.js.map +1 -0
- package/dist/internal/events.d.ts +156 -0
- package/dist/internal/events.d.ts.map +1 -0
- package/dist/internal/events.js +1071 -0
- package/dist/internal/events.js.map +1 -0
- package/dist/internal/expiry-queue.d.ts +42 -0
- package/dist/internal/expiry-queue.d.ts.map +1 -0
- package/dist/internal/expiry-queue.js +138 -0
- package/dist/internal/expiry-queue.js.map +1 -0
- package/dist/internal/expressions.d.ts +35 -0
- package/dist/internal/expressions.d.ts.map +1 -0
- package/dist/internal/expressions.js +311 -0
- package/dist/internal/expressions.js.map +1 -0
- package/dist/internal/failures.d.ts +107 -0
- package/dist/internal/failures.d.ts.map +1 -0
- package/dist/internal/failures.js +416 -0
- package/dist/internal/failures.js.map +1 -0
- package/dist/internal/field-text.d.ts +10 -0
- package/dist/internal/field-text.d.ts.map +1 -0
- package/dist/internal/field-text.js +37 -0
- package/dist/internal/field-text.js.map +1 -0
- package/dist/internal/gateway/commands.d.ts +92 -0
- package/dist/internal/gateway/commands.d.ts.map +1 -0
- package/dist/internal/gateway/commands.js +223 -0
- package/dist/internal/gateway/commands.js.map +1 -0
- package/dist/internal/gateway/dispatch-table.d.ts +42 -0
- package/dist/internal/gateway/dispatch-table.d.ts.map +1 -0
- package/dist/internal/gateway/dispatch-table.js +288 -0
- package/dist/internal/gateway/dispatch-table.js.map +1 -0
- package/dist/internal/gateway/event-dispatches.d.ts +97 -0
- package/dist/internal/gateway/event-dispatches.d.ts.map +1 -0
- package/dist/internal/gateway/event-dispatches.js +172 -0
- package/dist/internal/gateway/event-dispatches.js.map +1 -0
- package/dist/internal/gateway/frames.d.ts +45 -0
- package/dist/internal/gateway/frames.d.ts.map +1 -0
- package/dist/internal/gateway/frames.js +121 -0
- package/dist/internal/gateway/frames.js.map +1 -0
- package/dist/internal/gateway/options.d.ts +24 -0
- package/dist/internal/gateway/options.d.ts.map +1 -0
- package/dist/internal/gateway/options.js +103 -0
- package/dist/internal/gateway/options.js.map +1 -0
- package/dist/internal/gateway/session.d.ts +104 -0
- package/dist/internal/gateway/session.d.ts.map +1 -0
- package/dist/internal/gateway/session.js +420 -0
- package/dist/internal/gateway/session.js.map +1 -0
- package/dist/internal/gateway-requests.d.ts +10 -0
- package/dist/internal/gateway-requests.d.ts.map +1 -0
- package/dist/internal/gateway-requests.js +26 -0
- package/dist/internal/gateway-requests.js.map +1 -0
- package/dist/internal/gateway.d.ts +19 -0
- package/dist/internal/gateway.d.ts.map +1 -0
- package/dist/internal/gateway.js +11 -0
- package/dist/internal/gateway.js.map +1 -0
- package/dist/internal/guild-cache.d.ts +69 -0
- package/dist/internal/guild-cache.d.ts.map +1 -0
- package/dist/internal/guild-cache.js +402 -0
- package/dist/internal/guild-cache.js.map +1 -0
- package/dist/internal/guild-discovery.d.ts +15 -0
- package/dist/internal/guild-discovery.d.ts.map +1 -0
- package/dist/internal/guild-discovery.js +258 -0
- package/dist/internal/guild-discovery.js.map +1 -0
- package/dist/internal/guild-lifecycle.d.ts +18 -0
- package/dist/internal/guild-lifecycle.d.ts.map +1 -0
- package/dist/internal/guild-lifecycle.js +119 -0
- package/dist/internal/guild-lifecycle.js.map +1 -0
- package/dist/internal/guild-settings.d.ts +11 -0
- package/dist/internal/guild-settings.d.ts.map +1 -0
- package/dist/internal/guild-settings.js +150 -0
- package/dist/internal/guild-settings.js.map +1 -0
- package/dist/internal/guilds.d.ts +94 -0
- package/dist/internal/guilds.d.ts.map +1 -0
- package/dist/internal/guilds.js +785 -0
- package/dist/internal/guilds.js.map +1 -0
- package/dist/internal/init-command.d.ts +54 -0
- package/dist/internal/init-command.d.ts.map +1 -0
- package/dist/internal/init-command.js +248 -0
- package/dist/internal/init-command.js.map +1 -0
- package/dist/internal/instance.d.ts +69 -0
- package/dist/internal/instance.d.ts.map +1 -0
- package/dist/internal/instance.js +455 -0
- package/dist/internal/instance.js.map +1 -0
- package/dist/internal/invalid-callback-return.d.ts +3 -0
- package/dist/internal/invalid-callback-return.d.ts.map +1 -0
- package/dist/internal/invalid-callback-return.js +26 -0
- package/dist/internal/invalid-callback-return.js.map +1 -0
- package/dist/internal/invites.d.ts +19 -0
- package/dist/internal/invites.d.ts.map +1 -0
- package/dist/internal/invites.js +182 -0
- package/dist/internal/invites.js.map +1 -0
- package/dist/internal/logging.d.ts +129 -0
- package/dist/internal/logging.d.ts.map +1 -0
- package/dist/internal/logging.js +868 -0
- package/dist/internal/logging.js.map +1 -0
- package/dist/internal/logical-scheduler.d.ts +27 -0
- package/dist/internal/logical-scheduler.d.ts.map +1 -0
- package/dist/internal/logical-scheduler.js +102 -0
- package/dist/internal/logical-scheduler.js.map +1 -0
- package/dist/internal/masking.d.ts +13 -0
- package/dist/internal/masking.d.ts.map +1 -0
- package/dist/internal/masking.js +235 -0
- package/dist/internal/masking.js.map +1 -0
- package/dist/internal/member-chunks.d.ts +96 -0
- package/dist/internal/member-chunks.d.ts.map +1 -0
- package/dist/internal/member-chunks.js +557 -0
- package/dist/internal/member-chunks.js.map +1 -0
- package/dist/internal/member-search-workflow.d.ts +19 -0
- package/dist/internal/member-search-workflow.d.ts.map +1 -0
- package/dist/internal/member-search-workflow.js +143 -0
- package/dist/internal/member-search-workflow.js.map +1 -0
- package/dist/internal/member-search.d.ts +20 -0
- package/dist/internal/member-search.d.ts.map +1 -0
- package/dist/internal/member-search.js +201 -0
- package/dist/internal/member-search.js.map +1 -0
- package/dist/internal/message-cleanup.d.ts +9 -0
- package/dist/internal/message-cleanup.d.ts.map +1 -0
- package/dist/internal/message-cleanup.js +368 -0
- package/dist/internal/message-cleanup.js.map +1 -0
- package/dist/internal/message-fields.d.ts +9 -0
- package/dist/internal/message-fields.d.ts.map +1 -0
- package/dist/internal/message-fields.js +55 -0
- package/dist/internal/message-fields.js.map +1 -0
- package/dist/internal/message-search-workflow.d.ts +14 -0
- package/dist/internal/message-search-workflow.d.ts.map +1 -0
- package/dist/internal/message-search-workflow.js +101 -0
- package/dist/internal/message-search-workflow.js.map +1 -0
- package/dist/internal/message-search.d.ts +19 -0
- package/dist/internal/message-search.d.ts.map +1 -0
- package/dist/internal/message-search.js +317 -0
- package/dist/internal/message-search.js.map +1 -0
- package/dist/internal/message.d.ts +34 -0
- package/dist/internal/message.d.ts.map +1 -0
- package/dist/internal/message.js +723 -0
- package/dist/internal/message.js.map +1 -0
- package/dist/internal/metrics.d.ts +16 -0
- package/dist/internal/metrics.d.ts.map +1 -0
- package/dist/internal/metrics.js +49 -0
- package/dist/internal/metrics.js.map +1 -0
- package/dist/internal/moderation.d.ts +20 -0
- package/dist/internal/moderation.d.ts.map +1 -0
- package/dist/internal/moderation.js +219 -0
- package/dist/internal/moderation.js.map +1 -0
- package/dist/internal/multipart.d.ts +10 -0
- package/dist/internal/multipart.d.ts.map +1 -0
- package/dist/internal/multipart.js +156 -0
- package/dist/internal/multipart.js.map +1 -0
- package/dist/internal/node-version.d.ts +10 -0
- package/dist/internal/node-version.d.ts.map +1 -0
- package/dist/internal/node-version.js +21 -0
- package/dist/internal/node-version.js.map +1 -0
- package/dist/internal/oauth.d.ts +29 -0
- package/dist/internal/oauth.d.ts.map +1 -0
- package/dist/internal/oauth.js +721 -0
- package/dist/internal/oauth.js.map +1 -0
- package/dist/internal/observer.d.ts +21 -0
- package/dist/internal/observer.d.ts.map +1 -0
- package/dist/internal/observer.js +48 -0
- package/dist/internal/observer.js.map +1 -0
- package/dist/internal/operation-signal.d.ts +9 -0
- package/dist/internal/operation-signal.d.ts.map +1 -0
- package/dist/internal/operation-signal.js +19 -0
- package/dist/internal/operation-signal.js.map +1 -0
- package/dist/internal/pagination.d.ts +67 -0
- package/dist/internal/pagination.d.ts.map +1 -0
- package/dist/internal/pagination.js +306 -0
- package/dist/internal/pagination.js.map +1 -0
- package/dist/internal/permission-requirements.d.ts +34 -0
- package/dist/internal/permission-requirements.d.ts.map +1 -0
- package/dist/internal/permission-requirements.js +204 -0
- package/dist/internal/permission-requirements.js.map +1 -0
- package/dist/internal/permissions.d.ts +28 -0
- package/dist/internal/permissions.d.ts.map +1 -0
- package/dist/internal/permissions.js +314 -0
- package/dist/internal/permissions.js.map +1 -0
- package/dist/internal/pins.d.ts +24 -0
- package/dist/internal/pins.d.ts.map +1 -0
- package/dist/internal/pins.js +83 -0
- package/dist/internal/pins.js.map +1 -0
- package/dist/internal/presence.d.ts +101 -0
- package/dist/internal/presence.d.ts.map +1 -0
- package/dist/internal/presence.js +581 -0
- package/dist/internal/presence.js.map +1 -0
- package/dist/internal/protocol/gateway.d.ts +116 -0
- package/dist/internal/protocol/gateway.d.ts.map +1 -0
- package/dist/internal/protocol/gateway.js +258 -0
- package/dist/internal/protocol/gateway.js.map +1 -0
- package/dist/internal/rate-limit-templates.d.ts +2 -0
- package/dist/internal/rate-limit-templates.d.ts.map +1 -0
- package/dist/internal/rate-limit-templates.js +132 -0
- package/dist/internal/rate-limit-templates.js.map +1 -0
- package/dist/internal/rate-limits.d.ts +32 -0
- package/dist/internal/rate-limits.d.ts.map +1 -0
- package/dist/internal/rate-limits.js +306 -0
- package/dist/internal/rate-limits.js.map +1 -0
- package/dist/internal/reaction-collector.d.ts +39 -0
- package/dist/internal/reaction-collector.d.ts.map +1 -0
- package/dist/internal/reaction-collector.js +441 -0
- package/dist/internal/reaction-collector.js.map +1 -0
- package/dist/internal/reaction-pages.d.ts +18 -0
- package/dist/internal/reaction-pages.d.ts.map +1 -0
- package/dist/internal/reaction-pages.js +213 -0
- package/dist/internal/reaction-pages.js.map +1 -0
- package/dist/internal/reactions.d.ts +30 -0
- package/dist/internal/reactions.d.ts.map +1 -0
- package/dist/internal/reactions.js +160 -0
- package/dist/internal/reactions.js.map +1 -0
- package/dist/internal/rejection-scope.d.ts +25 -0
- package/dist/internal/rejection-scope.d.ts.map +1 -0
- package/dist/internal/rejection-scope.js +103 -0
- package/dist/internal/rejection-scope.js.map +1 -0
- package/dist/internal/response-json.d.ts +12 -0
- package/dist/internal/response-json.d.ts.map +1 -0
- package/dist/internal/response-json.js +74 -0
- package/dist/internal/response-json.js.map +1 -0
- package/dist/internal/rest/admission.d.ts +77 -0
- package/dist/internal/rest/admission.d.ts.map +1 -0
- package/dist/internal/rest/admission.js +178 -0
- package/dist/internal/rest/admission.js.map +1 -0
- package/dist/internal/rest/attempt.d.ts +124 -0
- package/dist/internal/rest/attempt.d.ts.map +1 -0
- package/dist/internal/rest/attempt.js +410 -0
- package/dist/internal/rest/attempt.js.map +1 -0
- package/dist/internal/rest/classify.d.ts +93 -0
- package/dist/internal/rest/classify.d.ts.map +1 -0
- package/dist/internal/rest/classify.js +304 -0
- package/dist/internal/rest/classify.js.map +1 -0
- package/dist/internal/rest/download.d.ts +66 -0
- package/dist/internal/rest/download.d.ts.map +1 -0
- package/dist/internal/rest/download.js +552 -0
- package/dist/internal/rest/download.js.map +1 -0
- package/dist/internal/rest/options.d.ts +42 -0
- package/dist/internal/rest/options.d.ts.map +1 -0
- package/dist/internal/rest/options.js +99 -0
- package/dist/internal/rest/options.js.map +1 -0
- package/dist/internal/rest/owner.d.ts +154 -0
- package/dist/internal/rest/owner.d.ts.map +1 -0
- package/dist/internal/rest/owner.js +1292 -0
- package/dist/internal/rest/owner.js.map +1 -0
- package/dist/internal/rest/request.d.ts +31 -0
- package/dist/internal/rest/request.d.ts.map +1 -0
- package/dist/internal/rest/request.js +227 -0
- package/dist/internal/rest/request.js.map +1 -0
- package/dist/internal/rest.d.ts +10 -0
- package/dist/internal/rest.d.ts.map +1 -0
- package/dist/internal/rest.js +9 -0
- package/dist/internal/rest.js.map +1 -0
- package/dist/internal/retention-age.d.ts +11 -0
- package/dist/internal/retention-age.d.ts.map +1 -0
- package/dist/internal/retention-age.js +29 -0
- package/dist/internal/retention-age.js.map +1 -0
- package/dist/internal/role-hierarchy-workflow.d.ts +15 -0
- package/dist/internal/role-hierarchy-workflow.d.ts.map +1 -0
- package/dist/internal/role-hierarchy-workflow.js +122 -0
- package/dist/internal/role-hierarchy-workflow.js.map +1 -0
- package/dist/internal/role-hierarchy.d.ts +11 -0
- package/dist/internal/role-hierarchy.d.ts.map +1 -0
- package/dist/internal/role-hierarchy.js +87 -0
- package/dist/internal/role-hierarchy.js.map +1 -0
- package/dist/internal/scheduled-tasks.d.ts +46 -0
- package/dist/internal/scheduled-tasks.d.ts.map +1 -0
- package/dist/internal/scheduled-tasks.js +190 -0
- package/dist/internal/scheduled-tasks.js.map +1 -0
- package/dist/internal/sharding.d.ts +62 -0
- package/dist/internal/sharding.d.ts.map +1 -0
- package/dist/internal/sharding.js +205 -0
- package/dist/internal/sharding.js.map +1 -0
- package/dist/internal/starter-project.d.ts +27 -0
- package/dist/internal/starter-project.d.ts.map +1 -0
- package/dist/internal/starter-project.js +224 -0
- package/dist/internal/starter-project.js.map +1 -0
- package/dist/internal/suggest.d.ts +12 -0
- package/dist/internal/suggest.d.ts.map +1 -0
- package/dist/internal/suggest.js +51 -0
- package/dist/internal/suggest.js.map +1 -0
- package/dist/internal/supervisor.d.ts +95 -0
- package/dist/internal/supervisor.d.ts.map +1 -0
- package/dist/internal/supervisor.js +1829 -0
- package/dist/internal/supervisor.js.map +1 -0
- package/dist/internal/testing/discovery.d.ts +24 -0
- package/dist/internal/testing/discovery.d.ts.map +1 -0
- package/dist/internal/testing/discovery.js +22 -0
- package/dist/internal/testing/discovery.js.map +1 -0
- package/dist/internal/testing/errors.d.ts +43 -0
- package/dist/internal/testing/errors.d.ts.map +1 -0
- package/dist/internal/testing/errors.js +63 -0
- package/dist/internal/testing/errors.js.map +1 -0
- package/dist/internal/testing/fixtures.d.ts +477 -0
- package/dist/internal/testing/fixtures.d.ts.map +1 -0
- package/dist/internal/testing/fixtures.js +233 -0
- package/dist/internal/testing/fixtures.js.map +1 -0
- package/dist/internal/testing/gateway.d.ts +51 -0
- package/dist/internal/testing/gateway.d.ts.map +1 -0
- package/dist/internal/testing/gateway.js +265 -0
- package/dist/internal/testing/gateway.js.map +1 -0
- package/dist/internal/testing/harness.d.ts +60 -0
- package/dist/internal/testing/harness.d.ts.map +1 -0
- package/dist/internal/testing/harness.js +280 -0
- package/dist/internal/testing/harness.js.map +1 -0
- package/dist/internal/testing/http.d.ts +31 -0
- package/dist/internal/testing/http.d.ts.map +1 -0
- package/dist/internal/testing/http.js +347 -0
- package/dist/internal/testing/http.js.map +1 -0
- package/dist/internal/testing/types.d.ts +222 -0
- package/dist/internal/testing/types.d.ts.map +1 -0
- package/dist/internal/testing/types.js +2 -0
- package/dist/internal/testing/types.js.map +1 -0
- package/dist/internal/testing/wait.d.ts +16 -0
- package/dist/internal/testing/wait.d.ts.map +1 -0
- package/dist/internal/testing/wait.js +55 -0
- package/dist/internal/testing/wait.js.map +1 -0
- package/dist/internal/thread-events.d.ts +40 -0
- package/dist/internal/thread-events.d.ts.map +1 -0
- package/dist/internal/thread-events.js +121 -0
- package/dist/internal/thread-events.js.map +1 -0
- package/dist/internal/threads.d.ts +47 -0
- package/dist/internal/threads.d.ts.map +1 -0
- package/dist/internal/threads.js +587 -0
- package/dist/internal/threads.js.map +1 -0
- package/dist/internal/transfer-source.d.ts +29 -0
- package/dist/internal/transfer-source.d.ts.map +1 -0
- package/dist/internal/transfer-source.js +347 -0
- package/dist/internal/transfer-source.js.map +1 -0
- package/dist/internal/transport/http.d.ts +12 -0
- package/dist/internal/transport/http.d.ts.map +1 -0
- package/dist/internal/transport/http.js +44 -0
- package/dist/internal/transport/http.js.map +1 -0
- package/dist/internal/transport/index.d.ts +21 -0
- package/dist/internal/transport/index.d.ts.map +1 -0
- package/dist/internal/transport/index.js +15 -0
- package/dist/internal/transport/index.js.map +1 -0
- package/dist/internal/transport/socket.d.ts +51 -0
- package/dist/internal/transport/socket.d.ts.map +1 -0
- package/dist/internal/transport/socket.js +27 -0
- package/dist/internal/transport/socket.js.map +1 -0
- package/dist/internal/transport/user-agent.d.ts +7 -0
- package/dist/internal/transport/user-agent.d.ts.map +1 -0
- package/dist/internal/transport/user-agent.js +42 -0
- package/dist/internal/transport/user-agent.js.map +1 -0
- package/dist/internal/uploads.d.ts +23 -0
- package/dist/internal/uploads.d.ts.map +1 -0
- package/dist/internal/uploads.js +89 -0
- package/dist/internal/uploads.js.map +1 -0
- package/dist/internal/user-cache.d.ts +50 -0
- package/dist/internal/user-cache.d.ts.map +1 -0
- package/dist/internal/user-cache.js +273 -0
- package/dist/internal/user-cache.js.map +1 -0
- package/dist/internal/users.d.ts +41 -0
- package/dist/internal/users.d.ts.map +1 -0
- package/dist/internal/users.js +333 -0
- package/dist/internal/users.js.map +1 -0
- package/dist/internal/vanity-url.d.ts +11 -0
- package/dist/internal/vanity-url.d.ts.map +1 -0
- package/dist/internal/vanity-url.js +58 -0
- package/dist/internal/vanity-url.js.map +1 -0
- package/dist/internal/webhooks.d.ts +58 -0
- package/dist/internal/webhooks.d.ts.map +1 -0
- package/dist/internal/webhooks.js +490 -0
- package/dist/internal/webhooks.js.map +1 -0
- package/dist/invites.d.ts +86 -0
- package/dist/invites.d.ts.map +1 -0
- package/dist/invites.js +2 -0
- package/dist/invites.js.map +1 -0
- package/dist/logging.d.ts +228 -0
- package/dist/logging.d.ts.map +1 -0
- package/dist/logging.js +2 -0
- package/dist/logging.js.map +1 -0
- package/dist/member-chunks.d.ts +145 -0
- package/dist/member-chunks.d.ts.map +1 -0
- package/dist/member-chunks.js +68 -0
- package/dist/member-chunks.js.map +1 -0
- package/dist/member-search.d.ts +140 -0
- package/dist/member-search.d.ts.map +1 -0
- package/dist/member-search.js +14 -0
- package/dist/member-search.js.map +1 -0
- package/dist/message-cleanup.d.ts +227 -0
- package/dist/message-cleanup.d.ts.map +1 -0
- package/dist/message-cleanup.js +101 -0
- package/dist/message-cleanup.js.map +1 -0
- package/dist/message-errors.d.ts +172 -0
- package/dist/message-errors.d.ts.map +1 -0
- package/dist/message-errors.js +173 -0
- package/dist/message-errors.js.map +1 -0
- package/dist/message-search.d.ts +201 -0
- package/dist/message-search.d.ts.map +1 -0
- package/dist/message-search.js +2 -0
- package/dist/message-search.js.map +1 -0
- package/dist/messages.d.ts +694 -0
- package/dist/messages.d.ts.map +1 -0
- package/dist/messages.js +37 -0
- package/dist/messages.js.map +1 -0
- package/dist/native-commands.d.ts +451 -0
- package/dist/native-commands.d.ts.map +1 -0
- package/dist/native-commands.js +432 -0
- package/dist/native-commands.js.map +1 -0
- package/dist/native-supervisor.d.ts +125 -0
- package/dist/native-supervisor.d.ts.map +1 -0
- package/dist/native-supervisor.js +126 -0
- package/dist/native-supervisor.js.map +1 -0
- package/dist/oauth.d.ts +298 -0
- package/dist/oauth.d.ts.map +1 -0
- package/dist/oauth.js +128 -0
- package/dist/oauth.js.map +1 -0
- package/dist/observer.d.ts +111 -0
- package/dist/observer.d.ts.map +1 -0
- package/dist/observer.js +2 -0
- package/dist/observer.js.map +1 -0
- package/dist/pagination.d.ts +117 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +61 -0
- package/dist/pagination.js.map +1 -0
- package/dist/permissions.d.ts +73 -0
- package/dist/permissions.d.ts.map +1 -0
- package/dist/permissions.js +2 -0
- package/dist/permissions.js.map +1 -0
- package/dist/pins.d.ts +62 -0
- package/dist/pins.d.ts.map +1 -0
- package/dist/pins.js +2 -0
- package/dist/pins.js.map +1 -0
- package/dist/presence.d.ts +84 -0
- package/dist/presence.d.ts.map +1 -0
- package/dist/presence.js +46 -0
- package/dist/presence.js.map +1 -0
- package/dist/reaction-pages.d.ts +99 -0
- package/dist/reaction-pages.d.ts.map +1 -0
- package/dist/reaction-pages.js +2 -0
- package/dist/reaction-pages.js.map +1 -0
- package/dist/reactions.d.ts +118 -0
- package/dist/reactions.d.ts.map +1 -0
- package/dist/reactions.js +2 -0
- package/dist/reactions.js.map +1 -0
- package/dist/rest.d.ts +260 -0
- package/dist/rest.d.ts.map +1 -0
- package/dist/rest.js +46 -0
- package/dist/rest.js.map +1 -0
- package/dist/role-hierarchy.d.ts +81 -0
- package/dist/role-hierarchy.d.ts.map +1 -0
- package/dist/role-hierarchy.js +53 -0
- package/dist/role-hierarchy.js.map +1 -0
- package/dist/sharding.d.ts +219 -0
- package/dist/sharding.d.ts.map +1 -0
- package/dist/sharding.js +86 -0
- package/dist/sharding.js.map +1 -0
- package/dist/supervisor.d.ts +392 -0
- package/dist/supervisor.d.ts.map +1 -0
- package/dist/supervisor.js +101 -0
- package/dist/supervisor.js.map +1 -0
- package/dist/testing.d.ts +258 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +202 -0
- package/dist/testing.js.map +1 -0
- package/dist/text.d.ts +38 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/text.js +46 -0
- package/dist/text.js.map +1 -0
- package/dist/threads.d.ts +258 -0
- package/dist/threads.d.ts.map +1 -0
- package/dist/threads.js +2 -0
- package/dist/threads.js.map +1 -0
- package/dist/users.d.ts +204 -0
- package/dist/users.d.ts.map +1 -0
- package/dist/users.js +44 -0
- package/dist/users.js.map +1 -0
- package/dist/webhooks.d.ts +423 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +68 -0
- package/dist/webhooks.js.map +1 -0
- package/esm-only.cjs +3 -0
- package/examples/starter/bot-effect.ts +17 -0
- package/examples/starter/bot.js +13 -0
- package/examples/starter/bot.ts +13 -0
- package/package.json +82 -0
- package/src/api/default/application.ts +40 -0
- package/src/api/default/attachments.ts +106 -0
- package/src/api/default/audit-logs.ts +58 -0
- package/src/api/default/bot.ts +586 -0
- package/src/api/default/cache.ts +106 -0
- package/src/api/default/channels.ts +317 -0
- package/src/api/default/client.ts +829 -0
- package/src/api/default/collectors.ts +81 -0
- package/src/api/default/commands.ts +92 -0
- package/src/api/default/direct-messages.ts +143 -0
- package/src/api/default/discovery.ts +103 -0
- package/src/api/default/emojis.ts +125 -0
- package/src/api/default/events.ts +144 -0
- package/src/api/default/gateway.ts +67 -0
- package/src/api/default/guards.ts +173 -0
- package/src/api/default/guilds.ts +271 -0
- package/src/api/default/helpers.ts +97 -0
- package/src/api/default/instance.ts +49 -0
- package/src/api/default/invites.ts +73 -0
- package/src/api/default/logging.ts +37 -0
- package/src/api/default/members.ts +550 -0
- package/src/api/default/messages.ts +1053 -0
- package/src/api/default/oauth.ts +293 -0
- package/src/api/default/permissions.ts +47 -0
- package/src/api/default/presence.ts +88 -0
- package/src/api/default/rest.ts +30 -0
- package/src/api/default/results.ts +44 -0
- package/src/api/default/roles.ts +154 -0
- package/src/api/default/stickers.ts +129 -0
- package/src/api/default/supervisor.ts +53 -0
- package/src/api/default/threads.ts +233 -0
- package/src/api/default/users.ts +82 -0
- package/src/api/default/webhook-client.ts +266 -0
- package/src/api/default/webhooks.ts +89 -0
- package/src/api/effect/application.ts +29 -0
- package/src/api/effect/attachments.ts +100 -0
- package/src/api/effect/audit-logs.ts +50 -0
- package/src/api/effect/bot.ts +546 -0
- package/src/api/effect/cache.ts +110 -0
- package/src/api/effect/channels.ts +293 -0
- package/src/api/effect/client.ts +792 -0
- package/src/api/effect/collectors.ts +103 -0
- package/src/api/effect/commands.ts +87 -0
- package/src/api/effect/direct-messages.ts +119 -0
- package/src/api/effect/discovery.ts +87 -0
- package/src/api/effect/emojis.ts +108 -0
- package/src/api/effect/events.ts +92 -0
- package/src/api/effect/failures.ts +14 -0
- package/src/api/effect/gateway.ts +63 -0
- package/src/api/effect/guards.ts +194 -0
- package/src/api/effect/guilds.ts +247 -0
- package/src/api/effect/helpers.ts +359 -0
- package/src/api/effect/hierarchy.ts +26 -0
- package/src/api/effect/instance.ts +50 -0
- package/src/api/effect/invites.ts +59 -0
- package/src/api/effect/logging.ts +37 -0
- package/src/api/effect/members.ts +521 -0
- package/src/api/effect/messages.ts +1003 -0
- package/src/api/effect/oauth.ts +208 -0
- package/src/api/effect/permissions.ts +44 -0
- package/src/api/effect/presence.ts +83 -0
- package/src/api/effect/rest.ts +27 -0
- package/src/api/effect/roles.ts +136 -0
- package/src/api/effect/service.ts +104 -0
- package/src/api/effect/stickers.ts +112 -0
- package/src/api/effect/supervisor.ts +58 -0
- package/src/api/effect/threads.ts +221 -0
- package/src/api/effect/users.ts +66 -0
- package/src/api/effect/webhook-client.ts +206 -0
- package/src/api/effect/webhooks.ts +75 -0
- package/src/api-errors.ts +985 -0
- package/src/application.ts +103 -0
- package/src/assets.ts +731 -0
- package/src/attachments.ts +469 -0
- package/src/audit-logs.ts +355 -0
- package/src/bot-runner.ts +91 -0
- package/src/builders.ts +390 -0
- package/src/cache.ts +190 -0
- package/src/channels.ts +1051 -0
- package/src/cli.ts +60 -0
- package/src/client.ts +663 -0
- package/src/collectors.ts +248 -0
- package/src/colors.ts +91 -0
- package/src/command-arguments.ts +432 -0
- package/src/command-help.ts +55 -0
- package/src/commands.ts +403 -0
- package/src/counts.ts +160 -0
- package/src/default-commands.ts +1147 -0
- package/src/default-supervisor.ts +484 -0
- package/src/discovery.ts +241 -0
- package/src/effect-testing.ts +603 -0
- package/src/effect.ts +751 -0
- package/src/embeds.ts +253 -0
- package/src/error-tools.ts +191 -0
- package/src/errors.ts +849 -0
- package/src/events.ts +830 -0
- package/src/expressions.ts +198 -0
- package/src/failures.ts +55 -0
- package/src/gateway.ts +86 -0
- package/src/guilds.ts +1108 -0
- package/src/helpers.ts +836 -0
- package/src/index.ts +796 -0
- package/src/input-validation.ts +94 -0
- package/src/instance.ts +111 -0
- package/src/internal/agents-section.ts +114 -0
- package/src/internal/application.ts +51 -0
- package/src/internal/attachment-refresh.ts +57 -0
- package/src/internal/attachments.ts +313 -0
- package/src/internal/audit-logs.ts +336 -0
- package/src/internal/audit.ts +33 -0
- package/src/internal/binding/default-adapters.ts +482 -0
- package/src/internal/binding/default.ts +155 -0
- package/src/internal/binding/execute.ts +221 -0
- package/src/internal/binding/native-adapters.ts +199 -0
- package/src/internal/binding/native.ts +72 -0
- package/src/internal/binding/operations.ts +1171 -0
- package/src/internal/bot-runner.ts +480 -0
- package/src/internal/cache-changes.ts +363 -0
- package/src/internal/cache.ts +323 -0
- package/src/internal/calls.ts +119 -0
- package/src/internal/channel-cache.ts +435 -0
- package/src/internal/channel-decode.ts +399 -0
- package/src/internal/channels.ts +874 -0
- package/src/internal/client/backoff.ts +69 -0
- package/src/internal/client/configuration-fields.ts +18 -0
- package/src/internal/client/drain.ts +150 -0
- package/src/internal/client/intake.ts +228 -0
- package/src/internal/client/lifetime.ts +165 -0
- package/src/internal/client/shard-loop.ts +586 -0
- package/src/internal/client-registry.ts +35 -0
- package/src/internal/client.ts +2448 -0
- package/src/internal/clock.ts +11 -0
- package/src/internal/code-catalogue.ts +739 -0
- package/src/internal/collector.ts +452 -0
- package/src/internal/command-arguments.ts +585 -0
- package/src/internal/command-guards.ts +96 -0
- package/src/internal/command-help.ts +156 -0
- package/src/internal/commands.ts +1319 -0
- package/src/internal/configuration.ts +529 -0
- package/src/internal/counts.ts +471 -0
- package/src/internal/decode/primitives.ts +67 -0
- package/src/internal/decode/timestamp.ts +29 -0
- package/src/internal/decode/trace.ts +65 -0
- package/src/internal/defects.ts +115 -0
- package/src/internal/effect-failures.ts +65 -0
- package/src/internal/embeds.ts +355 -0
- package/src/internal/events.ts +1345 -0
- package/src/internal/expiry-queue.ts +148 -0
- package/src/internal/expressions.ts +415 -0
- package/src/internal/failures.ts +492 -0
- package/src/internal/field-text.ts +40 -0
- package/src/internal/gateway/commands.ts +328 -0
- package/src/internal/gateway/dispatch-table.ts +383 -0
- package/src/internal/gateway/event-dispatches.ts +201 -0
- package/src/internal/gateway/frames.ts +176 -0
- package/src/internal/gateway/options.ts +144 -0
- package/src/internal/gateway/session.ts +625 -0
- package/src/internal/gateway-requests.ts +26 -0
- package/src/internal/gateway.ts +22 -0
- package/src/internal/guild-cache.ts +424 -0
- package/src/internal/guild-discovery.ts +332 -0
- package/src/internal/guild-lifecycle.ts +128 -0
- package/src/internal/guild-settings.ts +209 -0
- package/src/internal/guilds.ts +949 -0
- package/src/internal/init-command.ts +305 -0
- package/src/internal/instance.ts +645 -0
- package/src/internal/invalid-callback-return.ts +28 -0
- package/src/internal/invites.ts +234 -0
- package/src/internal/logging.ts +1007 -0
- package/src/internal/logical-scheduler.ts +139 -0
- package/src/internal/masking.ts +224 -0
- package/src/internal/member-chunks.ts +649 -0
- package/src/internal/member-search-workflow.ts +237 -0
- package/src/internal/member-search.ts +272 -0
- package/src/internal/message-cleanup.ts +515 -0
- package/src/internal/message-fields.ts +71 -0
- package/src/internal/message-search-workflow.ts +166 -0
- package/src/internal/message-search.ts +476 -0
- package/src/internal/message.ts +879 -0
- package/src/internal/metrics.ts +55 -0
- package/src/internal/moderation.ts +288 -0
- package/src/internal/multipart.ts +171 -0
- package/src/internal/node-version.ts +22 -0
- package/src/internal/oauth.ts +1146 -0
- package/src/internal/observer.ts +62 -0
- package/src/internal/operation-signal.ts +26 -0
- package/src/internal/pagination.ts +494 -0
- package/src/internal/permission-requirements.ts +359 -0
- package/src/internal/permissions.ts +417 -0
- package/src/internal/pins.ts +115 -0
- package/src/internal/presence.ts +745 -0
- package/src/internal/protocol/gateway.ts +299 -0
- package/src/internal/rate-limit-templates.ts +138 -0
- package/src/internal/rate-limits.ts +346 -0
- package/src/internal/reaction-collector.ts +499 -0
- package/src/internal/reaction-pages.ts +260 -0
- package/src/internal/reactions.ts +174 -0
- package/src/internal/rejection-scope.ts +119 -0
- package/src/internal/response-json.ts +76 -0
- package/src/internal/rest/admission.ts +210 -0
- package/src/internal/rest/attempt.ts +617 -0
- package/src/internal/rest/classify.ts +391 -0
- package/src/internal/rest/download.ts +658 -0
- package/src/internal/rest/options.ts +145 -0
- package/src/internal/rest/owner.ts +1828 -0
- package/src/internal/rest/request.ts +289 -0
- package/src/internal/rest.ts +9 -0
- package/src/internal/retention-age.ts +33 -0
- package/src/internal/role-hierarchy-workflow.ts +150 -0
- package/src/internal/role-hierarchy.ts +93 -0
- package/src/internal/scheduled-tasks.ts +217 -0
- package/src/internal/sharding.ts +270 -0
- package/src/internal/starter-project.ts +251 -0
- package/src/internal/suggest.ts +50 -0
- package/src/internal/supervisor.ts +2253 -0
- package/src/internal/testing/discovery.ts +23 -0
- package/src/internal/testing/errors.ts +67 -0
- package/src/internal/testing/fixtures.ts +714 -0
- package/src/internal/testing/gateway.ts +305 -0
- package/src/internal/testing/harness.ts +328 -0
- package/src/internal/testing/http.ts +395 -0
- package/src/internal/testing/types.ts +240 -0
- package/src/internal/testing/wait.ts +63 -0
- package/src/internal/thread-events.ts +128 -0
- package/src/internal/threads.ts +718 -0
- package/src/internal/transfer-source.ts +359 -0
- package/src/internal/transport/http.ts +46 -0
- package/src/internal/transport/index.ts +23 -0
- package/src/internal/transport/socket.ts +71 -0
- package/src/internal/transport/user-agent.ts +46 -0
- package/src/internal/uploads.ts +111 -0
- package/src/internal/user-cache.ts +294 -0
- package/src/internal/users.ts +402 -0
- package/src/internal/vanity-url.ts +80 -0
- package/src/internal/webhooks.ts +690 -0
- package/src/invites.ts +87 -0
- package/src/logging.ts +247 -0
- package/src/member-chunks.ts +195 -0
- package/src/member-search.ts +152 -0
- package/src/message-cleanup.ts +308 -0
- package/src/message-errors.ts +245 -0
- package/src/message-search.ts +213 -0
- package/src/messages.ts +768 -0
- package/src/native-commands.ts +1249 -0
- package/src/native-supervisor.ts +345 -0
- package/src/oauth.ts +413 -0
- package/src/observer.ts +118 -0
- package/src/pagination.ts +172 -0
- package/src/permissions.ts +74 -0
- package/src/pins.ts +65 -0
- package/src/presence.ts +124 -0
- package/src/reaction-pages.ts +106 -0
- package/src/reactions.ts +126 -0
- package/src/rest.ts +282 -0
- package/src/role-hierarchy.ts +127 -0
- package/src/sharding.ts +272 -0
- package/src/supervisor.ts +460 -0
- package/src/testing.ts +424 -0
- package/src/text.ts +76 -0
- package/src/threads.ts +274 -0
- package/src/users.ts +237 -0
- package/src/webhooks.ts +512 -0
|
@@ -0,0 +1,712 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catalogue of every SDK error code and log record code, the source text of the website's error and log codes page.
|
|
3
|
+
* Invariant: Every emitted log code is a key of logCodes, which the compiler enforces through LogCode, and the website
|
|
4
|
+
* generator fails when an error code or error code family in the source has no entry here or an entry names a code
|
|
5
|
+
* that no longer exists. Entries describe the code in plain words and never quote runtime values
|
|
6
|
+
*/
|
|
7
|
+
import type { LogLevel } from "#sdk/logging";
|
|
8
|
+
/** One catalogue entry: What the code means and, when there is one, what to do about it */
|
|
9
|
+
export interface CodeEntry {
|
|
10
|
+
/** What happened, in one or two short sentences without a final period */
|
|
11
|
+
readonly meaning: string;
|
|
12
|
+
/** The usual fix or next step, without a final period. Absent when the code needs no action */
|
|
13
|
+
readonly action?: string;
|
|
14
|
+
}
|
|
15
|
+
/** One error code or error code family. A family key such as guild.<reason> lists its values */
|
|
16
|
+
export interface ErrorCodeEntry extends CodeEntry {
|
|
17
|
+
/** The error class that carries this code */
|
|
18
|
+
readonly error: string;
|
|
19
|
+
/** For a family with one placeholder, the values that replace it */
|
|
20
|
+
readonly values?: readonly string[];
|
|
21
|
+
}
|
|
22
|
+
/** One log record code with the levels it is emitted at */
|
|
23
|
+
export interface LogCodeEntry extends CodeEntry {
|
|
24
|
+
readonly levels: readonly LogLevel[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* What each operation reason means, shown once on the page for every family that uses them.
|
|
28
|
+
* Read by the website generator
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare const operationReasonMeanings: {
|
|
33
|
+
readonly input: "An input value is invalid, so nothing was sent to Fluxer. The error's inputValidation.path names it";
|
|
34
|
+
readonly busy: "Too many requests of this kind were already pending in the client, so nothing was sent";
|
|
35
|
+
readonly notFound: "Fluxer answered HTTP 404. The resource does not exist or is not visible to this bot";
|
|
36
|
+
readonly rejected: "Fluxer refused the request. The error's apiError, or details.providerCode for a newer code, says why. For a missing permission, details.requiredPermissions lists the permissions the operation needs when the SDK knows them";
|
|
37
|
+
readonly network: "A network error interrupted the request";
|
|
38
|
+
readonly response: "Fluxer's answer did not have the expected format. The failing field or check is in details.responseField";
|
|
39
|
+
readonly timeout: "The operation did not finish within its timeoutMs";
|
|
40
|
+
readonly rateLimit: "Fluxer rate-limited the request, and the SDK could not wait and retry it, for example because the wait would pass the timeout";
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Error codes and families, keyed by code. Family keys use a placeholder such as <reason>. Read by the website generator
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare const errorCodes: {
|
|
48
|
+
readonly "configuration.invalid": {
|
|
49
|
+
readonly error: "ConfigurationError";
|
|
50
|
+
readonly meaning: "An option or setting is invalid, so the requested work did not start. The error's field names the setting";
|
|
51
|
+
readonly action: "Fix the named setting. The hint suggests the closest supported option for a misspelled key";
|
|
52
|
+
};
|
|
53
|
+
readonly "auth.rejected": {
|
|
54
|
+
readonly error: "AuthenticationError";
|
|
55
|
+
readonly meaning: "Fluxer rejected the bot token when the client connected, reconnected or counted communities for automatic sharding";
|
|
56
|
+
readonly action: "Check the whole bot token and the application owner's account standing. A valid token can be rejected if that account is closed or disabled, which a new token cannot fix. The rejection alone does not identify the cause. The SDK does not retry it";
|
|
57
|
+
};
|
|
58
|
+
readonly "connection.<phase>.<reason>": {
|
|
59
|
+
readonly error: "ConnectionError";
|
|
60
|
+
readonly meaning: "Instance discovery or the gateway connection failed. The phase is discovery or gateway, and the reason is network, protocol or closed. The message explains a known close code and names it";
|
|
61
|
+
readonly action: "Check network access to the Fluxer instance. Follow the hint for rejected tokens and shard close codes";
|
|
62
|
+
};
|
|
63
|
+
readonly "connection.timeout": {
|
|
64
|
+
readonly error: "ConnectionTimeoutError";
|
|
65
|
+
readonly meaning: "The connection to Fluxer, or instance discovery, was not ready within its timeout";
|
|
66
|
+
readonly action: "Check network access, or raise the timeout that expired, usually connection.startupTimeoutMs";
|
|
67
|
+
};
|
|
68
|
+
readonly "connection.shard": {
|
|
69
|
+
readonly error: "ShardConnectionError";
|
|
70
|
+
readonly meaning: "One shard failed to start or lost its connection for good, so it stopped. The cause is the shard's own failure";
|
|
71
|
+
readonly action: "Read the cause and its hint";
|
|
72
|
+
};
|
|
73
|
+
readonly "ratelimit.connection": {
|
|
74
|
+
readonly error: "RateLimitError";
|
|
75
|
+
readonly meaning: "Fluxer rate-limited the gateway connection or a request made while connecting";
|
|
76
|
+
readonly action: "Wait at least retryAfterMs before connecting again";
|
|
77
|
+
};
|
|
78
|
+
readonly "client.busy": {
|
|
79
|
+
readonly error: "ClientBusyError";
|
|
80
|
+
readonly meaning: "The client is already connecting or connected, because connect or run was called before";
|
|
81
|
+
readonly action: "Call connect or run once per client and await that call";
|
|
82
|
+
};
|
|
83
|
+
readonly "client.closed": {
|
|
84
|
+
readonly error: "ClientClosedError";
|
|
85
|
+
readonly meaning: "The client is shutting down or has shut down, so it cannot do more work";
|
|
86
|
+
readonly action: "Create a new client to connect again";
|
|
87
|
+
};
|
|
88
|
+
readonly "operation.cancelled": {
|
|
89
|
+
readonly error: "CancelledError";
|
|
90
|
+
readonly meaning: "A default API operation stopped because its AbortSignal was aborted, for example during shutdown. The details.operation field names the call";
|
|
91
|
+
readonly action: "No action is needed during shutdown. Otherwise check what aborted the signal";
|
|
92
|
+
};
|
|
93
|
+
readonly "application.callbackFailed": {
|
|
94
|
+
readonly error: "ApplicationError";
|
|
95
|
+
readonly meaning: "An application callback that the SDK ran, such as runBot setup, threw or rejected. The cause is the original value";
|
|
96
|
+
readonly action: "Fix the callback named by details.source";
|
|
97
|
+
};
|
|
98
|
+
readonly "application.defect": {
|
|
99
|
+
readonly error: "SdkDefect";
|
|
100
|
+
readonly meaning: "An application callback or an option getter threw where the SDK could not return a typed failure";
|
|
101
|
+
readonly action: "Fix the callback or getter that raised the cause";
|
|
102
|
+
};
|
|
103
|
+
readonly "sdk.defect": {
|
|
104
|
+
readonly error: "SdkDefect";
|
|
105
|
+
readonly meaning: "An unexpected fault inside the SDK or its cleanup";
|
|
106
|
+
readonly action: "Report it with the output of describeError";
|
|
107
|
+
};
|
|
108
|
+
readonly "bot.workerStopped": {
|
|
109
|
+
readonly error: "CriticalWorkerStoppedError";
|
|
110
|
+
readonly meaning: 'One of the bot\'s event or command subscriptions ended while the bot was still running, so the bot stopped. The details.workerIndex field numbers it from 0. A subscription set to overflow "stop" whose queue overflowed also names its event and the exceeded capacity in details';
|
|
111
|
+
readonly action: "Keep the bot's subscriptions open while it runs. The hint explains how subscriptions are numbered, or how to keep up with the events after an overflow";
|
|
112
|
+
};
|
|
113
|
+
readonly "events.overflow": {
|
|
114
|
+
readonly error: "EventOverflowError";
|
|
115
|
+
readonly meaning: "A subscription's queue exceeded its limit and the overflow policy stopped it";
|
|
116
|
+
readonly action: "Handle events faster, raise the pending limits or choose a dropping overflow policy";
|
|
117
|
+
};
|
|
118
|
+
readonly "events.readBusy": {
|
|
119
|
+
readonly error: "EventReadBusyError";
|
|
120
|
+
readonly meaning: "An event read was started while another read on the same subscription was pending";
|
|
121
|
+
readonly action: "Await the pending next call before calling next again";
|
|
122
|
+
};
|
|
123
|
+
readonly "events.wait.<reason>": {
|
|
124
|
+
readonly error: "EventWaitError";
|
|
125
|
+
readonly values: readonly ["timeout", "filter"];
|
|
126
|
+
readonly meaning: "An event wait ended without a match before its deadline, or its filter threw or returned a non-boolean";
|
|
127
|
+
readonly action: "Raise timeoutMs, or make the filter return true or false synchronously";
|
|
128
|
+
};
|
|
129
|
+
readonly "message.send.<reason>": {
|
|
130
|
+
readonly error: "MessageError";
|
|
131
|
+
readonly values: readonly ["input", "busy", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
132
|
+
readonly meaning: "A message send failed. The reason says why, as listed under operation reasons, and a send reports HTTP 404 as rejected";
|
|
133
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true. A send whose outcome is unknown may already have created the message";
|
|
134
|
+
};
|
|
135
|
+
readonly "message.<reason>": {
|
|
136
|
+
readonly error: "MessageOperationError";
|
|
137
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
138
|
+
readonly meaning: `${string}. Publishing requires an unpublished source message in an announcement channel, excluding replies, system messages, forwarded messages and received crosspost copies. Publishing and editing a published message have separate rate limits`;
|
|
139
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true. For publishing preconditions, check the source channel and message. For rate limits, wait at least retryAfterMs before repeating the call";
|
|
140
|
+
};
|
|
141
|
+
readonly "guild.<reason>": {
|
|
142
|
+
readonly error: "GuildOperationError";
|
|
143
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
144
|
+
readonly meaning: string;
|
|
145
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
146
|
+
};
|
|
147
|
+
readonly "channel.<reason>": {
|
|
148
|
+
readonly error: "ChannelOperationError";
|
|
149
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
150
|
+
readonly meaning: `${string}. Announcement operations require an announcement source. Following requires a community text destination that does not already follow that source and has compatible content warnings or age restrictions. Only text and announcement channels can convert into each other`;
|
|
151
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true. Choose a compatible follow destination. Before converting a text channel to an announcement channel, remove its channel-follower webhooks";
|
|
152
|
+
};
|
|
153
|
+
readonly "user.<reason>": {
|
|
154
|
+
readonly error: "UserOperationError";
|
|
155
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
156
|
+
readonly meaning: string;
|
|
157
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
158
|
+
};
|
|
159
|
+
readonly "webhook.<reason>": {
|
|
160
|
+
readonly error: "WebhookOperationError";
|
|
161
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
162
|
+
readonly meaning: `${string}. Moving a channel-follower webhook requires a community text destination that does not already follow its source and has compatible content warnings or age restrictions. Editing a published webhook message can reach the published-message edit rate limit`;
|
|
163
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true. Choose a compatible destination for a follower webhook. For a published-message edit rate limit, wait at least retryAfterMs before editing again";
|
|
164
|
+
};
|
|
165
|
+
readonly "application.<reason>": {
|
|
166
|
+
readonly error: "BotApplicationOperationError";
|
|
167
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
168
|
+
readonly meaning: string;
|
|
169
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
170
|
+
};
|
|
171
|
+
readonly "rest.<reason>": {
|
|
172
|
+
readonly error: "RestRequestError";
|
|
173
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
174
|
+
readonly meaning: string;
|
|
175
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
176
|
+
};
|
|
177
|
+
readonly "attachment.<reason>": {
|
|
178
|
+
readonly error: "AttachmentRefreshError";
|
|
179
|
+
readonly values: readonly ["input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
180
|
+
readonly meaning: string;
|
|
181
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
182
|
+
};
|
|
183
|
+
readonly "attachment.download.<reason>": {
|
|
184
|
+
readonly error: "AttachmentDownloadError";
|
|
185
|
+
readonly values: readonly ["input", "untrustedUrl", "busy", "network", "response", "tooLarge", "timeout"];
|
|
186
|
+
readonly meaning: "An attachment download failed. The reason untrustedUrl means the URL is not on this instance's media host, and tooLarge means the attachment is larger than maxBytes";
|
|
187
|
+
readonly action: "Pass attachments received from this client, and raise maxBytes for tooLarge";
|
|
188
|
+
};
|
|
189
|
+
readonly "oauth.<reason>": {
|
|
190
|
+
readonly error: "OAuthOperationError";
|
|
191
|
+
readonly values: readonly ["input", "busy", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
192
|
+
readonly meaning: `${string}. The oauthError field names a standard OAuth error code, such as invalid_grant`;
|
|
193
|
+
readonly action: "Read the hint, and apiError or details.providerCode for a Fluxer rejection. Repeat the call only when errors.isRetryable returns true";
|
|
194
|
+
};
|
|
195
|
+
readonly "cleanup.<reason>": {
|
|
196
|
+
readonly error: "MessageCleanupError";
|
|
197
|
+
readonly values: readonly ["filter", "closed", "input", "busy", "notFound", "rejected", "network", "response", "timeout", "rateLimit"];
|
|
198
|
+
readonly meaning: "A message cleanup stopped. The phase says whether history scanning or deletion failed";
|
|
199
|
+
readonly action: "Check selectedMessageIds and terminalBatchIds before running the cleanup again";
|
|
200
|
+
};
|
|
201
|
+
readonly "count.<reason>": {
|
|
202
|
+
readonly error: "CountOperationError";
|
|
203
|
+
readonly values: readonly ["input", "notConnected", "busy", "timeout", "connectionLost", "response"];
|
|
204
|
+
readonly meaning: "A fresh member or presence count over the gateway failed. The reason notConnected means the community's shard is not ready, and connectionLost means it disconnected before the answer";
|
|
205
|
+
readonly action: "Connect the client first, and retry after a timeout or lost connection";
|
|
206
|
+
};
|
|
207
|
+
readonly "memberChunks.<reason>": {
|
|
208
|
+
readonly error: "MemberChunkError";
|
|
209
|
+
readonly values: readonly ["input", "notConnected", "busy", "response", "overflow", "timeout", "connectionLost", "rateLimit"];
|
|
210
|
+
readonly meaning: "A gateway member request failed before its last chunk arrived. The reason overflow means unread batches passed maxPendingBytes";
|
|
211
|
+
readonly action: "Connect the client first, read batches promptly, and wait retryAfterMs after rateLimit";
|
|
212
|
+
};
|
|
213
|
+
readonly "presence.<reason>": {
|
|
214
|
+
readonly error: "PresenceError";
|
|
215
|
+
readonly values: readonly ["input", "limit"];
|
|
216
|
+
readonly meaning: "A presence update or presence member selection was invalid, or the selection was larger than the SDK's limits (reason limit)";
|
|
217
|
+
readonly action: "Correct the input named by inputValidation.path, or select fewer members";
|
|
218
|
+
};
|
|
219
|
+
readonly "pagination.<reason>": {
|
|
220
|
+
readonly error: "PaginationError";
|
|
221
|
+
readonly values: readonly ["input", "cursorStalled", "pageLimit", "indexing"];
|
|
222
|
+
readonly meaning: "An iterator stopped. The reason cursorStalled means Fluxer repeated a page, and indexing means search results are not ready yet";
|
|
223
|
+
readonly action: "Retry indexing later, and raise maxPages for pageLimit";
|
|
224
|
+
};
|
|
225
|
+
readonly "collector.<reason>": {
|
|
226
|
+
readonly error: "CollectorError";
|
|
227
|
+
readonly values: readonly ["notConnected", "connectionLost", "filter", "handler", "overflow"];
|
|
228
|
+
readonly meaning: "A message or reaction collector failed instead of ending normally";
|
|
229
|
+
readonly action: "Start collectors after the client is ready, start a new one after a lost connection, fix a failing filter or callback, or raise the limit named in the message";
|
|
230
|
+
};
|
|
231
|
+
readonly "gateway.send.<reason>": {
|
|
232
|
+
readonly error: "GatewaySendError";
|
|
233
|
+
readonly values: readonly ["input", "reserved", "notOwned", "notReady", "busy"];
|
|
234
|
+
readonly meaning: "A raw gateway send was invalid, used an opcode the SDK manages, or had no ready shard to use";
|
|
235
|
+
readonly action: "Send only application opcodes to a shard this client owns after it is ready";
|
|
236
|
+
};
|
|
237
|
+
readonly "helper.<reason>": {
|
|
238
|
+
readonly error: "HelperError";
|
|
239
|
+
readonly values: readonly ["id", "markup", "time", "permissionBits", "link", "color", "text", "limit", "shardCount"];
|
|
240
|
+
readonly meaning: "A formatting or parsing helper received a value it cannot use";
|
|
241
|
+
readonly action: "Pass a value of the documented form";
|
|
242
|
+
};
|
|
243
|
+
readonly "asset.<reason>": {
|
|
244
|
+
readonly error: "AssetUrlError";
|
|
245
|
+
readonly values: readonly ["target", "id", "hash", "options"];
|
|
246
|
+
readonly meaning: "An asset URL could not be built from the given object or options";
|
|
247
|
+
readonly action: "Pass the object received from Fluxer and supported size and format options";
|
|
248
|
+
};
|
|
249
|
+
readonly "supervisor.<reason>": {
|
|
250
|
+
readonly error: "SupervisorError";
|
|
251
|
+
readonly values: readonly ["closed", "spawn", "protocol", "restartLimit", "startupTimeout", "shardCount"];
|
|
252
|
+
readonly meaning: "The shard supervisor failed to start or keep its child processes";
|
|
253
|
+
readonly action: "Read the supervisor log records for the child that failed";
|
|
254
|
+
};
|
|
255
|
+
readonly "supervisor.child.<reason>": {
|
|
256
|
+
readonly error: "SupervisorChildError";
|
|
257
|
+
readonly values: readonly ["disconnected", "protocol"];
|
|
258
|
+
readonly meaning: "A supervised child lost its connection to the parent process or received an invalid message";
|
|
259
|
+
readonly action: "Start the child only through the supervisor";
|
|
260
|
+
};
|
|
261
|
+
readonly "testing.unhandledFailures": {
|
|
262
|
+
readonly error: "UnhandledTestFailuresError";
|
|
263
|
+
readonly meaning: "A test client logged failures that the test neither handled nor asserted";
|
|
264
|
+
readonly action: "Fix the failing code, assert the failures before shutdown, or handle them with onError";
|
|
265
|
+
};
|
|
266
|
+
readonly "testing.timeout": {
|
|
267
|
+
readonly error: "TestTimeoutError";
|
|
268
|
+
readonly meaning: "A test wait did not finish within its timeout";
|
|
269
|
+
readonly action: "Check that the code under test sends the request, or raise timeoutMs";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
/** Log record codes, keyed by code */
|
|
273
|
+
export declare const logCodes: {
|
|
274
|
+
readonly "lifecycle.starting": {
|
|
275
|
+
readonly levels: readonly ["info"];
|
|
276
|
+
readonly meaning: "The client started connecting, with its SDK version and shard plan";
|
|
277
|
+
};
|
|
278
|
+
readonly "lifecycle.startupDeadline": {
|
|
279
|
+
readonly levels: readonly ["info"];
|
|
280
|
+
readonly meaning: "Starting several shards may take longer than connection.startupTimeoutMs, because the SDK starts shard sessions one second apart";
|
|
281
|
+
};
|
|
282
|
+
readonly "lifecycle.automaticSharding": {
|
|
283
|
+
readonly levels: readonly ["info"];
|
|
284
|
+
readonly meaning: "Automatic sharding counted the bot's communities and chose the shard count from that number";
|
|
285
|
+
};
|
|
286
|
+
readonly "lifecycle.resharded": {
|
|
287
|
+
readonly levels: readonly ["warn"];
|
|
288
|
+
readonly meaning: "Fluxer closed a shard with 4011 (sharding required) on an automatically sized client or a client without sharding settings, so the SDK counted the communities again and moved every shard to a larger automatic plan. Every shard started a new session, so events sent during the move were missed";
|
|
289
|
+
readonly action: 'No action is needed. If it repeats, the bot may be growing fast, and each move is logged with the new total. A client without sharding settings moves again at each start while the bot has outgrown one shard, which sharding "auto" avoids';
|
|
290
|
+
};
|
|
291
|
+
readonly "lifecycle.cacheRefill": {
|
|
292
|
+
readonly levels: readonly ["info", "warn"];
|
|
293
|
+
readonly meaning: "Shards resumed sessions from the session store, which carry no community data, so the SDK refilled the enabled community, role and channel caches through REST. Warn means some communities failed or the refill stopped early, such as when the community list repeated a page";
|
|
294
|
+
readonly action: "At Warn, read the message and any error. The affected cache entries fill as events and requests arrive";
|
|
295
|
+
};
|
|
296
|
+
readonly "lifecycle.attempt": {
|
|
297
|
+
readonly levels: readonly ["debug"];
|
|
298
|
+
readonly meaning: "A shard started a connection attempt";
|
|
299
|
+
};
|
|
300
|
+
readonly "lifecycle.ready": {
|
|
301
|
+
readonly levels: readonly ["info"];
|
|
302
|
+
readonly meaning: "A shard is ready and receives events";
|
|
303
|
+
};
|
|
304
|
+
readonly "lifecycle.connected": {
|
|
305
|
+
readonly levels: readonly ["info", "warn"];
|
|
306
|
+
readonly meaning: "Every shard of the client is connected, with the bot's name and the number of communities it is in. Warn means the bot is in no community yet";
|
|
307
|
+
readonly action: "At Warn, invite the bot to a community with the installation link in the message";
|
|
308
|
+
};
|
|
309
|
+
readonly "lifecycle.retry": {
|
|
310
|
+
readonly levels: readonly ["warn"];
|
|
311
|
+
readonly meaning: "A shard's connection attempt failed and will be retried after the delay";
|
|
312
|
+
readonly action: "Check network access if it repeats";
|
|
313
|
+
};
|
|
314
|
+
readonly "lifecycle.connectionLost": {
|
|
315
|
+
readonly levels: readonly ["warn"];
|
|
316
|
+
readonly meaning: "An established shard connection was lost and the SDK is reconnecting";
|
|
317
|
+
readonly action: "No action is needed unless it repeats";
|
|
318
|
+
};
|
|
319
|
+
readonly "lifecycle.connectionEnded": {
|
|
320
|
+
readonly levels: readonly ["error"];
|
|
321
|
+
readonly meaning: "A shard stopped for good, for example after a rejected token, an invalid shard setting or an exhausted recovery schedule";
|
|
322
|
+
readonly action: "Read the error's hint";
|
|
323
|
+
};
|
|
324
|
+
readonly "lifecycle.sessionReset": {
|
|
325
|
+
readonly levels: readonly ["warn"];
|
|
326
|
+
readonly meaning: "A shard's session can no longer resume, so the next connection starts a new session and missed events are lost";
|
|
327
|
+
};
|
|
328
|
+
readonly "lifecycle.sessionRestored": {
|
|
329
|
+
readonly levels: readonly ["info"];
|
|
330
|
+
readonly meaning: "A shard is resuming a session saved by the session store";
|
|
331
|
+
};
|
|
332
|
+
readonly "lifecycle.sessionSaved": {
|
|
333
|
+
readonly levels: readonly ["debug"];
|
|
334
|
+
readonly meaning: "A shard's session was saved for a later Resume";
|
|
335
|
+
};
|
|
336
|
+
readonly "lifecycle.sessionSaveFailed": {
|
|
337
|
+
readonly levels: readonly ["error"];
|
|
338
|
+
readonly meaning: "The session store's save function threw, rejected or timed out during shutdown, so the next start begins a new session";
|
|
339
|
+
readonly action: "Fix the session store's save function";
|
|
340
|
+
};
|
|
341
|
+
readonly "lifecycle.sessionLoadFailed": {
|
|
342
|
+
readonly levels: readonly ["error"];
|
|
343
|
+
readonly meaning: "The session store's load function threw, rejected or timed out, so the shard starts a new session";
|
|
344
|
+
readonly action: "Fix the session store's load function";
|
|
345
|
+
};
|
|
346
|
+
readonly "lifecycle.sessionSnapshotIgnored": {
|
|
347
|
+
readonly levels: readonly ["warn"];
|
|
348
|
+
readonly meaning: "A saved session was malformed, older than Fluxer's 60-second resume window, or saved for another gateway or shard count, so the shard starts a new session";
|
|
349
|
+
};
|
|
350
|
+
readonly "lifecycle.identifyPermitFailed": {
|
|
351
|
+
readonly levels: readonly ["error"];
|
|
352
|
+
readonly meaning: "The sharding.identify coordinator failed to let a shard start a new session, so the SDK retries the connection";
|
|
353
|
+
readonly action: "Fix the coordinator's permit function";
|
|
354
|
+
};
|
|
355
|
+
readonly "lifecycle.domainMigration": {
|
|
356
|
+
readonly levels: readonly ["debug", "info"];
|
|
357
|
+
readonly meaning: "The Fluxer instance announced a web domain migration. When it is switched on, links and OAuth URLs use the announced web app host (Info). A switched-off migration is Debug";
|
|
358
|
+
};
|
|
359
|
+
readonly "lifecycle.observerCoalesced": {
|
|
360
|
+
readonly levels: readonly ["debug"];
|
|
361
|
+
readonly meaning: "A connection-state observer was still busy, so an intermediate state was replaced by a newer one";
|
|
362
|
+
};
|
|
363
|
+
readonly "lifecycle.observerFailed": {
|
|
364
|
+
readonly levels: readonly ["debug", "error"];
|
|
365
|
+
readonly meaning: "A connection-state observer threw or rejected";
|
|
366
|
+
readonly action: "Fix the observer callback";
|
|
367
|
+
};
|
|
368
|
+
readonly "lifecycle.taskFailed": {
|
|
369
|
+
readonly levels: readonly ["debug", "error"];
|
|
370
|
+
readonly meaning: "One run of a task started with client.schedule threw or failed. A repeating task keeps its schedule";
|
|
371
|
+
readonly action: "Fix the task, or handle the failure with the client-level onError";
|
|
372
|
+
};
|
|
373
|
+
readonly "lifecycle.tasksCancelled": {
|
|
374
|
+
readonly levels: readonly ["info"];
|
|
375
|
+
readonly meaning: "Shutdown ended scheduled tasks that still had a run waiting or in progress, so those runs never happened or did not finish. The count is in fields.cancelled, and fields.running counts the runs cut off while in progress";
|
|
376
|
+
readonly action: "Shut down with drainMs to let running tasks finish first, and keep work that must survive a restart outside the SDK";
|
|
377
|
+
};
|
|
378
|
+
readonly "lifecycle.stopRequested": {
|
|
379
|
+
readonly levels: readonly ["info"];
|
|
380
|
+
readonly meaning: "A stop signal or process signal asked the bot to stop";
|
|
381
|
+
};
|
|
382
|
+
readonly "lifecycle.botFailed": {
|
|
383
|
+
readonly levels: readonly ["error"];
|
|
384
|
+
readonly meaning: "The runBot runner stopped because of a failure that no earlier record reported, and set the process exit code to 1. Setting reportFailure to false turns both off";
|
|
385
|
+
readonly action: "Read the error's hint";
|
|
386
|
+
};
|
|
387
|
+
readonly "lifecycle.shutdown": {
|
|
388
|
+
readonly levels: readonly ["info"];
|
|
389
|
+
readonly meaning: "The client began shutting down";
|
|
390
|
+
};
|
|
391
|
+
readonly "lifecycle.draining": {
|
|
392
|
+
readonly levels: readonly ["info"];
|
|
393
|
+
readonly meaning: "A shutdown with drainMs stopped accepting new events and waits for running handlers, waiting handler events, running scheduled tasks and REST requests to finish";
|
|
394
|
+
};
|
|
395
|
+
readonly "lifecycle.drained": {
|
|
396
|
+
readonly levels: readonly ["info"];
|
|
397
|
+
readonly meaning: "All work running when the drain began finished in time, so shutdown continues without cancelling any";
|
|
398
|
+
};
|
|
399
|
+
readonly "lifecycle.drainTimedOut": {
|
|
400
|
+
readonly levels: readonly ["warn"];
|
|
401
|
+
readonly meaning: "The drain time ran out, so shutdown cancels the handlers, waiting events, scheduled tasks and REST requests that had not finished. The fields name how many";
|
|
402
|
+
readonly action: "Make handlers and tasks finish sooner, or raise drainMs if the process may take longer to stop";
|
|
403
|
+
};
|
|
404
|
+
readonly "lifecycle.shutdownComplete": {
|
|
405
|
+
readonly levels: readonly ["info"];
|
|
406
|
+
readonly meaning: "The client finished shutting down and released its resources";
|
|
407
|
+
};
|
|
408
|
+
readonly "lifecycle.cleanupFailed": {
|
|
409
|
+
readonly levels: readonly ["error"];
|
|
410
|
+
readonly meaning: "A cleanup step failed during shutdown. Shutdown still ran the remaining steps";
|
|
411
|
+
readonly action: "Report it with the record's error if the SDK owns the failing step";
|
|
412
|
+
};
|
|
413
|
+
readonly "gateway.receive": {
|
|
414
|
+
readonly levels: readonly ["trace"];
|
|
415
|
+
readonly meaning: "A gateway frame was received";
|
|
416
|
+
};
|
|
417
|
+
readonly "gateway.send": {
|
|
418
|
+
readonly levels: readonly ["trace"];
|
|
419
|
+
readonly meaning: "A gateway frame was sent";
|
|
420
|
+
};
|
|
421
|
+
readonly "gateway.payloadReceived": {
|
|
422
|
+
readonly levels: readonly ["trace"];
|
|
423
|
+
readonly meaning: "The masked body of a received gateway frame, printed only in unsafe payload mode";
|
|
424
|
+
};
|
|
425
|
+
readonly "gateway.payloadSent": {
|
|
426
|
+
readonly levels: readonly ["trace"];
|
|
427
|
+
readonly meaning: "The masked body of a sent gateway frame, printed only in unsafe payload mode";
|
|
428
|
+
};
|
|
429
|
+
readonly "gateway.heartbeatAck": {
|
|
430
|
+
readonly levels: readonly ["trace"];
|
|
431
|
+
readonly meaning: "Fluxer acknowledged a heartbeat";
|
|
432
|
+
};
|
|
433
|
+
readonly "gateway.dispatch": {
|
|
434
|
+
readonly levels: readonly ["debug"];
|
|
435
|
+
readonly meaning: "A dispatch event was received";
|
|
436
|
+
};
|
|
437
|
+
readonly "gateway.commandSent": {
|
|
438
|
+
readonly levels: readonly ["debug"];
|
|
439
|
+
readonly meaning: "A command passed to gateway.send was sent to the gateway";
|
|
440
|
+
};
|
|
441
|
+
readonly "gateway.dispatchRejected": {
|
|
442
|
+
readonly levels: readonly ["warn"];
|
|
443
|
+
readonly meaning: "A dispatch failed validation and was skipped. The failing field is in fields.field";
|
|
444
|
+
readonly action: "Report it if Fluxer's payloads changed, and include the field";
|
|
445
|
+
};
|
|
446
|
+
readonly "gateway.threadSkipped": {
|
|
447
|
+
readonly levels: readonly ["warn"];
|
|
448
|
+
readonly meaning: "A thread in a community snapshot failed validation, so the channel cache does not hold it. The failing entry is in fields.field";
|
|
449
|
+
readonly action: "Report it if Fluxer's payloads changed, and include the field";
|
|
450
|
+
};
|
|
451
|
+
readonly "gateway.unknownDispatch": {
|
|
452
|
+
readonly levels: readonly ["debug"];
|
|
453
|
+
readonly meaning: "A dispatch type that this SDK version does not handle was ignored";
|
|
454
|
+
};
|
|
455
|
+
readonly "gateway.unknownOpcode": {
|
|
456
|
+
readonly levels: readonly ["debug"];
|
|
457
|
+
readonly meaning: "An opcode that this SDK version does not handle was ignored";
|
|
458
|
+
};
|
|
459
|
+
readonly "gateway.identifyFilter": {
|
|
460
|
+
readonly levels: readonly ["debug"];
|
|
461
|
+
readonly meaning: "A shard asked Fluxer not to send dispatch types that nothing uses";
|
|
462
|
+
};
|
|
463
|
+
readonly "gateway.ignoredEventRegistered": {
|
|
464
|
+
readonly levels: readonly ["warn"];
|
|
465
|
+
readonly meaning: "A handler was registered for an event type that the running shards asked Fluxer to suppress";
|
|
466
|
+
readonly action: "Register the handler before connecting, or remove the type from gateway.ignoredEvents";
|
|
467
|
+
};
|
|
468
|
+
readonly "rest.request": {
|
|
469
|
+
readonly levels: readonly ["debug"];
|
|
470
|
+
readonly meaning: "One REST attempt finished, with its route, status, duration and Fluxer error code";
|
|
471
|
+
};
|
|
472
|
+
readonly "rest.retry": {
|
|
473
|
+
readonly levels: readonly ["debug"];
|
|
474
|
+
readonly meaning: "A read is retried after a transient failure";
|
|
475
|
+
};
|
|
476
|
+
readonly "rest.busy": {
|
|
477
|
+
readonly levels: readonly ["warn"];
|
|
478
|
+
readonly meaning: "A REST request failed with reason busy because the REST queue or the upload byte budget was full. It is logged at most once a minute, and every busy failure is counted in diagnostics().counters.restBusy";
|
|
479
|
+
readonly action: "Send fewer requests at once, or raise the limit the message names";
|
|
480
|
+
};
|
|
481
|
+
readonly "rest.rejected": {
|
|
482
|
+
readonly levels: readonly ["warn"];
|
|
483
|
+
readonly meaning: "Fluxer rejected a request with HTTP 401 or 403, usually a token or permission problem that persists. The message names the target channel or community when the route has one. It is logged even when the application handles the Result. When a handler or command fails with this rejection within one second and no onError hook receives the failure, the handler's failure record reports it instead. A later handler failure also logs its own record, because the Warn has already been emitted. Webhook and OAuth clients log rejected webhook tokens and OAuth client credentials the same way";
|
|
484
|
+
readonly action: "Follow fields.hint. A bot that expects these rejections can lower the rest category level";
|
|
485
|
+
};
|
|
486
|
+
readonly "rest.responseRejected": {
|
|
487
|
+
readonly levels: readonly ["warn"];
|
|
488
|
+
readonly meaning: "A successful response to an SDK operation did not match the expected shape. The failing field or check is in fields.field";
|
|
489
|
+
readonly action: "Check test fixtures, or report it if Fluxer's responses changed";
|
|
490
|
+
};
|
|
491
|
+
readonly "rest.payloadSent": {
|
|
492
|
+
readonly levels: readonly ["trace"];
|
|
493
|
+
readonly meaning: "The masked body of a REST request, printed only in unsafe payload mode";
|
|
494
|
+
};
|
|
495
|
+
readonly "rest.payloadReceived": {
|
|
496
|
+
readonly levels: readonly ["trace"];
|
|
497
|
+
readonly meaning: "The masked body of a REST response, printed only in unsafe payload mode";
|
|
498
|
+
};
|
|
499
|
+
readonly "ratelimit.wait": {
|
|
500
|
+
readonly levels: readonly ["debug", "warn"];
|
|
501
|
+
readonly meaning: "A request was rate-limited and waits delayMs before retrying. Waits of a second or more are Warn";
|
|
502
|
+
readonly action: "Send fewer requests on that route if long waits repeat";
|
|
503
|
+
};
|
|
504
|
+
readonly "ratelimit.deadline": {
|
|
505
|
+
readonly levels: readonly ["debug", "warn"];
|
|
506
|
+
readonly meaning: "A rate-limit wait would pass the operation's timeout, so the request fails without waiting";
|
|
507
|
+
readonly action: "Raise timeoutMs, or send fewer requests on that route";
|
|
508
|
+
};
|
|
509
|
+
readonly "events.handlerFailed": {
|
|
510
|
+
readonly levels: readonly ["debug", "error"];
|
|
511
|
+
readonly meaning: "An event handler threw or failed. Other events keep running";
|
|
512
|
+
readonly action: "Fix the handler, or handle the failure with onError";
|
|
513
|
+
};
|
|
514
|
+
readonly "events.hookFailed": {
|
|
515
|
+
readonly levels: readonly ["error"];
|
|
516
|
+
readonly meaning: "An onError hook failed while it handled another failure";
|
|
517
|
+
readonly action: "Fix the onError hook";
|
|
518
|
+
};
|
|
519
|
+
readonly "events.overflow": {
|
|
520
|
+
readonly levels: readonly ["debug", "warn", "error"];
|
|
521
|
+
readonly meaning: "A subscription's queue exceeded its limit, so the subscription stopped";
|
|
522
|
+
readonly action: "Handle events faster, raise the pending limits or choose a dropping overflow policy";
|
|
523
|
+
};
|
|
524
|
+
readonly "events.dropped": {
|
|
525
|
+
readonly levels: readonly ["warn"];
|
|
526
|
+
readonly meaning: "A full subscription queue dropped an event under its overflow policy";
|
|
527
|
+
readonly action: "Handle events faster or raise the pending limits";
|
|
528
|
+
};
|
|
529
|
+
readonly "events.discarded": {
|
|
530
|
+
readonly levels: readonly ["debug", "info"];
|
|
531
|
+
readonly meaning: "A subscription stopped with events still waiting in its queue, so they were discarded unhandled. Info means the client was closing, and Debug means the subscription itself closed. The count is in fields.discarded and in the eventsDropped.closed counter";
|
|
532
|
+
readonly action: "Shut down with drainMs to let waiting handler events run first";
|
|
533
|
+
};
|
|
534
|
+
readonly "events.refused": {
|
|
535
|
+
readonly levels: readonly ["info"];
|
|
536
|
+
readonly meaning: "A draining shutdown did not deliver events that open subscriptions or collectors would have received, because it accepts no new events. The count is in fields.refused and in the eventsDropped.closed counter";
|
|
537
|
+
};
|
|
538
|
+
readonly "events.raw": {
|
|
539
|
+
readonly levels: readonly ["trace"];
|
|
540
|
+
readonly meaning: "A raw dispatch is being delivered to raw subscribers";
|
|
541
|
+
};
|
|
542
|
+
readonly "events.registeredAfterShutdown": {
|
|
543
|
+
readonly levels: readonly ["warn"];
|
|
544
|
+
readonly meaning: "A subscription was registered after shutdown began, so it starts closed";
|
|
545
|
+
readonly action: "Register handlers before shutting down";
|
|
546
|
+
};
|
|
547
|
+
readonly "commands.executed": {
|
|
548
|
+
readonly levels: readonly ["debug"];
|
|
549
|
+
readonly meaning: "A command finished";
|
|
550
|
+
};
|
|
551
|
+
readonly "commands.rejected": {
|
|
552
|
+
readonly levels: readonly ["debug"];
|
|
553
|
+
readonly meaning: "A command did not run because a guard denied it, its cooldown was active or an argument was invalid";
|
|
554
|
+
};
|
|
555
|
+
readonly "commands.unmatched": {
|
|
556
|
+
readonly levels: readonly ["debug"];
|
|
557
|
+
readonly meaning: "A message with the command prefix did not run a command. fields.reason holds the cause: an unknown name (the closest command is in fields.suggestion), a group without a subcommand or text the parser rejected, whose explanation the message gives";
|
|
558
|
+
};
|
|
559
|
+
readonly "commands.middlewareStopped": {
|
|
560
|
+
readonly levels: readonly ["debug"];
|
|
561
|
+
readonly meaning: "A command did not run because middleware did not continue";
|
|
562
|
+
};
|
|
563
|
+
readonly "commands.failed": {
|
|
564
|
+
readonly levels: readonly ["debug", "error"];
|
|
565
|
+
readonly meaning: "A command threw or failed";
|
|
566
|
+
readonly action: "Fix the command, or handle the failure with the router's onError";
|
|
567
|
+
};
|
|
568
|
+
readonly "commands.mentionPrefixUnavailable": {
|
|
569
|
+
readonly levels: readonly ["warn"];
|
|
570
|
+
readonly meaning: "The bot user ID needed for mention prefixes could not be read, so mention commands are skipped for a while";
|
|
571
|
+
};
|
|
572
|
+
readonly "collectors.callbackFailed": {
|
|
573
|
+
readonly levels: readonly ["debug", "error"];
|
|
574
|
+
readonly meaning: "A collector callback threw or failed";
|
|
575
|
+
readonly action: "Fix the callback";
|
|
576
|
+
};
|
|
577
|
+
readonly "collectors.filterFailed": {
|
|
578
|
+
readonly levels: readonly ["debug", "error"];
|
|
579
|
+
readonly meaning: "A collector filter threw or returned a non-boolean";
|
|
580
|
+
readonly action: "Make the filter return true or false without throwing";
|
|
581
|
+
};
|
|
582
|
+
readonly "collectors.failed": {
|
|
583
|
+
readonly levels: readonly ["warn"];
|
|
584
|
+
readonly meaning: "A collector stopped because of a failure";
|
|
585
|
+
readonly action: "Read the collector's result for the error";
|
|
586
|
+
};
|
|
587
|
+
readonly "collectors.dropped": {
|
|
588
|
+
readonly levels: readonly ["debug"];
|
|
589
|
+
readonly meaning: "A full collector ignored an event while its last callback finished";
|
|
590
|
+
};
|
|
591
|
+
readonly "cache.policyFailed": {
|
|
592
|
+
readonly levels: readonly ["debug", "error"];
|
|
593
|
+
readonly meaning: "A cache maxAgeMs function or a cache.onChange listener threw or returned an invalid value";
|
|
594
|
+
readonly action: "Fix that function or listener";
|
|
595
|
+
};
|
|
596
|
+
readonly "cache.changesDropped": {
|
|
597
|
+
readonly levels: readonly ["warn"];
|
|
598
|
+
readonly meaning: "A cache.onChange listener had its maximum number of unfinished calls and waiting changes, so the oldest waiting change was dropped, or the client shut down while changes waited for its unfinished calls, so those were dropped. The record names the observer and how many changes it has dropped";
|
|
599
|
+
readonly action: "Make the listener finish its calls, or raise its concurrency or maxPendingChanges";
|
|
600
|
+
};
|
|
601
|
+
readonly "cleanup.progressFailed": {
|
|
602
|
+
readonly levels: readonly ["debug", "error"];
|
|
603
|
+
readonly meaning: "A message cleanup progress callback threw";
|
|
604
|
+
readonly action: "Fix the onProgress callback";
|
|
605
|
+
};
|
|
606
|
+
readonly "supervisor.spawn": {
|
|
607
|
+
readonly levels: readonly ["info"];
|
|
608
|
+
readonly meaning: "The supervisor started a child process";
|
|
609
|
+
};
|
|
610
|
+
readonly "supervisor.spawnFailed": {
|
|
611
|
+
readonly levels: readonly ["error"];
|
|
612
|
+
readonly meaning: "The supervisor could not start a child process";
|
|
613
|
+
readonly action: "Check the entry path and execArgv";
|
|
614
|
+
};
|
|
615
|
+
readonly "supervisor.exit": {
|
|
616
|
+
readonly levels: readonly ["info", "warn"];
|
|
617
|
+
readonly meaning: "A child process exited. Warn means it exited unexpectedly";
|
|
618
|
+
};
|
|
619
|
+
readonly "supervisor.crash": {
|
|
620
|
+
readonly levels: readonly ["error"];
|
|
621
|
+
readonly meaning: "A child process stopped unexpectedly and cannot be restarted, because restart is false or its restarts are used up, so the supervisor shuts down";
|
|
622
|
+
readonly action: "Read the child's output records before this one, and raise restart.maxAttempts or remove restart: false if restarts should continue";
|
|
623
|
+
};
|
|
624
|
+
readonly "supervisor.restart": {
|
|
625
|
+
readonly levels: readonly ["warn"];
|
|
626
|
+
readonly meaning: "The supervisor restarts a child after a crash, within the restart budget";
|
|
627
|
+
};
|
|
628
|
+
readonly "supervisor.automaticSharding": {
|
|
629
|
+
readonly levels: readonly ["info"];
|
|
630
|
+
readonly meaning: "The supervisor counted the bot's communities for totalShards auto and chose the shard count and child processes";
|
|
631
|
+
};
|
|
632
|
+
readonly "supervisor.resharded": {
|
|
633
|
+
readonly levels: readonly ["warn", "error"];
|
|
634
|
+
readonly meaning: "Fluxer closed a shard of a child with 4011 (sharding required) under totalShards auto. Warn means the supervisor stopped every child, counted the communities again and started a larger plan, so events sent during the move were missed. Error means it had already moved 3 times within an hour or reached 16,384 shards, so it shut down";
|
|
635
|
+
readonly action: "For Error, check why the community count keeps growing, or choose a larger numeric totalShards";
|
|
636
|
+
};
|
|
637
|
+
readonly "supervisor.identifyPermitFailed": {
|
|
638
|
+
readonly levels: readonly ["error"];
|
|
639
|
+
readonly meaning: "The supervisor's identify coordinator rejected or threw instead of granting a child permission to start a new session, so the child retries as after a network failure";
|
|
640
|
+
readonly action: "Fix the permit function of the identify.coordinator supervisor option";
|
|
641
|
+
};
|
|
642
|
+
readonly "supervisor.memberRequestsLocal": {
|
|
643
|
+
readonly levels: readonly ["warn"];
|
|
644
|
+
readonly meaning: "A supervised child asked its parent for a member request slot and got no answer, because the parent did not answer within one second or the child lost its message channel to it. The child then counted only its own member requests, so requests from other children could pass Fluxer's limit of 12 per account in 10 seconds, and Fluxer drops those without an answer. Logged once per child";
|
|
645
|
+
readonly action: "Read the supervisor records about this child before this one";
|
|
646
|
+
};
|
|
647
|
+
readonly "supervisor.childOutput": {
|
|
648
|
+
readonly levels: readonly ["info", "warn"];
|
|
649
|
+
readonly meaning: "A child printed a line that is not a log record. Standard error lines are Warn";
|
|
650
|
+
};
|
|
651
|
+
readonly "supervisor.outputFailed": {
|
|
652
|
+
readonly levels: readonly ["warn"];
|
|
653
|
+
readonly meaning: "Reading a child's standard output or standard error failed, so the parent stops forwarding that stream while the child keeps running. The stream is in fields.stream";
|
|
654
|
+
readonly action: "Read the record's error, and restart the supervisor if that child's output is needed";
|
|
655
|
+
};
|
|
656
|
+
readonly "supervisor.startupTimeout": {
|
|
657
|
+
readonly levels: readonly ["error"];
|
|
658
|
+
readonly meaning: "A child did not become ready within startupTimeoutMs, so the supervisor shuts down";
|
|
659
|
+
readonly action: "Read the child's output records before this one, or raise startupTimeoutMs if startup needs longer";
|
|
660
|
+
};
|
|
661
|
+
readonly "supervisor.identifyUnacknowledged": {
|
|
662
|
+
readonly levels: readonly ["warn"];
|
|
663
|
+
readonly meaning: "A child did not confirm sending Identify within 5 seconds of its permission, so the supervisor stops that child. Its restart follows the restart settings";
|
|
664
|
+
readonly action: "Read the child's output records before this one";
|
|
665
|
+
};
|
|
666
|
+
readonly "supervisor.terminated": {
|
|
667
|
+
readonly levels: readonly ["warn", "error"];
|
|
668
|
+
readonly meaning: "The supervisor force-terminates a child. Warn means the child did not exit within shutdownTimeoutMs of a stop request. Error means the child lost its message channel to the parent and kept running past shutdownTimeoutMs, so the supervisor shuts down";
|
|
669
|
+
readonly action: "Make the child's cleanup finish sooner, or raise shutdownTimeoutMs";
|
|
670
|
+
};
|
|
671
|
+
readonly "sdk.unknownDebugCategory": {
|
|
672
|
+
readonly levels: readonly ["warn"];
|
|
673
|
+
readonly meaning: "FLUXERLY_DEBUG names categories that do not exist";
|
|
674
|
+
readonly action: "Use the category names listed in fields.known";
|
|
675
|
+
};
|
|
676
|
+
readonly "sdk.unknownEnvironmentValue": {
|
|
677
|
+
readonly levels: readonly ["warn"];
|
|
678
|
+
readonly meaning: "FLUXERLY_LOG_FORMAT or FLUXERLY_LOG_COLOR has a value that is not recognized, so it is ignored";
|
|
679
|
+
readonly action: "Use one of the values in fields.accepted";
|
|
680
|
+
};
|
|
681
|
+
readonly "sdk.unsafePayloads": {
|
|
682
|
+
readonly levels: readonly ["warn"];
|
|
683
|
+
readonly meaning: "Unsafe payload logging is on, so Trace records include gateway and REST payloads that can contain private content. Bot tokens and other secrets stay masked";
|
|
684
|
+
readonly action: "Turn it off outside local debugging";
|
|
685
|
+
};
|
|
686
|
+
readonly "sdk.timerFailed": {
|
|
687
|
+
readonly levels: readonly ["error"];
|
|
688
|
+
readonly meaning: "An internal timer callback failed";
|
|
689
|
+
readonly action: "Report it with the record's error";
|
|
690
|
+
};
|
|
691
|
+
readonly "sdk.effectLog": {
|
|
692
|
+
readonly levels: readonly ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
693
|
+
readonly meaning: "An Effect log call inside the SDK";
|
|
694
|
+
};
|
|
695
|
+
readonly "testing.unmatchedRequest": {
|
|
696
|
+
readonly levels: readonly ["warn"];
|
|
697
|
+
readonly meaning: "A test client request matched no test route, so it received 404";
|
|
698
|
+
readonly action: "Add a route for the request";
|
|
699
|
+
};
|
|
700
|
+
readonly "testing.responderFailed": {
|
|
701
|
+
readonly levels: readonly ["error"];
|
|
702
|
+
readonly meaning: "A test route's responder threw, so the request failed as a network error";
|
|
703
|
+
readonly action: "Fix the responder";
|
|
704
|
+
};
|
|
705
|
+
readonly "testing.socketsLeftOpen": {
|
|
706
|
+
readonly levels: readonly ["warn"];
|
|
707
|
+
readonly meaning: "A test client left gateway sockets open after shutdown, and the test transport closed them";
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
/** Every log record code the SDK emits */
|
|
711
|
+
export type LogCode = keyof typeof logCodes;
|
|
712
|
+
//# sourceMappingURL=code-catalogue.d.ts.map
|