commandkit 1.0.0-dev.20250611020404 → 1.0.0-dev.20250611155146
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/ai.cjs +21 -0
- package/ai.d.ts +1 -0
- package/dist/ActionRow-CmTHbo2t.js.map +1 -1
- package/dist/{ActionRow-D0wafJhZ.d.ts → ActionRow-DKnFVDME.d.ts} +6 -2
- package/dist/{Button-Bl5nbwTS.d.ts → Button-4ZUXdA56.d.ts} +11 -4
- package/dist/{ButtonKit-BSI7lCI0.d.ts → ButtonKit-C7r7RPNf.d.ts} +21 -2
- package/dist/{ChannelSelectMenuKit-L15A2jpT.d.ts → ChannelSelectMenuKit-BrXvBYNH.d.ts} +19 -3
- package/dist/{CommandKit-CnLBu_7m.js → CommandKit-BqZBlSaB.js} +636 -23
- package/dist/CommandKit-BqZBlSaB.js.map +1 -0
- package/dist/{CommandKit-B-mjdP5x.d.ts → CommandKit-g7NqIdUD.d.ts} +826 -12
- package/dist/CommandKit.d.ts +25 -25
- package/dist/CommandKit.js +26 -26
- package/dist/CommandKitEventsChannel-BL_YN3Rm.js +87 -0
- package/dist/CommandKitEventsChannel-BL_YN3Rm.js.map +1 -0
- package/dist/CommandsRouter-CoOA7hkf.d.ts +146 -0
- package/dist/{CommandsRouter-BHaPno8o.js → CommandsRouter-DFRh47qD.js} +87 -1
- package/dist/CommandsRouter-DFRh47qD.js.map +1 -0
- package/dist/{CompilerPlugin-DrnhOC1c.js → CompilerPlugin-Bmy4izKz.js} +13 -2
- package/dist/CompilerPlugin-Bmy4izKz.js.map +1 -0
- package/dist/{CompilerPluginRuntime-C9wmPMQf.js → CompilerPluginRuntime-CgVU_gU0.js} +59 -1
- package/dist/CompilerPluginRuntime-CgVU_gU0.js.map +1 -0
- package/dist/DefaultLogger-pWzrSxMd.d.ts +60 -0
- package/dist/{EventInterceptor-Bvh05z7n.js → EventInterceptor-DWCHCGRh.js} +5 -1
- package/dist/EventInterceptor-DWCHCGRh.js.map +1 -0
- package/dist/{EventInterceptor-D_oEWSnF.d.ts → EventInterceptor-x-R2qshQ.d.ts} +8 -1
- package/dist/{EventWorkerContext-BYXamZ_4.d.ts → EventWorkerContext-BcXmutAi.d.ts} +25 -2
- package/dist/{EventWorkerContext-BAKiTqJz.js → EventWorkerContext-DxfS_0fJ.js} +24 -1
- package/dist/EventWorkerContext-DxfS_0fJ.js.map +1 -0
- package/dist/ILogger-Cs5SFzqd.d.ts +34 -0
- package/dist/Logger-5ew_YS4P.d.ts +37 -0
- package/dist/{MentionableSelectMenuKit-BiUSKUtZ.d.ts → MentionableSelectMenuKit-CPTKqx-O.d.ts} +14 -3
- package/dist/{MessageCommandParser-D02-wpZN.js → MessageCommandParser-Cz-3I-wL.js} +70 -2
- package/dist/MessageCommandParser-Cz-3I-wL.js.map +1 -0
- package/dist/MessageCommandParser-ROLibZPX.d.ts +195 -0
- package/dist/{Modal-Cxm6cs5c.d.ts → Modal-C6UTRdYQ.d.ts} +8 -4
- package/dist/{ModalKit-CKtQ8eXW.d.ts → ModalKit-Btz58KYn.d.ts} +23 -2
- package/dist/{PluginCommon-DPqnQngK.js → PluginCommon-D_Z8Oiic.js} +23 -1
- package/dist/PluginCommon-D_Z8Oiic.js.map +1 -0
- package/dist/{RoleSelectMenuKit-BSMKkru2.d.ts → RoleSelectMenuKit-C26lU3sN.d.ts} +19 -3
- package/dist/{RuntimePlugin-BJoDa8ZR.js → RuntimePlugin-CehKbceZ.js} +5 -2
- package/dist/RuntimePlugin-CehKbceZ.js.map +1 -0
- package/dist/SelectMenu-Diy87_ba.d.ts +137 -0
- package/dist/{StringSelectMenuKit-B9FHTe48.d.ts → StringSelectMenuKit-Bhs8U6WI.d.ts} +19 -3
- package/dist/{UserSelectMenuKit-DiP0imyo.d.ts → UserSelectMenuKit-CfqFJdxz.d.ts} +19 -3
- package/dist/analytics/analytics-engine.d.ts +25 -25
- package/dist/analytics/analytics-engine.js +26 -26
- package/dist/analytics/analytics-provider.d.ts +25 -25
- package/dist/analytics/constants.d.ts +13 -0
- package/dist/analytics/constants.js +1 -1
- package/dist/analytics/utils.d.ts +13 -0
- package/dist/analytics/utils.js +26 -26
- package/dist/app/commands/AppCommandRunner.d.ts +26 -26
- package/dist/app/commands/AppCommandRunner.js +26 -26
- package/dist/app/commands/Context.d.ts +25 -25
- package/dist/app/commands/Context.js +26 -26
- package/dist/app/commands/MessageCommandParser.d.ts +1 -1
- package/dist/app/commands/MessageCommandParser.js +2 -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 +26 -26
- package/dist/app/events/EventWorkerContext.js +1 -1
- package/dist/app/handlers/AppCommandHandler.d.ts +26 -26
- package/dist/app/handlers/AppCommandHandler.js +26 -26
- package/dist/app/handlers/AppEventsHandler.d.ts +25 -25
- package/dist/app/handlers/AppEventsHandler.js +26 -26
- package/dist/app/index.d.ts +26 -26
- package/dist/app/index.js +27 -27
- package/dist/app/middleware/signals.js +2 -2
- package/dist/app/register/CommandRegistrar.d.ts +25 -25
- package/dist/app/register/CommandRegistrar.js +26 -26
- package/dist/app/router/CommandsRouter.d.ts +1 -1
- package/dist/app/router/CommandsRouter.js +1 -1
- package/dist/app/router/index.d.ts +1 -1
- package/dist/app/router/index.js +1 -1
- package/dist/{app-process-YbSHvqf-.js → app-process-Bo-LedP8.js} +11 -3
- package/dist/app-process-Bo-LedP8.js.map +1 -0
- package/dist/{build-BejatFZX.js → build-B-Ae1hqg.js} +14 -6
- package/dist/build-B-Ae1hqg.js.map +1 -0
- package/dist/cli/app-process.d.ts +5 -0
- package/dist/cli/app-process.js +5 -5
- package/dist/cli/build.d.ts +33 -25
- package/dist/cli/build.js +29 -29
- package/dist/cli/common.d.ts +57 -27
- package/dist/cli/common.js +3 -3
- package/dist/cli/development.d.ts +4 -0
- package/dist/cli/development.js +46 -30
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.d.ts +32 -0
- package/dist/cli/env.js +1 -1
- package/dist/cli/generators.d.ts +8 -0
- package/dist/cli/generators.js +27 -3
- package/dist/cli/generators.js.map +1 -1
- package/dist/cli/information.d.ts +4 -0
- package/dist/cli/information.js +17 -1
- package/dist/cli/information.js.map +1 -1
- package/dist/cli/init.js +27 -27
- package/dist/cli/production.d.ts +9 -0
- package/dist/cli/production.js +39 -31
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.d.ts +2 -0
- package/dist/cli/type-checker.js +4 -4
- package/dist/cli/utils.d.ts +5 -0
- package/dist/cli/utils.js +1 -1
- package/dist/{common-pvPJVTfe.d.ts → common-DOCvOVC4.d.ts} +7 -2
- package/dist/{common-CW8v7gAn.js → common-Dasi9oKU.js} +44 -2
- package/dist/common-Dasi9oKU.js.map +1 -0
- package/dist/{common-CeO-vn8Y.js → common-vnMIelAE.js} +4 -1
- package/dist/common-vnMIelAE.js.map +1 -0
- package/dist/components/common/EventInterceptor.d.ts +1 -1
- package/dist/components/common/EventInterceptor.js +1 -1
- package/dist/components/common/element.d.ts +4 -4
- package/dist/components/common/element.js +2 -2
- package/dist/components/index.d.ts +20 -20
- package/dist/components/index.js +26 -26
- package/dist/components/v1/action-row/ActionRow.d.ts +5 -5
- package/dist/components/v1/button/Button.d.ts +5 -5
- package/dist/components/v1/button/Button.js +26 -26
- package/dist/components/v1/button/ButtonKit.d.ts +2 -2
- package/dist/components/v1/button/ButtonKit.js +26 -26
- package/dist/components/v1/modal/Modal.d.ts +5 -5
- package/dist/components/v1/modal/Modal.js +26 -26
- package/dist/components/v1/modal/ModalKit.d.ts +2 -2
- package/dist/components/v1/modal/ModalKit.js +26 -26
- package/dist/components/v1/select-menu/ChannelSelectMenuKit.d.ts +3 -3
- package/dist/components/v1/select-menu/ChannelSelectMenuKit.js +26 -26
- package/dist/components/v1/select-menu/MentionableSelectMenuKit.d.ts +3 -3
- package/dist/components/v1/select-menu/MentionableSelectMenuKit.js +26 -26
- package/dist/components/v1/select-menu/RoleSelectMenuKit.d.ts +3 -3
- package/dist/components/v1/select-menu/RoleSelectMenuKit.js +26 -26
- package/dist/components/v1/select-menu/SelectMenu.d.ts +8 -8
- package/dist/components/v1/select-menu/SelectMenu.js +26 -26
- package/dist/components/v1/select-menu/StringSelectMenuKit.d.ts +3 -3
- package/dist/components/v1/select-menu/StringSelectMenuKit.js +26 -26
- package/dist/components/v1/select-menu/UserSelectMenuKit.d.ts +3 -3
- package/dist/components/v1/select-menu/UserSelectMenuKit.js +26 -26
- package/dist/components/v1/select-menu/common.d.ts +2 -2
- package/dist/components/v2/common.d.ts +4 -0
- package/dist/components/v2/common.js +1 -1
- package/dist/components/v2/container.d.ts +1 -1
- package/dist/components/v2/container.js +2 -2
- package/dist/components/v2/file.d.ts +1 -1
- package/dist/components/v2/file.js +1 -1
- package/dist/components/v2/index.d.ts +6 -6
- package/dist/components/v2/index.js +7 -7
- package/dist/components/v2/media-gallery.d.ts +1 -1
- package/dist/components/v2/media-gallery.js +2 -2
- package/dist/components/v2/section.d.ts +1 -1
- package/dist/components/v2/section.js +2 -2
- package/dist/components/v2/separator.d.ts +1 -1
- package/dist/components/v2/separator.js +1 -1
- package/dist/components/v2/text-display.d.ts +1 -1
- package/dist/components/v2/text-display.js +1 -1
- package/dist/config/config.d.ts +28 -28
- package/dist/config/config.js +26 -26
- package/dist/config/default.d.ts +30 -27
- package/dist/config/default.js +26 -26
- package/dist/config/loader.d.ts +33 -27
- package/dist/config/loader.js +26 -26
- package/dist/config/types.d.ts +26 -26
- package/dist/config/utils.d.ts +27 -27
- package/dist/config/utils.js +3 -0
- package/dist/config/utils.js.map +1 -1
- package/dist/{config-BjmEZYpx.d.ts → config-CGECBFwj.d.ts} +3 -3
- package/dist/constants-BTttfrm3.d.ts +42 -0
- package/dist/{constants-DWe181uQ.js → constants-CXwjhIYH.js} +9 -1
- package/dist/constants-CXwjhIYH.js.map +1 -0
- package/dist/{constants-CCqS_v55.js → constants-DDRctWlU.js} +14 -8
- package/dist/constants-DDRctWlU.js.map +1 -0
- package/dist/{container-CpuiLsZM.js → container-DCjIgp-B.js} +12 -2
- package/dist/container-DCjIgp-B.js.map +1 -0
- package/dist/container-DaUKKPm-.d.ts +24 -0
- package/dist/context/async-context.d.ts +25 -25
- package/dist/context/async-context.js +26 -26
- package/dist/context/environment.d.ts +25 -25
- package/dist/context/environment.js +26 -26
- package/dist/element-CAXu1XtK.d.ts +72 -0
- package/dist/{element-DcqNz1dV.js → element-Cq-LoDjk.js} +27 -2
- package/dist/element-Cq-LoDjk.js.map +1 -0
- package/dist/{env-ERkaRfQO.js → env-DemeP-uq.js} +33 -1
- package/dist/env-DemeP-uq.js.map +1 -0
- package/dist/{error-codes-C_UO39jz.js → error-codes-CxlUBdF6.js} +20 -1
- package/dist/error-codes-CxlUBdF6.js.map +1 -0
- package/dist/events/CommandKitEventsChannel.d.ts +25 -25
- package/dist/events/CommandKitEventsChannel.js +1 -1
- package/dist/{feature-flags-BFiGn38a.js → feature-flags-CvHcOB7L.js} +4 -4
- package/dist/feature-flags-CvHcOB7L.js.map +1 -0
- package/dist/file-DTrr-p09.d.ts +24 -0
- package/dist/{file-DE69SSOP.js → file-DVZC0QXI.js} +11 -1
- package/dist/file-DVZC0QXI.js.map +1 -0
- package/dist/flags/FlagProvider.d.ts +25 -25
- package/dist/flags/feature-flags.d.ts +25 -25
- package/dist/flags/feature-flags.js +27 -27
- package/dist/flags/store.d.ts +25 -25
- package/dist/flags/store.js +1 -1
- package/dist/{helpers-CswC9gKF.js → helpers-CnfXqF_k.js} +11 -1
- package/dist/helpers-CnfXqF_k.js.map +1 -0
- package/dist/helpers-Wg6P5fRQ.d.ts +23 -0
- package/dist/index.d.ts +34 -34
- package/dist/index.js +30 -31
- package/dist/{init-BDgyvx9E.js → init-BQgLOfl_.js} +6 -6
- package/dist/{init-BDgyvx9E.js.map → init-BQgLOfl_.js.map} +1 -1
- package/dist/logger/DefaultLogger.d.ts +2 -2
- package/dist/logger/DefaultLogger.js +26 -26
- package/dist/logger/ILogger.d.ts +1 -1
- package/dist/logger/Logger.d.ts +2 -2
- package/dist/logger/Logger.js +26 -26
- package/dist/media-gallery-BMsXSot3.d.ts +49 -0
- package/dist/{media-gallery-nUEHqKVF.js → media-gallery-CIKypjbJ.js} +27 -2
- package/dist/media-gallery-CIKypjbJ.js.map +1 -0
- package/dist/plugins/CompilerPlugin.d.ts +25 -25
- package/dist/plugins/CompilerPlugin.js +2 -2
- package/dist/plugins/PluginCommon.d.ts +25 -25
- package/dist/plugins/PluginCommon.js +1 -1
- package/dist/plugins/RuntimePlugin.d.ts +25 -25
- package/dist/plugins/RuntimePlugin.js +2 -2
- package/dist/plugins/index.d.ts +25 -25
- package/dist/plugins/index.js +26 -26
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +25 -25
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +26 -26
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +25 -25
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +1 -1
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +25 -25
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +26 -26
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +37 -25
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +26 -26
- package/dist/plugins/plugin-runtime/runtime.d.ts +25 -25
- package/dist/plugins/types.d.ts +25 -25
- package/dist/{section-D6t7tyEZ.js → section-CuYr0Inu.js} +22 -2
- package/dist/section-CuYr0Inu.js.map +1 -0
- package/dist/section-Dh_FhPeC.d.ts +45 -0
- package/dist/separator-CMf6Cyy5.d.ts +22 -0
- package/dist/{separator-DYAFK-Jj.js → separator-DLdWBjSN.js} +11 -1
- package/dist/separator-DLdWBjSN.js.map +1 -0
- package/dist/{signals-scJdEbly.js → signals-CSSSZAZ6.js} +2 -2
- package/dist/{signals-scJdEbly.js.map → signals-CSSSZAZ6.js.map} +1 -1
- package/dist/{store-Ci6ib2C9.js → store-x93NXUy_.js} +5 -1
- package/dist/store-x93NXUy_.js.map +1 -0
- package/dist/{text-display-Dy6JHB5X.js → text-display--p2-BoUa.js} +13 -1
- package/dist/text-display--p2-BoUa.js.map +1 -0
- package/dist/text-display-DRw3r_lK.d.ts +33 -0
- package/dist/{type-checker-CXVdS7qc.js → type-checker-P8oyY259.js} +6 -2
- package/dist/type-checker-P8oyY259.js.map +1 -0
- package/dist/{types-package-CTSNSM93.js → types-package-BpY3acyl.js} +8 -2
- package/dist/types-package-BpY3acyl.js.map +1 -0
- package/dist/{types-DjL43eQS.d.ts → types-uBjT82V4.d.ts} +2 -2
- package/dist/types.d.ts +25 -25
- package/dist/{utilities-DQT4lzAB.d.ts → utilities-D_MFPmTe.d.ts} +45 -2
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +1 -2
- package/dist/utils/dev-hooks.d.ts +26 -26
- package/dist/utils/dev-hooks.js +26 -26
- package/dist/utils/error-codes.d.ts +34 -0
- package/dist/utils/error-codes.js +1 -1
- package/dist/utils/types-package.d.ts +6 -0
- package/dist/utils/types-package.js +2 -2
- package/dist/utils/utilities.d.ts +1 -1
- package/dist/utils/utilities.js +26 -26
- package/dist/utils/warn-unstable.d.ts +10 -0
- package/dist/utils/warn-unstable.js +1 -1
- package/dist/{utils-VCdd7XhD.d.ts → utils-Bz_BoOnV.d.ts} +12 -2
- package/dist/{utils-IYtoeTur.js → utils-C8a_hMvn.js} +5 -1
- package/dist/utils-C8a_hMvn.js.map +1 -0
- package/dist/{version-CS1EiTrw.js → version-AMyvJ7I3.js} +5 -2
- package/dist/version-AMyvJ7I3.js.map +1 -0
- package/dist/version.js +1 -1
- package/dist/{warn-unstable-DHLaxPC8.js → warn-unstable-CttBdmlS.js} +11 -1
- package/dist/warn-unstable-CttBdmlS.js.map +1 -0
- package/package.json +10 -3
- package/dist/CommandKit-CnLBu_7m.js.map +0 -1
- package/dist/CommandKitEventsChannel-B6LKgxmv.js +0 -44
- package/dist/CommandKitEventsChannel-B6LKgxmv.js.map +0 -1
- package/dist/CommandsRouter-BHaPno8o.js.map +0 -1
- package/dist/CommandsRouter-C7X-eXE2.d.ts +0 -67
- package/dist/CompilerPlugin-DrnhOC1c.js.map +0 -1
- package/dist/CompilerPluginRuntime-C9wmPMQf.js.map +0 -1
- package/dist/DefaultLogger-CcW-Fuq5.d.ts +0 -30
- package/dist/EventInterceptor-Bvh05z7n.js.map +0 -1
- package/dist/EventWorkerContext-BAKiTqJz.js.map +0 -1
- package/dist/ILogger-kqwb2kUu.d.ts +0 -11
- package/dist/Logger-B4B_URL-.d.ts +0 -17
- package/dist/MessageCommandParser-D02-wpZN.js.map +0 -1
- package/dist/MessageCommandParser-tzroBwij.d.ts +0 -62
- package/dist/PluginCommon-DPqnQngK.js.map +0 -1
- package/dist/RuntimePlugin-BJoDa8ZR.js.map +0 -1
- package/dist/SelectMenu-b7jgrkjO.d.ts +0 -36
- package/dist/app-process-YbSHvqf-.js.map +0 -1
- package/dist/build-BejatFZX.js.map +0 -1
- package/dist/common-CW8v7gAn.js.map +0 -1
- package/dist/common-CeO-vn8Y.js.map +0 -1
- package/dist/constants-BPWSrMkn.d.ts +0 -18
- package/dist/constants-CCqS_v55.js.map +0 -1
- package/dist/constants-DWe181uQ.js.map +0 -1
- package/dist/container-CpuiLsZM.js.map +0 -1
- package/dist/container-CwEATQy2.d.ts +0 -10
- package/dist/element-D_nyVwgB.d.ts +0 -30
- package/dist/element-DcqNz1dV.js.map +0 -1
- package/dist/env-ERkaRfQO.js.map +0 -1
- package/dist/error-codes-C_UO39jz.js.map +0 -1
- package/dist/feature-flags-BFiGn38a.js.map +0 -1
- package/dist/file-BdyYwkaI.d.ts +0 -10
- package/dist/file-DE69SSOP.js.map +0 -1
- package/dist/helpers-CswC9gKF.js.map +0 -1
- package/dist/helpers-DAmE106r.d.ts +0 -9
- package/dist/media-gallery-DCu02VXc.d.ts +0 -17
- package/dist/media-gallery-nUEHqKVF.js.map +0 -1
- package/dist/section-D6t7tyEZ.js.map +0 -1
- package/dist/section-fktaECHL.d.ts +0 -18
- package/dist/separator-CuesaLrC.d.ts +0 -8
- package/dist/separator-DYAFK-Jj.js.map +0 -1
- package/dist/store-Ci6ib2C9.js.map +0 -1
- package/dist/text-display-DNMwmGHJ.d.ts +0 -12
- package/dist/text-display-Dy6JHB5X.js.map +0 -1
- package/dist/type-checker-CXVdS7qc.js.map +0 -1
- package/dist/types-package-CTSNSM93.js.map +0 -1
- package/dist/utils/clone.d.ts +0 -5
- package/dist/utils/clone.js +0 -9
- package/dist/utils/clone.js.map +0 -1
- package/dist/utils/get-paths.d.ts +0 -6
- package/dist/utils/get-paths.js +0 -34
- package/dist/utils/get-paths.js.map +0 -1
- package/dist/utils-IYtoeTur.js.map +0 -1
- package/dist/version-CS1EiTrw.js.map +0 -1
- package/dist/warn-unstable-DHLaxPC8.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { CommandKitHMREvent, registerDevHooks } from "../CommandKit-
|
|
2
|
-
import "../EventInterceptor-
|
|
3
|
-
import "../ButtonKit-
|
|
4
|
-
import "../ModalKit-
|
|
5
|
-
import "../element-
|
|
6
|
-
import "../ActionRow-
|
|
1
|
+
import { CommandKitHMREvent, IpcMessageCommand, registerDevHooks } from "../CommandKit-g7NqIdUD.js";
|
|
2
|
+
import "../EventInterceptor-x-R2qshQ.js";
|
|
3
|
+
import "../ButtonKit-C7r7RPNf.js";
|
|
4
|
+
import "../ModalKit-Btz58KYn.js";
|
|
5
|
+
import "../element-CAXu1XtK.js";
|
|
6
|
+
import "../ActionRow-DKnFVDME.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-
|
|
8
|
+
import "../Button-4ZUXdA56.js";
|
|
9
|
+
import "../Modal-C6UTRdYQ.js";
|
|
10
|
+
import "../common-DOCvOVC4.js";
|
|
11
|
+
import "../StringSelectMenuKit-Bhs8U6WI.js";
|
|
12
|
+
import "../ChannelSelectMenuKit-BrXvBYNH.js";
|
|
13
|
+
import "../MentionableSelectMenuKit-CPTKqx-O.js";
|
|
14
|
+
import "../UserSelectMenuKit-CfqFJdxz.js";
|
|
15
|
+
import "../RoleSelectMenuKit-C26lU3sN.js";
|
|
16
|
+
import "../SelectMenu-Diy87_ba.js";
|
|
17
|
+
import "../container-DaUKKPm-.js";
|
|
18
|
+
import "../file-DTrr-p09.js";
|
|
19
|
+
import "../media-gallery-BMsXSot3.js";
|
|
20
|
+
import "../section-Dh_FhPeC.js";
|
|
21
|
+
import "../separator-CMf6Cyy5.js";
|
|
22
|
+
import "../text-display-DRw3r_lK.js";
|
|
23
23
|
import "../index-Dw5cCt-A.js";
|
|
24
24
|
import "../index-E7Wvm5uX.js";
|
|
25
|
-
import "../MessageCommandParser-
|
|
25
|
+
import "../MessageCommandParser-ROLibZPX.js";
|
|
26
26
|
import "../signals-DUoWkeZ7.js";
|
|
27
|
-
import "../helpers-
|
|
28
|
-
import "../CommandsRouter-
|
|
27
|
+
import "../helpers-Wg6P5fRQ.js";
|
|
28
|
+
import "../CommandsRouter-CoOA7hkf.js";
|
|
29
29
|
import "../EventsRouter-BacqK6z3.js";
|
|
30
30
|
import "../index-CUPkUUOR.js";
|
|
31
|
-
import "../constants-
|
|
32
|
-
export { CommandKitHMREvent, registerDevHooks };
|
|
31
|
+
import "../constants-BTttfrm3.js";
|
|
32
|
+
export { CommandKitHMREvent, IpcMessageCommand, registerDevHooks };
|
package/dist/utils/dev-hooks.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
require('../colors-Cd4Oz-r-.js');
|
|
2
2
|
require('../ActionRow-CmTHbo2t.js');
|
|
3
|
-
require('../error-codes-
|
|
4
|
-
const require_CommandKit = require('../CommandKit-
|
|
3
|
+
require('../error-codes-CxlUBdF6.js');
|
|
4
|
+
const require_CommandKit = require('../CommandKit-BqZBlSaB.js');
|
|
5
5
|
require('../common-CcfjYnPG.js');
|
|
6
|
-
require('../common-
|
|
7
|
-
require('../container-
|
|
8
|
-
require('../file-
|
|
9
|
-
require('../media-gallery-
|
|
10
|
-
require('../section-
|
|
11
|
-
require('../separator-
|
|
12
|
-
require('../text-display-
|
|
6
|
+
require('../common-vnMIelAE.js');
|
|
7
|
+
require('../container-DCjIgp-B.js');
|
|
8
|
+
require('../file-DVZC0QXI.js');
|
|
9
|
+
require('../media-gallery-CIKypjbJ.js');
|
|
10
|
+
require('../section-CuYr0Inu.js');
|
|
11
|
+
require('../separator-DLdWBjSN.js');
|
|
12
|
+
require('../text-display--p2-BoUa.js');
|
|
13
13
|
require('../v2-DofkPKHs.js');
|
|
14
|
-
require('../warn-unstable-
|
|
15
|
-
require('../element-
|
|
14
|
+
require('../warn-unstable-CttBdmlS.js');
|
|
15
|
+
require('../element-Cq-LoDjk.js');
|
|
16
16
|
require('../types-B5VPP9ig.js');
|
|
17
|
-
require('../EventInterceptor-
|
|
18
|
-
require('../constants-
|
|
19
|
-
require('../PluginCommon-
|
|
20
|
-
require('../CompilerPlugin-
|
|
21
|
-
require('../RuntimePlugin-
|
|
17
|
+
require('../EventInterceptor-DWCHCGRh.js');
|
|
18
|
+
require('../constants-DDRctWlU.js');
|
|
19
|
+
require('../PluginCommon-D_Z8Oiic.js');
|
|
20
|
+
require('../CompilerPlugin-Bmy4izKz.js');
|
|
21
|
+
require('../RuntimePlugin-CehKbceZ.js');
|
|
22
22
|
require('../types-Bq0EWaM3.js');
|
|
23
|
-
require('../CompilerPluginRuntime-
|
|
23
|
+
require('../CompilerPluginRuntime-CgVU_gU0.js');
|
|
24
24
|
require('../runtime-D0JnztkU.js');
|
|
25
|
-
require('../EventWorkerContext-
|
|
25
|
+
require('../EventWorkerContext-DxfS_0fJ.js');
|
|
26
26
|
require('../resolve-file-url-ifwdwqmq.js');
|
|
27
|
-
require('../MessageCommandParser-
|
|
28
|
-
require('../signals-
|
|
29
|
-
require('../constants-
|
|
30
|
-
require('../types-package-
|
|
31
|
-
require('../CommandsRouter-
|
|
27
|
+
require('../MessageCommandParser-Cz-3I-wL.js');
|
|
28
|
+
require('../signals-CSSSZAZ6.js');
|
|
29
|
+
require('../constants-CXwjhIYH.js');
|
|
30
|
+
require('../types-package-BpY3acyl.js');
|
|
31
|
+
require('../CommandsRouter-DFRh47qD.js');
|
|
32
32
|
require('../EventsRouter-CqnrlbjN.js');
|
|
33
33
|
require('../router-Dn35v30f.js');
|
|
34
|
-
require('../common-
|
|
35
|
-
require('../CommandKitEventsChannel-
|
|
36
|
-
require('../store-
|
|
34
|
+
require('../common-Dasi9oKU.js');
|
|
35
|
+
require('../CommandKitEventsChannel-BL_YN3Rm.js');
|
|
36
|
+
require('../store-x93NXUy_.js');
|
|
37
37
|
|
|
38
38
|
exports.registerDevHooks = require_CommandKit.registerDevHooks;
|
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
//#region src/utils/error-codes.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The error codes used by CommandKit.
|
|
4
|
+
*/
|
|
2
5
|
declare const CommandKitErrorCodes: {
|
|
6
|
+
/**
|
|
7
|
+
* Error code for exiting middleware.
|
|
8
|
+
*/
|
|
3
9
|
readonly ExitMiddleware: symbol;
|
|
10
|
+
/**
|
|
11
|
+
* Error code for forwarded commands.
|
|
12
|
+
*/
|
|
4
13
|
readonly ForwardedCommand: symbol;
|
|
14
|
+
/**
|
|
15
|
+
* Error code for invalid command prefix.
|
|
16
|
+
*/
|
|
5
17
|
readonly InvalidCommandPrefix: symbol;
|
|
18
|
+
/**
|
|
19
|
+
* Error code for plugin capture handle.
|
|
20
|
+
*/
|
|
6
21
|
readonly PluginCaptureHandle: symbol;
|
|
7
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* The type for CommandKit errors.
|
|
25
|
+
*/
|
|
8
26
|
type CommandKitError = Error & {
|
|
9
27
|
code: symbol;
|
|
10
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new CommandKit error with the specified code.
|
|
31
|
+
* @param code The error code to assign to the error.
|
|
32
|
+
* @returns A new CommandKit error instance.
|
|
33
|
+
*/
|
|
11
34
|
declare function createCommandKitError(code: symbol): CommandKitError;
|
|
35
|
+
/**
|
|
36
|
+
* Checks if the given error is a CommandKit error.
|
|
37
|
+
* @param error The error to check.
|
|
38
|
+
* @returns True if the error is a CommandKit error, false otherwise.
|
|
39
|
+
*/
|
|
12
40
|
declare function isCommandKitError(error: unknown): error is CommandKitError;
|
|
41
|
+
/**
|
|
42
|
+
* Checks if the given error is of a specific CommandKit error type.
|
|
43
|
+
* @param error The error to check.
|
|
44
|
+
* @param code The error code or an array of error codes to check against.
|
|
45
|
+
* @returns True if the error matches the specified code(s), false otherwise.
|
|
46
|
+
*/
|
|
13
47
|
declare function isErrorType(error: unknown, code: symbol | symbol[]): boolean;
|
|
14
48
|
//#endregion
|
|
15
49
|
export { CommandKitError, CommandKitErrorCodes, createCommandKitError, isCommandKitError, isErrorType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_error_codes = require('../error-codes-
|
|
1
|
+
const require_error_codes = require('../error-codes-CxlUBdF6.js');
|
|
2
2
|
|
|
3
3
|
exports.CommandKitErrorCodes = require_error_codes.CommandKitErrorCodes;
|
|
4
4
|
exports.createCommandKitError = require_error_codes.createCommandKitError;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
//#region src/utils/types-package.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* @private
|
|
4
|
+
*/
|
|
2
5
|
declare function generateTypesPackage(force?: boolean): Promise<string>;
|
|
6
|
+
/**
|
|
7
|
+
* @private
|
|
8
|
+
*/
|
|
3
9
|
declare function rewriteCommandDeclaration(data: string): Promise<void>;
|
|
4
10
|
//#endregion
|
|
5
11
|
export { generateTypesPackage, rewriteCommandDeclaration };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('../constants-
|
|
2
|
-
const require_types_package = require('../types-package-
|
|
1
|
+
require('../constants-DDRctWlU.js');
|
|
2
|
+
const require_types_package = require('../types-package-BpY3acyl.js');
|
|
3
3
|
|
|
4
4
|
exports.generateTypesPackage = require_types_package.generateTypesPackage;
|
|
5
5
|
exports.rewriteCommandDeclaration = require_types_package.rewriteCommandDeclaration;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { JsonSerialize, SimpleProxy, StopEventPropagationError, createProxy, debounce, defer, devOnly, findAppDirectory, getCurrentDirectory, getSourceDirectories, stopEvents } from "../utilities-
|
|
1
|
+
import { JsonSerialize, SimpleProxy, StopEventPropagationError, createProxy, debounce, defer, devOnly, findAppDirectory, getCurrentDirectory, getSourceDirectories, stopEvents } from "../utilities-D_MFPmTe.js";
|
|
2
2
|
export { JsonSerialize, SimpleProxy, StopEventPropagationError, createProxy, debounce, defer, devOnly, findAppDirectory, getCurrentDirectory, getSourceDirectories, stopEvents };
|
package/dist/utils/utilities.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
require('../colors-Cd4Oz-r-.js');
|
|
2
2
|
require('../ActionRow-CmTHbo2t.js');
|
|
3
|
-
require('../error-codes-
|
|
4
|
-
const require_CommandKit = require('../CommandKit-
|
|
3
|
+
require('../error-codes-CxlUBdF6.js');
|
|
4
|
+
const require_CommandKit = require('../CommandKit-BqZBlSaB.js');
|
|
5
5
|
require('../common-CcfjYnPG.js');
|
|
6
|
-
require('../common-
|
|
7
|
-
require('../container-
|
|
8
|
-
require('../file-
|
|
9
|
-
require('../media-gallery-
|
|
10
|
-
require('../section-
|
|
11
|
-
require('../separator-
|
|
12
|
-
require('../text-display-
|
|
6
|
+
require('../common-vnMIelAE.js');
|
|
7
|
+
require('../container-DCjIgp-B.js');
|
|
8
|
+
require('../file-DVZC0QXI.js');
|
|
9
|
+
require('../media-gallery-CIKypjbJ.js');
|
|
10
|
+
require('../section-CuYr0Inu.js');
|
|
11
|
+
require('../separator-DLdWBjSN.js');
|
|
12
|
+
require('../text-display--p2-BoUa.js');
|
|
13
13
|
require('../v2-DofkPKHs.js');
|
|
14
|
-
require('../warn-unstable-
|
|
15
|
-
require('../element-
|
|
14
|
+
require('../warn-unstable-CttBdmlS.js');
|
|
15
|
+
require('../element-Cq-LoDjk.js');
|
|
16
16
|
require('../types-B5VPP9ig.js');
|
|
17
|
-
require('../EventInterceptor-
|
|
18
|
-
require('../constants-
|
|
19
|
-
require('../PluginCommon-
|
|
20
|
-
require('../CompilerPlugin-
|
|
21
|
-
require('../RuntimePlugin-
|
|
17
|
+
require('../EventInterceptor-DWCHCGRh.js');
|
|
18
|
+
require('../constants-DDRctWlU.js');
|
|
19
|
+
require('../PluginCommon-D_Z8Oiic.js');
|
|
20
|
+
require('../CompilerPlugin-Bmy4izKz.js');
|
|
21
|
+
require('../RuntimePlugin-CehKbceZ.js');
|
|
22
22
|
require('../types-Bq0EWaM3.js');
|
|
23
|
-
require('../CompilerPluginRuntime-
|
|
23
|
+
require('../CompilerPluginRuntime-CgVU_gU0.js');
|
|
24
24
|
require('../runtime-D0JnztkU.js');
|
|
25
|
-
require('../EventWorkerContext-
|
|
25
|
+
require('../EventWorkerContext-DxfS_0fJ.js');
|
|
26
26
|
require('../resolve-file-url-ifwdwqmq.js');
|
|
27
|
-
require('../MessageCommandParser-
|
|
28
|
-
require('../signals-
|
|
29
|
-
require('../constants-
|
|
30
|
-
require('../types-package-
|
|
31
|
-
require('../CommandsRouter-
|
|
27
|
+
require('../MessageCommandParser-Cz-3I-wL.js');
|
|
28
|
+
require('../signals-CSSSZAZ6.js');
|
|
29
|
+
require('../constants-CXwjhIYH.js');
|
|
30
|
+
require('../types-package-BpY3acyl.js');
|
|
31
|
+
require('../CommandsRouter-DFRh47qD.js');
|
|
32
32
|
require('../EventsRouter-CqnrlbjN.js');
|
|
33
33
|
require('../router-Dn35v30f.js');
|
|
34
|
-
require('../common-
|
|
35
|
-
require('../CommandKitEventsChannel-
|
|
36
|
-
require('../store-
|
|
34
|
+
require('../common-Dasi9oKU.js');
|
|
35
|
+
require('../CommandKitEventsChannel-BL_YN3Rm.js');
|
|
36
|
+
require('../store-x93NXUy_.js');
|
|
37
37
|
|
|
38
38
|
exports.JsonSerialize = require_CommandKit.JsonSerialize;
|
|
39
39
|
exports.StopEventPropagationError = require_CommandKit.StopEventPropagationError;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
//#region src/utils/warn-unstable.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Emit a warning message to the console as a CommandKitWarning.
|
|
4
|
+
* @param message - The warning message to emit.
|
|
5
|
+
* @param code - The warning code (default is 'CommandKitWarning').
|
|
6
|
+
*/
|
|
2
7
|
declare function emitWarning(message: string, code?: string): void;
|
|
8
|
+
/**
|
|
9
|
+
* Emit a warning for unstable features in CommandKit.
|
|
10
|
+
* @param name - The name of the unstable feature.
|
|
11
|
+
* @example warnUnstable('MyUnstableFeature');
|
|
12
|
+
*/
|
|
3
13
|
declare function warnUnstable(name: string): void;
|
|
4
14
|
//#endregion
|
|
5
15
|
export { emitWarning, warnUnstable };
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { CommandKitConfig } from "./types-
|
|
1
|
+
import { CommandKitConfig } from "./types-uBjT82V4.js";
|
|
2
2
|
|
|
3
3
|
//#region src/config/utils.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @private
|
|
7
|
+
*/
|
|
4
8
|
type DeepRequired<T> = { [P in keyof T]-?: DeepRequired<T[P]> };
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
5
12
|
type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]> };
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
6
16
|
declare const mergeDeep: <T extends Record<string, any>>(target: T, source: T) => T;
|
|
7
17
|
type ResolvedCommandKitConfig = DeepRequired<CommandKitConfig>;
|
|
8
18
|
//#endregion
|
|
9
19
|
export { DeepPartial, DeepRequired, ResolvedCommandKitConfig, mergeDeep };
|
|
10
|
-
//# sourceMappingURL=utils-
|
|
20
|
+
//# sourceMappingURL=utils-Bz_BoOnV.d.ts.map
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/cli/utils.ts
|
|
3
3
|
let ora;
|
|
4
|
+
/**
|
|
5
|
+
* @private
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
4
8
|
async function createSpinner(text) {
|
|
5
9
|
if (!ora) ora = await import("ora");
|
|
6
10
|
return (ora.default || ora)({
|
|
@@ -16,4 +20,4 @@ Object.defineProperty(exports, 'createSpinner', {
|
|
|
16
20
|
return createSpinner;
|
|
17
21
|
}
|
|
18
22
|
});
|
|
19
|
-
//# sourceMappingURL=utils-
|
|
23
|
+
//# sourceMappingURL=utils-C8a_hMvn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-C8a_hMvn.js","names":[],"sources":["../src/cli/utils.ts"],"sourcesContent":["import type { Ora } from 'ora';\n\nlet ora: typeof import('ora') | undefined;\n\n/**\n * @private\n * @internal\n */\nexport async function createSpinner(text: string): Promise<Ora> {\n if (!ora) {\n ora = await import('ora');\n }\n\n return (ora.default || ora)({\n text,\n color: 'cyan',\n });\n}\n"],"mappings":";;AAEA,IAAI;;;;;AAMJ,eAAsB,cAAc,MAA4B;AAC9D,MAAK,IACH,OAAM,MAAM,OAAO;AAGrB,QAAO,CAAC,IAAI,WAAW,KAAK;EAC1B;EACA,OAAO;CACR,EAAC;AACJ"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/version.ts
|
|
3
3
|
/**
|
|
4
|
+
* @private
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
4
7
|
* The current version of CommandKit.
|
|
5
8
|
*/
|
|
6
|
-
const version = "1.0.0-dev.
|
|
9
|
+
const version = "1.0.0-dev.20250611155146";
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
Object.defineProperty(exports, 'version', {
|
|
@@ -12,4 +15,4 @@ Object.defineProperty(exports, 'version', {
|
|
|
12
15
|
return version;
|
|
13
16
|
}
|
|
14
17
|
});
|
|
15
|
-
//# sourceMappingURL=version-
|
|
18
|
+
//# sourceMappingURL=version-AMyvJ7I3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-AMyvJ7I3.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["/**\n * @private\n */\nfunction $version(): string {\n 'use macro';\n return require('../package.json').version;\n}\n\n/**\n * The current version of CommandKit.\n */\nexport const version: string = $version();\n"],"mappings":";;;;;;;;AAWA,MAAa,UAA4B"}
|
package/dist/version.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/utils/warn-unstable.ts
|
|
3
3
|
const WARNED_KEYS = /* @__PURE__ */ new Set();
|
|
4
|
+
/**
|
|
5
|
+
* Emit a warning message to the console as a CommandKitWarning.
|
|
6
|
+
* @param message - The warning message to emit.
|
|
7
|
+
* @param code - The warning code (default is 'CommandKitWarning').
|
|
8
|
+
*/
|
|
4
9
|
function emitWarning(message, code = "CommandKitWarning") {
|
|
5
10
|
process.emitWarning(message, { code });
|
|
6
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Emit a warning for unstable features in CommandKit.
|
|
14
|
+
* @param name - The name of the unstable feature.
|
|
15
|
+
* @example warnUnstable('MyUnstableFeature');
|
|
16
|
+
*/
|
|
7
17
|
function warnUnstable(name) {
|
|
8
18
|
if (WARNED_KEYS.has(name)) return;
|
|
9
19
|
WARNED_KEYS.add(name);
|
|
@@ -23,4 +33,4 @@ Object.defineProperty(exports, 'warnUnstable', {
|
|
|
23
33
|
return warnUnstable;
|
|
24
34
|
}
|
|
25
35
|
});
|
|
26
|
-
//# sourceMappingURL=warn-unstable-
|
|
36
|
+
//# sourceMappingURL=warn-unstable-CttBdmlS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"warn-unstable-CttBdmlS.js","names":[],"sources":["../src/utils/warn-unstable.ts"],"sourcesContent":["const WARNED_KEYS = new Set<string>();\n\n/**\n * Emit a warning message to the console as a CommandKitWarning.\n * @param message - The warning message to emit.\n * @param code - The warning code (default is 'CommandKitWarning').\n */\nexport function emitWarning(message: string, code = 'CommandKitWarning') {\n process.emitWarning(message, { code });\n}\n\n/**\n * Emit a warning for unstable features in CommandKit.\n * @param name - The name of the unstable feature.\n * @example warnUnstable('MyUnstableFeature');\n */\nexport function warnUnstable(name: string) {\n if (WARNED_KEYS.has(name)) return;\n\n WARNED_KEYS.add(name);\n\n emitWarning(\n `${name} is unstable and may change in future versions.`,\n 'CommandKitUnstableWarning',\n );\n}\n"],"mappings":";;AAAA,MAAM,8BAAc,IAAI;;;;;;AAOxB,SAAgB,YAAY,SAAiB,OAAO,qBAAqB;AACvE,SAAQ,YAAY,SAAS,EAAE,KAAM,EAAC;AACxC;;;;;;AAOA,SAAgB,aAAa,MAAc;AACzC,KAAI,YAAY,IAAI,KAAK,CAAE;AAE3B,aAAY,IAAI,KAAK;AAErB,cACG,EAAE,KAAK,kDACR,4BACD;AACH"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commandkit",
|
|
3
3
|
"description": "Beginner friendly command & event handler for Discord.js",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.20250611155146",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"./events.cjs",
|
|
33
33
|
"./events.d.ts",
|
|
34
34
|
"./analytics.cjs",
|
|
35
|
-
"./analytics.d.ts"
|
|
35
|
+
"./analytics.d.ts",
|
|
36
|
+
"./ai.cjs",
|
|
37
|
+
"./ai.d.ts"
|
|
36
38
|
],
|
|
37
39
|
"exports": {
|
|
38
40
|
".": {
|
|
@@ -94,6 +96,11 @@
|
|
|
94
96
|
"require": "./analytics.cjs",
|
|
95
97
|
"import": "./analytics.cjs",
|
|
96
98
|
"types": "./analytics.d.ts"
|
|
99
|
+
},
|
|
100
|
+
"./ai": {
|
|
101
|
+
"require": "./ai.cjs",
|
|
102
|
+
"import": "./ai.cjs",
|
|
103
|
+
"types": "./ai.d.ts"
|
|
97
104
|
}
|
|
98
105
|
},
|
|
99
106
|
"repository": {
|
|
@@ -129,7 +136,7 @@
|
|
|
129
136
|
"tsx": "^4.19.2",
|
|
130
137
|
"typescript": "^5.7.3",
|
|
131
138
|
"vitest": "^3.0.5",
|
|
132
|
-
"tsconfig": "0.0.0-dev.
|
|
139
|
+
"tsconfig": "0.0.0-dev.20250611155146"
|
|
133
140
|
},
|
|
134
141
|
"peerDependencies": {
|
|
135
142
|
"discord.js": "^14"
|