commandkit 1.2.0-dev.20251125125452 → 1.2.0-dev.20260114150514
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/{COPYING.md → LICENSE.md} +3 -3
- package/README.md +3 -3
- package/dist/{ActionRow-BtKd-ZRS.d.ts → ActionRow-B-CGmjDp.d.ts} +2 -3
- package/dist/{ActionRow-D6knpVd6.js → ActionRow-CSN_UKmM.js} +2 -2
- package/dist/{ActionRow-D6knpVd6.js.map → ActionRow-CSN_UKmM.js.map} +1 -1
- package/dist/{Button-DiXeKdXO.d.ts → Button-C-GPeFA3.d.ts} +5 -6
- package/dist/{ButtonKit-B_HCmb3D.d.ts → ButtonKit-DKu0VAe4.d.ts} +35 -36
- package/dist/{ChannelSelectMenuKit-DrsqXWiO.d.ts → ChannelSelectMenuKit-HQZ4hH5s.d.ts} +33 -34
- package/dist/{CommandKitEventsChannel-2l9Za-le.js → CommandKitEventsChannel-CnT5ymYe.js} +2 -2
- package/dist/{CommandKitEventsChannel-2l9Za-le.js.map → CommandKitEventsChannel-CnT5ymYe.js.map} +1 -1
- package/dist/{CommandsRouter-Bdkx7SZS.d.ts → CommandsRouter-C7dZEepB.d.ts} +48 -49
- package/dist/{CommandsRouter-NAgpWzTJ.js → CommandsRouter-C_HLsrGX.js} +2 -2
- package/dist/{CommandsRouter-NAgpWzTJ.js.map → CommandsRouter-C_HLsrGX.js.map} +1 -1
- package/dist/{CompilerPlugin-DbN5-ls3.js → CompilerPlugin-CUsGAfgl.js} +2 -2
- package/dist/{CompilerPlugin-DbN5-ls3.js.map → CompilerPlugin-CUsGAfgl.js.map} +1 -1
- package/dist/EventInterceptor-BWoEJMHZ.js.map +1 -1
- package/dist/{EventInterceptor-Dk5Fwu-7.d.ts → EventInterceptor-CZmWpS08.d.ts} +39 -39
- package/dist/{EventWorkerContext-yTm5vI3b.js → EventWorkerContext-Dfhgv329.js} +2 -2
- package/dist/{EventWorkerContext-yTm5vI3b.js.map → EventWorkerContext-Dfhgv329.js.map} +1 -1
- package/dist/{EventsRouter-bILsV3Lh.d.ts → EventsRouter-DZ37r54v.d.ts} +34 -34
- package/dist/{EventsRouter-D4_vBMhl.js → EventsRouter-DZYIha6m.js} +2 -2
- package/dist/{EventsRouter-D4_vBMhl.js.map → EventsRouter-DZYIha6m.js.map} +1 -1
- package/dist/{MentionableSelectMenuKit-DNan_JWk.d.ts → MentionableSelectMenuKit-7URDUM3-.d.ts} +33 -34
- package/dist/{MessageCommandParser-CD7ynlBO.js → MessageCommandParser-Bs9fimmd.js} +2 -2
- package/dist/{MessageCommandParser-CD7ynlBO.js.map → MessageCommandParser-Bs9fimmd.js.map} +1 -1
- package/dist/MessageCommandParser-q3dQcE5N.d.ts +194 -0
- package/dist/{Modal-Dd5plFpo.d.ts → Modal-CZT9MZsy.d.ts} +7 -8
- package/dist/{ModalKit-C8WkeoDl.d.ts → ModalKit-BWXI3Z26.d.ts} +32 -33
- package/dist/{PluginCommon-Bp5T3ubs.js → PluginCommon-BLxWww5u.js} +6 -6
- package/dist/{PluginCommon-Bp5T3ubs.js.map → PluginCommon-BLxWww5u.js.map} +1 -1
- package/dist/{RoleSelectMenuKit-FfGw3CSa.d.ts → RoleSelectMenuKit-BY-JJ18w.d.ts} +33 -34
- package/dist/{RuntimePlugin-Bq6z-Upz.js → RuntimePlugin-CtobluSU.js} +2 -2
- package/dist/{RuntimePlugin-Bq6z-Upz.js.map → RuntimePlugin-CtobluSU.js.map} +1 -1
- package/dist/{SelectMenu-DTWKY-JJ.d.ts → SelectMenu-q_b3Mjv9.d.ts} +8 -9
- package/dist/{StringSelectMenuKit-BMA0rjhA.d.ts → StringSelectMenuKit-lVhUMc3g.d.ts} +33 -34
- package/dist/{UserSelectMenuKit-CRpFbwA9.d.ts → UserSelectMenuKit-CCj4Fpkr.d.ts} +33 -34
- package/dist/analytics/analytics-engine.d.ts +1 -33
- package/dist/analytics/analytics-engine.js +21 -36
- package/dist/analytics/analytics-provider.d.ts +1 -33
- package/dist/analytics/constants.js +1 -1
- package/dist/analytics/utils.js +21 -36
- package/dist/{analytics-engine-DHmLGxFA.d.ts → analytics-engine-WQhXmx3H.d.ts} +840 -840
- package/dist/app/commands/AppCommandRunner.d.ts +1 -33
- package/dist/app/commands/AppCommandRunner.js +21 -36
- package/dist/app/commands/Context.d.ts +1 -33
- package/dist/app/commands/Context.js +21 -36
- package/dist/app/commands/MessageCommandParser.d.ts +1 -1
- package/dist/app/commands/MessageCommandParser.js +1 -2
- package/dist/app/commands/helpers.d.ts +1 -1
- package/dist/app/commands/helpers.js +1 -1
- package/dist/app/events/EventWorkerContext.d.ts +42 -35
- package/dist/app/events/EventWorkerContext.js +1 -1
- package/dist/app/handlers/AppCommandHandler.d.ts +1 -33
- package/dist/app/handlers/AppCommandHandler.js +21 -36
- package/dist/app/handlers/AppEventsHandler.d.ts +1 -33
- package/dist/app/handlers/AppEventsHandler.js +21 -36
- package/dist/app/index.d.ts +4 -33
- package/dist/app/index.js +21 -37
- package/dist/app/interrupt/signals.d.ts +1 -1
- package/dist/app/interrupt/signals.js +2 -3
- package/dist/app/middlewares/permissions.d.ts +1 -33
- package/dist/app/middlewares/permissions.js +21 -36
- package/dist/app/register/CommandRegistrar.d.ts +1 -33
- package/dist/app/register/CommandRegistrar.js +21 -36
- package/dist/app/router/CommandsRouter.d.ts +1 -1
- package/dist/app/router/CommandsRouter.js +1 -1
- package/dist/app/router/EventsRouter.d.ts +1 -1
- package/dist/app/router/EventsRouter.js +1 -1
- package/dist/app/router/index.d.ts +2 -3
- package/dist/app/router/index.js +2 -2
- package/dist/{chunk-nOFOJqeH.js → chunk-kSYXY2_d.js} +10 -6
- package/dist/cli/app-process.d.ts +0 -1
- package/dist/cli/app-process.js +61 -6
- package/dist/cli/app-process.js.map +1 -0
- package/dist/cli/build.d.ts +2 -33
- package/dist/cli/build.js +189 -42
- package/dist/cli/build.js.map +1 -0
- package/dist/cli/common.d.ts +1 -33
- package/dist/cli/common.js +3 -3
- package/dist/cli/development.d.ts +1 -2
- package/dist/cli/development.js +30 -44
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.js +1 -1
- package/dist/cli/generators.js +4 -4
- package/dist/cli/generators.js.map +1 -1
- package/dist/cli/information.js +2 -2
- package/dist/cli/information.js.map +1 -1
- package/dist/cli/init.d.ts +0 -1
- package/dist/cli/init.js +27 -41
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/production.d.ts +0 -1
- package/dist/cli/production.js +33 -47
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.js +4 -4
- package/dist/cli/utils.d.ts +0 -1
- package/dist/cli/utils.js +17 -2
- package/dist/cli/utils.js.map +1 -0
- package/dist/{colors-CLmBiP9I.js → colors-Csc0X4QJ.js} +2 -2
- package/dist/{colors-CLmBiP9I.js.map → colors-Csc0X4QJ.js.map} +1 -1
- package/dist/{commandkit-B0wT0Mxx.js → commandkit-SIjTLD2R.js} +31 -31
- package/dist/{commandkit-B0wT0Mxx.js.map → commandkit-SIjTLD2R.js.map} +1 -1
- package/dist/commandkit.d.ts +1 -33
- package/dist/commandkit.js +21 -36
- package/dist/{common-B2-sF49Q.js → common-DSRs_mfw.js} +6 -6
- package/dist/{common-B2-sF49Q.js.map → common-DSRs_mfw.js.map} +1 -1
- package/dist/{common-DAxu7-kG.d.ts → common-DnwCYit8.d.ts} +2 -3
- package/dist/components/common/EventInterceptor.d.ts +1 -1
- package/dist/components/common/element.d.ts +1 -4
- package/dist/components/common/types.d.ts +1 -1
- package/dist/components/common/types.js +0 -1
- package/dist/components/display/common.d.ts +0 -1
- package/dist/components/display/container.d.ts +1 -1
- package/dist/components/display/container.js +1 -2
- package/dist/components/display/file.d.ts +1 -1
- package/dist/components/display/file.js +1 -1
- package/dist/components/display/index.d.ts +8 -9
- package/dist/components/display/index.js +8 -9
- package/dist/components/display/label.d.ts +1 -1
- package/dist/components/display/label.js +1 -2
- package/dist/components/display/media-gallery.d.ts +1 -1
- package/dist/components/display/media-gallery.js +1 -2
- package/dist/components/display/poll.d.ts +1 -1
- package/dist/components/display/poll.js +1 -1
- package/dist/components/display/section.d.ts +1 -1
- package/dist/components/display/section.js +1 -2
- package/dist/components/display/separator.d.ts +1 -1
- package/dist/components/display/separator.js +1 -1
- package/dist/components/display/text-display.d.ts +1 -1
- package/dist/components/display/text-display.js +1 -1
- package/dist/components/index.d.ts +22 -25
- package/dist/components/index.js +21 -35
- package/dist/components/interactive/action-row/ActionRow.d.ts +1 -5
- package/dist/components/interactive/action-row/ActionRow.js +1 -1
- package/dist/components/interactive/button/Button.d.ts +1 -6
- package/dist/components/interactive/button/Button.js +21 -36
- package/dist/components/interactive/button/ButtonKit.d.ts +1 -2
- package/dist/components/interactive/button/ButtonKit.js +21 -36
- package/dist/components/interactive/modal/Modal.d.ts +1 -6
- package/dist/components/interactive/modal/Modal.js +21 -36
- package/dist/components/interactive/modal/ModalKit.d.ts +1 -2
- package/dist/components/interactive/modal/ModalKit.js +21 -36
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.js +21 -36
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.js +21 -36
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.js +21 -36
- package/dist/components/interactive/select-menu/SelectMenu.d.ts +1 -9
- package/dist/components/interactive/select-menu/SelectMenu.js +21 -36
- package/dist/components/interactive/select-menu/StringSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/StringSelectMenuKit.js +21 -36
- package/dist/components/interactive/select-menu/UserSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/UserSelectMenuKit.js +21 -36
- package/dist/components/interactive/select-menu/common.d.ts +1 -2
- package/dist/components/interactive/select-menu/common.js +0 -1
- package/dist/config/config.d.ts +15 -35
- package/dist/config/config.js +21 -36
- package/dist/config/default.d.ts +1 -33
- package/dist/config/default.js +21 -36
- package/dist/config/loader.d.ts +1 -33
- package/dist/config/loader.js +21 -36
- package/dist/config/types.d.ts +1 -33
- package/dist/config/utils.d.ts +1 -33
- package/dist/constants-BFFK-hfP.js +27 -0
- package/dist/{constants-Dy6P2veX.js.map → constants-BFFK-hfP.js.map} +1 -1
- package/dist/{constants-CAMgxUyw.d.ts → constants-CuYW0K10.d.ts} +7 -7
- package/dist/{constants-BqrEmoih.js → constants-Cw8VjCVz.js} +2 -2
- package/dist/{constants-BqrEmoih.js.map → constants-Cw8VjCVz.js.map} +1 -1
- package/dist/{constants-D95ayHBM.d.ts → constants-EpKcj0dH.d.ts} +1 -1
- package/dist/{container-C319x4cG.js → container-DCPljKVH.js} +2 -2
- package/dist/{container-C319x4cG.js.map → container-DCPljKVH.js.map} +1 -1
- package/dist/{container-0C3ZMb_f.d.ts → container-DYcb7zGw.d.ts} +1 -2
- package/dist/context/async-context.d.ts +1 -33
- package/dist/context/async-context.js +21 -36
- package/dist/context/environment.d.ts +1 -33
- package/dist/context/environment.js +21 -36
- package/dist/element-DibzzA5L.js.map +1 -1
- package/dist/{element-CGY5MlNe.d.ts → element-wQo0heGj.d.ts} +3 -4
- package/dist/{env-CQJgOkQD.js → env-CmspDhHy.js} +1 -1
- package/dist/{env-CQJgOkQD.js.map → env-CmspDhHy.js.map} +1 -1
- package/dist/error-codes-Ds0bnPvT.js.map +1 -1
- package/dist/events/CommandKitEventsChannel.d.ts +1 -33
- package/dist/events/CommandKitEventsChannel.js +1 -1
- package/dist/{file-DgEXJx3x.js → file-Ca1kpEtE.js} +2 -2
- package/dist/{file-DgEXJx3x.js.map → file-Ca1kpEtE.js.map} +1 -1
- package/dist/{file-CfUTZjJh.d.ts → file-CrV4lSnl.d.ts} +1 -2
- package/dist/flags/FlagProvider.d.ts +1 -33
- package/dist/flags/feature-flags.d.ts +1 -33
- package/dist/flags/feature-flags.js +162 -40
- package/dist/flags/feature-flags.js.map +1 -0
- package/dist/flags/store.d.ts +1 -33
- package/dist/flags/store.js +1 -1
- package/dist/{helpers-t6PiYdMb.d.ts → helpers-AQPLVY35.d.ts} +1 -2
- package/dist/{helpers-0FUA42u8.js → helpers-Btx1FSZx.js} +2 -2
- package/dist/{helpers-0FUA42u8.js.map → helpers-Btx1FSZx.js.map} +1 -1
- package/dist/index.d.ts +40 -43
- package/dist/index.js +32 -40
- package/dist/index.js.map +1 -1
- package/dist/kv/constants.d.ts +1 -1
- package/dist/kv/constants.js +1 -1
- package/dist/kv/dotprops.js +25 -3
- package/dist/kv/dotprops.js.map +1 -0
- package/dist/kv/kv.d.ts +289 -290
- package/dist/kv/kv.js +14 -15
- package/dist/kv/kv.js.map +1 -1
- package/dist/kv/serde.d.ts +12 -3
- package/dist/kv/serde.js +86 -4
- package/dist/kv/serde.js.map +1 -0
- package/dist/{label-CQD5hBwB.d.ts → label-37kaNWMH.d.ts} +3 -4
- package/dist/{label-CCHbfQW8.js → label-B6vXvwLM.js} +3 -3
- package/dist/{label-CCHbfQW8.js.map → label-B6vXvwLM.js.map} +1 -1
- package/dist/logger/DefaultLogger.d.ts +66 -3
- package/dist/logger/DefaultLogger.js +21 -36
- package/dist/logger/ILogger.d.ts +64 -2
- package/dist/logger/ILogger.js +0 -1
- package/dist/logger/Logger.d.ts +36 -3
- package/dist/logger/Logger.js +21 -36
- package/dist/logger/NoopLogger.d.ts +36 -37
- package/dist/{media-gallery-DalbYf1v.d.ts → media-gallery-Ci3I4ElH.d.ts} +1 -2
- package/dist/{media-gallery-DdU7o9Cf.js → media-gallery-u3gjX7yD.js} +2 -2
- package/dist/{media-gallery-DdU7o9Cf.js.map → media-gallery-u3gjX7yD.js.map} +1 -1
- package/dist/plugins/CompilerPlugin.d.ts +1 -33
- package/dist/plugins/CompilerPlugin.js +1 -2
- package/dist/plugins/PluginCommon.d.ts +1 -33
- package/dist/plugins/PluginCommon.js +1 -1
- package/dist/plugins/RuntimePlugin.d.ts +1 -33
- package/dist/plugins/RuntimePlugin.js +1 -2
- package/dist/plugins/index.d.ts +1 -33
- package/dist/plugins/index.js +23 -36
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +1 -33
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +21 -36
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +1 -33
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +21 -36
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +1 -33
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +21 -36
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +1 -33
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +21 -36
- package/dist/plugins/plugin-runtime/runtime.d.ts +1 -33
- package/dist/plugins/plugin-runtime/runtime.js +0 -1
- package/dist/plugins/types.d.ts +1 -33
- package/dist/plugins/types.js +0 -1
- package/dist/{poll-6lSMoohv.js → poll-CFe8yvoJ.js} +12 -12
- package/dist/{poll-6lSMoohv.js.map → poll-CFe8yvoJ.js.map} +1 -1
- package/dist/{poll-Bo-skHvn.d.ts → poll-Ddtapd6n.d.ts} +7 -8
- package/dist/{resolve-file-url-CJoD0FAn.js → resolve-file-url-CdHqwWs3.js} +2 -2
- package/dist/{resolve-file-url-CJoD0FAn.js.map → resolve-file-url-CdHqwWs3.js.map} +1 -1
- package/dist/{section-C4qfgzOQ.js → section-BC8LF-B2.js} +2 -2
- package/dist/{section-C4qfgzOQ.js.map → section-BC8LF-B2.js.map} +1 -1
- package/dist/{section-CszS2hd5.d.ts → section-DkUKULnB.d.ts} +1 -2
- package/dist/{separator-CsoRs1aX.js → separator-BUTiW7uz.js} +2 -2
- package/dist/{separator-CsoRs1aX.js.map → separator-BUTiW7uz.js.map} +1 -1
- package/dist/{separator-DfRlVHne.d.ts → separator-CbXsIFCa.d.ts} +1 -2
- package/dist/{signals-C2Ly0wDt.js → signals-B8z1wJ6W.js} +2 -2
- package/dist/{signals-C2Ly0wDt.js.map → signals-B8z1wJ6W.js.map} +1 -1
- package/dist/{signals-DeafthGG.d.ts → signals-BbTgTc0i.d.ts} +1 -1
- package/dist/{store-GrsErvli.js → store-D8r_hryO.js} +2 -2
- package/dist/{store-GrsErvli.js.map → store-D8r_hryO.js.map} +1 -1
- package/dist/{text-display-DvydvE0D.d.ts → text-display-D7j39VC-.d.ts} +1 -2
- package/dist/{text-display-C0oSz5y0.js → text-display-DANahMN3.js} +2 -2
- package/dist/{text-display-C0oSz5y0.js.map → text-display-DANahMN3.js.map} +1 -1
- package/dist/{type-checker-CEt5Inbw.js → type-checker-cVd3Hpnh.js} +4 -4
- package/dist/{type-checker-CEt5Inbw.js.map → type-checker-cVd3Hpnh.js.map} +1 -1
- package/dist/{types-CQwntdAo.d.ts → types-BywA9d2Z.d.ts} +1 -1
- package/dist/{types-package-BxIhhZgZ.js → types-package-CsTNfvv2.js} +2 -2
- package/dist/{types-package-BxIhhZgZ.js.map → types-package-CsTNfvv2.js.map} +1 -1
- package/dist/types.d.ts +1 -33
- package/dist/utils/colors.js +1 -1
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/dev-hooks.d.ts +1 -33
- package/dist/utils/dev-hooks.js +21 -36
- package/dist/utils/error-codes.d.ts +54 -2
- package/dist/utils/resolve-file-url.d.ts +11 -2
- package/dist/utils/resolve-file-url.js +1 -1
- package/dist/utils/types-package.js +1 -1
- package/dist/utils/useful-stuff/async-queue.d.ts +21 -21
- package/dist/utils/useful-stuff/mutex.d.ts +62 -62
- package/dist/utils/useful-stuff/ratelimiter.d.ts +56 -56
- package/dist/utils/useful-stuff/ratelimiter.js.map +1 -1
- package/dist/utils/useful-stuff/semaphore.d.ts +82 -82
- package/dist/utils/utilities.d.ts +113 -2
- package/dist/utils/utilities.js +21 -36
- package/dist/utils/warning.d.ts +25 -2
- package/dist/utils-Br3eenD1.js.map +1 -1
- package/dist/version.d.ts +8 -2
- package/dist/version.js +12 -2
- package/dist/version.js.map +1 -0
- package/dist/warning-CszH8HeS.js.map +1 -1
- package/package.json +5 -5
- package/dist/DefaultLogger-CgCFHJ4J.d.ts +0 -67
- package/dist/EventWorkerContext-CNPnDdUZ.d.ts +0 -43
- package/dist/ILogger-B-vsuZ1C.d.ts +0 -64
- package/dist/ILogger-B0q7p7L1.js +0 -0
- package/dist/Logger-BmHeS1Qd.d.ts +0 -37
- package/dist/MessageCommandParser-JmJWga4L.d.ts +0 -195
- package/dist/app-CrjK9yWX.js +0 -0
- package/dist/app-process-DCkz7RlU.js +0 -65
- package/dist/app-process-DCkz7RlU.js.map +0 -1
- package/dist/build-CaoHQPvm.js +0 -169
- package/dist/build-CaoHQPvm.js.map +0 -1
- package/dist/config-2prRz7_7.d.ts +0 -16
- package/dist/constants-Dy6P2veX.js +0 -27
- package/dist/dotprops-Dp98nRuu.js +0 -36
- package/dist/dotprops-Dp98nRuu.js.map +0 -1
- package/dist/error-codes-BuWUNGpX.d.ts +0 -54
- package/dist/feature-flags-BRF8OH7U.js +0 -160
- package/dist/feature-flags-BRF8OH7U.js.map +0 -1
- package/dist/resolve-file-url-B63_4Wm3.d.ts +0 -11
- package/dist/serde-CqUxaQUh.js +0 -97
- package/dist/serde-CqUxaQUh.js.map +0 -1
- package/dist/serde-DR1JEtRZ.d.ts +0 -12
- package/dist/utilities-BV9Osg71.d.ts +0 -113
- package/dist/utils-DGovVwyA.js +0 -23
- package/dist/utils-DGovVwyA.js.map +0 -1
- package/dist/version-BKZNlkbA.d.ts +0 -8
- package/dist/version-DGfGT6Tx.js +0 -18
- package/dist/version-DGfGT6Tx.js.map +0 -1
- package/dist/warning-BucG024D.d.ts +0 -25
- /package/dist/{index-B5F3AfVc.d.ts → index-BJfko-dP.d.ts} +0 -0
- /package/dist/{index-BLwMeReG.d.ts → index-CCggO_hw.d.ts} +0 -0
- /package/dist/{index-h64gcVNJ.d.ts → index-CLjpoGi1.d.ts} +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as EventInterceptorErrorHandler } from "./EventInterceptor-
|
|
2
|
-
import { a as OnSelectMenuKitSubmit, n as CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, o as SelectMenuKitPredicate, r as CommandKitSelectMenuBuilderOnEnd, t as CommandKitSelectMenuBuilderInteractionCollectorDispatch } from "./common-
|
|
1
|
+
import { r as EventInterceptorErrorHandler } from "./EventInterceptor-CZmWpS08.js";
|
|
2
|
+
import { a as OnSelectMenuKitSubmit, n as CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, o as SelectMenuKitPredicate, r as CommandKitSelectMenuBuilderOnEnd, t as CommandKitSelectMenuBuilderInteractionCollectorDispatch } from "./common-DnwCYit8.js";
|
|
3
3
|
import { UserSelectMenuBuilder, UserSelectMenuInteraction } from "discord.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/interactive/select-menu/UserSelectMenuKit.d.ts
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* Type for the handler function that is called when the user select menu is submitted.
|
|
9
8
|
*/
|
|
@@ -21,47 +20,47 @@ type UserSelectMenuKitPredicate = SelectMenuKitPredicate<UserSelectMenuInteracti
|
|
|
21
20
|
declare class UserSelectMenuKit extends UserSelectMenuBuilder {
|
|
22
21
|
#private;
|
|
23
22
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
* Sets the handler to run when the modal is submitted.
|
|
24
|
+
* @param handler - The handler to run when the modal is submitted.
|
|
25
|
+
* @param data - The context data for the interaction collector.
|
|
26
|
+
* @returns This instance of the modal builder.
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const modal = new UserSelectMenuKit()
|
|
30
|
+
* .setTitle('My Modal')
|
|
31
|
+
* .setCustomId('my-modal')
|
|
32
|
+
* .filter((interaction) => interaction.user.id === '1234567890')
|
|
33
|
+
* .onSelect(async (interaction) => {
|
|
34
|
+
* await interaction.reply('You submitted the modal!');
|
|
35
|
+
* })
|
|
36
|
+
* .addComponents(actionRow1, actionRow2);
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
40
39
|
onSelect(handler: CommandKitSelectMenuBuilderInteractionCollectorDispatch<UserSelectMenuInteraction, UserSelectMenuKit>, data?: CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData): this;
|
|
41
40
|
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
* Sets the handler to run when the interaction collector ends.
|
|
42
|
+
* @param handler - The handler to run when the interaction collector ends.
|
|
43
|
+
* @returns This instance of the modal builder.
|
|
44
|
+
*/
|
|
46
45
|
onEnd(handler: CommandKitSelectMenuBuilderOnEnd): this;
|
|
47
46
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
* Sets the handler to run when the interaction collector ends.
|
|
48
|
+
* @param handler - The handler to run when the interaction collector ends.
|
|
49
|
+
* @returns This instance of the modal builder.
|
|
50
|
+
*/
|
|
52
51
|
onError(handler: EventInterceptorErrorHandler): this;
|
|
53
52
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
* Sets a filter for the interaction collector.
|
|
54
|
+
* @param predicate - The filter to use for the interaction collector.
|
|
55
|
+
* @returns This instance of the modal builder.
|
|
56
|
+
*/
|
|
58
57
|
filter(predicate: SelectMenuKitPredicate<UserSelectMenuInteraction>): this;
|
|
59
58
|
private get customId();
|
|
60
59
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
* Disposes of the user select menu kit, cleaning up any collectors and handlers.
|
|
61
|
+
*/
|
|
63
62
|
dispose(): this;
|
|
64
63
|
}
|
|
65
64
|
//#endregion
|
|
66
65
|
export { UserSelectMenuKit as n, UserSelectMenuKitPredicate as r, OnUserSelectMenuKitSubmit as t };
|
|
67
|
-
//# sourceMappingURL=UserSelectMenuKit-
|
|
66
|
+
//# sourceMappingURL=UserSelectMenuKit-CCj4Fpkr.d.ts.map
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import { n as FilterFunction, t as AnalyticsEngine } from "../analytics-engine-
|
|
2
|
-
import "../EventInterceptor-Dk5Fwu-7.js";
|
|
3
|
-
import "../ButtonKit-B_HCmb3D.js";
|
|
4
|
-
import "../ModalKit-C8WkeoDl.js";
|
|
5
|
-
import "../element-CGY5MlNe.js";
|
|
6
|
-
import "../ActionRow-BtKd-ZRS.js";
|
|
7
|
-
import "../types-CQwntdAo.js";
|
|
8
|
-
import "../Button-DiXeKdXO.js";
|
|
9
|
-
import "../Modal-Dd5plFpo.js";
|
|
10
|
-
import "../common-DAxu7-kG.js";
|
|
11
|
-
import "../StringSelectMenuKit-BMA0rjhA.js";
|
|
12
|
-
import "../ChannelSelectMenuKit-DrsqXWiO.js";
|
|
13
|
-
import "../MentionableSelectMenuKit-DNan_JWk.js";
|
|
14
|
-
import "../UserSelectMenuKit-CRpFbwA9.js";
|
|
15
|
-
import "../RoleSelectMenuKit-FfGw3CSa.js";
|
|
16
|
-
import "../SelectMenu-DTWKY-JJ.js";
|
|
17
|
-
import "../container-0C3ZMb_f.js";
|
|
18
|
-
import "../file-CfUTZjJh.js";
|
|
19
|
-
import "../media-gallery-DalbYf1v.js";
|
|
20
|
-
import "../section-CszS2hd5.js";
|
|
21
|
-
import "../separator-DfRlVHne.js";
|
|
22
|
-
import "../text-display-DvydvE0D.js";
|
|
23
|
-
import "../label-CQD5hBwB.js";
|
|
24
|
-
import "../poll-Bo-skHvn.js";
|
|
25
|
-
import "../index-h64gcVNJ.js";
|
|
26
|
-
import "../index-BLwMeReG.js";
|
|
27
|
-
import "../MessageCommandParser-JmJWga4L.js";
|
|
28
|
-
import "../signals-DeafthGG.js";
|
|
29
|
-
import "../helpers-t6PiYdMb.js";
|
|
30
|
-
import "../CommandsRouter-Bdkx7SZS.js";
|
|
31
|
-
import "../EventsRouter-bILsV3Lh.js";
|
|
32
|
-
import "../index-B5F3AfVc.js";
|
|
33
|
-
import "../constants-CAMgxUyw.js";
|
|
1
|
+
import { n as FilterFunction, t as AnalyticsEngine } from "../analytics-engine-WQhXmx3H.js";
|
|
34
2
|
export { AnalyticsEngine, FilterFunction };
|
|
@@ -1,41 +1,26 @@
|
|
|
1
|
-
require('../colors-
|
|
2
|
-
require('../ActionRow-
|
|
3
|
-
require('../
|
|
4
|
-
|
|
5
|
-
require('../
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
8
|
-
require('../
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../
|
|
12
|
-
require('../separator-CsoRs1aX.js');
|
|
13
|
-
require('../text-display-C0oSz5y0.js');
|
|
14
|
-
require('../label-CCHbfQW8.js');
|
|
15
|
-
require('../poll-6lSMoohv.js');
|
|
1
|
+
require('../colors-Csc0X4QJ.js');
|
|
2
|
+
require('../ActionRow-CSN_UKmM.js');
|
|
3
|
+
const require_commandkit = require('../commandkit-SIjTLD2R.js');
|
|
4
|
+
require('../container-DCPljKVH.js');
|
|
5
|
+
require('../file-Ca1kpEtE.js');
|
|
6
|
+
require('../media-gallery-u3gjX7yD.js');
|
|
7
|
+
require('../section-BC8LF-B2.js');
|
|
8
|
+
require('../separator-BUTiW7uz.js');
|
|
9
|
+
require('../text-display-DANahMN3.js');
|
|
10
|
+
require('../label-B6vXvwLM.js');
|
|
11
|
+
require('../poll-CFe8yvoJ.js');
|
|
16
12
|
require('../display-WDb9wMCv.js');
|
|
17
|
-
require('../element-DibzzA5L.js');
|
|
18
|
-
require('../types-TC4g3w91.js');
|
|
19
|
-
require('../EventInterceptor-BWoEJMHZ.js');
|
|
20
13
|
require('../constants-CxkFFZ7p.js');
|
|
21
|
-
require('../
|
|
22
|
-
require('../
|
|
23
|
-
require('../
|
|
24
|
-
require('../
|
|
25
|
-
require('../
|
|
26
|
-
require('../
|
|
27
|
-
require('../
|
|
28
|
-
require('../
|
|
29
|
-
require('../constants-BqrEmoih.js');
|
|
30
|
-
require('../EventWorkerContext-yTm5vI3b.js');
|
|
31
|
-
require('../signals-C2Ly0wDt.js');
|
|
32
|
-
require('../helpers-0FUA42u8.js');
|
|
33
|
-
require('../MessageCommandParser-CD7ynlBO.js');
|
|
34
|
-
require('../CommandsRouter-NAgpWzTJ.js');
|
|
35
|
-
require('../EventsRouter-D4_vBMhl.js');
|
|
14
|
+
require('../types-package-CsTNfvv2.js');
|
|
15
|
+
require('../constants-Cw8VjCVz.js');
|
|
16
|
+
require('../EventWorkerContext-Dfhgv329.js');
|
|
17
|
+
require('../signals-B8z1wJ6W.js');
|
|
18
|
+
require('../helpers-Btx1FSZx.js');
|
|
19
|
+
require('../MessageCommandParser-Bs9fimmd.js');
|
|
20
|
+
require('../CommandsRouter-C_HLsrGX.js');
|
|
21
|
+
require('../EventsRouter-DZYIha6m.js');
|
|
36
22
|
require('../router-BvamdzoF.js');
|
|
37
|
-
require('../common-
|
|
38
|
-
require('../
|
|
39
|
-
require('../store-GrsErvli.js');
|
|
23
|
+
require('../common-DSRs_mfw.js');
|
|
24
|
+
require('../store-D8r_hryO.js');
|
|
40
25
|
|
|
41
26
|
exports.AnalyticsEngine = require_commandkit.AnalyticsEngine;
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import { a as IdentifyEvent, i as AnalyticsProvider, r as AnalyticsEvent } from "../analytics-engine-
|
|
2
|
-
import "../EventInterceptor-Dk5Fwu-7.js";
|
|
3
|
-
import "../ButtonKit-B_HCmb3D.js";
|
|
4
|
-
import "../ModalKit-C8WkeoDl.js";
|
|
5
|
-
import "../element-CGY5MlNe.js";
|
|
6
|
-
import "../ActionRow-BtKd-ZRS.js";
|
|
7
|
-
import "../types-CQwntdAo.js";
|
|
8
|
-
import "../Button-DiXeKdXO.js";
|
|
9
|
-
import "../Modal-Dd5plFpo.js";
|
|
10
|
-
import "../common-DAxu7-kG.js";
|
|
11
|
-
import "../StringSelectMenuKit-BMA0rjhA.js";
|
|
12
|
-
import "../ChannelSelectMenuKit-DrsqXWiO.js";
|
|
13
|
-
import "../MentionableSelectMenuKit-DNan_JWk.js";
|
|
14
|
-
import "../UserSelectMenuKit-CRpFbwA9.js";
|
|
15
|
-
import "../RoleSelectMenuKit-FfGw3CSa.js";
|
|
16
|
-
import "../SelectMenu-DTWKY-JJ.js";
|
|
17
|
-
import "../container-0C3ZMb_f.js";
|
|
18
|
-
import "../file-CfUTZjJh.js";
|
|
19
|
-
import "../media-gallery-DalbYf1v.js";
|
|
20
|
-
import "../section-CszS2hd5.js";
|
|
21
|
-
import "../separator-DfRlVHne.js";
|
|
22
|
-
import "../text-display-DvydvE0D.js";
|
|
23
|
-
import "../label-CQD5hBwB.js";
|
|
24
|
-
import "../poll-Bo-skHvn.js";
|
|
25
|
-
import "../index-h64gcVNJ.js";
|
|
26
|
-
import "../index-BLwMeReG.js";
|
|
27
|
-
import "../MessageCommandParser-JmJWga4L.js";
|
|
28
|
-
import "../signals-DeafthGG.js";
|
|
29
|
-
import "../helpers-t6PiYdMb.js";
|
|
30
|
-
import "../CommandsRouter-Bdkx7SZS.js";
|
|
31
|
-
import "../EventsRouter-bILsV3Lh.js";
|
|
32
|
-
import "../index-B5F3AfVc.js";
|
|
33
|
-
import "../constants-CAMgxUyw.js";
|
|
1
|
+
import { a as IdentifyEvent, i as AnalyticsProvider, r as AnalyticsEvent } from "../analytics-engine-WQhXmx3H.js";
|
|
34
2
|
export { AnalyticsEvent, AnalyticsProvider, IdentifyEvent };
|
package/dist/analytics/utils.js
CHANGED
|
@@ -1,42 +1,27 @@
|
|
|
1
|
-
require('../colors-
|
|
2
|
-
require('../ActionRow-
|
|
3
|
-
require('../
|
|
4
|
-
|
|
5
|
-
require('../
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
8
|
-
require('../
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../
|
|
12
|
-
require('../separator-CsoRs1aX.js');
|
|
13
|
-
require('../text-display-C0oSz5y0.js');
|
|
14
|
-
require('../label-CCHbfQW8.js');
|
|
15
|
-
require('../poll-6lSMoohv.js');
|
|
1
|
+
require('../colors-Csc0X4QJ.js');
|
|
2
|
+
require('../ActionRow-CSN_UKmM.js');
|
|
3
|
+
const require_commandkit = require('../commandkit-SIjTLD2R.js');
|
|
4
|
+
require('../container-DCPljKVH.js');
|
|
5
|
+
require('../file-Ca1kpEtE.js');
|
|
6
|
+
require('../media-gallery-u3gjX7yD.js');
|
|
7
|
+
require('../section-BC8LF-B2.js');
|
|
8
|
+
require('../separator-BUTiW7uz.js');
|
|
9
|
+
require('../text-display-DANahMN3.js');
|
|
10
|
+
require('../label-B6vXvwLM.js');
|
|
11
|
+
require('../poll-CFe8yvoJ.js');
|
|
16
12
|
require('../display-WDb9wMCv.js');
|
|
17
|
-
require('../element-DibzzA5L.js');
|
|
18
|
-
require('../types-TC4g3w91.js');
|
|
19
|
-
require('../EventInterceptor-BWoEJMHZ.js');
|
|
20
13
|
require('../constants-CxkFFZ7p.js');
|
|
21
|
-
require('../
|
|
22
|
-
require('../
|
|
23
|
-
require('../
|
|
24
|
-
require('../
|
|
25
|
-
require('../
|
|
26
|
-
require('../
|
|
27
|
-
require('../
|
|
28
|
-
require('../
|
|
29
|
-
require('../constants-BqrEmoih.js');
|
|
30
|
-
require('../EventWorkerContext-yTm5vI3b.js');
|
|
31
|
-
require('../signals-C2Ly0wDt.js');
|
|
32
|
-
require('../helpers-0FUA42u8.js');
|
|
33
|
-
require('../MessageCommandParser-CD7ynlBO.js');
|
|
34
|
-
require('../CommandsRouter-NAgpWzTJ.js');
|
|
35
|
-
require('../EventsRouter-D4_vBMhl.js');
|
|
14
|
+
require('../types-package-CsTNfvv2.js');
|
|
15
|
+
require('../constants-Cw8VjCVz.js');
|
|
16
|
+
require('../EventWorkerContext-Dfhgv329.js');
|
|
17
|
+
require('../signals-B8z1wJ6W.js');
|
|
18
|
+
require('../helpers-Btx1FSZx.js');
|
|
19
|
+
require('../MessageCommandParser-Bs9fimmd.js');
|
|
20
|
+
require('../CommandsRouter-C_HLsrGX.js');
|
|
21
|
+
require('../EventsRouter-DZYIha6m.js');
|
|
36
22
|
require('../router-BvamdzoF.js');
|
|
37
|
-
require('../common-
|
|
38
|
-
require('../
|
|
39
|
-
require('../store-GrsErvli.js');
|
|
23
|
+
require('../common-DSRs_mfw.js');
|
|
24
|
+
require('../store-D8r_hryO.js');
|
|
40
25
|
|
|
41
26
|
exports.getDoNotTrack = require_commandkit.getDoNotTrack;
|
|
42
27
|
exports.noAnalytics = require_commandkit.noAnalytics;
|