commandkit 1.2.0-rc.10 → 1.2.0-rc.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/COPYING.md +684 -0
- package/dist/{ActionRow-DKnFVDME.d.ts → ActionRow-B-7n9MMr.d.ts} +3 -3
- package/dist/{ActionRow-CbdGFWMT.js → ActionRow-uJxU4UGo.js} +2 -2
- package/dist/ActionRow-uJxU4UGo.js.map +1 -0
- package/dist/{Button-4ZUXdA56.d.ts → Button-RMp-w8HV.d.ts} +4 -4
- package/dist/{ButtonKit-C7r7RPNf.d.ts → ButtonKit-9k4yfhYD.d.ts} +2 -2
- package/dist/{ChannelSelectMenuKit-BrXvBYNH.d.ts → ChannelSelectMenuKit-CsYgIyKe.d.ts} +3 -3
- package/dist/{CommandKitEventsChannel-BtRzr3Tz.js → CommandKitEventsChannel-2l9Za-le.js} +1 -1
- package/dist/{CommandKitEventsChannel-BtRzr3Tz.js.map → CommandKitEventsChannel-2l9Za-le.js.map} +1 -1
- package/dist/{CommandsRouter-CoOA7hkf.d.ts → CommandsRouter-CBdsqaWK.d.ts} +1 -1
- package/dist/{CommandsRouter-Dmzw-ikm.js → CommandsRouter-CWMipIis.js} +1 -1
- package/dist/{CommandsRouter-Dmzw-ikm.js.map → CommandsRouter-CWMipIis.js.map} +1 -1
- package/dist/{CompilerPlugin-M8r3yNAl.js → CompilerPlugin-CZ4412Zm.js} +2 -2
- package/dist/{CompilerPlugin-M8r3yNAl.js.map → CompilerPlugin-CZ4412Zm.js.map} +1 -1
- package/dist/{DefaultLogger-XCOl5nLd.d.ts → DefaultLogger-CHMVsizQ.d.ts} +2 -2
- package/dist/{EventInterceptor-CQEXyUTp.js → EventInterceptor-BWoEJMHZ.js} +1 -1
- package/dist/{EventInterceptor-CQEXyUTp.js.map → EventInterceptor-BWoEJMHZ.js.map} +1 -1
- package/dist/{EventWorkerContext-DNWfsE1t.d.ts → EventWorkerContext-CLhZRHhH.d.ts} +3 -3
- package/dist/{EventWorkerContext-Dq29tieI.js → EventWorkerContext-D_9q1Bm2.js} +1 -1
- package/dist/EventWorkerContext-D_9q1Bm2.js.map +1 -0
- package/dist/{EventsRouter-BacqK6z3.d.ts → EventsRouter-4pT6vj-U.d.ts} +1 -1
- package/dist/{EventsRouter-3Gygh-km.js → EventsRouter-C04XqRKf.js} +1 -1
- package/dist/{EventsRouter-3Gygh-km.js.map → EventsRouter-C04XqRKf.js.map} +1 -1
- package/dist/{ILogger-BW8GM-YZ.d.ts → ILogger-BQ2ew4zR.d.ts} +1 -1
- package/dist/{Logger-DyfkPk7u.d.ts → Logger-DyV7oli4.d.ts} +2 -2
- package/dist/{MentionableSelectMenuKit-CPTKqx-O.d.ts → MentionableSelectMenuKit-CO9phWMf.d.ts} +3 -3
- package/dist/{MessageCommandParser-Dl0xxtdr.js → MessageCommandParser-CKh-tM97.js} +52 -53
- package/dist/{MessageCommandParser-Dl0xxtdr.js.map → MessageCommandParser-CKh-tM97.js.map} +1 -1
- package/dist/{MessageCommandParser-BsGMOTDo.d.ts → MessageCommandParser-DEOl_ifb.d.ts} +1 -1
- package/dist/{Modal-C6UTRdYQ.d.ts → Modal-Calb46SJ.d.ts} +11 -8
- package/dist/{ModalKit-Btz58KYn.d.ts → ModalKit-Cq2ns6jv.d.ts} +2 -2
- package/dist/{PluginCommon-Cvl5yYM_.js → PluginCommon-CPWV5xuX.js} +1 -1
- package/dist/{PluginCommon-Cvl5yYM_.js.map → PluginCommon-CPWV5xuX.js.map} +1 -1
- package/dist/{RoleSelectMenuKit-C26lU3sN.d.ts → RoleSelectMenuKit-DvBxzpWh.d.ts} +3 -3
- package/dist/{RuntimePlugin-BUecuBIU.js → RuntimePlugin-COeXe8rP.js} +2 -2
- package/dist/{RuntimePlugin-BUecuBIU.js.map → RuntimePlugin-COeXe8rP.js.map} +1 -1
- package/dist/{SelectMenu-Diy87_ba.d.ts → SelectMenu-VcDhOGoJ.d.ts} +8 -8
- package/dist/{StringSelectMenuKit-Bhs8U6WI.d.ts → StringSelectMenuKit-CJ0MzUZJ.d.ts} +3 -3
- package/dist/{UserSelectMenuKit-CfqFJdxz.d.ts → UserSelectMenuKit-C_J-9RJs.d.ts} +3 -3
- package/dist/analytics/analytics-engine.d.ts +31 -29
- package/dist/analytics/analytics-engine.js +37 -34
- package/dist/analytics/analytics-provider.d.ts +31 -29
- package/dist/analytics/constants.js +1 -1
- package/dist/analytics/utils.js +37 -34
- package/dist/{analytics-engine-jVeSoxEk.d.ts → analytics-engine-NOInIjv8.d.ts} +30 -24
- package/dist/app/commands/AppCommandRunner.d.ts +31 -29
- package/dist/app/commands/AppCommandRunner.js +37 -34
- package/dist/app/commands/Context.d.ts +31 -29
- package/dist/app/commands/Context.js +37 -34
- package/dist/app/commands/MessageCommandParser.d.ts +1 -1
- package/dist/app/commands/MessageCommandParser.js +1 -1
- package/dist/app/commands/helpers.d.ts +1 -1
- package/dist/app/commands/helpers.js +1 -1
- package/dist/app/events/EventWorkerContext.d.ts +32 -30
- package/dist/app/events/EventWorkerContext.js +1 -1
- package/dist/app/handlers/AppCommandHandler.d.ts +31 -29
- package/dist/app/handlers/AppCommandHandler.js +37 -34
- package/dist/app/handlers/AppEventsHandler.d.ts +31 -29
- package/dist/app/handlers/AppEventsHandler.js +37 -34
- package/dist/app/index.d.ts +31 -29
- package/dist/app/index.js +38 -35
- package/dist/app/interrupt/signals.d.ts +1 -1
- package/dist/app/interrupt/signals.js +2 -2
- package/dist/app/middlewares/permissions.d.ts +31 -29
- package/dist/app/middlewares/permissions.js +37 -34
- package/dist/app/register/CommandRegistrar.d.ts +31 -29
- package/dist/app/register/CommandRegistrar.js +37 -34
- 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 +3 -3
- package/dist/app/router/index.js +3 -3
- package/dist/{app-process-cj2vF12T.js → app-process-AQ3Cbf6j.js} +4 -4
- package/dist/app-process-AQ3Cbf6j.js.map +1 -0
- package/dist/{build-DB_aX5xt.js → build-BYMHMOl_.js} +11 -12
- package/dist/{build-DB_aX5xt.js.map → build-BYMHMOl_.js.map} +1 -1
- package/dist/cli/app-process.js +5 -5
- package/dist/cli/build.d.ts +31 -29
- package/dist/cli/build.js +40 -37
- package/dist/cli/common.d.ts +31 -29
- package/dist/cli/common.js +3 -3
- package/dist/cli/development.js +41 -38
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.js +1 -1
- package/dist/cli/generators.js +3 -3
- package/dist/cli/information.js +2 -2
- package/dist/cli/init.d.ts +1 -1
- package/dist/cli/init.js +38 -35
- package/dist/cli/production.js +43 -41
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.js +4 -4
- package/dist/cli/utils.js +1 -1
- package/dist/{commandkit-lhbfAyX9.js → commandkit-DabqpQ6v.js} +110 -69
- package/dist/commandkit-DabqpQ6v.js.map +1 -0
- package/dist/commandkit.d.ts +31 -29
- package/dist/commandkit.js +37 -34
- package/dist/{common-vnMIelAE.js → common-CCx-FJI4.js} +3 -3
- package/dist/common-CCx-FJI4.js.map +1 -0
- package/dist/{common-DOCvOVC4.d.ts → common-DHTTnX82.d.ts} +2 -2
- package/dist/{common-CrqwC-sx.js → common-fIO6fqGZ.js} +4 -5
- package/dist/{common-CrqwC-sx.js.map → common-fIO6fqGZ.js.map} +1 -1
- package/dist/components/common/EventInterceptor.js +1 -1
- package/dist/components/common/element.d.ts +3 -3
- package/dist/components/common/element.js +1 -1
- package/dist/components/common/types.js +1 -1
- package/dist/components/{v2 → display}/common.d.ts +1 -1
- package/dist/components/display/common.js +3 -0
- package/dist/components/display/container.d.ts +2 -0
- package/dist/components/display/container.js +4 -0
- package/dist/components/display/file.d.ts +2 -0
- package/dist/components/display/file.js +3 -0
- package/dist/components/display/index.d.ts +10 -0
- package/dist/components/display/index.js +23 -0
- package/dist/components/display/label.d.ts +2 -0
- package/dist/components/display/label.js +4 -0
- package/dist/components/{v2 → display}/media-gallery.d.ts +1 -1
- package/dist/components/{v2 → display}/media-gallery.js +2 -2
- package/dist/components/display/poll.d.ts +2 -0
- package/dist/components/display/poll.js +5 -0
- package/dist/components/display/section.d.ts +2 -0
- package/dist/components/display/section.js +5 -0
- package/dist/components/display/separator.d.ts +2 -0
- package/dist/components/display/separator.js +3 -0
- package/dist/components/display/text-display.d.ts +2 -0
- package/dist/components/display/text-display.js +3 -0
- package/dist/components/index.d.ts +25 -23
- package/dist/components/index.js +41 -35
- package/dist/components/interactive/action-row/ActionRow.d.ts +6 -0
- package/dist/components/interactive/action-row/ActionRow.js +3 -0
- package/dist/components/interactive/button/Button.d.ts +7 -0
- package/dist/components/interactive/button/Button.js +41 -0
- package/dist/components/{v1 → interactive}/button/ButtonKit.d.ts +1 -1
- package/dist/components/interactive/button/ButtonKit.js +41 -0
- package/dist/components/{v1 → interactive}/modal/Modal.d.ts +4 -4
- package/dist/components/interactive/modal/Modal.js +44 -0
- package/dist/components/{v1 → interactive}/modal/ModalKit.d.ts +1 -1
- package/dist/components/interactive/modal/ModalKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/ChannelSelectMenuKit.d.ts +2 -2
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/MentionableSelectMenuKit.d.ts +2 -2
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/RoleSelectMenuKit.d.ts +2 -2
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/SelectMenu.d.ts +7 -7
- package/dist/components/interactive/select-menu/SelectMenu.js +46 -0
- package/dist/components/{v1 → interactive}/select-menu/StringSelectMenuKit.d.ts +2 -2
- package/dist/components/interactive/select-menu/StringSelectMenuKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/UserSelectMenuKit.d.ts +2 -2
- package/dist/components/interactive/select-menu/UserSelectMenuKit.js +41 -0
- package/dist/components/{v1 → interactive}/select-menu/common.d.ts +1 -1
- package/dist/components/interactive/select-menu/common.js +1 -0
- package/dist/config/config.d.ts +32 -30
- package/dist/config/config.js +37 -34
- package/dist/config/default.d.ts +31 -29
- package/dist/config/default.js +37 -34
- package/dist/config/loader.d.ts +31 -29
- package/dist/config/loader.js +37 -34
- package/dist/config/types.d.ts +31 -29
- package/dist/config/utils.d.ts +31 -29
- package/dist/config/utils.js +1 -1
- package/dist/{config-YAQdMBqh.d.ts → config-DbgXt6mf.d.ts} +2 -2
- package/dist/{constants-4oxxvaJA.js → constants-AH-9qJ89.js} +1 -1
- package/dist/{constants-4oxxvaJA.js.map → constants-AH-9qJ89.js.map} +1 -1
- package/dist/{constants-B5_Ta7PR.js → constants-BMWH2YUr.js} +1 -1
- package/dist/{constants-B5_Ta7PR.js.map → constants-BMWH2YUr.js.map} +1 -1
- package/dist/{constants-D8PMA9on.d.ts → constants-CCFSX2NG.d.ts} +1 -1
- package/dist/{constants-BOOGN85p.js → constants-D0dawKxO.js} +1 -1
- package/dist/{constants-BOOGN85p.js.map → constants-D0dawKxO.js.map} +1 -1
- package/dist/{constants-MKu-Q1jh.d.ts → constants-DqnSDZ6l.d.ts} +1 -1
- package/dist/{container-DHBELeJ3.d.ts → container-1ltvkavy.d.ts} +2 -2
- package/dist/{container-C6GtfAPW.js → container-DC0eQigs.js} +3 -3
- package/dist/container-DC0eQigs.js.map +1 -0
- package/dist/context/async-context.d.ts +31 -29
- package/dist/context/async-context.js +37 -34
- package/dist/context/environment.d.ts +31 -29
- package/dist/context/environment.js +37 -34
- package/dist/{dotprops-tnhpnszJ.js → dotprops-DvJUE8fw.js} +1 -1
- package/dist/{dotprops-tnhpnszJ.js.map → dotprops-DvJUE8fw.js.map} +1 -1
- package/dist/{element-CAXu1XtK.d.ts → element-CvNhvLZ8.d.ts} +3 -3
- package/dist/{element-Bak9llw_.js → element-DibzzA5L.js} +1 -1
- package/dist/element-DibzzA5L.js.map +1 -0
- package/dist/{env-_68PRRoA.js → env-8yY-6pbC.js} +1 -1
- package/dist/{env-_68PRRoA.js.map → env-8yY-6pbC.js.map} +1 -1
- package/dist/{error-codes-B4TyW4Ct.d.ts → error-codes-BiNRVMiV.d.ts} +1 -1
- package/dist/events/CommandKitEventsChannel.d.ts +31 -29
- package/dist/events/CommandKitEventsChannel.js +1 -1
- package/dist/{feature-flags-DnnKABHf.js → feature-flags-BoBV4Dsj.js} +4 -4
- package/dist/feature-flags-BoBV4Dsj.js.map +1 -0
- package/dist/{file-DVOELoNv.js → file-DAUOZYhC.js} +2 -2
- package/dist/file-DAUOZYhC.js.map +1 -0
- package/dist/{file-DTrr-p09.d.ts → file-n2yl_-vl.d.ts} +2 -2
- package/dist/flags/FlagProvider.d.ts +31 -29
- package/dist/flags/feature-flags.d.ts +31 -29
- package/dist/flags/feature-flags.js +38 -35
- package/dist/flags/store.d.ts +31 -29
- package/dist/flags/store.js +1 -1
- package/dist/{helpers-Dl8wW6aO.js → helpers-D2_1jih6.js} +1 -1
- package/dist/{helpers-Dl8wW6aO.js.map → helpers-D2_1jih6.js.map} +1 -1
- package/dist/{helpers-Wg6P5fRQ.d.ts → helpers-hDh_tMb6.d.ts} +1 -1
- package/dist/index.d.ts +42 -40
- package/dist/index.js +46 -39
- package/dist/index.js.map +1 -1
- package/dist/{init-CY7OJPF-.js → init-CBb0StSB.js} +11 -15
- package/dist/{init-CY7OJPF-.js.map → init-CBb0StSB.js.map} +1 -1
- package/dist/{init-DOr-Y3GQ.d.ts → init-DSYckXwx.d.ts} +1 -1
- package/dist/kv/constants.d.ts +1 -1
- package/dist/kv/constants.js +1 -1
- package/dist/kv/dotprops.js +1 -1
- package/dist/kv/kv.d.ts +2 -2
- package/dist/kv/kv.js +5 -7
- package/dist/kv/kv.js.map +1 -1
- package/dist/kv/serde.d.ts +2 -2
- package/dist/kv/serde.js +2 -2
- package/dist/label-D-uJWRZ0.js +36 -0
- package/dist/label-D-uJWRZ0.js.map +1 -0
- package/dist/label-D0KXeBhk.d.ts +29 -0
- package/dist/logger/DefaultLogger.d.ts +2 -2
- package/dist/logger/DefaultLogger.js +37 -34
- package/dist/logger/ILogger.d.ts +1 -1
- package/dist/logger/ILogger.js +1 -1
- package/dist/logger/Logger.d.ts +2 -2
- package/dist/logger/Logger.js +37 -34
- package/dist/logger/NoopLogger.d.ts +1 -1
- package/dist/{media-gallery-zDtJ3kxb.js → media-gallery-BLhwe5lO.js} +3 -3
- package/dist/media-gallery-BLhwe5lO.js.map +1 -0
- package/dist/{media-gallery-BMsXSot3.d.ts → media-gallery-BzG70ued.d.ts} +2 -2
- package/dist/plugins/CompilerPlugin.d.ts +31 -29
- package/dist/plugins/CompilerPlugin.js +2 -2
- package/dist/plugins/PluginCommon.d.ts +31 -29
- package/dist/plugins/PluginCommon.js +1 -1
- package/dist/plugins/RuntimePlugin.d.ts +31 -29
- package/dist/plugins/RuntimePlugin.js +2 -2
- package/dist/plugins/index.d.ts +31 -29
- package/dist/plugins/index.js +37 -34
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +31 -29
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +37 -34
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +31 -29
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +37 -34
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +31 -29
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +37 -34
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +31 -29
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +37 -34
- package/dist/plugins/plugin-runtime/runtime.d.ts +31 -29
- package/dist/plugins/plugin-runtime/runtime.js +1 -1
- package/dist/plugins/types.d.ts +31 -29
- package/dist/plugins/types.js +1 -1
- package/dist/poll-Bc6rjeUS.js +101 -0
- package/dist/poll-Bc6rjeUS.js.map +1 -0
- package/dist/poll-HnaJcB0o.d.ts +89 -0
- package/dist/{resolve-file-url-ChIyw-Vf.js → resolve-file-url-CJoD0FAn.js} +1 -1
- package/dist/{resolve-file-url-ChIyw-Vf.js.map → resolve-file-url-CJoD0FAn.js.map} +1 -1
- package/dist/{resolve-file-url-yO8bUxok.d.ts → resolve-file-url-DFtR8jRR.d.ts} +1 -1
- package/dist/{section-DlvrDoJK.js → section-BMcHN97i.js} +3 -3
- package/dist/section-BMcHN97i.js.map +1 -0
- package/dist/{section-Dh_FhPeC.d.ts → section-BOaJKXiy.d.ts} +2 -2
- package/dist/{separator-DL6QH5H1.js → separator-C___2K-f.js} +2 -2
- package/dist/separator-C___2K-f.js.map +1 -0
- package/dist/{separator-CMf6Cyy5.d.ts → separator-Cb7-6T6N.d.ts} +2 -2
- package/dist/{serde-BYaKrsOV.d.ts → serde-D4H23l2F.d.ts} +2 -2
- package/dist/{serde-Cc8iUa9J.js → serde-DHHwhltz.js} +2 -2
- package/dist/{serde-Cc8iUa9J.js.map → serde-DHHwhltz.js.map} +1 -1
- package/dist/{signals-ChFMD7mB.js → signals-Cnqe9dFV.js} +2 -2
- package/dist/{signals-ChFMD7mB.js.map → signals-Cnqe9dFV.js.map} +1 -1
- package/dist/{signals-SHg7J1U_.d.ts → signals-DBS60vTo.d.ts} +1 -1
- package/dist/{store-CM6pWVZh.js → store-ZwL2gN6a.js} +1 -1
- package/dist/{store-CM6pWVZh.js.map → store-ZwL2gN6a.js.map} +1 -1
- package/dist/{text-display-DRw3r_lK.d.ts → text-display-B_hpz50P.d.ts} +2 -2
- package/dist/{text-display-DbMumig_.js → text-display-BtQR88kY.js} +2 -2
- package/dist/text-display-BtQR88kY.js.map +1 -0
- package/dist/{type-checker-ocNSZh0W.js → type-checker-CEFHoQoV.js} +2 -2
- package/dist/{type-checker-ocNSZh0W.js.map → type-checker-CEFHoQoV.js.map} +1 -1
- package/dist/{types-package-BWArjyBF.js → types-package-D11rQXLs.js} +3 -4
- package/dist/{types-package-BWArjyBF.js.map → types-package-D11rQXLs.js.map} +1 -1
- package/dist/types.d.ts +32 -30
- package/dist/{utilities-DtdPlr4c.d.ts → utilities-CQUaua43.d.ts} +1 -1
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/dev-hooks.d.ts +31 -29
- package/dist/utils/dev-hooks.js +37 -34
- package/dist/utils/error-codes.d.ts +1 -1
- package/dist/utils/resolve-file-url.d.ts +1 -1
- package/dist/utils/resolve-file-url.js +1 -1
- package/dist/utils/types-package.js +2 -2
- package/dist/utils/useful-stuff/async-queue.js +1 -2
- package/dist/utils/useful-stuff/async-queue.js.map +1 -1
- package/dist/utils/useful-stuff/ratelimiter.js +1 -2
- package/dist/utils/useful-stuff/ratelimiter.js.map +1 -1
- package/dist/utils/useful-stuff/semaphore.js +1 -3
- package/dist/utils/useful-stuff/semaphore.js.map +1 -1
- package/dist/utils/utilities.d.ts +1 -1
- package/dist/utils/utilities.js +37 -34
- package/dist/utils/{warn-unstable.d.ts → warning.d.ts} +12 -3
- package/dist/utils/warning.js +5 -0
- package/dist/{utils-DCSnVAZ6.js → utils-Bf-3Eevb.js} +1 -1
- package/dist/{utils-DCSnVAZ6.js.map → utils-Bf-3Eevb.js.map} +1 -1
- package/dist/{utils-KsNof0Xz.js → utils-Br3eenD1.js} +1 -1
- package/dist/{utils-KsNof0Xz.js.map → utils-Br3eenD1.js.map} +1 -1
- package/dist/{version-BCILNeQb.js → version-DC4j2ZwU.js} +2 -2
- package/dist/{version-BCILNeQb.js.map → version-DC4j2ZwU.js.map} +1 -1
- package/dist/{version-CtJtBJXI.d.ts → version-DggMfP_1.d.ts} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/warning-CszH8HeS.js +53 -0
- package/dist/warning-CszH8HeS.js.map +1 -0
- package/package.json +4 -4
- package/LICENSE +0 -5
- package/dist/ActionRow-CbdGFWMT.js.map +0 -1
- package/dist/EventWorkerContext-Dq29tieI.js.map +0 -1
- package/dist/app-process-cj2vF12T.js.map +0 -1
- package/dist/commandkit-lhbfAyX9.js.map +0 -1
- package/dist/common-vnMIelAE.js.map +0 -1
- package/dist/components/v1/action-row/ActionRow.d.ts +0 -6
- package/dist/components/v1/action-row/ActionRow.js +0 -3
- package/dist/components/v1/button/Button.d.ts +0 -7
- package/dist/components/v1/button/Button.js +0 -38
- package/dist/components/v1/button/ButtonKit.js +0 -38
- package/dist/components/v1/modal/Modal.js +0 -41
- package/dist/components/v1/modal/ModalKit.js +0 -38
- package/dist/components/v1/select-menu/ChannelSelectMenuKit.js +0 -38
- package/dist/components/v1/select-menu/MentionableSelectMenuKit.js +0 -38
- package/dist/components/v1/select-menu/RoleSelectMenuKit.js +0 -38
- package/dist/components/v1/select-menu/SelectMenu.js +0 -43
- package/dist/components/v1/select-menu/StringSelectMenuKit.js +0 -38
- package/dist/components/v1/select-menu/UserSelectMenuKit.js +0 -38
- package/dist/components/v1/select-menu/common.js +0 -1
- package/dist/components/v2/common.js +0 -3
- package/dist/components/v2/container.d.ts +0 -2
- package/dist/components/v2/container.js +0 -4
- package/dist/components/v2/file.d.ts +0 -2
- package/dist/components/v2/file.js +0 -3
- package/dist/components/v2/index.d.ts +0 -8
- package/dist/components/v2/index.js +0 -17
- package/dist/components/v2/section.d.ts +0 -2
- package/dist/components/v2/section.js +0 -5
- package/dist/components/v2/separator.d.ts +0 -2
- package/dist/components/v2/separator.js +0 -3
- package/dist/components/v2/text-display.d.ts +0 -2
- package/dist/components/v2/text-display.js +0 -3
- package/dist/container-C6GtfAPW.js.map +0 -1
- package/dist/element-Bak9llw_.js.map +0 -1
- package/dist/feature-flags-DnnKABHf.js.map +0 -1
- package/dist/file-DVOELoNv.js.map +0 -1
- package/dist/media-gallery-zDtJ3kxb.js.map +0 -1
- package/dist/section-DlvrDoJK.js.map +0 -1
- package/dist/separator-DL6QH5H1.js.map +0 -1
- package/dist/text-display-DbMumig_.js.map +0 -1
- package/dist/utils/warn-unstable.js +0 -26
- package/dist/utils/warn-unstable.js.map +0 -1
- /package/dist/{ILogger-dQ7Y9X1f.js → ILogger-B0q7p7L1.js} +0 -0
- /package/dist/{app-HN1cVg8J.js → app-CrjK9yWX.js} +0 -0
- /package/dist/{common-CcfjYnPG.js → common-0Iw8ZeM6.js} +0 -0
- /package/dist/{router-Dn35v30f.js → display-WDb9wMCv.js} +0 -0
- /package/dist/{index-CUPkUUOR.d.ts → index-B5F3AfVc.d.ts} +0 -0
- /package/dist/{index-Dw5cCt-A.d.ts → index-BLwMeReG.d.ts} +0 -0
- /package/dist/{index-E7Wvm5uX.d.ts → index-h64gcVNJ.d.ts} +0 -0
- /package/dist/{runtime-DB9CiPfe.js → router-BvamdzoF.js} +0 -0
- /package/dist/{types-CUZOquUl.js → runtime-Skt5NiOc.js} +0 -0
- /package/dist/{types-q0Nm882H.js → types-Cdh4uaFR.js} +0 -0
- /package/dist/{v2-DofkPKHs.js → types-TC4g3w91.js} +0 -0
|
@@ -192,4 +192,4 @@ declare class MessageCommandOptions {
|
|
|
192
192
|
}
|
|
193
193
|
//#endregion
|
|
194
194
|
export { MessageCommandOptions, MessageCommandOptionsSchema, MessageCommandParser, ParsedMessageCommand };
|
|
195
|
-
//# sourceMappingURL=MessageCommandParser-
|
|
195
|
+
//# sourceMappingURL=MessageCommandParser-DEOl_ifb.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventInterceptorErrorHandler } from "./EventInterceptor-x-R2qshQ.js";
|
|
2
|
-
import { CommandKitModalBuilderInteractionCollectorDispatchContextData, OnModalKitEnd, OnModalKitSubmit } from "./ModalKit-
|
|
3
|
-
import { CommandKitElement } from "./element-
|
|
2
|
+
import { CommandKitModalBuilderInteractionCollectorDispatchContextData, ModalKit, OnModalKitEnd, OnModalKitSubmit } from "./ModalKit-Cq2ns6jv.js";
|
|
3
|
+
import { CommandKitElement } from "./element-CvNhvLZ8.js";
|
|
4
4
|
import { MaybeArray } from "./types-CJ-XvOFN.js";
|
|
5
|
-
import {
|
|
5
|
+
import { TextInputStyle } from "discord.js";
|
|
6
6
|
|
|
7
|
-
//#region src/components/
|
|
7
|
+
//#region src/components/interactive/modal/Modal.d.ts
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The properties for the modal component.
|
|
@@ -12,7 +12,7 @@ import { ActionRowBuilder, TextInputBuilder, TextInputStyle } from "discord.js";
|
|
|
12
12
|
interface ModalProps {
|
|
13
13
|
customId?: string;
|
|
14
14
|
title: string;
|
|
15
|
-
children?: MaybeArray<
|
|
15
|
+
children?: MaybeArray<ModalKit['components'][number]>;
|
|
16
16
|
onSubmit?: OnModalKitSubmit;
|
|
17
17
|
onEnd?: OnModalKitEnd;
|
|
18
18
|
onError?: EventInterceptorErrorHandler;
|
|
@@ -27,7 +27,10 @@ interface ModalProps {
|
|
|
27
27
|
declare function Modal(props: ModalProps): CommandKitElement<'modal'>;
|
|
28
28
|
interface TextInputProps {
|
|
29
29
|
customId: string;
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated use the `<Label />` component instead.
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
31
34
|
placeholder?: string;
|
|
32
35
|
maxLength?: number;
|
|
33
36
|
minLength?: number;
|
|
@@ -38,7 +41,7 @@ interface TextInputProps {
|
|
|
38
41
|
* The text input component.
|
|
39
42
|
* @param props The text input properties.
|
|
40
43
|
* @returns The commandkit element.
|
|
41
|
-
* @example <TextInput customId="input"
|
|
44
|
+
* @example <TextInput customId="input" style={TextInputStyle.Short} />
|
|
42
45
|
*/
|
|
43
46
|
declare function TextInput(props: TextInputProps & {
|
|
44
47
|
style: TextInputStyle;
|
|
@@ -59,4 +62,4 @@ declare function ShortInput(props: TextInputProps): CommandKitElement<'text-inpu
|
|
|
59
62
|
declare function ParagraphInput(props: TextInputProps): CommandKitElement<'text-input'>;
|
|
60
63
|
//#endregion
|
|
61
64
|
export { Modal, ModalProps, ParagraphInput, ShortInput, TextInput, TextInputProps };
|
|
62
|
-
//# sourceMappingURL=Modal-
|
|
65
|
+
//# sourceMappingURL=Modal-Calb46SJ.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventInterceptorContextData, EventInterceptorErrorHandler } from "./EventInterceptor-x-R2qshQ.js";
|
|
2
2
|
import { Awaitable, Events, ModalBuilder, ModalSubmitInteraction } from "discord.js";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/interactive/modal/ModalKit.d.ts
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The predicate function that filters modal interactions.
|
|
@@ -84,4 +84,4 @@ declare class ModalKit extends ModalBuilder {
|
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
export { CommandKitModalBuilderInteractionCollectorDispatch, CommandKitModalBuilderInteractionCollectorDispatchContextData, CommandKitModalBuilderOnEnd, ModalKit, ModalKitPredicate, OnModalKitEnd, OnModalKitSubmit };
|
|
87
|
-
//# sourceMappingURL=ModalKit-
|
|
87
|
+
//# sourceMappingURL=ModalKit-Cq2ns6jv.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginCommon-
|
|
1
|
+
{"version":3,"file":"PluginCommon-CPWV5xuX.js","names":[],"sources":["../src/plugins/PluginCommon.ts"],"sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { CommonPluginRuntime } from './plugin-runtime/runtime';\n\n/**\n * The options for a CommandKit plugin.\n */\nexport type PluginOptions = Record<string, any>;\n\n/**\n * Enum representing the type of plugin.\n * - Compiler: A plugin that runs at compile time.\n * - Runtime: A plugin that runs at runtime.\n */\nexport enum PluginType {\n Compiler = 'compiler',\n Runtime = 'runtime',\n}\n\n/**\n * Base class for CommandKit plugins.\n */\nexport abstract class PluginCommon<\n T extends PluginOptions = PluginOptions,\n C extends CommonPluginRuntime = CommonPluginRuntime,\n> {\n /**\n * The type of the plugin, either Compiler or Runtime.\n */\n public abstract readonly type: PluginType;\n /**\n * Unique identifier for the plugin instance.\n */\n public readonly id = randomUUID();\n /**\n * The time when the plugin was loaded, in milliseconds since the Unix epoch.\n */\n public readonly loadedAt = Date.now();\n /**\n * The name of the plugin.\n */\n public abstract readonly name: string;\n\n /**\n * Creates a new instance of the plugin.\n */\n public constructor(protected readonly options: T) {}\n\n /**\n * Called when this plugin is activated\n */\n public async activate(ctx: C): Promise<void> {}\n\n /**\n * Called when this plugin is deactivated\n */\n public async deactivate(ctx: C): Promise<void> {}\n}\n\n/**\n * Whether the given object is a CommandKit plugin.\n * @param plugin The object to check.\n * @returns Boolean indicating whether the object is a plugin.\n */\nexport function isPlugin(\n plugin: unknown,\n): plugin is PluginCommon<PluginOptions> {\n return plugin instanceof PluginCommon;\n}\n"],"mappings":";;;;;;;;;;AAaA,IAAY,oDAAL;AACL;AACA;;;;;;AAMF,IAAsB,eAAtB,MAGA;;;;CAQE,AAAgB,kCAAiB;;;;CAIjC,AAAgB,WAAW,KAAK,KAAK;;;;CASrC,AAAO,YAAY,AAAmB,SAAY;EAAZ;;;;;CAKtC,MAAa,SAAS,KAAuB;;;;CAK7C,MAAa,WAAW,KAAuB;;;;;;;AAQjD,SAAgB,SAChB,QACwC;AACtC,QAAO,kBAAkB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventInterceptorErrorHandler } from "./EventInterceptor-x-R2qshQ.js";
|
|
2
|
-
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-
|
|
2
|
+
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-DHTTnX82.js";
|
|
3
3
|
import { RoleSelectMenuBuilder, RoleSelectMenuInteraction } from "discord.js";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/interactive/select-menu/RoleSelectMenuKit.d.ts
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Type for the handler function that is called when the role select menu is submitted.
|
|
@@ -64,4 +64,4 @@ declare class RoleSelectMenuKit extends RoleSelectMenuBuilder {
|
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
export { OnRoleSelectMenuKitSubmit, RoleSelectMenuKit, RoleSelectMenuKitPredicate };
|
|
67
|
-
//# sourceMappingURL=RoleSelectMenuKit-
|
|
67
|
+
//# sourceMappingURL=RoleSelectMenuKit-DvBxzpWh.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_PluginCommon = require('./PluginCommon-
|
|
1
|
+
const require_PluginCommon = require('./PluginCommon-CPWV5xuX.js');
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/RuntimePlugin.ts
|
|
4
4
|
/**
|
|
@@ -131,4 +131,4 @@ Object.defineProperty(exports, 'isRuntimePlugin', {
|
|
|
131
131
|
return isRuntimePlugin;
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
//# sourceMappingURL=RuntimePlugin-
|
|
134
|
+
//# sourceMappingURL=RuntimePlugin-COeXe8rP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimePlugin-
|
|
1
|
+
{"version":3,"file":"RuntimePlugin-COeXe8rP.js","names":[],"sources":["../src/plugins/RuntimePlugin.ts"],"sourcesContent":["import { Interaction, Message } from 'discord.js';\nimport {\n isPlugin,\n PluginCommon,\n PluginOptions,\n PluginType,\n} from './PluginCommon';\nimport type { CommandKitPluginRuntime } from './plugin-runtime/CommandKitPluginRuntime';\nimport { CommandBuilderLike, PreparedAppCommandExecution } from '../app';\nimport { CommandKitEnvironment } from '../context/environment';\nimport { CommandKitHMREvent } from '../utils/dev-hooks';\nimport { PreRegisterCommandsEvent } from '../app/register/CommandRegistrar';\nimport { CommandKitEventDispatch } from './types';\n\n/**\n * CommandKit plugin that runs at the runtime.\n */\nexport abstract class RuntimePlugin<\n T extends PluginOptions = PluginOptions,\n> extends PluginCommon<T, CommandKitPluginRuntime> {\n public readonly type = PluginType.Runtime;\n public readonly preload = new Set<string>();\n\n /**\n * Called before commands are loaded\n */\n public async onBeforeCommandsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after commands are loaded\n */\n public async onAfterCommandsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called before events are loaded\n */\n public async onBeforeEventsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after events are loaded\n */\n public async onAfterEventsLoad(ctx: CommandKitPluginRuntime): Promise<void> {}\n\n /**\n * Called before the client logs in\n */\n public async onBeforeClientLogin(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after the client logs in\n */\n public async onAfterClientLogin(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called before interaction is handled\n * @param interaction The interaction\n */\n public async onBeforeInteraction(\n ctx: CommandKitPluginRuntime,\n interaction: Interaction,\n ): Promise<void> {}\n\n /**\n * Called before message command is processed\n * @param message The message\n */\n public async onBeforeMessageCommand(\n ctx: CommandKitPluginRuntime,\n message: Message,\n ): Promise<void> {}\n\n /**\n * Called before command is executed. This method can execute the command itself.\n * @param source The source that triggered the command\n * @param command The command\n * @param execute The function that executes the command\n */\n public async executeCommand(\n ctx: CommandKitPluginRuntime,\n env: CommandKitEnvironment,\n source: Interaction | Message,\n command: PreparedAppCommandExecution,\n execute: () => Promise<any>,\n ): Promise<boolean> {\n return false;\n }\n\n /**\n * Called after events router is initialized\n * @param ctx The context\n */\n public async onEventsRouterInit(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after commands router is initialized\n * @param ctx The context\n */\n public async onCommandsRouterInit(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called when HMR event is received\n * @param ctx The context\n * @param event The event\n */\n public async performHMR(\n ctx: CommandKitPluginRuntime,\n event: CommandKitHMREvent,\n ): Promise<void> {}\n\n /**\n * Called before command is loaded for registration. This method can be used to modify the command data before it is loaded.\n * @param ctx The context\n * @param commands The command that is being loaded. This is a CommandBuilderLike object which represents Discord's command\n */\n async prepareCommand(\n ctx: CommandKitPluginRuntime,\n commands: CommandBuilderLike,\n ): Promise<CommandBuilderLike | null> {\n return null;\n }\n\n /**\n * Called before command is registered to discord. This method can cancel the registration of the command and handle it manually.\n * @param ctx The context\n * @param data The command registration data\n */\n async onBeforeRegisterCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before global commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called after `onBeforeRegisterCommands` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforeRegisterGlobalCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before guild commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called before guilds of the command are resolved. It is called after `onBeforeRegisterCommands` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforePrepareGuildCommandsRegistration(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before guild commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called after guilds of the command are resolved. It is called after `onBeforePrepareGuildCommandsRegistration` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforeRegisterGuildCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called after command and all of its deferred functions are executed.\n * @param ctx The context\n * @param env The environment of the command. This environment contains the command execution data such as command context and more.\n */\n async onAfterCommand(\n ctx: CommandKitPluginRuntime,\n env: CommandKitEnvironment,\n ) {}\n\n /**\n * Called before emitting an event\n * @param ctx The context\n * @param event The event that is being emitted\n */\n public async willEmitEvent(\n ctx: CommandKitPluginRuntime,\n event: CommandKitEventDispatch,\n ) {}\n}\n\nexport function isRuntimePlugin(plugin: unknown): plugin is RuntimePlugin {\n return (\n plugin instanceof RuntimePlugin ||\n (isPlugin(plugin) && plugin.type === PluginType.Runtime)\n );\n}\n"],"mappings":";;;;;;AAiBA,IAAsB,gBAAtB,cAEA,kCAAyC;CACvC,AAAgB,OAAO,gCAAW;CAClC,AAAgB,0BAAU,IAAI,KAAa;;;;CAK3C,MAAa,qBACb,KACgB;;;;CAKhB,MAAa,oBACb,KACgB;;;;CAKhB,MAAa,mBACb,KACgB;;;;CAKhB,MAAa,kBAAkB,KAA6C;;;;CAK5E,MAAa,oBACb,KACgB;;;;CAKhB,MAAa,mBACb,KACgB;;;;;CAMhB,MAAa,oBACb,KACA,aACgB;;;;;CAMhB,MAAa,uBACb,KACA,SACgB;;;;;;;CAQhB,MAAa,eACb,KACA,KACA,QACA,SACA,SACmB;AACjB,SAAO;;;;;;CAOT,MAAa,mBACb,KACgB;;;;;CAMhB,MAAa,qBACb,KACgB;;;;;;CAOhB,MAAa,WACb,KACA,OACgB;;;;;;CAOhB,MAAM,eACN,KACA,UACqC;AACnC,SAAO;;;;;;;CAQT,MAAM,yBACN,KACA,OACgB;;;;;;;CAQhB,MAAM,+BACN,KACA,OACgB;;;;;;;CAQhB,MAAM,yCACN,KACA,OACgB;;;;;;;CAQhB,MAAM,8BACN,KACA,OACgB;;;;;;CAOhB,MAAM,eACN,KACA,KACA;;;;;;CAOA,MAAa,cACb,KACA,OACA;;AAGF,SAAgB,gBAAgB,QAA0C;AACxE,QACE,kBAAkB,iBAClB,8BAAS,OAAO,IAAI,OAAO,SAAS,gCAAW"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MaybeArray } from "./types-CJ-XvOFN.js";
|
|
2
|
-
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd } from "./common-
|
|
3
|
-
import { StringSelectMenuKit } from "./StringSelectMenuKit-
|
|
4
|
-
import { ChannelSelectMenuKit } from "./ChannelSelectMenuKit-
|
|
5
|
-
import { MentionableSelectMenuKit } from "./MentionableSelectMenuKit-
|
|
6
|
-
import { UserSelectMenuKit } from "./UserSelectMenuKit-
|
|
7
|
-
import { RoleSelectMenuKit } from "./RoleSelectMenuKit-
|
|
2
|
+
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd } from "./common-DHTTnX82.js";
|
|
3
|
+
import { StringSelectMenuKit } from "./StringSelectMenuKit-CJ0MzUZJ.js";
|
|
4
|
+
import { ChannelSelectMenuKit } from "./ChannelSelectMenuKit-CsYgIyKe.js";
|
|
5
|
+
import { MentionableSelectMenuKit } from "./MentionableSelectMenuKit-CO9phWMf.js";
|
|
6
|
+
import { UserSelectMenuKit } from "./UserSelectMenuKit-C_J-9RJs.js";
|
|
7
|
+
import { RoleSelectMenuKit } from "./RoleSelectMenuKit-DvBxzpWh.js";
|
|
8
8
|
import { APISelectMenuOption, BaseSelectMenuComponentData, ChannelSelectMenuComponentData, ChannelSelectMenuInteraction, MentionableSelectMenuComponentData, MentionableSelectMenuInteraction, RoleSelectMenuComponentData, RoleSelectMenuInteraction, SelectMenuComponentOptionData, StringSelectMenuInteraction, StringSelectMenuOptionBuilder, UserSelectMenuComponentData, UserSelectMenuInteraction } from "discord.js";
|
|
9
9
|
|
|
10
|
-
//#region src/components/
|
|
10
|
+
//#region src/components/interactive/select-menu/SelectMenu.d.ts
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Type for the common properties shared by all select menu builders.
|
|
@@ -134,4 +134,4 @@ interface ChannelSelectMenuProps extends Partial<Omit<ChannelSelectMenuComponent
|
|
|
134
134
|
declare function ChannelSelectMenu(props: ChannelSelectMenuProps): ChannelSelectMenuKit;
|
|
135
135
|
//#endregion
|
|
136
136
|
export { ChannelSelectMenu, ChannelSelectMenuProps, CommonBuilderKit, CommonSelectMenuProps, MentionableSelectMenu, MentionableSelectMenuProps, ResolveBuilderInteraction, RoleSelectMenu, RoleSelectMenuProps, SelectMenuProps, StringSelectMenu, StringSelectMenuOption, StringSelectMenuOptionProps, StringSelectMenuProps, UserSelectMenu, UserSelectMenuProps };
|
|
137
|
-
//# sourceMappingURL=SelectMenu-
|
|
137
|
+
//# sourceMappingURL=SelectMenu-VcDhOGoJ.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventInterceptorErrorHandler } from "./EventInterceptor-x-R2qshQ.js";
|
|
2
|
-
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-
|
|
2
|
+
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-DHTTnX82.js";
|
|
3
3
|
import { StringSelectMenuBuilder, StringSelectMenuInteraction } from "discord.js";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/interactive/select-menu/StringSelectMenuKit.d.ts
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Type for the handler function that is called when the string select menu is submitted.
|
|
@@ -64,4 +64,4 @@ declare class StringSelectMenuKit extends StringSelectMenuBuilder {
|
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
export { OnStringSelectMenuKitSubmit, StringSelectMenuKit, StringSelectMenuKitPredicate };
|
|
67
|
-
//# sourceMappingURL=StringSelectMenuKit-
|
|
67
|
+
//# sourceMappingURL=StringSelectMenuKit-CJ0MzUZJ.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventInterceptorErrorHandler } from "./EventInterceptor-x-R2qshQ.js";
|
|
2
|
-
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-
|
|
2
|
+
import { CommandKitSelectMenuBuilderInteractionCollectorDispatch, CommandKitSelectMenuBuilderInteractionCollectorDispatchContextData, CommandKitSelectMenuBuilderOnEnd, OnSelectMenuKitSubmit, SelectMenuKitPredicate } from "./common-DHTTnX82.js";
|
|
3
3
|
import { UserSelectMenuBuilder, UserSelectMenuInteraction } from "discord.js";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/interactive/select-menu/UserSelectMenuKit.d.ts
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Type for the handler function that is called when the user select menu is submitted.
|
|
@@ -64,4 +64,4 @@ declare class UserSelectMenuKit extends UserSelectMenuBuilder {
|
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
export { OnUserSelectMenuKitSubmit, UserSelectMenuKit, UserSelectMenuKitPredicate };
|
|
67
|
-
//# sourceMappingURL=UserSelectMenuKit-
|
|
67
|
+
//# sourceMappingURL=UserSelectMenuKit-C_J-9RJs.d.ts.map
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { AnalyticsEngine, FilterFunction } from "../analytics-engine-
|
|
1
|
+
import { AnalyticsEngine, FilterFunction } from "../analytics-engine-NOInIjv8.js";
|
|
2
2
|
import "../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../ButtonKit-
|
|
4
|
-
import "../ModalKit-
|
|
5
|
-
import "../element-
|
|
6
|
-
import "../ActionRow-
|
|
3
|
+
import "../ButtonKit-9k4yfhYD.js";
|
|
4
|
+
import "../ModalKit-Cq2ns6jv.js";
|
|
5
|
+
import "../element-CvNhvLZ8.js";
|
|
6
|
+
import "../ActionRow-B-7n9MMr.js";
|
|
7
7
|
import "../types-CJ-XvOFN.js";
|
|
8
|
-
import "../Button-
|
|
9
|
-
import "../Modal-
|
|
10
|
-
import "../common-
|
|
11
|
-
import "../StringSelectMenuKit-
|
|
12
|
-
import "../ChannelSelectMenuKit-
|
|
13
|
-
import "../MentionableSelectMenuKit-
|
|
14
|
-
import "../UserSelectMenuKit-
|
|
15
|
-
import "../RoleSelectMenuKit-
|
|
16
|
-
import "../SelectMenu-
|
|
17
|
-
import "../container-
|
|
18
|
-
import "../file-
|
|
19
|
-
import "../media-gallery-
|
|
20
|
-
import "../section-
|
|
21
|
-
import "../separator-
|
|
22
|
-
import "../text-display-
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import "../
|
|
29
|
-
import "../
|
|
30
|
-
import "../
|
|
31
|
-
import "../
|
|
8
|
+
import "../Button-RMp-w8HV.js";
|
|
9
|
+
import "../Modal-Calb46SJ.js";
|
|
10
|
+
import "../common-DHTTnX82.js";
|
|
11
|
+
import "../StringSelectMenuKit-CJ0MzUZJ.js";
|
|
12
|
+
import "../ChannelSelectMenuKit-CsYgIyKe.js";
|
|
13
|
+
import "../MentionableSelectMenuKit-CO9phWMf.js";
|
|
14
|
+
import "../UserSelectMenuKit-C_J-9RJs.js";
|
|
15
|
+
import "../RoleSelectMenuKit-DvBxzpWh.js";
|
|
16
|
+
import "../SelectMenu-VcDhOGoJ.js";
|
|
17
|
+
import "../container-1ltvkavy.js";
|
|
18
|
+
import "../file-n2yl_-vl.js";
|
|
19
|
+
import "../media-gallery-BzG70ued.js";
|
|
20
|
+
import "../section-BOaJKXiy.js";
|
|
21
|
+
import "../separator-Cb7-6T6N.js";
|
|
22
|
+
import "../text-display-B_hpz50P.js";
|
|
23
|
+
import "../label-D0KXeBhk.js";
|
|
24
|
+
import "../poll-HnaJcB0o.js";
|
|
25
|
+
import "../index-h64gcVNJ.js";
|
|
26
|
+
import "../index-BLwMeReG.js";
|
|
27
|
+
import "../MessageCommandParser-DEOl_ifb.js";
|
|
28
|
+
import "../signals-DBS60vTo.js";
|
|
29
|
+
import "../helpers-hDh_tMb6.js";
|
|
30
|
+
import "../CommandsRouter-CBdsqaWK.js";
|
|
31
|
+
import "../EventsRouter-4pT6vj-U.js";
|
|
32
|
+
import "../index-B5F3AfVc.js";
|
|
33
|
+
import "../constants-DqnSDZ6l.js";
|
|
32
34
|
export { AnalyticsEngine, FilterFunction };
|
|
@@ -1,38 +1,41 @@
|
|
|
1
1
|
require('../colors-DL3ucTiT.js');
|
|
2
|
-
require('../ActionRow-
|
|
2
|
+
require('../ActionRow-uJxU4UGo.js');
|
|
3
3
|
require('../error-codes-Ds0bnPvT.js');
|
|
4
|
-
const require_commandkit = require('../commandkit-
|
|
5
|
-
require('../
|
|
6
|
-
require('../common-
|
|
7
|
-
require('../
|
|
8
|
-
require('../
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../
|
|
12
|
-
require('../
|
|
13
|
-
require('../
|
|
14
|
-
require('../
|
|
15
|
-
require('../
|
|
16
|
-
require('../
|
|
17
|
-
require('../
|
|
18
|
-
require('../
|
|
19
|
-
require('../
|
|
20
|
-
require('../
|
|
21
|
-
require('../
|
|
22
|
-
require('../
|
|
23
|
-
require('../
|
|
24
|
-
require('../
|
|
25
|
-
require('../
|
|
26
|
-
require('../
|
|
27
|
-
require('../
|
|
28
|
-
require('../
|
|
29
|
-
require('../
|
|
30
|
-
require('../
|
|
31
|
-
require('../
|
|
32
|
-
require('../
|
|
33
|
-
require('../
|
|
34
|
-
require('../
|
|
35
|
-
require('../
|
|
36
|
-
require('../
|
|
4
|
+
const require_commandkit = require('../commandkit-DabqpQ6v.js');
|
|
5
|
+
require('../warning-CszH8HeS.js');
|
|
6
|
+
require('../common-0Iw8ZeM6.js');
|
|
7
|
+
require('../common-CCx-FJI4.js');
|
|
8
|
+
require('../container-DC0eQigs.js');
|
|
9
|
+
require('../file-DAUOZYhC.js');
|
|
10
|
+
require('../media-gallery-BLhwe5lO.js');
|
|
11
|
+
require('../section-BMcHN97i.js');
|
|
12
|
+
require('../separator-C___2K-f.js');
|
|
13
|
+
require('../text-display-BtQR88kY.js');
|
|
14
|
+
require('../label-D-uJWRZ0.js');
|
|
15
|
+
require('../poll-Bc6rjeUS.js');
|
|
16
|
+
require('../display-WDb9wMCv.js');
|
|
17
|
+
require('../element-DibzzA5L.js');
|
|
18
|
+
require('../types-TC4g3w91.js');
|
|
19
|
+
require('../EventInterceptor-BWoEJMHZ.js');
|
|
20
|
+
require('../constants-BMWH2YUr.js');
|
|
21
|
+
require('../PluginCommon-CPWV5xuX.js');
|
|
22
|
+
require('../CompilerPlugin-CZ4412Zm.js');
|
|
23
|
+
require('../RuntimePlugin-COeXe8rP.js');
|
|
24
|
+
require('../types-Cdh4uaFR.js');
|
|
25
|
+
require('../resolve-file-url-CJoD0FAn.js');
|
|
26
|
+
require('../runtime-Skt5NiOc.js');
|
|
27
|
+
require('../utils-Br3eenD1.js');
|
|
28
|
+
require('../types-package-D11rQXLs.js');
|
|
29
|
+
require('../constants-D0dawKxO.js');
|
|
30
|
+
require('../EventWorkerContext-D_9q1Bm2.js');
|
|
31
|
+
require('../signals-Cnqe9dFV.js');
|
|
32
|
+
require('../helpers-D2_1jih6.js');
|
|
33
|
+
require('../MessageCommandParser-CKh-tM97.js');
|
|
34
|
+
require('../CommandsRouter-CWMipIis.js');
|
|
35
|
+
require('../EventsRouter-C04XqRKf.js');
|
|
36
|
+
require('../router-BvamdzoF.js');
|
|
37
|
+
require('../common-fIO6fqGZ.js');
|
|
38
|
+
require('../CommandKitEventsChannel-2l9Za-le.js');
|
|
39
|
+
require('../store-ZwL2gN6a.js');
|
|
37
40
|
|
|
38
41
|
exports.AnalyticsEngine = require_commandkit.AnalyticsEngine;
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { AnalyticsEvent, AnalyticsProvider, IdentifyEvent } from "../analytics-engine-
|
|
1
|
+
import { AnalyticsEvent, AnalyticsProvider, IdentifyEvent } from "../analytics-engine-NOInIjv8.js";
|
|
2
2
|
import "../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../ButtonKit-
|
|
4
|
-
import "../ModalKit-
|
|
5
|
-
import "../element-
|
|
6
|
-
import "../ActionRow-
|
|
3
|
+
import "../ButtonKit-9k4yfhYD.js";
|
|
4
|
+
import "../ModalKit-Cq2ns6jv.js";
|
|
5
|
+
import "../element-CvNhvLZ8.js";
|
|
6
|
+
import "../ActionRow-B-7n9MMr.js";
|
|
7
7
|
import "../types-CJ-XvOFN.js";
|
|
8
|
-
import "../Button-
|
|
9
|
-
import "../Modal-
|
|
10
|
-
import "../common-
|
|
11
|
-
import "../StringSelectMenuKit-
|
|
12
|
-
import "../ChannelSelectMenuKit-
|
|
13
|
-
import "../MentionableSelectMenuKit-
|
|
14
|
-
import "../UserSelectMenuKit-
|
|
15
|
-
import "../RoleSelectMenuKit-
|
|
16
|
-
import "../SelectMenu-
|
|
17
|
-
import "../container-
|
|
18
|
-
import "../file-
|
|
19
|
-
import "../media-gallery-
|
|
20
|
-
import "../section-
|
|
21
|
-
import "../separator-
|
|
22
|
-
import "../text-display-
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import "../
|
|
29
|
-
import "../
|
|
30
|
-
import "../
|
|
31
|
-
import "../
|
|
8
|
+
import "../Button-RMp-w8HV.js";
|
|
9
|
+
import "../Modal-Calb46SJ.js";
|
|
10
|
+
import "../common-DHTTnX82.js";
|
|
11
|
+
import "../StringSelectMenuKit-CJ0MzUZJ.js";
|
|
12
|
+
import "../ChannelSelectMenuKit-CsYgIyKe.js";
|
|
13
|
+
import "../MentionableSelectMenuKit-CO9phWMf.js";
|
|
14
|
+
import "../UserSelectMenuKit-C_J-9RJs.js";
|
|
15
|
+
import "../RoleSelectMenuKit-DvBxzpWh.js";
|
|
16
|
+
import "../SelectMenu-VcDhOGoJ.js";
|
|
17
|
+
import "../container-1ltvkavy.js";
|
|
18
|
+
import "../file-n2yl_-vl.js";
|
|
19
|
+
import "../media-gallery-BzG70ued.js";
|
|
20
|
+
import "../section-BOaJKXiy.js";
|
|
21
|
+
import "../separator-Cb7-6T6N.js";
|
|
22
|
+
import "../text-display-B_hpz50P.js";
|
|
23
|
+
import "../label-D0KXeBhk.js";
|
|
24
|
+
import "../poll-HnaJcB0o.js";
|
|
25
|
+
import "../index-h64gcVNJ.js";
|
|
26
|
+
import "../index-BLwMeReG.js";
|
|
27
|
+
import "../MessageCommandParser-DEOl_ifb.js";
|
|
28
|
+
import "../signals-DBS60vTo.js";
|
|
29
|
+
import "../helpers-hDh_tMb6.js";
|
|
30
|
+
import "../CommandsRouter-CBdsqaWK.js";
|
|
31
|
+
import "../EventsRouter-4pT6vj-U.js";
|
|
32
|
+
import "../index-B5F3AfVc.js";
|
|
33
|
+
import "../constants-DqnSDZ6l.js";
|
|
32
34
|
export { AnalyticsEvent, AnalyticsProvider, IdentifyEvent };
|
package/dist/analytics/utils.js
CHANGED
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
require('../colors-DL3ucTiT.js');
|
|
2
|
-
require('../ActionRow-
|
|
2
|
+
require('../ActionRow-uJxU4UGo.js');
|
|
3
3
|
require('../error-codes-Ds0bnPvT.js');
|
|
4
|
-
const require_commandkit = require('../commandkit-
|
|
5
|
-
require('../
|
|
6
|
-
require('../common-
|
|
7
|
-
require('../
|
|
8
|
-
require('../
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../
|
|
12
|
-
require('../
|
|
13
|
-
require('../
|
|
14
|
-
require('../
|
|
15
|
-
require('../
|
|
16
|
-
require('../
|
|
17
|
-
require('../
|
|
18
|
-
require('../
|
|
19
|
-
require('../
|
|
20
|
-
require('../
|
|
21
|
-
require('../
|
|
22
|
-
require('../
|
|
23
|
-
require('../
|
|
24
|
-
require('../
|
|
25
|
-
require('../
|
|
26
|
-
require('../
|
|
27
|
-
require('../
|
|
28
|
-
require('../
|
|
29
|
-
require('../
|
|
30
|
-
require('../
|
|
31
|
-
require('../
|
|
32
|
-
require('../
|
|
33
|
-
require('../
|
|
34
|
-
require('../
|
|
35
|
-
require('../
|
|
36
|
-
require('../
|
|
4
|
+
const require_commandkit = require('../commandkit-DabqpQ6v.js');
|
|
5
|
+
require('../warning-CszH8HeS.js');
|
|
6
|
+
require('../common-0Iw8ZeM6.js');
|
|
7
|
+
require('../common-CCx-FJI4.js');
|
|
8
|
+
require('../container-DC0eQigs.js');
|
|
9
|
+
require('../file-DAUOZYhC.js');
|
|
10
|
+
require('../media-gallery-BLhwe5lO.js');
|
|
11
|
+
require('../section-BMcHN97i.js');
|
|
12
|
+
require('../separator-C___2K-f.js');
|
|
13
|
+
require('../text-display-BtQR88kY.js');
|
|
14
|
+
require('../label-D-uJWRZ0.js');
|
|
15
|
+
require('../poll-Bc6rjeUS.js');
|
|
16
|
+
require('../display-WDb9wMCv.js');
|
|
17
|
+
require('../element-DibzzA5L.js');
|
|
18
|
+
require('../types-TC4g3w91.js');
|
|
19
|
+
require('../EventInterceptor-BWoEJMHZ.js');
|
|
20
|
+
require('../constants-BMWH2YUr.js');
|
|
21
|
+
require('../PluginCommon-CPWV5xuX.js');
|
|
22
|
+
require('../CompilerPlugin-CZ4412Zm.js');
|
|
23
|
+
require('../RuntimePlugin-COeXe8rP.js');
|
|
24
|
+
require('../types-Cdh4uaFR.js');
|
|
25
|
+
require('../resolve-file-url-CJoD0FAn.js');
|
|
26
|
+
require('../runtime-Skt5NiOc.js');
|
|
27
|
+
require('../utils-Br3eenD1.js');
|
|
28
|
+
require('../types-package-D11rQXLs.js');
|
|
29
|
+
require('../constants-D0dawKxO.js');
|
|
30
|
+
require('../EventWorkerContext-D_9q1Bm2.js');
|
|
31
|
+
require('../signals-Cnqe9dFV.js');
|
|
32
|
+
require('../helpers-D2_1jih6.js');
|
|
33
|
+
require('../MessageCommandParser-CKh-tM97.js');
|
|
34
|
+
require('../CommandsRouter-CWMipIis.js');
|
|
35
|
+
require('../EventsRouter-C04XqRKf.js');
|
|
36
|
+
require('../router-BvamdzoF.js');
|
|
37
|
+
require('../common-fIO6fqGZ.js');
|
|
38
|
+
require('../CommandKitEventsChannel-2l9Za-le.js');
|
|
39
|
+
require('../store-ZwL2gN6a.js');
|
|
37
40
|
|
|
38
41
|
exports.getDoNotTrack = require_commandkit.getDoNotTrack;
|
|
39
42
|
exports.noAnalytics = require_commandkit.noAnalytics;
|