commandkit 1.2.1-dev.20260414125348 → 1.2.1-dev.20260920033200
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/README.md +1 -1
- package/cache.cjs +2 -0
- package/cache.d.ts +1 -0
- package/dist/{ActionRow-Bt9qi0Mb.d.ts → ActionRow-DSh9roc5.d.ts} +2 -3
- package/dist/{Button-DxJLcZIU.d.ts → Button-BPsE5ju0.d.ts} +5 -6
- package/dist/{ButtonKit-BfcyvWfj.d.ts → ButtonKit-CNPmVg3h.d.ts} +2 -3
- package/dist/{ChannelSelectMenuKit-DYkudikb.d.ts → ChannelSelectMenuKit-CcOdaLQ6.d.ts} +3 -4
- package/dist/{CommandTree-DwfiCsOl.d.ts → CommandTree-qu-8oAEV.d.ts} +1 -1
- package/dist/{CommandsRouter-D-b3xv38.d.ts → CommandsRouter-Co225Ae5.d.ts} +24 -4
- package/dist/{EventInterceptor-D9JKMcfi.d.ts → EventInterceptor-wg378vJp.d.ts} +1 -2
- package/dist/{EventsRouter-Dyr_oJJD.d.ts → EventsRouter-Bt63ZuEF.d.ts} +21 -2
- package/dist/{MentionableSelectMenuKit-Mu4xqP6B.d.ts → MentionableSelectMenuKit-8_Nkgn_a.d.ts} +3 -4
- package/dist/{MessageCommandParser-UTKsRvb9.d.ts → MessageCommandParser-BYbxHOSK.d.ts} +1 -2
- package/dist/{Modal-v9rrcMl-.d.ts → Modal-DbWK6VmV.d.ts} +5 -6
- package/dist/{ModalKit-XJSM65SV.d.ts → ModalKit-CnmUVpw-.d.ts} +2 -3
- package/dist/{RoleSelectMenuKit-CCjcp3HY.d.ts → RoleSelectMenuKit-Bei7DHqD.d.ts} +3 -4
- package/dist/{SelectMenu-CY0vvoSu.d.ts → SelectMenu-Bce_PClo.d.ts} +8 -9
- package/dist/{StringSelectMenuKit-G5nBTicX.d.ts → StringSelectMenuKit-CBeB9HqT.d.ts} +3 -4
- package/dist/TreeArtifact-D6FZ5SVd.d.ts +27 -0
- package/dist/{UserSelectMenuKit-D3SO_fXA.d.ts → UserSelectMenuKit-DZmeZ_Tp.d.ts} +3 -4
- package/dist/analytics/analytics-engine.d.ts +1 -1
- package/dist/analytics/analytics-engine.js +1 -1
- package/dist/analytics/analytics-provider.d.ts +1 -1
- package/dist/analytics/constants.js +0 -1
- package/dist/analytics/constants.js.map +1 -1
- package/dist/analytics/utils.js +1 -1
- package/dist/{analytics-engine-BYA0ongA.d.ts → analytics-engine-Bz1p7ud3.d.ts} +51 -15
- package/dist/app/commands/AppCommandRunner.d.ts +1 -1
- package/dist/app/commands/AppCommandRunner.js +1 -1
- package/dist/app/commands/Context.d.ts +1 -1
- package/dist/app/commands/Context.js +1 -1
- package/dist/app/commands/MessageCommandParser.d.ts +1 -1
- package/dist/app/commands/MessageCommandParser.js +4 -1
- package/dist/app/commands/MessageCommandParser.js.map +1 -1
- package/dist/app/commands/helpers.d.ts +1 -1
- package/dist/app/commands/helpers.js +0 -1
- package/dist/app/commands/helpers.js.map +1 -1
- package/dist/app/events/EventWorkerContext.d.ts +3 -3
- package/dist/app/events/EventWorkerContext.js +0 -1
- package/dist/app/events/EventWorkerContext.js.map +1 -1
- package/dist/app/handlers/AppCommandHandler.d.ts +1 -1
- package/dist/app/handlers/AppCommandHandler.js +1 -1
- package/dist/app/handlers/AppEventsHandler.d.ts +1 -1
- package/dist/app/handlers/AppEventsHandler.js +1 -1
- package/dist/app/index.d.ts +5 -5
- package/dist/app/index.js +1 -1
- package/dist/app/interrupt/signals.d.ts +1 -1
- package/dist/app/interrupt/signals.js.map +1 -1
- package/dist/app/middlewares/permissions.d.ts +1 -2
- package/dist/app/middlewares/permissions.js +1 -1
- package/dist/app/register/CommandRegistrar.d.ts +1 -1
- package/dist/app/register/CommandRegistrar.js +1 -1
- package/dist/app/router/CommandTree.d.ts +1 -1
- package/dist/app/router/CommandsRouter.d.ts +2 -2
- package/dist/app/router/CommandsRouter.js +60 -1
- package/dist/app/router/CommandsRouter.js.map +1 -1
- package/dist/app/router/EventsRouter.d.ts +2 -2
- package/dist/app/router/EventsRouter.js +56 -3
- package/dist/app/router/EventsRouter.js.map +1 -1
- package/dist/app/router/TreeArtifact.d.ts +2 -0
- package/dist/app/router/TreeArtifact.js +87 -0
- package/dist/app/router/TreeArtifact.js.map +1 -0
- package/dist/app/router/index.d.ts +6 -4
- package/dist/app/router/index.js +8 -1
- package/dist/{checkbox-CvQGiyRe.d.ts → checkbox-DoR0Pcxm.d.ts} +2 -3
- package/dist/cli/app-process.d.ts +2 -4
- package/dist/cli/app-process.js +0 -1
- package/dist/cli/app-process.js.map +1 -1
- package/dist/cli/build.d.ts +4 -9
- package/dist/cli/build.js +30 -4
- package/dist/cli/build.js.map +1 -1
- package/dist/cli/common.d.ts +3 -6
- package/dist/cli/common.js +2 -2
- package/dist/cli/common.js.map +1 -1
- package/dist/cli/development.d.ts +4 -5
- package/dist/cli/development.js +11 -11
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.js.map +1 -1
- package/dist/cli/generators.js +0 -1
- package/dist/cli/generators.js.map +1 -1
- package/dist/cli/information.js +4 -5
- package/dist/cli/information.js.map +1 -1
- package/dist/cli/init.d.ts +1 -3
- package/dist/cli/init.js +37 -12
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/production.d.ts +1 -3
- package/dist/cli/production.js +1 -2
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.js +0 -1
- package/dist/cli/type-checker.js.map +1 -1
- package/dist/cli/utils.d.ts +0 -1
- package/dist/cli/utils.js.map +1 -1
- package/dist/{commandkit-DTqT800J.js → commandkit-gJ4YjTy4.js} +165 -87
- package/dist/commandkit-gJ4YjTy4.js.map +1 -0
- package/dist/commandkit.d.ts +1 -1
- package/dist/commandkit.js +1 -1
- package/dist/{common-CCvvgnxi.d.ts → common-CIbPzguv.d.ts} +2 -3
- package/dist/components/common/EventInterceptor.d.ts +1 -1
- package/dist/components/common/EventInterceptor.js +1 -0
- package/dist/components/common/EventInterceptor.js.map +1 -1
- package/dist/components/common/element.d.ts +1 -1
- package/dist/components/common/element.js +1 -1
- package/dist/components/common/types.d.ts +1 -1
- package/dist/components/display/common.d.ts +0 -1
- package/dist/components/display/common.js +1 -1
- package/dist/components/display/container.d.ts +1 -1
- package/dist/components/display/container.js +1 -1
- package/dist/components/display/file.d.ts +1 -1
- package/dist/components/display/file.js +0 -1
- package/dist/components/display/file.js.map +1 -1
- package/dist/components/display/index.d.ts +9 -8
- package/dist/components/display/index.js +1 -1
- package/dist/components/display/label.d.ts +1 -1
- package/dist/components/display/label.js +1 -1
- package/dist/components/display/media-gallery.d.ts +1 -1
- package/dist/components/display/media-gallery.js +1 -1
- package/dist/components/display/poll.d.ts +1 -1
- package/dist/components/display/poll.js +4 -10
- package/dist/components/display/poll.js.map +1 -1
- package/dist/components/display/section.d.ts +1 -1
- package/dist/components/display/section.js +1 -1
- package/dist/components/display/separator.d.ts +1 -1
- package/dist/components/display/separator.js +0 -1
- package/dist/components/display/separator.js.map +1 -1
- package/dist/components/display/text-display.d.ts +1 -1
- package/dist/components/display/text-display.js +0 -1
- package/dist/components/display/text-display.js.map +1 -1
- package/dist/components/index.d.ts +25 -24
- package/dist/components/index.js +1 -1
- package/dist/components/interactive/action-row/ActionRow.d.ts +1 -1
- package/dist/components/interactive/action-row/ActionRow.js +0 -1
- package/dist/components/interactive/action-row/ActionRow.js.map +1 -1
- package/dist/components/interactive/button/Button.d.ts +1 -1
- package/dist/components/interactive/button/Button.js +1 -1
- package/dist/components/interactive/button/ButtonKit.d.ts +1 -1
- package/dist/components/interactive/button/ButtonKit.js +1 -1
- package/dist/components/interactive/checkbox/checkbox.d.ts +1 -1
- package/dist/components/interactive/checkbox/checkbox.js +1 -1
- package/dist/components/interactive/modal/Modal.d.ts +1 -1
- package/dist/components/interactive/modal/Modal.js +1 -1
- package/dist/components/interactive/modal/ModalKit.d.ts +1 -1
- package/dist/components/interactive/modal/ModalKit.js +1 -1
- package/dist/components/interactive/radio/radio.d.ts +1 -1
- package/dist/components/interactive/radio/radio.js +1 -1
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.d.ts +1 -1
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.d.ts +1 -1
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.d.ts +1 -1
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/SelectMenu.d.ts +1 -1
- package/dist/components/interactive/select-menu/SelectMenu.js +1 -1
- package/dist/components/interactive/select-menu/StringSelectMenuKit.d.ts +1 -1
- package/dist/components/interactive/select-menu/StringSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/UserSelectMenuKit.d.ts +1 -1
- package/dist/components/interactive/select-menu/UserSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/common.d.ts +1 -1
- package/dist/config/config.d.ts +1 -2
- package/dist/config/config.js +1 -1
- package/dist/config/default.d.ts +1 -2
- package/dist/config/default.js +1 -1
- package/dist/config/loader.d.ts +1 -2
- package/dist/config/loader.js +1 -1
- package/dist/config/types.d.ts +1 -1
- package/dist/config/utils.d.ts +1 -1
- package/dist/config/utils.js.map +1 -1
- package/dist/{constants-D_sgdBHy.d.ts → constants-B7AfnOFa.d.ts} +1 -1
- package/dist/{constants-GWSfiS4h.d.ts → constants-kWgE3L9F.d.ts} +15 -2
- package/dist/{container-B7Kmw__R.d.ts → container-NVgblXmw.d.ts} +1 -2
- package/dist/context/async-context.d.ts +1 -1
- package/dist/context/async-context.js +1 -1
- package/dist/context/environment.d.ts +1 -1
- package/dist/context/environment.js +1 -1
- package/dist/{element-DeLvTMfZ.d.ts → element-BMZYAAQ-.d.ts} +3 -4
- package/dist/events/CommandKitEventsChannel.d.ts +1 -1
- package/dist/events/CommandKitEventsChannel.js +3 -2
- package/dist/events/CommandKitEventsChannel.js.map +1 -1
- package/dist/{file-BP8aoN3A.d.ts → file-DYAmr697.d.ts} +1 -2
- package/dist/flags/FlagProvider.d.ts +1 -1
- package/dist/flags/FlagProvider.js +1 -0
- package/dist/flags/FlagProvider.js.map +1 -1
- package/dist/flags/feature-flags.d.ts +1 -1
- package/dist/flags/feature-flags.js +1 -1
- package/dist/flags/store.d.ts +1 -1
- package/dist/flags/store.js +0 -1
- package/dist/flags/store.js.map +1 -1
- package/dist/{helpers-C5jRrAM1.d.ts → helpers-vlnRvNJv.d.ts} +1 -2
- package/dist/index-CAFaKBs_.d.ts +8 -0
- package/dist/index-COt7nfC9.d.ts +2 -0
- package/dist/index-DvqHpiuh.d.ts +16 -0
- package/dist/index.d.ts +37 -34
- package/dist/index.js +9 -2
- package/dist/kv/constants.d.ts +1 -1
- package/dist/kv/constants.js.map +1 -1
- package/dist/kv/dotprops.js.map +1 -1
- package/dist/kv/kv.d.ts +0 -1
- package/dist/kv/kv.js +1 -1
- package/dist/kv/kv.js.map +1 -1
- package/dist/kv/serde.d.ts +1 -2
- package/dist/kv/serde.js +27 -27
- package/dist/kv/serde.js.map +1 -1
- package/dist/{label-CqHiBMXP.d.ts → label-DClaYktn.d.ts} +1 -2
- package/dist/logger/DefaultLogger.d.ts +0 -1
- package/dist/logger/DefaultLogger.js +1 -1
- package/dist/logger/Logger.d.ts +0 -1
- package/dist/logger/Logger.js +1 -1
- package/dist/logger/NoopLogger.d.ts +0 -1
- package/dist/logger/NoopLogger.js.map +1 -1
- package/dist/{media-gallery-hFfa57Kd.d.ts → media-gallery-z2Snzz-u.d.ts} +1 -2
- package/dist/plugins/CompilerPlugin.d.ts +1 -1
- package/dist/plugins/CompilerPlugin.js +2 -2
- package/dist/plugins/CompilerPlugin.js.map +1 -1
- package/dist/plugins/PluginCommon.d.ts +1 -1
- package/dist/plugins/PluginCommon.js +1 -1
- package/dist/plugins/PluginCommon.js.map +1 -1
- package/dist/plugins/RuntimePlugin.d.ts +1 -1
- package/dist/plugins/RuntimePlugin.js +2 -2
- package/dist/plugins/RuntimePlugin.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +1 -1
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +1 -1
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +1 -1
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +1 -1
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +1 -1
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +1 -1
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +1 -2
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +1 -1
- package/dist/plugins/plugin-runtime/runtime.d.ts +1 -1
- package/dist/plugins/types.d.ts +1 -1
- package/dist/{poll-ElAd5Z2K.d.ts → poll-D2QDStsw.d.ts} +4 -14
- package/dist/{radio-Dcd4YIZx.d.ts → radio-CJH_N4lq.d.ts} +2 -3
- package/dist/{section-BqDLXlp3.d.ts → section-DrFBT5b-.d.ts} +1 -2
- package/dist/{separator-DSaCa1Tc.d.ts → separator-BVm3w6yd.d.ts} +1 -2
- package/dist/{signals-DVOXPkQK.d.ts → signals-DRMDrCOn.d.ts} +1 -1
- package/dist/{text-display-D-0dD7bR.d.ts → text-display-BG0nNqy3.d.ts} +1 -2
- package/dist/{types-DZy7U-Ld.d.ts → types-ur7SvktF.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils/colors.d.ts +1 -3
- package/dist/utils/colors.js +0 -1
- package/dist/utils/colors.js.map +1 -1
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +19 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dev-hooks.d.ts +1 -1
- package/dist/utils/dev-hooks.js +1 -1
- package/dist/utils/error-codes.js +15 -0
- package/dist/utils/error-codes.js.map +1 -1
- package/dist/utils/resolve-file-url.js +2 -2
- package/dist/utils/resolve-file-url.js.map +1 -1
- package/dist/utils/types-package.d.ts +6 -2
- package/dist/utils/types-package.js +31 -38
- package/dist/utils/types-package.js.map +1 -1
- package/dist/utils/useful-stuff/async-queue.js.map +1 -1
- package/dist/utils/useful-stuff/mutex.js.map +1 -1
- package/dist/utils/useful-stuff/ratelimiter.js +4 -1
- package/dist/utils/useful-stuff/ratelimiter.js.map +1 -1
- package/dist/utils/useful-stuff/semaphore.js.map +1 -1
- package/dist/utils/utilities.js +1 -1
- package/dist/utils/warning.d.ts +1 -5
- package/dist/utils/warning.js.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +17 -17
- package/dist/commandkit-DTqT800J.js.map +0 -1
- package/dist/index-CQiOqvUC.d.ts +0 -1
- package/dist/index-CTLjHn5u.d.ts +0 -1
- package/dist/index-LKrIp3Oo.d.ts +0 -1
- /package/dist/{chunk-BE-pF4vm.js → rolldown-runtime-C_NdSu1c.js} +0 -0
package/dist/kv/serde.js
CHANGED
|
@@ -4,80 +4,80 @@ const require_kv_constants = require('./constants.js');
|
|
|
4
4
|
//#region src/kv/serde.ts
|
|
5
5
|
function serializer(value) {
|
|
6
6
|
if (value === null) return {
|
|
7
|
-
t:
|
|
7
|
+
t: 6,
|
|
8
8
|
v: null
|
|
9
9
|
};
|
|
10
10
|
if (value === void 0) return {
|
|
11
|
-
t:
|
|
11
|
+
t: 7,
|
|
12
12
|
v: void 0
|
|
13
13
|
};
|
|
14
14
|
if (typeof value === "string") return {
|
|
15
|
-
t:
|
|
15
|
+
t: 0,
|
|
16
16
|
v: value
|
|
17
17
|
};
|
|
18
18
|
if (typeof value === "number") return {
|
|
19
|
-
t:
|
|
19
|
+
t: 1,
|
|
20
20
|
v: value
|
|
21
21
|
};
|
|
22
22
|
if (typeof value === "boolean") return {
|
|
23
|
-
t:
|
|
23
|
+
t: 2,
|
|
24
24
|
v: value
|
|
25
25
|
};
|
|
26
26
|
if (typeof value === "bigint") return {
|
|
27
|
-
t:
|
|
27
|
+
t: 5,
|
|
28
28
|
v: value.toString()
|
|
29
29
|
};
|
|
30
30
|
if (value instanceof Date) return {
|
|
31
|
-
t:
|
|
31
|
+
t: 4,
|
|
32
32
|
v: value.toISOString()
|
|
33
33
|
};
|
|
34
34
|
if (Array.isArray(value)) return {
|
|
35
|
-
t:
|
|
35
|
+
t: 8,
|
|
36
36
|
v: value
|
|
37
37
|
};
|
|
38
38
|
if (value instanceof Map) return {
|
|
39
|
-
t:
|
|
39
|
+
t: 9,
|
|
40
40
|
v: Array.from(value.entries())
|
|
41
41
|
};
|
|
42
42
|
if (value instanceof Set) return {
|
|
43
|
-
t:
|
|
43
|
+
t: 10,
|
|
44
44
|
v: Array.from(value)
|
|
45
45
|
};
|
|
46
46
|
if (Buffer.isBuffer(value)) return {
|
|
47
|
-
t:
|
|
47
|
+
t: 11,
|
|
48
48
|
v: value.toString("base64")
|
|
49
49
|
};
|
|
50
50
|
if (value instanceof RegExp) return {
|
|
51
|
-
t:
|
|
51
|
+
t: 12,
|
|
52
52
|
v: {
|
|
53
53
|
source: value.source,
|
|
54
54
|
flags: value.flags
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
if (typeof value === "object") return {
|
|
58
|
-
t:
|
|
58
|
+
t: 3,
|
|
59
59
|
v: value
|
|
60
60
|
};
|
|
61
61
|
return {
|
|
62
|
-
t:
|
|
62
|
+
t: 0,
|
|
63
63
|
v: String(value)
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
function deserializer(serialized) {
|
|
67
67
|
switch (serialized.t) {
|
|
68
|
-
case
|
|
69
|
-
case
|
|
70
|
-
case
|
|
71
|
-
case
|
|
72
|
-
case
|
|
73
|
-
case
|
|
74
|
-
case
|
|
75
|
-
case
|
|
76
|
-
case
|
|
77
|
-
case
|
|
78
|
-
case
|
|
79
|
-
case
|
|
80
|
-
case
|
|
68
|
+
case 6: return null;
|
|
69
|
+
case 7: return;
|
|
70
|
+
case 0: return serialized.v;
|
|
71
|
+
case 1: return serialized.v;
|
|
72
|
+
case 2: return serialized.v;
|
|
73
|
+
case 5: return BigInt(serialized.v);
|
|
74
|
+
case 4: return new Date(serialized.v);
|
|
75
|
+
case 8: return serialized.v;
|
|
76
|
+
case 9: return new Map(serialized.v);
|
|
77
|
+
case 10: return new Set(serialized.v);
|
|
78
|
+
case 11: return Buffer.from(serialized.v, "base64");
|
|
79
|
+
case 12: return new RegExp(serialized.v.source, serialized.v.flags);
|
|
80
|
+
case 3: return serialized.v;
|
|
81
81
|
default: return serialized.v;
|
|
82
82
|
}
|
|
83
83
|
}
|
package/dist/kv/serde.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serde.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"serde.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LabelBuilder, LabelBuilderData } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/label.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* The label properties for the label component.
|
|
@@ -25,4 +24,4 @@ interface LabelProps extends Omit<LabelBuilderData, 'component' | 'type'> {
|
|
|
25
24
|
declare function Label(props: LabelProps): LabelBuilder;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { LabelProps as n, Label as t };
|
|
28
|
-
//# sourceMappingURL=label-
|
|
27
|
+
//# sourceMappingURL=label-DClaYktn.d.ts.map
|
package/dist/logger/Logger.d.ts
CHANGED
package/dist/logger/Logger.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../commandkit-
|
|
2
|
+
const require_commandkit = require('../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.Logger = require_commandkit.Logger;
|
|
5
5
|
exports.createLogger = require_commandkit.createLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoopLogger.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"NoopLogger.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MediaGalleryBuilder, MediaGalleryItemBuilder } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/media-gallery.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents the properties for a media gallery component.
|
|
@@ -45,4 +44,4 @@ interface MediaGalleryItemProps {
|
|
|
45
44
|
declare function MediaGalleryItem(props: MediaGalleryItemProps): MediaGalleryItemBuilder;
|
|
46
45
|
//#endregion
|
|
47
46
|
export { MediaGalleryProps as i, MediaGalleryItem as n, MediaGalleryItemProps as r, MediaGallery as t };
|
|
48
|
-
//# sourceMappingURL=media-gallery-
|
|
47
|
+
//# sourceMappingURL=media-gallery-z2Snzz-u.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as CompilerPlugin, J as isCompilerPlugin, K as PluginTransformParameters, q as TransformedResult } from "../analytics-engine-
|
|
1
|
+
import { G as CompilerPlugin, J as isCompilerPlugin, K as PluginTransformParameters, q as TransformedResult } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CompilerPlugin, PluginTransformParameters, TransformedResult, isCompilerPlugin };
|
|
@@ -9,7 +9,7 @@ var CompilerPlugin = class extends require_plugins_PluginCommon.PluginCommon {
|
|
|
9
9
|
/**
|
|
10
10
|
* The type of the plugin, which is Compiler.
|
|
11
11
|
*/
|
|
12
|
-
type =
|
|
12
|
+
type = "compiler";
|
|
13
13
|
/**
|
|
14
14
|
* Called when transformation is requested to this plugin
|
|
15
15
|
* @param params The parameters for the transformation
|
|
@@ -25,7 +25,7 @@ var CompilerPlugin = class extends require_plugins_PluginCommon.PluginCommon {
|
|
|
25
25
|
* @returns Boolean indicating whether the object is a CompilerPlugin.
|
|
26
26
|
*/
|
|
27
27
|
function isCompilerPlugin(plugin) {
|
|
28
|
-
return plugin instanceof CompilerPlugin || require_plugins_PluginCommon.isPlugin(plugin) && plugin.type ===
|
|
28
|
+
return plugin instanceof CompilerPlugin || require_plugins_PluginCommon.isPlugin(plugin) && plugin.type === "compiler";
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompilerPlugin.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"CompilerPlugin.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as isPlugin, L as PluginCommon, R as PluginOptions, z as PluginType } from "../analytics-engine-
|
|
1
|
+
import { B as isPlugin, L as PluginCommon, R as PluginOptions, z as PluginType } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { PluginCommon, PluginOptions, PluginType, isPlugin };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_chunk = require('../chunk-BE-pF4vm.js');
|
|
3
2
|
let node_crypto = require("node:crypto");
|
|
4
3
|
|
|
5
4
|
//#region src/plugins/PluginCommon.ts
|
|
@@ -17,6 +16,7 @@ let PluginType = /* @__PURE__ */ function(PluginType) {
|
|
|
17
16
|
* Base class for CommandKit plugins.
|
|
18
17
|
*/
|
|
19
18
|
var PluginCommon = class {
|
|
19
|
+
options;
|
|
20
20
|
/**
|
|
21
21
|
* Unique identifier for the plugin instance.
|
|
22
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginCommon.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"PluginCommon.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RuntimePlugin, et as isRuntimePlugin } from "../analytics-engine-
|
|
1
|
+
import { $ as RuntimePlugin, et as isRuntimePlugin } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { RuntimePlugin, isRuntimePlugin };
|
|
@@ -6,7 +6,7 @@ const require_plugins_PluginCommon = require('./PluginCommon.js');
|
|
|
6
6
|
* CommandKit plugin that runs at the runtime.
|
|
7
7
|
*/
|
|
8
8
|
var RuntimePlugin = class extends require_plugins_PluginCommon.PluginCommon {
|
|
9
|
-
type =
|
|
9
|
+
type = "runtime";
|
|
10
10
|
preload = /* @__PURE__ */ new Set();
|
|
11
11
|
/**
|
|
12
12
|
* Called before commands are loaded
|
|
@@ -116,7 +116,7 @@ var RuntimePlugin = class extends require_plugins_PluginCommon.PluginCommon {
|
|
|
116
116
|
async willEmitEvent(ctx, event) {}
|
|
117
117
|
};
|
|
118
118
|
function isRuntimePlugin(plugin) {
|
|
119
|
-
return plugin instanceof RuntimePlugin || require_plugins_PluginCommon.isPlugin(plugin) && plugin.type ===
|
|
119
|
+
return plugin instanceof RuntimePlugin || require_plugins_PluginCommon.isPlugin(plugin) && plugin.type === "runtime";
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimePlugin.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"RuntimePlugin.js","names":[],"sources":[],"mappings":""}
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RuntimePlugin, G as CompilerPlugin, H as CompilerPluginRuntime, I as CommandKitPluginRuntime, J as isCompilerPlugin, K as PluginTransformParameters, Q as TemplateHandler, U as CommonDirectiveTransformer, V as CommonPluginRuntime, W as CommonDirectiveTransformerOptions, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey, et as isRuntimePlugin, q as TransformedResult } from "../analytics-engine-
|
|
1
|
+
import { $ as RuntimePlugin, G as CompilerPlugin, H as CompilerPluginRuntime, I as CommandKitPluginRuntime, J as isCompilerPlugin, K as PluginTransformParameters, Q as TemplateHandler, U as CommonDirectiveTransformer, V as CommonPluginRuntime, W as CommonDirectiveTransformerOptions, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey, et as isRuntimePlugin, q as TransformedResult } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommandKitEventDispatch, CommandKitPlugin, CommandKitPluginRuntime, CommonDirectiveTransformer, CommonDirectiveTransformerOptions, CommonPluginRuntime, CompilerPlugin, CompilerPluginRuntime, MaybeFalsey, PluginTransformParameters, RuntimePlugin, TemplateHandler, TransformedResult, isCompilerPlugin, isRuntimePlugin };
|
package/dist/plugins/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../commandkit-
|
|
2
|
+
const require_commandkit = require('../commandkit-gJ4YjTy4.js');
|
|
3
3
|
const require_plugins_CompilerPlugin = require('./CompilerPlugin.js');
|
|
4
4
|
const require_plugins_RuntimePlugin = require('./RuntimePlugin.js');
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { I as CommandKitPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { I as CommandKitPluginRuntime } from "../../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommandKitPluginRuntime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../../commandkit-
|
|
2
|
+
const require_commandkit = require('../../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.CommandKitPluginRuntime = require_commandkit.CommandKitPluginRuntime;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as CompilerPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { H as CompilerPluginRuntime } from "../../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CompilerPluginRuntime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../../commandkit-
|
|
2
|
+
const require_commandkit = require('../../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.CompilerPluginRuntime = require_commandkit.CompilerPluginRuntime;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { U as CommonDirectiveTransformer, W as CommonDirectiveTransformerOptions } from "../../../analytics-engine-
|
|
1
|
+
import { U as CommonDirectiveTransformer, W as CommonDirectiveTransformerOptions } from "../../../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommonDirectiveTransformer, CommonDirectiveTransformerOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../../../commandkit-
|
|
2
|
+
const require_commandkit = require('../../../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.CommonDirectiveTransformer = require_commandkit.CommonDirectiveTransformer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { G as CompilerPlugin, K as PluginTransformParameters, Z as MaybeFalsey, q as TransformedResult } from "../../../analytics-engine-
|
|
2
|
-
|
|
1
|
+
import { G as CompilerPlugin, K as PluginTransformParameters, Z as MaybeFalsey, q as TransformedResult } from "../../../analytics-engine-Bz1p7ud3.js";
|
|
3
2
|
//#region src/plugins/plugin-runtime/builtin/MacroPlugin.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Macro plugin enables the use of `"use macro"` directive in the code.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../../../commandkit-
|
|
2
|
+
const require_commandkit = require('../../../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.MacroPlugin = require_commandkit.MacroPlugin;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as CommonPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { V as CommonPluginRuntime } from "../../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommonPluginRuntime };
|
package/dist/plugins/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Q as TemplateHandler, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey } from "../analytics-engine-
|
|
1
|
+
import { Q as TemplateHandler, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommandKitEventDispatch, CommandKitPlugin, MaybeFalsey, TemplateHandler };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PollAnswerData, PollData, PollQuestionMedia } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/poll.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* The poll properties for the poll component.
|
|
@@ -33,10 +32,7 @@ type PollChildrenType = PollChild<PollQuestionProps, PollChildType.Question> | P
|
|
|
33
32
|
* </Poll>;
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
declare function Poll({
|
|
37
|
-
children,
|
|
38
|
-
...props
|
|
39
|
-
}: PollProps): PollData;
|
|
35
|
+
declare function Poll({ children, ...props }: PollProps): PollData;
|
|
40
36
|
/**
|
|
41
37
|
* The poll question properties for the poll question component.
|
|
42
38
|
*/
|
|
@@ -56,10 +52,7 @@ interface PollQuestionProps extends Omit<PollQuestionMedia, 'text'> {
|
|
|
56
52
|
* const question = <PollQuestion>What's your favorite programming language?</PollQuestion>;
|
|
57
53
|
* ```
|
|
58
54
|
*/
|
|
59
|
-
declare function PollQuestion({
|
|
60
|
-
children,
|
|
61
|
-
...props
|
|
62
|
-
}: PollQuestionProps): PollChild<PollQuestionMedia, PollChildType.Question>;
|
|
55
|
+
declare function PollQuestion({ children, ...props }: PollQuestionProps): PollChild<PollQuestionMedia, PollChildType.Question>;
|
|
63
56
|
/**
|
|
64
57
|
* The poll answer properties for the poll answer component.
|
|
65
58
|
*/
|
|
@@ -79,10 +72,7 @@ interface PollAnswerProps extends Omit<PollAnswerData, 'text'> {
|
|
|
79
72
|
* const answer = <PollAnswer emoji="🟦">TypeScript</PollAnswer>;
|
|
80
73
|
* ```
|
|
81
74
|
*/
|
|
82
|
-
declare function PollAnswer({
|
|
83
|
-
children,
|
|
84
|
-
...props
|
|
85
|
-
}: PollAnswerProps): PollChild<PollAnswerData, PollChildType.Answer>;
|
|
75
|
+
declare function PollAnswer({ children, ...props }: PollAnswerProps): PollChild<PollAnswerData, PollChildType.Answer>;
|
|
86
76
|
//#endregion
|
|
87
77
|
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-
|
|
78
|
+
//# sourceMappingURL=poll-D2QDStsw.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as MaybeArray } from "./types-
|
|
1
|
+
import { t as MaybeArray } from "./types-ur7SvktF.js";
|
|
2
2
|
import { RadioGroupBuilder, RadioGroupComponentData, RadioGroupOptionBuilder } from "discord.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/interactive/radio/radio.d.ts
|
|
5
4
|
interface RadioGroupProps extends Omit<RadioGroupComponentData, 'type' | 'options'> {
|
|
6
5
|
id?: number;
|
|
@@ -18,4 +17,4 @@ interface RadioGroupOptionProps {
|
|
|
18
17
|
declare function RadioGroupOption(props: RadioGroupOptionProps): RadioGroupOptionBuilder;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { RadioGroupProps as i, RadioGroupOption as n, RadioGroupOptionProps as r, RadioGroup as t };
|
|
21
|
-
//# sourceMappingURL=radio-
|
|
20
|
+
//# sourceMappingURL=radio-CJH_N4lq.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonBuilder, SectionBuilder, TextDisplayBuilder, ThumbnailBuilder } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/section.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents the properties for a section component.
|
|
@@ -41,4 +40,4 @@ interface ThumbnailProps {
|
|
|
41
40
|
declare function Thumbnail(props: ThumbnailProps): ThumbnailBuilder;
|
|
42
41
|
//#endregion
|
|
43
42
|
export { ThumbnailProps as i, SectionProps as n, Thumbnail as r, Section as t };
|
|
44
|
-
//# sourceMappingURL=section-
|
|
43
|
+
//# sourceMappingURL=section-DrFBT5b-.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SeparatorBuilder, SeparatorComponentData } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/separator.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents the properties for a separator component.
|
|
@@ -18,4 +17,4 @@ interface SeparatorProps extends Omit<SeparatorComponentData, 'type'> {}
|
|
|
18
17
|
declare function Separator(props: SeparatorProps): SeparatorBuilder;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { SeparatorProps as n, Separator as t };
|
|
21
|
-
//# sourceMappingURL=separator-
|
|
20
|
+
//# sourceMappingURL=separator-BVm3w6yd.d.ts.map
|
|
@@ -35,4 +35,4 @@ declare function redirect(): never;
|
|
|
35
35
|
declare function stopEvents(): never;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { stopMiddlewares as i, rethrow as n, stopEvents as r, redirect as t };
|
|
38
|
-
//# sourceMappingURL=signals-
|
|
38
|
+
//# sourceMappingURL=signals-DRMDrCOn.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextDisplayBuilder, TextDisplayComponentData } from "discord.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/display/text-display.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents a type that can be encoded as a string.
|
|
@@ -29,4 +28,4 @@ interface TextDisplayProps extends Omit<TextDisplayComponentData, 'type' | 'cont
|
|
|
29
28
|
declare function TextDisplay(props: TextDisplayProps): TextDisplayBuilder;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { TextDisplay as n, TextDisplayProps as r, StringEncodable as t };
|
|
32
|
-
//# sourceMappingURL=text-display-
|
|
31
|
+
//# sourceMappingURL=text-display-BG0nNqy3.d.ts.map
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _n as EventHandler, fn as CommandContext, gn as CommandMetadataFunction, hn as CommandMetadata, mn as CommandKitOptions, pn as CommandData } from "./analytics-engine-
|
|
1
|
+
import { _n as EventHandler, fn as CommandContext, gn as CommandMetadataFunction, hn as CommandMetadata, mn as CommandKitOptions, pn as CommandData } from "./analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommandContext, CommandData, CommandKitOptions, CommandMetadata, CommandMetadataFunction, EventHandler };
|
package/dist/utils/colors.d.ts
CHANGED
package/dist/utils/colors.js
CHANGED
package/dist/utils/colors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"colors.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as COMMANDKIT_IS_TEST, i as COMMANDKIT_IS_DEV, n as COMMANDKIT_CWD, o as
|
|
2
|
-
export { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CWD, COMMANDKIT_IS_CLI, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventType, isBuildLikeEnvironment };
|
|
1
|
+
import { a as COMMANDKIT_IS_TEST, c as isBuildLikeEnvironment, i as COMMANDKIT_IS_DEV, n as COMMANDKIT_CWD, o as HMREventChangeType, r as COMMANDKIT_IS_CLI, s as HMREventType, t as COMMANDKIT_BOOTSTRAP_MODE } from "../constants-kWgE3L9F.js";
|
|
2
|
+
export { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CWD, COMMANDKIT_IS_CLI, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventChangeType, HMREventType, isBuildLikeEnvironment };
|
package/dist/utils/constants.js
CHANGED
|
@@ -35,10 +35,28 @@ const COMMANDKIT_BOOTSTRAP_MODE = process.env.COMMANDKIT_BOOTSTRAP_MODE || "deve
|
|
|
35
35
|
* Types of Hot Module Replacement events
|
|
36
36
|
*/
|
|
37
37
|
const HMREventType = {
|
|
38
|
+
/**
|
|
39
|
+
* HMR event for reloading commands.
|
|
40
|
+
*/
|
|
38
41
|
ReloadCommands: "reload-commands",
|
|
42
|
+
/**
|
|
43
|
+
* HMR event for reloading events.
|
|
44
|
+
*/
|
|
39
45
|
ReloadEvents: "reload-events",
|
|
46
|
+
/**
|
|
47
|
+
* HMR event for reloading unknown path, typically used by the plugins.
|
|
48
|
+
*/
|
|
40
49
|
Unknown: "unknown"
|
|
41
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* File system change types delivered through HMR messages.
|
|
53
|
+
*/
|
|
54
|
+
const HMREventChangeType = {
|
|
55
|
+
Add: "add",
|
|
56
|
+
Change: "change",
|
|
57
|
+
Unlink: "unlink",
|
|
58
|
+
UnlinkDir: "unlinkDir"
|
|
59
|
+
};
|
|
42
60
|
|
|
43
61
|
//#endregion
|
|
44
62
|
exports.COMMANDKIT_BOOTSTRAP_MODE = COMMANDKIT_BOOTSTRAP_MODE;
|
|
@@ -46,6 +64,7 @@ exports.COMMANDKIT_CWD = COMMANDKIT_CWD;
|
|
|
46
64
|
exports.COMMANDKIT_IS_CLI = COMMANDKIT_IS_CLI;
|
|
47
65
|
exports.COMMANDKIT_IS_DEV = COMMANDKIT_IS_DEV;
|
|
48
66
|
exports.COMMANDKIT_IS_TEST = COMMANDKIT_IS_TEST;
|
|
67
|
+
exports.HMREventChangeType = HMREventChangeType;
|
|
49
68
|
exports.HMREventType = HMREventType;
|
|
50
69
|
exports.isBuildLikeEnvironment = isBuildLikeEnvironment;
|
|
51
70
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"constants.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nt as IpcMessageCommand, rt as registerDevHooks, tt as CommandKitHMREvent } from "../analytics-engine-
|
|
1
|
+
import { nt as IpcMessageCommand, rt as registerDevHooks, tt as CommandKitHMREvent } from "../analytics-engine-Bz1p7ud3.js";
|
|
2
2
|
export { CommandKitHMREvent, IpcMessageCommand, registerDevHooks };
|
package/dist/utils/dev-hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require('../commandkit-
|
|
2
|
+
const require_commandkit = require('../commandkit-gJ4YjTy4.js');
|
|
3
3
|
|
|
4
4
|
exports.registerDevHooks = require_commandkit.registerDevHooks;
|
|
@@ -5,10 +5,25 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
* The error codes used by CommandKit.
|
|
6
6
|
*/
|
|
7
7
|
const CommandKitErrorCodes = {
|
|
8
|
+
/**
|
|
9
|
+
* Error code for exiting middleware.
|
|
10
|
+
*/
|
|
8
11
|
StopMiddlewares: Symbol("kStopMiddlewares"),
|
|
12
|
+
/**
|
|
13
|
+
* Error code for forwarded commands.
|
|
14
|
+
*/
|
|
9
15
|
ForwardedCommand: Symbol("kForwardedCommand"),
|
|
16
|
+
/**
|
|
17
|
+
* Error code for invalid command prefix.
|
|
18
|
+
*/
|
|
10
19
|
InvalidCommandPrefix: Symbol("kInvalidCommandPrefix"),
|
|
20
|
+
/**
|
|
21
|
+
* Error code for plugin capture handle.
|
|
22
|
+
*/
|
|
11
23
|
PluginCaptureHandle: Symbol("kPluginCaptureHandle"),
|
|
24
|
+
/**
|
|
25
|
+
* Error code for event interruption signal
|
|
26
|
+
*/
|
|
12
27
|
StopEvents: Symbol("kStopEvents")
|
|
13
28
|
};
|
|
14
29
|
/**
|