commandkit 1.2.0-rc.12 → 1.2.0-rc.14
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/bin/index.mjs +1 -1
- package/cli.d.ts +19 -0
- package/config.cjs +3 -0
- package/config.d.ts +1 -0
- package/dist/{ActionRow-uJxU4UGo.js → ActionRow-CSN_UKmM.js} +2 -3
- package/dist/{ActionRow-uJxU4UGo.js.map → ActionRow-CSN_UKmM.js.map} +1 -1
- package/dist/{ActionRow-B-7n9MMr.d.ts → ActionRow-CT-uyxW0.d.ts} +3 -4
- package/dist/{Button-RMp-w8HV.d.ts → Button-oMnlpF6W.d.ts} +6 -7
- package/dist/{ButtonKit-9k4yfhYD.d.ts → ButtonKit-DKu0VAe4.d.ts} +36 -37
- package/dist/ChannelSelectMenuKit-HQZ4hH5s.d.ts +66 -0
- package/dist/{CommandKitEventsChannel-2l9Za-le.js → CommandKitEventsChannel-DDI0UVh9.js} +2 -2
- package/dist/{CommandKitEventsChannel-2l9Za-le.js.map → CommandKitEventsChannel-DDI0UVh9.js.map} +1 -1
- package/dist/{CommandsRouter-CBdsqaWK.d.ts → CommandsRouter-C7dZEepB.d.ts} +49 -50
- package/dist/{CommandsRouter-CWMipIis.js → CommandsRouter-D5mGRFEr.js} +2 -6
- package/dist/{CommandsRouter-CWMipIis.js.map → CommandsRouter-D5mGRFEr.js.map} +1 -1
- package/dist/{CompilerPlugin-CZ4412Zm.js → CompilerPlugin-DZidFuHJ.js} +2 -2
- package/dist/{CompilerPlugin-CZ4412Zm.js.map → CompilerPlugin-DZidFuHJ.js.map} +1 -1
- package/dist/{EventInterceptor-x-R2qshQ.d.ts → EventInterceptor-CZmWpS08.d.ts} +40 -40
- package/dist/{EventInterceptor-BWoEJMHZ.js → EventInterceptor-CxA95XYA.js} +1 -1
- package/dist/{EventInterceptor-BWoEJMHZ.js.map → EventInterceptor-CxA95XYA.js.map} +1 -1
- package/dist/{EventWorkerContext-D_9q1Bm2.js → EventWorkerContext-CfqamFWu.js} +2 -3
- package/dist/{EventWorkerContext-D_9q1Bm2.js.map → EventWorkerContext-CfqamFWu.js.map} +1 -1
- package/dist/{EventsRouter-C04XqRKf.js → EventsRouter-Be5NDOX4.js} +2 -6
- package/dist/{EventsRouter-C04XqRKf.js.map → EventsRouter-Be5NDOX4.js.map} +1 -1
- package/dist/EventsRouter-DZ37r54v.d.ts +90 -0
- package/dist/MentionableSelectMenuKit-7URDUM3-.d.ts +61 -0
- package/dist/{MessageCommandParser-CKh-tM97.js → MessageCommandParser-VMFFGs0R.js} +2 -3
- package/dist/{MessageCommandParser-CKh-tM97.js.map → MessageCommandParser-VMFFGs0R.js.map} +1 -1
- package/dist/MessageCommandParser-q3dQcE5N.d.ts +194 -0
- package/dist/{Modal-Calb46SJ.d.ts → Modal--iMEUqSm.d.ts} +20 -10
- package/dist/{ModalKit-Cq2ns6jv.d.ts → ModalKit-BWXI3Z26.d.ts} +33 -34
- package/dist/{PluginCommon-CPWV5xuX.js → PluginCommon-Bfs8d9s7.js} +6 -7
- package/dist/{PluginCommon-CPWV5xuX.js.map → PluginCommon-Bfs8d9s7.js.map} +1 -1
- package/dist/RoleSelectMenuKit-BY-JJ18w.d.ts +66 -0
- package/dist/{RuntimePlugin-COeXe8rP.js → RuntimePlugin-BYQXQO8w.js} +2 -2
- package/dist/{RuntimePlugin-COeXe8rP.js.map → RuntimePlugin-BYQXQO8w.js.map} +1 -1
- package/dist/{SelectMenu-VcDhOGoJ.d.ts → SelectMenu-DQbmOp1Y.d.ts} +16 -13
- package/dist/StringSelectMenuKit-lVhUMc3g.d.ts +66 -0
- package/dist/UserSelectMenuKit-CCj4Fpkr.d.ts +66 -0
- package/dist/analytics/analytics-engine.d.ts +1 -33
- package/dist/analytics/analytics-engine.js +19 -39
- package/dist/analytics/analytics-provider.d.ts +1 -33
- package/dist/analytics/constants.js +1 -1
- package/dist/analytics/utils.js +19 -39
- package/dist/{analytics-engine-NOInIjv8.d.ts → analytics-engine-_urJ5QTH.d.ts} +850 -842
- package/dist/app/commands/AppCommandRunner.d.ts +1 -33
- package/dist/app/commands/AppCommandRunner.js +19 -39
- package/dist/app/commands/Context.d.ts +1 -33
- package/dist/app/commands/Context.js +19 -39
- 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 +19 -39
- package/dist/app/handlers/AppEventsHandler.d.ts +1 -33
- package/dist/app/handlers/AppEventsHandler.js +19 -39
- package/dist/app/index.d.ts +4 -33
- package/dist/app/index.js +19 -40
- 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 +19 -39
- package/dist/app/register/CommandRegistrar.d.ts +1 -33
- package/dist/app/register/CommandRegistrar.js +19 -39
- 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 +3 -3
- 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 +62 -7
- package/dist/cli/app-process.js.map +1 -0
- package/dist/cli/build.d.ts +2 -33
- package/dist/cli/build.js +186 -44
- package/dist/cli/build.js.map +1 -0
- package/dist/cli/common.d.ts +1 -33
- package/dist/cli/common.js +4 -4
- package/dist/cli/development.d.ts +18 -1
- package/dist/cli/development.js +38 -51
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.d.ts +4 -0
- package/dist/cli/env.js +1 -1
- package/dist/cli/generators.js +5 -8
- package/dist/cli/generators.js.map +1 -1
- package/dist/cli/information.js +5 -5
- package/dist/cli/information.js.map +1 -1
- package/dist/cli/init.d.ts +12 -2
- package/dist/cli/init.js +97 -41
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/production.d.ts +0 -1
- package/dist/cli/production.js +33 -51
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.js +5 -5
- 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-DL3ucTiT.js → colors-Csc0X4QJ.js} +2 -3
- package/dist/{colors-DL3ucTiT.js.map → colors-Csc0X4QJ.js.map} +1 -1
- package/dist/{commandkit-DabqpQ6v.js → commandkit-B1_NP74k.js} +3187 -2630
- package/dist/commandkit-B1_NP74k.js.map +1 -0
- package/dist/commandkit.d.ts +1 -33
- package/dist/commandkit.js +19 -39
- package/dist/{common-DHTTnX82.d.ts → common-DnwCYit8.d.ts} +3 -4
- package/dist/{common-fIO6fqGZ.js → common-zQwj90Nz.js} +9 -12
- package/dist/{common-fIO6fqGZ.js.map → common-zQwj90Nz.js.map} +1 -1
- package/dist/components/common/EventInterceptor.d.ts +1 -1
- package/dist/components/common/EventInterceptor.js +1 -1
- package/dist/components/common/element.d.ts +2 -5
- package/dist/components/common/element.js +27 -8
- 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/common.js +20 -2
- package/dist/components/display/container.d.ts +1 -1
- package/dist/components/display/container.js +20 -3
- 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 +25 -16
- package/dist/components/display/label.d.ts +1 -1
- package/dist/components/display/label.js +20 -3
- package/dist/components/display/media-gallery.d.ts +1 -1
- package/dist/components/display/media-gallery.js +21 -4
- 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 +21 -4
- 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 +23 -26
- package/dist/components/index.js +34 -52
- 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 +19 -39
- package/dist/components/interactive/button/ButtonKit.d.ts +1 -2
- package/dist/components/interactive/button/ButtonKit.js +19 -39
- package/dist/components/interactive/modal/Modal.d.ts +2 -7
- package/dist/components/interactive/modal/Modal.js +20 -39
- package/dist/components/interactive/modal/ModalKit.d.ts +1 -2
- package/dist/components/interactive/modal/ModalKit.js +19 -39
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.js +19 -39
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.js +19 -39
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.js +19 -39
- package/dist/components/interactive/select-menu/SelectMenu.d.ts +1 -9
- package/dist/components/interactive/select-menu/SelectMenu.js +19 -39
- package/dist/components/interactive/select-menu/StringSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/StringSelectMenuKit.js +19 -39
- package/dist/components/interactive/select-menu/UserSelectMenuKit.d.ts +1 -3
- package/dist/components/interactive/select-menu/UserSelectMenuKit.js +19 -39
- 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 +19 -39
- package/dist/config/default.d.ts +1 -33
- package/dist/config/default.js +19 -39
- package/dist/config/loader.d.ts +1 -33
- package/dist/config/loader.js +19 -39
- package/dist/config/types.d.ts +1 -33
- package/dist/config/utils.d.ts +1 -33
- package/dist/config/utils.js +1 -1
- package/dist/{constants-D0dawKxO.js → constants-BA0TJU6e.js} +2 -3
- package/dist/{constants-D0dawKxO.js.map → constants-BA0TJU6e.js.map} +1 -1
- package/dist/constants-BS9N2avz.js +27 -0
- package/dist/{constants-AH-9qJ89.js.map → constants-BS9N2avz.js.map} +1 -1
- package/dist/{constants-BMWH2YUr.js → constants-CeIMhMD0.js} +16 -1
- package/dist/constants-CeIMhMD0.js.map +1 -0
- package/dist/{constants-DqnSDZ6l.d.ts → constants-CuYW0K10.d.ts} +14 -8
- package/dist/{constants-CCFSX2NG.d.ts → constants-EpKcj0dH.d.ts} +2 -2
- package/dist/{container-1ltvkavy.d.ts → container-DYcb7zGw.d.ts} +2 -3
- package/dist/context/async-context.d.ts +1 -33
- package/dist/context/async-context.js +19 -39
- package/dist/context/environment.d.ts +1 -33
- package/dist/context/environment.js +19 -39
- package/dist/{element-CvNhvLZ8.d.ts → element-DZeqbSTk.d.ts} +5 -5
- package/dist/{env-8yY-6pbC.js → env-FxaiNasU.js} +7 -3
- package/dist/env-FxaiNasU.js.map +1 -0
- 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-n2yl_-vl.d.ts → file-CrV4lSnl.d.ts} +2 -3
- package/dist/{file-DAUOZYhC.js → file-DqI3v90P.js} +2 -3
- package/dist/{file-DAUOZYhC.js.map → file-DqI3v90P.js.map} +1 -1
- package/dist/flags/FlagProvider.d.ts +1 -33
- package/dist/flags/feature-flags.d.ts +1 -33
- package/dist/flags/feature-flags.js +22 -43
- package/dist/flags/store.d.ts +1 -33
- package/dist/flags/store.js +1 -1
- package/dist/{helpers-hDh_tMb6.d.ts → helpers-AQPLVY35.d.ts} +2 -3
- package/dist/{helpers-D2_1jih6.js → helpers-DSy7EjzP.js} +2 -3
- package/dist/{helpers-D2_1jih6.js.map → helpers-DSy7EjzP.js.map} +1 -1
- package/dist/index.d.ts +41 -44
- package/dist/index.js +49 -68
- 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 -16
- 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-D0KXeBhk.d.ts → label-37kaNWMH.d.ts} +4 -5
- package/dist/logger/DefaultLogger.d.ts +66 -3
- package/dist/logger/DefaultLogger.js +19 -39
- 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 +19 -39
- package/dist/logger/NoopLogger.d.ts +36 -37
- package/dist/{media-gallery-BzG70ued.d.ts → media-gallery-Ci3I4ElH.d.ts} +2 -3
- 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 +21 -39
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +1 -33
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +19 -39
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +1 -33
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +19 -39
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +1 -33
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +19 -39
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +1 -33
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +19 -39
- 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-HnaJcB0o.d.ts → poll-Ddtapd6n.d.ts} +8 -9
- package/dist/{poll-Bc6rjeUS.js → poll-ziQQQbMU.js} +12 -13
- package/dist/{poll-Bc6rjeUS.js.map → poll-ziQQQbMU.js.map} +1 -1
- package/dist/{resolve-file-url-CJoD0FAn.js → resolve-file-url-BmjHzIKe.js} +2 -2
- package/dist/{resolve-file-url-CJoD0FAn.js.map → resolve-file-url-BmjHzIKe.js.map} +1 -1
- package/dist/{section-BOaJKXiy.d.ts → section-DkUKULnB.d.ts} +2 -3
- package/dist/{separator-Cb7-6T6N.d.ts → separator-CbXsIFCa.d.ts} +2 -3
- package/dist/{separator-C___2K-f.js → separator-DGwA_b1J.js} +2 -3
- package/dist/{separator-C___2K-f.js.map → separator-DGwA_b1J.js.map} +1 -1
- package/dist/{signals-DBS60vTo.d.ts → signals-BbTgTc0i.d.ts} +2 -2
- package/dist/{signals-Cnqe9dFV.js → signals-ewEPW2cO.js} +2 -2
- package/dist/{signals-Cnqe9dFV.js.map → signals-ewEPW2cO.js.map} +1 -1
- package/dist/{store-ZwL2gN6a.js → store-DK4JA-fQ.js} +2 -3
- package/dist/{store-ZwL2gN6a.js.map → store-DK4JA-fQ.js.map} +1 -1
- package/dist/{text-display-BtQR88kY.js → text-display-BVuG7dT-.js} +2 -3
- package/dist/{text-display-BtQR88kY.js.map → text-display-BVuG7dT-.js.map} +1 -1
- package/dist/{text-display-B_hpz50P.d.ts → text-display-D7j39VC-.d.ts} +2 -3
- package/dist/{type-checker-CEFHoQoV.js → type-checker-CFpKDDs8.js} +4 -6
- package/dist/{type-checker-CEFHoQoV.js.map → type-checker-CFpKDDs8.js.map} +1 -1
- package/dist/{types-CJ-XvOFN.d.ts → types-BywA9d2Z.d.ts} +2 -2
- package/dist/{types-package-D11rQXLs.js → types-package-Bjh_ap0V.js} +3 -6
- package/dist/{types-package-D11rQXLs.js.map → types-package-Bjh_ap0V.js.map} +1 -1
- package/dist/types.d.ts +1 -33
- package/dist/utils/colors.js +1 -1
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +3 -2
- package/dist/utils/dev-hooks.d.ts +1 -33
- package/dist/utils/dev-hooks.js +19 -39
- 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 +2 -2
- 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 +22 -40
- package/dist/utils/warning.js +1 -1
- package/dist/{utils-Br3eenD1.js → utils-CVaVycsK.js} +1 -1
- package/dist/{utils-Br3eenD1.js.map → utils-CVaVycsK.js.map} +1 -1
- package/dist/{version-DC4j2ZwU.js → version-DNg-wh2E.js} +2 -2
- package/dist/{version-DC4j2ZwU.js.map → version-DNg-wh2E.js.map} +1 -1
- package/dist/version.d.ts +8 -2
- package/dist/version.js +1 -1
- package/dist/{warning-CszH8HeS.js → warning-BWiQltHE.js} +1 -1
- package/dist/{warning-CszH8HeS.js.map → warning-BWiQltHE.js.map} +1 -1
- package/hooks.cjs +11 -4
- package/package.json +14 -7
- package/dist/ChannelSelectMenuKit-CsYgIyKe.d.ts +0 -67
- package/dist/DefaultLogger-CHMVsizQ.d.ts +0 -67
- package/dist/EventWorkerContext-CLhZRHhH.d.ts +0 -43
- package/dist/EventsRouter-4pT6vj-U.d.ts +0 -90
- package/dist/ILogger-BQ2ew4zR.d.ts +0 -64
- package/dist/Logger-DyV7oli4.d.ts +0 -37
- package/dist/MentionableSelectMenuKit-CO9phWMf.d.ts +0 -62
- package/dist/MessageCommandParser-DEOl_ifb.d.ts +0 -195
- package/dist/RoleSelectMenuKit-DvBxzpWh.d.ts +0 -67
- package/dist/StringSelectMenuKit-CJ0MzUZJ.d.ts +0 -67
- package/dist/UserSelectMenuKit-C_J-9RJs.d.ts +0 -67
- package/dist/app-process-AQ3Cbf6j.js +0 -68
- package/dist/app-process-AQ3Cbf6j.js.map +0 -1
- package/dist/build-BYMHMOl_.js +0 -173
- package/dist/build-BYMHMOl_.js.map +0 -1
- package/dist/commandkit-DabqpQ6v.js.map +0 -1
- package/dist/common-CCx-FJI4.js +0 -17
- package/dist/common-CCx-FJI4.js.map +0 -1
- package/dist/config-DbgXt6mf.d.ts +0 -16
- package/dist/constants-AH-9qJ89.js +0 -27
- package/dist/constants-BMWH2YUr.js.map +0 -1
- package/dist/container-DC0eQigs.js +0 -44
- package/dist/container-DC0eQigs.js.map +0 -1
- package/dist/dotprops-DvJUE8fw.js +0 -36
- package/dist/dotprops-DvJUE8fw.js.map +0 -1
- package/dist/element-DibzzA5L.js +0 -84
- package/dist/element-DibzzA5L.js.map +0 -1
- package/dist/env-8yY-6pbC.js.map +0 -1
- package/dist/error-codes-BiNRVMiV.d.ts +0 -54
- package/dist/feature-flags-BoBV4Dsj.js +0 -160
- package/dist/feature-flags-BoBV4Dsj.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/init-CBb0StSB.js +0 -91
- package/dist/init-CBb0StSB.js.map +0 -1
- package/dist/init-DSYckXwx.d.ts +0 -13
- package/dist/label-D-uJWRZ0.js +0 -36
- package/dist/label-D-uJWRZ0.js.map +0 -1
- package/dist/media-gallery-BLhwe5lO.js +0 -62
- package/dist/media-gallery-BLhwe5lO.js.map +0 -1
- package/dist/resolve-file-url-DFtR8jRR.d.ts +0 -11
- package/dist/section-BMcHN97i.js +0 -60
- package/dist/section-BMcHN97i.js.map +0 -1
- package/dist/serde-D4H23l2F.d.ts +0 -12
- package/dist/serde-DHHwhltz.js +0 -97
- package/dist/serde-DHHwhltz.js.map +0 -1
- package/dist/types-Cdh4uaFR.js +0 -0
- package/dist/types-TC4g3w91.js +0 -0
- package/dist/utilities-CQUaua43.d.ts +0 -87
- package/dist/utils-Bf-3Eevb.js +0 -23
- package/dist/utils-Bf-3Eevb.js.map +0 -1
- package/dist/version-DggMfP_1.d.ts +0 -8
- /package/dist/{ILogger-B0q7p7L1.js → ILogger-JI8VGyJf.js} +0 -0
- /package/dist/{app-CrjK9yWX.js → common-vGj3fpz3.js} +0 -0
- /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
- /package/dist/{common-0Iw8ZeM6.js → router-CtcApqrw.js} +0 -0
- /package/dist/{display-WDb9wMCv.js → runtime-UJIpkNww.js} +0 -0
- /package/dist/{router-BvamdzoF.js → types-Bx1EKe0v.js} +0 -0
- /package/dist/{runtime-Skt5NiOc.js → types-CAwOz52q.js} +0 -0
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import { CommonDirectiveTransformer, CommonDirectiveTransformerOptions } from "../../../analytics-engine-
|
|
2
|
-
import "../../../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../../../ButtonKit-9k4yfhYD.js";
|
|
4
|
-
import "../../../ModalKit-Cq2ns6jv.js";
|
|
5
|
-
import "../../../element-CvNhvLZ8.js";
|
|
6
|
-
import "../../../ActionRow-B-7n9MMr.js";
|
|
7
|
-
import "../../../types-CJ-XvOFN.js";
|
|
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";
|
|
1
|
+
import { H as CommonDirectiveTransformer, U as CommonDirectiveTransformerOptions } from "../../../analytics-engine-_urJ5QTH.js";
|
|
34
2
|
export { CommonDirectiveTransformer, CommonDirectiveTransformerOptions };
|
|
@@ -1,41 +1,21 @@
|
|
|
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('../../../
|
|
13
|
-
require('../../../
|
|
14
|
-
require('../../../
|
|
15
|
-
require('../../../
|
|
16
|
-
require('../../../display-
|
|
17
|
-
require('../../../
|
|
18
|
-
require('../../../
|
|
19
|
-
require('../../../
|
|
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');
|
|
1
|
+
require('../../../colors-Csc0X4QJ.js');
|
|
2
|
+
require('../../../ActionRow-CSN_UKmM.js');
|
|
3
|
+
const require_commandkit = require('../../../commandkit-B1_NP74k.js');
|
|
4
|
+
require('../../../constants-CeIMhMD0.js');
|
|
5
|
+
require('../../../types-package-Bjh_ap0V.js');
|
|
6
|
+
require('../../../constants-BA0TJU6e.js');
|
|
7
|
+
require('../../../EventWorkerContext-CfqamFWu.js');
|
|
8
|
+
require('../../../signals-ewEPW2cO.js');
|
|
9
|
+
require('../../../helpers-DSy7EjzP.js');
|
|
10
|
+
require('../../../MessageCommandParser-VMFFGs0R.js');
|
|
11
|
+
require('../../../CommandsRouter-D5mGRFEr.js');
|
|
12
|
+
require('../../../EventsRouter-Be5NDOX4.js');
|
|
13
|
+
require('../../../router-CtcApqrw.js');
|
|
14
|
+
require('../../../file-DqI3v90P.js');
|
|
15
|
+
require('../../../separator-DGwA_b1J.js');
|
|
16
|
+
require('../../../text-display-BVuG7dT-.js');
|
|
17
|
+
require('../../../poll-ziQQQbMU.js');
|
|
18
|
+
require('../../../common-zQwj90Nz.js');
|
|
19
|
+
require('../../../store-DK4JA-fQ.js');
|
|
40
20
|
|
|
41
21
|
exports.CommonDirectiveTransformer = require_commandkit.CommonDirectiveTransformer;
|
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../../../ButtonKit-9k4yfhYD.js";
|
|
4
|
-
import "../../../ModalKit-Cq2ns6jv.js";
|
|
5
|
-
import "../../../element-CvNhvLZ8.js";
|
|
6
|
-
import "../../../ActionRow-B-7n9MMr.js";
|
|
7
|
-
import "../../../types-CJ-XvOFN.js";
|
|
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";
|
|
1
|
+
import { G as PluginTransformParameters, K as TransformedResult, W as CompilerPlugin, X as MaybeFalsey } from "../../../analytics-engine-_urJ5QTH.js";
|
|
34
2
|
|
|
35
3
|
//#region src/plugins/plugin-runtime/builtin/MacroPlugin.d.ts
|
|
36
4
|
/**
|
|
@@ -1,41 +1,21 @@
|
|
|
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('../../../
|
|
13
|
-
require('../../../
|
|
14
|
-
require('../../../
|
|
15
|
-
require('../../../
|
|
16
|
-
require('../../../display-
|
|
17
|
-
require('../../../
|
|
18
|
-
require('../../../
|
|
19
|
-
require('../../../
|
|
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');
|
|
1
|
+
require('../../../colors-Csc0X4QJ.js');
|
|
2
|
+
require('../../../ActionRow-CSN_UKmM.js');
|
|
3
|
+
const require_commandkit = require('../../../commandkit-B1_NP74k.js');
|
|
4
|
+
require('../../../constants-CeIMhMD0.js');
|
|
5
|
+
require('../../../types-package-Bjh_ap0V.js');
|
|
6
|
+
require('../../../constants-BA0TJU6e.js');
|
|
7
|
+
require('../../../EventWorkerContext-CfqamFWu.js');
|
|
8
|
+
require('../../../signals-ewEPW2cO.js');
|
|
9
|
+
require('../../../helpers-DSy7EjzP.js');
|
|
10
|
+
require('../../../MessageCommandParser-VMFFGs0R.js');
|
|
11
|
+
require('../../../CommandsRouter-D5mGRFEr.js');
|
|
12
|
+
require('../../../EventsRouter-Be5NDOX4.js');
|
|
13
|
+
require('../../../router-CtcApqrw.js');
|
|
14
|
+
require('../../../file-DqI3v90P.js');
|
|
15
|
+
require('../../../separator-DGwA_b1J.js');
|
|
16
|
+
require('../../../text-display-BVuG7dT-.js');
|
|
17
|
+
require('../../../poll-ziQQQbMU.js');
|
|
18
|
+
require('../../../common-zQwj90Nz.js');
|
|
19
|
+
require('../../../store-DK4JA-fQ.js');
|
|
40
20
|
|
|
41
21
|
exports.MacroPlugin = require_commandkit.MacroPlugin;
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import { CommonPluginRuntime } from "../../analytics-engine-
|
|
2
|
-
import "../../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../../ButtonKit-9k4yfhYD.js";
|
|
4
|
-
import "../../ModalKit-Cq2ns6jv.js";
|
|
5
|
-
import "../../element-CvNhvLZ8.js";
|
|
6
|
-
import "../../ActionRow-B-7n9MMr.js";
|
|
7
|
-
import "../../types-CJ-XvOFN.js";
|
|
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";
|
|
1
|
+
import { B as CommonPluginRuntime } from "../../analytics-engine-_urJ5QTH.js";
|
|
34
2
|
export { CommonPluginRuntime };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../../runtime-Skt5NiOc.js');
|
package/dist/plugins/types.d.ts
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import { CommandKitEventDispatch,
|
|
2
|
-
import "../EventInterceptor-x-R2qshQ.js";
|
|
3
|
-
import "../ButtonKit-9k4yfhYD.js";
|
|
4
|
-
import "../ModalKit-Cq2ns6jv.js";
|
|
5
|
-
import "../element-CvNhvLZ8.js";
|
|
6
|
-
import "../ActionRow-B-7n9MMr.js";
|
|
7
|
-
import "../types-CJ-XvOFN.js";
|
|
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";
|
|
1
|
+
import { J as CommandKitEventDispatch, X as MaybeFalsey, Y as CommandKitPlugin, Z as TemplateHandler } from "../analytics-engine-_urJ5QTH.js";
|
|
34
2
|
export { CommandKitEventDispatch, CommandKitPlugin, MaybeFalsey, TemplateHandler };
|
package/dist/plugins/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../types-Cdh4uaFR.js');
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { PollAnswerData, PollData, PollQuestionMedia } from "discord.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/display/poll.d.ts
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* The poll properties for the poll component.
|
|
7
6
|
*/
|
|
8
7
|
interface PollProps extends Partial<Omit<PollData, 'question' | 'answers'>> {
|
|
9
8
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
* The poll children components (question and answers).
|
|
10
|
+
*/
|
|
12
11
|
children: PollChildrenType[];
|
|
13
12
|
}
|
|
14
13
|
declare enum PollChildType {
|
|
@@ -43,8 +42,8 @@ declare function Poll({
|
|
|
43
42
|
*/
|
|
44
43
|
interface PollQuestionProps extends Omit<PollQuestionMedia, 'text'> {
|
|
45
44
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
* The question text content.
|
|
46
|
+
*/
|
|
48
47
|
children: PollQuestionMedia['text'];
|
|
49
48
|
}
|
|
50
49
|
/**
|
|
@@ -66,8 +65,8 @@ declare function PollQuestion({
|
|
|
66
65
|
*/
|
|
67
66
|
interface PollAnswerProps extends Omit<PollAnswerData, 'text'> {
|
|
68
67
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
* The answer text content.
|
|
69
|
+
*/
|
|
71
70
|
children: PollAnswerData['text'];
|
|
72
71
|
}
|
|
73
72
|
/**
|
|
@@ -85,5 +84,5 @@ declare function PollAnswer({
|
|
|
85
84
|
...props
|
|
86
85
|
}: PollAnswerProps): PollChild<PollAnswerData, PollChildType.Answer>;
|
|
87
86
|
//#endregion
|
|
88
|
-
export {
|
|
89
|
-
//# sourceMappingURL=poll-
|
|
87
|
+
export { PollProps as a, PollChildrenType as i, PollAnswer as n, PollQuestion as o, PollAnswerProps as r, PollQuestionProps as s, Poll as t };
|
|
88
|
+
//# sourceMappingURL=poll-Ddtapd6n.d.ts.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
2
|
let discord_js = require("discord.js");
|
|
3
|
-
discord_js = require_chunk.__toESM(discord_js);
|
|
4
3
|
|
|
5
4
|
//#region src/components/display/poll.ts
|
|
6
|
-
var PollChildType = /* @__PURE__ */ function(PollChildType
|
|
7
|
-
PollChildType
|
|
8
|
-
PollChildType
|
|
9
|
-
return PollChildType
|
|
5
|
+
var PollChildType = /* @__PURE__ */ function(PollChildType) {
|
|
6
|
+
PollChildType[PollChildType["Answer"] = 0] = "Answer";
|
|
7
|
+
PollChildType[PollChildType["Question"] = 1] = "Question";
|
|
8
|
+
return PollChildType;
|
|
10
9
|
}(PollChildType || {});
|
|
11
10
|
/**
|
|
12
11
|
* The poll component creates a Discord poll with a question and multiple answer options.
|
|
@@ -23,12 +22,12 @@ var PollChildType = /* @__PURE__ */ function(PollChildType$1) {
|
|
|
23
22
|
* </Poll>;
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
|
-
function Poll({ children
|
|
25
|
+
function Poll({ children, ...props }) {
|
|
27
26
|
const question = children.find((child) => child.$$typeof === PollChildType.Question);
|
|
28
27
|
if (!question) throw new Error("Poll question is required");
|
|
29
28
|
const answers = children.filter((child) => child.$$typeof === PollChildType.Answer);
|
|
30
|
-
const { children: questionChildren
|
|
31
|
-
const { duration, allowMultiselect, layoutType
|
|
29
|
+
const { children: questionChildren, ...questionProps } = question;
|
|
30
|
+
const { duration, allowMultiselect, layoutType, ...restProps } = props;
|
|
32
31
|
return {
|
|
33
32
|
duration: duration ?? 24,
|
|
34
33
|
allowMultiselect: allowMultiselect ?? false,
|
|
@@ -38,7 +37,7 @@ function Poll({ children,...props }) {
|
|
|
38
37
|
text: questionChildren,
|
|
39
38
|
...questionProps
|
|
40
39
|
},
|
|
41
|
-
answers: answers.map(({ children: answerChildren, $$typeof
|
|
40
|
+
answers: answers.map(({ children: answerChildren, $$typeof, ...answerProps }) => ({
|
|
42
41
|
text: answerChildren,
|
|
43
42
|
...answerProps
|
|
44
43
|
}))
|
|
@@ -54,7 +53,7 @@ function Poll({ children,...props }) {
|
|
|
54
53
|
* const question = <PollQuestion>What's your favorite programming language?</PollQuestion>;
|
|
55
54
|
* ```
|
|
56
55
|
*/
|
|
57
|
-
function PollQuestion({ children
|
|
56
|
+
function PollQuestion({ children, ...props }) {
|
|
58
57
|
return {
|
|
59
58
|
...props,
|
|
60
59
|
text: children,
|
|
@@ -71,7 +70,7 @@ function PollQuestion({ children,...props }) {
|
|
|
71
70
|
* const answer = <PollAnswer emoji="🟦">TypeScript</PollAnswer>;
|
|
72
71
|
* ```
|
|
73
72
|
*/
|
|
74
|
-
function PollAnswer({ children
|
|
73
|
+
function PollAnswer({ children, ...props }) {
|
|
75
74
|
return {
|
|
76
75
|
...props,
|
|
77
76
|
text: children,
|
|
@@ -98,4 +97,4 @@ Object.defineProperty(exports, 'PollQuestion', {
|
|
|
98
97
|
return PollQuestion;
|
|
99
98
|
}
|
|
100
99
|
});
|
|
101
|
-
//# sourceMappingURL=poll-
|
|
100
|
+
//# sourceMappingURL=poll-ziQQQbMU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poll-
|
|
1
|
+
{"version":3,"file":"poll-ziQQQbMU.js","names":[],"sources":["../src/components/display/poll.ts"],"sourcesContent":["import {\n PollLayoutType,\n type PollAnswerData,\n type PollData,\n type PollQuestionMedia,\n} from 'discord.js';\n\n/**\n * The poll properties for the poll component.\n */\nexport interface PollProps\n extends Partial<Omit<PollData, 'question' | 'answers'>> {\n /**\n * The poll children components (question and answers).\n */\n children: PollChildrenType[];\n}\n\nenum PollChildType {\n Answer,\n Question,\n}\n\ntype PollChild<T, Type extends PollChildType> = T & {\n $$typeof: Type;\n};\n\nexport type PollChildrenType =\n | PollChild<PollQuestionProps, PollChildType.Question>\n | PollChild<PollAnswerProps, PollChildType.Answer>;\n\n/**\n * The poll component creates a Discord poll with a question and multiple answer options.\n * @param props The poll properties.\n * @returns The poll data object.\n * @example ```tsx\n * import { Poll, PollQuestion, PollAnswer } from 'commandkit';\n *\n * const poll = <Poll duration={24} allowMultiselect={false}>\n * <PollQuestion>What's your favorite color?</PollQuestion>\n * <PollAnswer emoji=\"🟥\">Red</PollAnswer>\n * <PollAnswer emoji=\"🟦\">Blue</PollAnswer>\n * <PollAnswer emoji=\"🟩\">Green</PollAnswer>\n * </Poll>;\n * ```\n */\nexport function Poll({ children, ...props }: PollProps): PollData {\n const question = children.find(\n (child): child is PollChild<PollQuestionProps, PollChildType.Question> =>\n child.$$typeof === PollChildType.Question,\n );\n\n if (!question) {\n throw new Error('Poll question is required');\n }\n\n const answers = children.filter(\n (child): child is PollChild<PollAnswerProps, PollChildType.Answer> =>\n child.$$typeof === PollChildType.Answer,\n );\n\n const { children: questionChildren, ...questionProps } = question;\n const { duration, allowMultiselect, layoutType, ...restProps } = props;\n\n return {\n duration: duration ?? 24,\n allowMultiselect: allowMultiselect ?? false,\n layoutType: layoutType ?? PollLayoutType.Default,\n ...restProps,\n question: { text: questionChildren, ...questionProps },\n answers: answers.map(\n ({ children: answerChildren, $$typeof, ...answerProps }) => ({\n text: answerChildren,\n ...answerProps,\n }),\n ),\n };\n}\n\n/**\n * The poll question properties for the poll question component.\n */\nexport interface PollQuestionProps extends Omit<PollQuestionMedia, 'text'> {\n /**\n * The question text content.\n */\n children: PollQuestionMedia['text'];\n}\n\n/**\n * The poll question component defines the question text for a Discord poll.\n * @param props The poll question properties.\n * @returns The poll question media object.\n * @example ```tsx\n * import { PollQuestion } from 'commandkit';\n *\n * const question = <PollQuestion>What's your favorite programming language?</PollQuestion>;\n * ```\n */\nexport function PollQuestion({\n children,\n ...props\n}: PollQuestionProps): PollChild<PollQuestionMedia, PollChildType.Question> {\n return { ...props, text: children, $$typeof: PollChildType.Question };\n}\n\n/**\n * The poll answer properties for the poll answer component.\n */\nexport interface PollAnswerProps extends Omit<PollAnswerData, 'text'> {\n /**\n * The answer text content.\n */\n children: PollAnswerData['text'];\n}\n\n/**\n * The poll answer component defines an answer option for a Discord poll.\n * @param props The poll answer properties.\n * @returns The poll answer data object.\n * @example ```tsx\n * import { PollAnswer } from 'commandkit';\n *\n * const answer = <PollAnswer emoji=\"🟦\">TypeScript</PollAnswer>;\n * ```\n */\nexport function PollAnswer({\n children,\n ...props\n}: PollAnswerProps): PollChild<PollAnswerData, PollChildType.Answer> {\n return { ...props, text: children, $$typeof: PollChildType.Answer };\n}\n"],"mappings":";;;;AAkBA,IAAK,wDAAL;AACE;AACA;;EAFG;;;;;;;;;;;;;;;;AA4BL,SAAgB,KAAK,EAAE,UAAU,GAAG,SAA8B;CAChE,MAAM,WAAW,SAAS,MACvB,UACD,MAAE,aAAiB,cAAE,SACtB;AAED,KAAI,CAAC,SACH,OAAM,IAAI,MAAM,4BAA4B;CAG9C,MAAM,UAAU,SAAS,QACtB,UACD,MAAE,aAAiB,cAAE,OACtB;CAED,MAAM,EAAE,UAAU,kBAAkB,GAAG,kBAAkB;CACzD,MAAM,EAAE,UAAU,kBAAkB,YAAY,GAAG,cAAc;AAEjE,QAAO;EACL,UAAU,YAAY;EACtB,kBAAkB,oBAAoB;EACtC,YAAY,cAAc,0BAAe;EACzC,GAAG;EACH,UAAU;GAAE,MAAM;GAAkB,GAAG;GAAe;EACtD,SAAS,QAAQ,KACd,EAAE,UAAU,gBAAgB,UAAU,GAAG,mBAAmB;GAC3D,MAAM;GACN,GAAG;GACJ,EACF;EACF;;;;;;;;;;;;AAuBH,SAAgB,aAAa,EAC3B,UACA,GAAG,SACuE;AAC1E,QAAO;EAAE,GAAG;EAAO,MAAM;EAAU,UAAU,cAAc;EAAU;;;;;;;;;;;;AAuBvE,SAAgB,WAAW,EACzB,UACA,GAAG,SACgE;AACnE,QAAO;EAAE,GAAG;EAAO,MAAM;EAAU,UAAU,cAAc;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
2
|
let path = require("path");
|
|
3
3
|
path = require_chunk.__toESM(path);
|
|
4
4
|
|
|
@@ -20,4 +20,4 @@ Object.defineProperty(exports, 'toFileURL', {
|
|
|
20
20
|
return toFileURL;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
//# sourceMappingURL=resolve-file-url-
|
|
23
|
+
//# sourceMappingURL=resolve-file-url-BmjHzIKe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-file-url-
|
|
1
|
+
{"version":3,"file":"resolve-file-url-BmjHzIKe.js","names":[],"sources":["../src/utils/resolve-file-url.ts"],"sourcesContent":["import path from 'path';\n\n/**\n * Convert a local file path to a file URL.\n * @param filePath - The local file's path.\n * @param withTs - Whether to append a timestamp to the URL.\n * @returns - The converted file URL.\n */\nexport function toFileURL(filePath: string, withTs = false) {\n const resolvedPath = path.resolve(filePath);\n return `${'file://' + resolvedPath.replace(/\\\\\\\\|\\\\/g, '/')}${withTs ? `?ts=${Date.now()}` : ''}`;\n}\n"],"mappings":";;;;;;;;;;;AAQA,SAAgB,UAAU,UAAkB,SAAS,OAAO;AAE1D,QAAO,GAAG,YADW,aAAK,QAAQ,SAAS,CACR,QAAQ,YAAY,IAAI,GAAG,SAAS,OAAO,KAAK,KAAK,KAAK"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonBuilder, SectionBuilder, TextDisplayBuilder, ThumbnailBuilder } from "discord.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/display/section.d.ts
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* Represents the properties for a section component.
|
|
7
6
|
*/
|
|
@@ -41,5 +40,5 @@ interface ThumbnailProps {
|
|
|
41
40
|
*/
|
|
42
41
|
declare function Thumbnail(props: ThumbnailProps): ThumbnailBuilder;
|
|
43
42
|
//#endregion
|
|
44
|
-
export {
|
|
45
|
-
//# sourceMappingURL=section-
|
|
43
|
+
export { ThumbnailProps as i, SectionProps as n, Thumbnail as r, Section as t };
|
|
44
|
+
//# sourceMappingURL=section-DkUKULnB.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SeparatorBuilder, SeparatorComponentData } from "discord.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/display/separator.d.ts
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* Represents the properties for a separator component.
|
|
7
6
|
*/
|
|
@@ -18,5 +17,5 @@ interface SeparatorProps extends Omit<SeparatorComponentData, 'type'> {}
|
|
|
18
17
|
*/
|
|
19
18
|
declare function Separator(props: SeparatorProps): SeparatorBuilder;
|
|
20
19
|
//#endregion
|
|
21
|
-
export {
|
|
22
|
-
//# sourceMappingURL=separator-
|
|
20
|
+
export { SeparatorProps as n, Separator as t };
|
|
21
|
+
//# sourceMappingURL=separator-CbXsIFCa.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
2
|
let discord_js = require("discord.js");
|
|
3
|
-
discord_js = require_chunk.__toESM(discord_js);
|
|
4
3
|
|
|
5
4
|
//#region src/components/display/separator.ts
|
|
6
5
|
/**
|
|
@@ -24,4 +23,4 @@ Object.defineProperty(exports, 'Separator', {
|
|
|
24
23
|
return Separator;
|
|
25
24
|
}
|
|
26
25
|
});
|
|
27
|
-
//# sourceMappingURL=separator-
|
|
26
|
+
//# sourceMappingURL=separator-DGwA_b1J.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator-
|
|
1
|
+
{"version":3,"file":"separator-DGwA_b1J.js","names":[],"sources":["../src/components/display/separator.ts"],"sourcesContent":["import { SeparatorBuilder, SeparatorComponentData } from 'discord.js';\n\n/**\n * Represents the properties for a separator component.\n */\nexport interface SeparatorProps extends Omit<SeparatorComponentData, 'type'> {}\n\n/**\n * The components v2 separator component\n * @param props The properties for the separator component.\n * @returns The separator builder instance.\n * @example ```tsx\n * import { Separator } from 'commandkit';\n *\n * const separator = <Separator />;\n * ```\n */\nexport function Separator(props: SeparatorProps) {\n const separator = new SeparatorBuilder(props);\n return separator;\n}\n"],"mappings":";;;;;;;;;;;;;;AAiBA,SAAgB,UAAU,OAAuB;AAE/C,QADkB,IAAI,4BAAiB,MAAM"}
|
|
@@ -34,5 +34,5 @@ declare function redirect(): never;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function stopEvents(): never;
|
|
36
36
|
//#endregion
|
|
37
|
-
export {
|
|
38
|
-
//# sourceMappingURL=signals-
|
|
37
|
+
export { stopMiddlewares as i, rethrow as n, stopEvents as r, redirect as t };
|
|
38
|
+
//# sourceMappingURL=signals-BbTgTc0i.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_error_codes = require('./error-codes-Ds0bnPvT.js');
|
|
2
|
-
const require_EventWorkerContext = require('./EventWorkerContext-
|
|
2
|
+
const require_EventWorkerContext = require('./EventWorkerContext-CfqamFWu.js');
|
|
3
3
|
|
|
4
4
|
//#region src/app/interrupt/signals.ts
|
|
5
5
|
/**
|
|
@@ -71,4 +71,4 @@ Object.defineProperty(exports, 'stopMiddlewares', {
|
|
|
71
71
|
return stopMiddlewares;
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
//# sourceMappingURL=signals-
|
|
74
|
+
//# sourceMappingURL=signals-ewEPW2cO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signals-
|
|
1
|
+
{"version":3,"file":"signals-ewEPW2cO.js","names":[],"sources":["../src/app/interrupt/signals.ts"],"sourcesContent":["import {\n CommandKitErrorCodes,\n createCommandKitError,\n isCommandKitError,\n} from '../../utils/error-codes';\nimport { eventWorkerContext } from '../events/EventWorkerContext';\n\n/**\n * Stop upcoming middlewares and command execution.\n */\nexport function stopMiddlewares(): never {\n throw createCommandKitError(CommandKitErrorCodes.StopMiddlewares);\n}\n\n/**\n * Rethrow the error if it is a CommandKit error.\n * @param error The error to rethrow.\n * @example try {\n * doSomething();\n * } catch(e) {\n * // do something\n *\n * // throw the error if it's a commandkit error\n * rethrow(e)\n * }\n */\nexport function rethrow(error: unknown): void {\n if (isCommandKitError(error)) throw error;\n}\n\n/**\n * Stops current command assuming it has been redirected to another command.\n */\nexport function redirect(): never {\n throw createCommandKitError(CommandKitErrorCodes.ForwardedCommand);\n}\n\n/**\n * Stops event propagation. This function should be called inside an event handler\n * to prevent further event handling.\n * @example // src/app/events/messageCreate/handler.ts\n * import { stopEvents } from 'commandkit';\n *\n * export default async function messageCreateHandler() {\n * console.log('Message created');\n * // Stop further event propagation\n * stopEvents();\n * }\n */\nexport function stopEvents(): never {\n if (!eventWorkerContext.getStore()) {\n throw new Error('stopEvents() may only be called inside an event handler');\n }\n\n throw createCommandKitError(CommandKitErrorCodes.StopEvents);\n}\n"],"mappings":";;;;;;;AAUA,SAAgB,kBAAyB;AACvC,OAAM,0CAAsB,yCAAqB,gBAAgB;;;;;;;;;;;;;;AAenE,SAAgB,QAAQ,OAAsB;AAC5C,KAAI,sCAAkB,MAAM,CAAE,OAAM;;;;;AAMtC,SAAgB,WAAkB;AAChC,OAAM,0CAAsB,yCAAqB,iBAAiB;;;;;;;;;;;;;;AAepE,SAAgB,aAAoB;AAClC,KAAI,CAAC,8CAAmB,UAAU,CAChC,OAAM,IAAI,MAAM,0DAA0D;AAG5E,OAAM,0CAAsB,yCAAqB,WAAW"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
2
|
let discord_js = require("discord.js");
|
|
3
|
-
discord_js = require_chunk.__toESM(discord_js);
|
|
4
3
|
|
|
5
4
|
//#region src/flags/store.ts
|
|
6
5
|
/**
|
|
@@ -16,4 +15,4 @@ Object.defineProperty(exports, 'FlagStore', {
|
|
|
16
15
|
return FlagStore;
|
|
17
16
|
}
|
|
18
17
|
});
|
|
19
|
-
//# sourceMappingURL=store-
|
|
18
|
+
//# sourceMappingURL=store-DK4JA-fQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-
|
|
1
|
+
{"version":3,"file":"store-DK4JA-fQ.js","names":[],"sources":["../src/flags/store.ts"],"sourcesContent":["import type { FeatureFlag } from './feature-flags';\nimport { Collection } from 'discord.js';\n\n/**\n * Represents a store for feature flags.\n * This store extends the Collection class to manage feature flags by their keys.\n */\nexport class FlagStore extends Collection<string, FeatureFlag<any, any>> {}\n"],"mappings":";;;;;;;;AAOA,IAAa,YAAb,cAA+B,sBAA0C"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
2
|
let discord_js = require("discord.js");
|
|
3
|
-
discord_js = require_chunk.__toESM(discord_js);
|
|
4
3
|
|
|
5
4
|
//#region src/components/display/text-display.ts
|
|
6
5
|
/**
|
|
@@ -29,4 +28,4 @@ Object.defineProperty(exports, 'TextDisplay', {
|
|
|
29
28
|
return TextDisplay;
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
|
-
//# sourceMappingURL=text-display-
|
|
31
|
+
//# sourceMappingURL=text-display-BVuG7dT-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-display-
|
|
1
|
+
{"version":3,"file":"text-display-BVuG7dT-.js","names":[],"sources":["../src/components/display/text-display.ts"],"sourcesContent":["import { TextDisplayBuilder, TextDisplayComponentData } from 'discord.js';\n\n/**\n * Represents a type that can be encoded as a string.\n */\nexport type StringEncodable = string | number | boolean;\n\n/**\n * Represents the properties for a text display component.\n * This interface extends the TextDisplayComponentData type from discord.js,\n * excluding the 'type' and 'content' properties.\n */\nexport interface TextDisplayProps\n extends Omit<TextDisplayComponentData, 'type' | 'content'> {\n children?: StringEncodable | StringEncodable[];\n content?: string;\n}\n\n/**\n * The components v2 text display component\n * @param props The properties for the text display component.\n * @returns The text display builder instance.\n * @example ```tsx\n * import { TextDisplay } from 'commandkit';\n *\n * const textDisplay = <TextDisplay content=\"Hello, world!\" />;\n * // or\n * const textDisplay = <TextDisplay>Some text content</TextDisplay>;\n * ```\n */\nexport function TextDisplay(props: TextDisplayProps) {\n const textDisplay = new TextDisplayBuilder(props);\n\n if (!props.content && props.children) {\n if (Array.isArray(props.children)) {\n textDisplay.setContent(props.children.join(' '));\n } else {\n textDisplay.setContent(\n typeof props.children === 'string'\n ? props.children\n : String(props.children),\n );\n }\n }\n\n return textDisplay;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA8BA,SAAgB,YAAY,OAAyB;CACnD,MAAM,cAAc,IAAI,8BAAmB,MAAM;AAEjD,KAAI,CAAC,MAAM,WAAW,MAAM,SAC1B,KAAI,MAAM,QAAQ,MAAM,SAAS,CAC/B,aAAY,WAAW,MAAM,SAAS,KAAK,IAAI,CAAC;KAEhD,aAAY,WACV,OAAO,MAAM,aAAa,WAC1B,MAAI,WACJ,OAAI,MAAO,SAAM,CAClB;AAIL,QAAO"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TextDisplayBuilder, TextDisplayComponentData } from "discord.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/display/text-display.d.ts
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* Represents a type that can be encoded as a string.
|
|
7
6
|
*/
|
|
@@ -29,5 +28,5 @@ interface TextDisplayProps extends Omit<TextDisplayComponentData, 'type' | 'cont
|
|
|
29
28
|
*/
|
|
30
29
|
declare function TextDisplay(props: TextDisplayProps): TextDisplayBuilder;
|
|
31
30
|
//#endregion
|
|
32
|
-
export {
|
|
33
|
-
//# sourceMappingURL=text-display-
|
|
31
|
+
export { TextDisplay as n, TextDisplayProps as r, StringEncodable as t };
|
|
32
|
+
//# sourceMappingURL=text-display-D7j39VC-.d.ts.map
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_colors = require('./colors-
|
|
3
|
-
const require_common = require('./common-
|
|
1
|
+
const require_chunk = require('./chunk-kSYXY2_d.js');
|
|
2
|
+
const require_colors = require('./colors-Csc0X4QJ.js');
|
|
3
|
+
const require_common = require('./common-zQwj90Nz.js');
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
|
-
node_fs = require_chunk.__toESM(node_fs);
|
|
6
5
|
let node_path = require("node:path");
|
|
7
|
-
node_path = require_chunk.__toESM(node_path);
|
|
8
6
|
|
|
9
7
|
//#region src/cli/type-checker.ts
|
|
10
8
|
const TS_NOT_FOUND_ERR = `TypeScript must be installed in order to use the type checker. Please install it using \`npm install typescript\` or \`yarn add typescript\``;
|
|
@@ -87,4 +85,4 @@ Object.defineProperty(exports, 'performTypeCheck', {
|
|
|
87
85
|
return performTypeCheck;
|
|
88
86
|
}
|
|
89
87
|
});
|
|
90
|
-
//# sourceMappingURL=type-checker-
|
|
88
|
+
//# sourceMappingURL=type-checker-CFpKDDs8.js.map
|