reciple 10.0.43 → 10.0.44
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/assets/global/nodemon.json +3 -0
- package/dist/bin/commands/build.d.mts +1 -2
- package/dist/bin/commands/build.mjs +1 -2
- package/dist/bin/commands/create.d.mts +1 -2
- package/dist/bin/commands/create.mjs +1 -2
- package/dist/bin/commands/createModule.d.mts +1 -2
- package/dist/bin/commands/createModule.mjs +1 -2
- package/dist/bin/commands/start.d.mts +1 -2
- package/dist/bin/commands/start.mjs +1 -2
- package/dist/bin/commands/startSharding.d.mts +1 -2
- package/dist/bin/commands/startSharding.mjs +1 -2
- package/dist/bin/reciple.mjs +1 -2
- package/dist/classes/NotAnError.d.mts +1 -2
- package/dist/classes/NotAnError.mjs +1 -2
- package/dist/classes/cli/CLI.d.mts +2 -3
- package/dist/classes/cli/CLI.mjs +2 -3
- package/dist/classes/cli/CLISubcommand.d.mts +1 -2
- package/dist/classes/cli/CLISubcommand.mjs +1 -2
- package/dist/classes/cli/ConfigReader.d.mts +1 -2
- package/dist/classes/cli/ConfigReader.mjs +1 -2
- package/dist/classes/cli/RuntimeEnvironment.d.mts +1 -2
- package/dist/classes/cli/RuntimeEnvironment.mjs +1 -2
- package/dist/classes/client/EventListeners.d.mts +1 -2
- package/dist/classes/client/EventListeners.mjs +1 -2
- package/dist/classes/client/ModuleLoader.d.mts +1 -2
- package/dist/classes/client/ModuleLoader.mjs +1 -2
- package/dist/classes/managers/ModuleManager.d.mts +1 -2
- package/dist/classes/managers/ModuleManager.mjs +1 -2
- package/dist/classes/modules/BaseModule.d.mts +1 -2
- package/dist/classes/modules/BaseModule.mjs +1 -2
- package/dist/classes/modules/PostconditionModule.d.mts +1 -2
- package/dist/classes/modules/PostconditionModule.mjs +1 -2
- package/dist/classes/modules/PreconditionModule.d.mts +1 -2
- package/dist/classes/modules/PreconditionModule.mjs +1 -2
- package/dist/classes/modules/commands/ContextMenuCommandModule.d.mts +1 -2
- package/dist/classes/modules/commands/ContextMenuCommandModule.mjs +1 -2
- package/dist/classes/modules/commands/MessageCommandModule.d.mts +1 -2
- package/dist/classes/modules/commands/MessageCommandModule.mjs +1 -2
- package/dist/classes/modules/commands/SlashCommandModule.d.mts +1 -2
- package/dist/classes/modules/commands/SlashCommandModule.mjs +1 -2
- package/dist/classes/modules/events/ClientEventModule.d.mts +1 -2
- package/dist/classes/modules/events/ClientEventModule.mjs +1 -2
- package/dist/classes/modules/events/EventModule.d.mts +1 -2
- package/dist/classes/modules/events/EventModule.mjs +1 -2
- package/dist/classes/modules/events/RESTEventModule.d.mts +1 -2
- package/dist/classes/modules/events/RESTEventModule.mjs +1 -2
- package/dist/classes/templates/ModuleTemplateBuilder.d.mts +1 -2
- package/dist/classes/templates/ModuleTemplateBuilder.mjs +1 -2
- package/dist/classes/templates/TemplateBuilder.d.mts +1 -2
- package/dist/classes/templates/TemplateBuilder.mjs +1 -2
- package/dist/classes/validation/BaseModuleValidator.d.mts +11 -12
- package/dist/classes/validation/BaseModuleValidator.mjs +1 -2
- package/dist/classes/validation/CommandModuleValidator.d.mts +22 -24
- package/dist/classes/validation/CommandModuleValidator.mjs +1 -2
- package/dist/classes/validation/EventModuleValidator.d.mts +11 -13
- package/dist/classes/validation/EventModuleValidator.mjs +1 -2
- package/dist/classes/validation/PostconditionModule.d.mts +9 -10
- package/dist/classes/validation/PostconditionModule.mjs +1 -2
- package/dist/classes/validation/PreconditionModule.d.mts +8 -9
- package/dist/classes/validation/PreconditionModule.mjs +1 -2
- package/dist/helpers/constants.d.mts +1 -2
- package/dist/helpers/constants.mjs +1 -2
- package/dist/helpers/types.d.mts +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/dist/{packages/reciple/package.mjs → package.mjs} +3 -4
- package/package.json +5 -5
- package/dist/bin/commands/build.mjs.map +0 -1
- package/dist/bin/commands/create.mjs.map +0 -1
- package/dist/bin/commands/createModule.mjs.map +0 -1
- package/dist/bin/commands/start.mjs.map +0 -1
- package/dist/bin/commands/startSharding.mjs.map +0 -1
- package/dist/bin/reciple.mjs.map +0 -1
- package/dist/classes/NotAnError.mjs.map +0 -1
- package/dist/classes/cli/CLI.mjs.map +0 -1
- package/dist/classes/cli/CLISubcommand.mjs.map +0 -1
- package/dist/classes/cli/ConfigReader.mjs.map +0 -1
- package/dist/classes/cli/RuntimeEnvironment.mjs.map +0 -1
- package/dist/classes/client/EventListeners.mjs.map +0 -1
- package/dist/classes/client/ModuleLoader.mjs.map +0 -1
- package/dist/classes/managers/ModuleManager.mjs.map +0 -1
- package/dist/classes/modules/BaseModule.mjs.map +0 -1
- package/dist/classes/modules/PostconditionModule.mjs.map +0 -1
- package/dist/classes/modules/PreconditionModule.mjs.map +0 -1
- package/dist/classes/modules/commands/ContextMenuCommandModule.mjs.map +0 -1
- package/dist/classes/modules/commands/MessageCommandModule.mjs.map +0 -1
- package/dist/classes/modules/commands/SlashCommandModule.mjs.map +0 -1
- package/dist/classes/modules/events/ClientEventModule.mjs.map +0 -1
- package/dist/classes/modules/events/EventModule.mjs.map +0 -1
- package/dist/classes/modules/events/RESTEventModule.mjs.map +0 -1
- package/dist/classes/templates/ModuleTemplateBuilder.mjs.map +0 -1
- package/dist/classes/templates/TemplateBuilder.mjs.map +0 -1
- package/dist/classes/validation/BaseModuleValidator.mjs.map +0 -1
- package/dist/classes/validation/CommandModuleValidator.mjs.map +0 -1
- package/dist/classes/validation/EventModuleValidator.mjs.map +0 -1
- package/dist/classes/validation/PostconditionModule.mjs.map +0 -1
- package/dist/classes/validation/PreconditionModule.mjs.map +0 -1
- package/dist/helpers/constants.mjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/packages/reciple/package.mjs.map +0 -1
|
@@ -13,5 +13,4 @@ declare namespace StartShardingSubcommand {
|
|
|
13
13
|
interface Flags extends StartSubcommand.Flags {}
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
|
-
export { StartShardingSubcommand, StartShardingSubcommand as default };
|
|
17
|
-
//# sourceMappingURL=startSharding.d.mts.map
|
|
16
|
+
export { StartShardingSubcommand, StartShardingSubcommand as default };
|
package/dist/bin/reciple.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RolldownPlugin } from "../../node_modules/rolldown/dist/shared/define-config-BkRKRADp.mjs";
|
|
2
1
|
import { Logger } from "@prtty/print";
|
|
3
2
|
import { Command } from "commander";
|
|
4
3
|
import { SpinnerOptions, spinner } from "@clack/prompts";
|
|
4
|
+
import { RolldownPlugin } from "rolldown";
|
|
5
5
|
|
|
6
6
|
//#region src/classes/cli/CLI.d.ts
|
|
7
7
|
declare class CLI {
|
|
@@ -50,5 +50,4 @@ declare namespace CLI {
|
|
|
50
50
|
function createRolldownLogger(_logger?: Logger): RolldownPlugin;
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
|
-
export { CLI };
|
|
54
|
-
//# sourceMappingURL=CLI.d.mts.map
|
|
53
|
+
export { CLI };
|
package/dist/classes/cli/CLI.mjs
CHANGED
|
@@ -94,7 +94,7 @@ var CLI = class {
|
|
|
94
94
|
(function(_CLI) {
|
|
95
95
|
_CLI.root = path.join(path.dirname(fileURLToPath(import.meta.url)), "../../../");
|
|
96
96
|
_CLI.bin = path.join(CLI.root, "dist/bin/reciple.mjs");
|
|
97
|
-
_CLI.version = "10.0.
|
|
97
|
+
_CLI.version = "10.0.44";
|
|
98
98
|
function stringifyFlags(flags, command, ignored = []) {
|
|
99
99
|
let arr = [];
|
|
100
100
|
for (const [key, value] of Object.entries(flags)) {
|
|
@@ -150,5 +150,4 @@ var CLI = class {
|
|
|
150
150
|
})(CLI || (CLI = {}));
|
|
151
151
|
|
|
152
152
|
//#endregion
|
|
153
|
-
export { CLI };
|
|
154
|
-
//# sourceMappingURL=CLI.mjs.map
|
|
153
|
+
export { CLI };
|
|
@@ -20,5 +20,4 @@ let PostconditionModule = _PostconditionModule = class PostconditionModule {
|
|
|
20
20
|
PostconditionModule = _PostconditionModule = __decorate([mix(CommandPostcondition, BaseModule)], PostconditionModule);
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { PostconditionModule };
|
|
24
|
-
//# sourceMappingURL=PostconditionModule.mjs.map
|
|
23
|
+
export { PostconditionModule };
|
|
@@ -20,5 +20,4 @@ let PreconditionModule = _PreconditionModule = class PreconditionModule {
|
|
|
20
20
|
PreconditionModule = _PreconditionModule = __decorate([mix(CommandPrecondition, BaseModule)], PreconditionModule);
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { PreconditionModule };
|
|
24
|
-
//# sourceMappingURL=PreconditionModule.mjs.map
|
|
23
|
+
export { PreconditionModule };
|
|
@@ -24,5 +24,4 @@ declare namespace ContextMenuCommandModule {
|
|
|
24
24
|
type ContextMenuCommandWithoutBuilderMethods = Omit<ContextMenuCommand, AnyCommandBuilderMethods>;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
|
-
export { ContextMenuCommandModule };
|
|
28
|
-
//# sourceMappingURL=ContextMenuCommandModule.d.mts.map
|
|
27
|
+
export { ContextMenuCommandModule };
|
|
@@ -23,5 +23,4 @@ let ContextMenuCommandModule = _ContextMenuCommandModule = class ContextMenuComm
|
|
|
23
23
|
ContextMenuCommandModule = _ContextMenuCommandModule = __decorate([mix(ContextMenuCommand, BaseModule)], ContextMenuCommandModule);
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
|
-
export { ContextMenuCommandModule };
|
|
27
|
-
//# sourceMappingURL=ContextMenuCommandModule.mjs.map
|
|
26
|
+
export { ContextMenuCommandModule };
|
|
@@ -24,5 +24,4 @@ declare namespace MessageCommandModule {
|
|
|
24
24
|
type MessageCommandWithoutBuilderMethods = Omit<MessageCommand, AnyCommandBuilderMethods | 'options' | 'flags'>;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
|
-
export { MessageCommandModule };
|
|
28
|
-
//# sourceMappingURL=MessageCommandModule.d.mts.map
|
|
27
|
+
export { MessageCommandModule };
|
|
@@ -23,5 +23,4 @@ let MessageCommandModule = _MessageCommandModule = class MessageCommandModule {
|
|
|
23
23
|
MessageCommandModule = _MessageCommandModule = __decorate([mix(MessageCommand, BaseModule)], MessageCommandModule);
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
|
-
export { MessageCommandModule };
|
|
27
|
-
//# sourceMappingURL=MessageCommandModule.mjs.map
|
|
26
|
+
export { MessageCommandModule };
|
|
@@ -24,5 +24,4 @@ declare namespace SlashCommandModule {
|
|
|
24
24
|
type SlashCommandWithoutBuilderMethods = Omit<SlashCommand, AnyCommandBuilderMethods>;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
|
-
export { SlashCommandModule };
|
|
28
|
-
//# sourceMappingURL=SlashCommandModule.d.mts.map
|
|
27
|
+
export { SlashCommandModule };
|
|
@@ -23,5 +23,4 @@ let SlashCommandModule = _SlashCommandModule = class SlashCommandModule {
|
|
|
23
23
|
SlashCommandModule = _SlashCommandModule = __decorate([mix(SlashCommand, BaseModule)], SlashCommandModule);
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
|
-
export { SlashCommandModule };
|
|
27
|
-
//# sourceMappingURL=SlashCommandModule.mjs.map
|
|
26
|
+
export { SlashCommandModule };
|
|
@@ -284,5 +284,4 @@ var ModuleTemplateBuilder = class ModuleTemplateBuilder {
|
|
|
284
284
|
})(ModuleTemplateBuilder || (ModuleTemplateBuilder = {}));
|
|
285
285
|
|
|
286
286
|
//#endregion
|
|
287
|
-
export { ModuleTemplateBuilder };
|
|
288
|
-
//# sourceMappingURL=ModuleTemplateBuilder.mjs.map
|
|
287
|
+
export { ModuleTemplateBuilder };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { ModuleType } from "../../helpers/constants.mjs";
|
|
2
2
|
import { AnyModuleData } from "../../helpers/types.mjs";
|
|
3
3
|
import { Validator } from "@reciple/core";
|
|
4
|
-
import * as _sapphire_shapeshift0 from "@sapphire/shapeshift";
|
|
4
|
+
import * as _$_sapphire_shapeshift0 from "@sapphire/shapeshift";
|
|
5
5
|
|
|
6
6
|
//#region src/classes/validation/BaseModuleValidator.d.ts
|
|
7
7
|
declare class BaseModuleValidator extends Validator {
|
|
8
|
-
static id: _sapphire_shapeshift0.StringValidator<string>;
|
|
9
|
-
static moduleType: _sapphire_shapeshift0.NativeEnumValidator<typeof ModuleType>;
|
|
10
|
-
static onEnable: _sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
11
|
-
static onReady: _sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
12
|
-
static onDisable: _sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
13
|
-
static object: _sapphire_shapeshift0.ObjectValidator<{
|
|
8
|
+
static id: _$_sapphire_shapeshift0.StringValidator<string>;
|
|
9
|
+
static moduleType: _$_sapphire_shapeshift0.NativeEnumValidator<typeof ModuleType>;
|
|
10
|
+
static onEnable: _$_sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
11
|
+
static onReady: _$_sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
12
|
+
static onDisable: _$_sapphire_shapeshift0.UnionValidator<Function | undefined>;
|
|
13
|
+
static object: _$_sapphire_shapeshift0.ObjectValidator<{
|
|
14
14
|
id: string | undefined;
|
|
15
15
|
moduleType: ModuleType | undefined;
|
|
16
16
|
onEnable: Function | undefined;
|
|
17
17
|
onReady: Function | undefined;
|
|
18
18
|
onDisable: Function | undefined;
|
|
19
|
-
}, _sapphire_shapeshift0.UndefinedToOptional<{
|
|
19
|
+
}, _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
20
20
|
id: string | undefined;
|
|
21
21
|
moduleType: ModuleType | undefined;
|
|
22
22
|
onEnable: Function | undefined;
|
|
23
23
|
onReady: Function | undefined;
|
|
24
24
|
onDisable: Function | undefined;
|
|
25
25
|
}>>;
|
|
26
|
-
static resolvable: _sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{
|
|
26
|
+
static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
27
27
|
id: string | undefined;
|
|
28
28
|
moduleType: ModuleType | undefined;
|
|
29
29
|
onEnable: Function | undefined;
|
|
30
30
|
onReady: Function | undefined;
|
|
31
31
|
onDisable: Function | undefined;
|
|
32
|
-
}> | _sapphire_shapeshift0.UndefinedToOptional<{
|
|
32
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
33
33
|
toJSON: Function;
|
|
34
34
|
}>>;
|
|
35
35
|
static isValidId(id: unknown): asserts id is string;
|
|
@@ -40,5 +40,4 @@ declare class BaseModuleValidator extends Validator {
|
|
|
40
40
|
static isValid(value: unknown): asserts value is AnyModuleData;
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
|
-
export { BaseModuleValidator };
|
|
44
|
-
//# sourceMappingURL=BaseModuleValidator.d.mts.map
|
|
43
|
+
export { BaseModuleValidator };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ModuleType } from "../../helpers/constants.mjs";
|
|
2
2
|
import { AnyCommandModuleData } from "../../helpers/types.mjs";
|
|
3
|
-
import "
|
|
4
|
-
import * as _reciple_core0 from "@reciple/core";
|
|
3
|
+
import * as _$_reciple_core0 from "@reciple/core";
|
|
5
4
|
import { Validator } from "@reciple/core";
|
|
6
|
-
import * as _sapphire_shapeshift0 from "@sapphire/shapeshift";
|
|
5
|
+
import * as _$_sapphire_shapeshift0 from "@sapphire/shapeshift";
|
|
7
6
|
|
|
8
7
|
//#region src/classes/validation/CommandModuleValidator.d.ts
|
|
9
8
|
declare class CommandModuleValidator extends Validator {
|
|
10
|
-
static object: _sapphire_shapeshift0.ObjectValidator<{
|
|
9
|
+
static object: _$_sapphire_shapeshift0.ObjectValidator<{
|
|
11
10
|
id: string | undefined;
|
|
12
11
|
moduleType: ModuleType | undefined;
|
|
13
12
|
onEnable: Function | undefined;
|
|
@@ -15,24 +14,24 @@ declare class CommandModuleValidator extends Validator {
|
|
|
15
14
|
onDisable: Function | undefined;
|
|
16
15
|
} & {
|
|
17
16
|
id: string;
|
|
18
|
-
type: _reciple_core0.CommandType;
|
|
19
|
-
data: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
17
|
+
type: _$_reciple_core0.CommandType;
|
|
18
|
+
data: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
20
19
|
name: any;
|
|
21
20
|
description: any;
|
|
22
21
|
aliases: any;
|
|
23
22
|
options: any;
|
|
24
23
|
flags: any;
|
|
25
|
-
}> | _sapphire_shapeshift0.UndefinedToOptional<{
|
|
24
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
26
25
|
type: any;
|
|
27
26
|
name: any;
|
|
28
27
|
}>;
|
|
29
28
|
cooldown: number | undefined;
|
|
30
|
-
preconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
29
|
+
preconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
31
30
|
id: any;
|
|
32
31
|
scope: any;
|
|
33
32
|
execute: any;
|
|
34
33
|
}>[] | undefined;
|
|
35
|
-
postconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
34
|
+
postconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
36
35
|
id: any;
|
|
37
36
|
scope: any;
|
|
38
37
|
execute: any;
|
|
@@ -40,7 +39,7 @@ declare class CommandModuleValidator extends Validator {
|
|
|
40
39
|
disabledPreconditions: string[] | undefined;
|
|
41
40
|
disabledPostconditions: string[] | undefined;
|
|
42
41
|
execute: Function;
|
|
43
|
-
}, _sapphire_shapeshift0.UndefinedToOptional<{
|
|
42
|
+
}, _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
44
43
|
id: string | undefined;
|
|
45
44
|
moduleType: ModuleType | undefined;
|
|
46
45
|
onEnable: Function | undefined;
|
|
@@ -48,24 +47,24 @@ declare class CommandModuleValidator extends Validator {
|
|
|
48
47
|
onDisable: Function | undefined;
|
|
49
48
|
} & {
|
|
50
49
|
id: string;
|
|
51
|
-
type: _reciple_core0.CommandType;
|
|
52
|
-
data: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
50
|
+
type: _$_reciple_core0.CommandType;
|
|
51
|
+
data: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
53
52
|
name: any;
|
|
54
53
|
description: any;
|
|
55
54
|
aliases: any;
|
|
56
55
|
options: any;
|
|
57
56
|
flags: any;
|
|
58
|
-
}> | _sapphire_shapeshift0.UndefinedToOptional<{
|
|
57
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
59
58
|
type: any;
|
|
60
59
|
name: any;
|
|
61
60
|
}>;
|
|
62
61
|
cooldown: number | undefined;
|
|
63
|
-
preconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
62
|
+
preconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
64
63
|
id: any;
|
|
65
64
|
scope: any;
|
|
66
65
|
execute: any;
|
|
67
66
|
}>[] | undefined;
|
|
68
|
-
postconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
67
|
+
postconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
69
68
|
id: any;
|
|
70
69
|
scope: any;
|
|
71
70
|
execute: any;
|
|
@@ -74,9 +73,9 @@ declare class CommandModuleValidator extends Validator {
|
|
|
74
73
|
disabledPostconditions: string[] | undefined;
|
|
75
74
|
execute: Function;
|
|
76
75
|
}>>;
|
|
77
|
-
static resolvable: _sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{
|
|
76
|
+
static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
78
77
|
toJSON: Function;
|
|
79
|
-
}> | _sapphire_shapeshift0.UndefinedToOptional<{
|
|
78
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
80
79
|
id: string | undefined;
|
|
81
80
|
moduleType: ModuleType | undefined;
|
|
82
81
|
onEnable: Function | undefined;
|
|
@@ -84,24 +83,24 @@ declare class CommandModuleValidator extends Validator {
|
|
|
84
83
|
onDisable: Function | undefined;
|
|
85
84
|
} & {
|
|
86
85
|
id: string;
|
|
87
|
-
type: _reciple_core0.CommandType;
|
|
88
|
-
data: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
86
|
+
type: _$_reciple_core0.CommandType;
|
|
87
|
+
data: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
89
88
|
name: any;
|
|
90
89
|
description: any;
|
|
91
90
|
aliases: any;
|
|
92
91
|
options: any;
|
|
93
92
|
flags: any;
|
|
94
|
-
}> | _sapphire_shapeshift0.UndefinedToOptional<{
|
|
93
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
95
94
|
type: any;
|
|
96
95
|
name: any;
|
|
97
96
|
}>;
|
|
98
97
|
cooldown: number | undefined;
|
|
99
|
-
preconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
98
|
+
preconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
100
99
|
id: any;
|
|
101
100
|
scope: any;
|
|
102
101
|
execute: any;
|
|
103
102
|
}>[] | undefined;
|
|
104
|
-
postconditions: _sapphire_shapeshift0.UndefinedToOptional<{
|
|
103
|
+
postconditions: _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
105
104
|
id: any;
|
|
106
105
|
scope: any;
|
|
107
106
|
execute: any;
|
|
@@ -113,5 +112,4 @@ declare class CommandModuleValidator extends Validator {
|
|
|
113
112
|
static isValid(value: unknown): asserts value is AnyCommandModuleData;
|
|
114
113
|
}
|
|
115
114
|
//#endregion
|
|
116
|
-
export { CommandModuleValidator };
|
|
117
|
-
//# sourceMappingURL=CommandModuleValidator.d.mts.map
|
|
115
|
+
export { CommandModuleValidator };
|