reciple 10.0.12 → 10.0.13

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.
@@ -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.12";
97
+ _CLI.version = "10.0.13";
98
98
  function stringifyFlags(flags, command, ignored = []) {
99
99
  let arr = [];
100
100
  for (const [key, value] of Object.entries(flags)) {
@@ -1,36 +1,36 @@
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_shapeshift40 from "@sapphire/shapeshift";
4
+ import * as _sapphire_shapeshift25 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_shapeshift40.StringValidator<string>;
9
- static moduleType: _sapphire_shapeshift40.NativeEnumValidator<typeof ModuleType>;
10
- static onEnable: _sapphire_shapeshift40.UnionValidator<Function | undefined>;
11
- static onReady: _sapphire_shapeshift40.UnionValidator<Function | undefined>;
12
- static onDisable: _sapphire_shapeshift40.UnionValidator<Function | undefined>;
13
- static object: _sapphire_shapeshift40.ObjectValidator<{
8
+ static id: _sapphire_shapeshift25.StringValidator<string>;
9
+ static moduleType: _sapphire_shapeshift25.NativeEnumValidator<typeof ModuleType>;
10
+ static onEnable: _sapphire_shapeshift25.UnionValidator<Function | undefined>;
11
+ static onReady: _sapphire_shapeshift25.UnionValidator<Function | undefined>;
12
+ static onDisable: _sapphire_shapeshift25.UnionValidator<Function | undefined>;
13
+ static object: _sapphire_shapeshift25.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_shapeshift40.UndefinedToOptional<{
19
+ }, _sapphire_shapeshift25.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_shapeshift40.UnionValidator<_sapphire_shapeshift40.UndefinedToOptional<{
27
- toJSON: Function;
28
- }> | _sapphire_shapeshift40.UndefinedToOptional<{
26
+ static resolvable: _sapphire_shapeshift25.UnionValidator<_sapphire_shapeshift25.UndefinedToOptional<{
29
27
  id: string | undefined;
30
28
  moduleType: ModuleType | undefined;
31
29
  onEnable: Function | undefined;
32
30
  onReady: Function | undefined;
33
31
  onDisable: Function | undefined;
32
+ }> | _sapphire_shapeshift25.UndefinedToOptional<{
33
+ toJSON: Function;
34
34
  }>>;
35
35
  static isValidId(id: unknown): asserts id is string;
36
36
  static isValidModuleType(moduleType: unknown): asserts moduleType is ModuleType;
@@ -3,11 +3,11 @@ import { AnyCommandModuleData } from "../../helpers/types.mjs";
3
3
  import "../../index.mjs";
4
4
  import * as _reciple_core0 from "@reciple/core";
5
5
  import { Validator } from "@reciple/core";
6
- import * as _sapphire_shapeshift16 from "@sapphire/shapeshift";
6
+ import * as _sapphire_shapeshift8 from "@sapphire/shapeshift";
7
7
 
8
8
  //#region src/classes/validation/CommandModuleValidator.d.ts
9
9
  declare class CommandModuleValidator extends Validator {
10
- static object: _sapphire_shapeshift16.ObjectValidator<{
10
+ static object: _sapphire_shapeshift8.ObjectValidator<{
11
11
  id: string | undefined;
12
12
  moduleType: ModuleType | undefined;
13
13
  onEnable: Function | undefined;
@@ -16,23 +16,23 @@ declare class CommandModuleValidator extends Validator {
16
16
  } & {
17
17
  id: string;
18
18
  type: _reciple_core0.CommandType;
19
- data: _sapphire_shapeshift16.UndefinedToOptional<{
19
+ data: _sapphire_shapeshift8.UndefinedToOptional<{
20
20
  name: any;
21
21
  description: any;
22
22
  aliases: any;
23
23
  options: any;
24
24
  flags: any;
25
- }> | _sapphire_shapeshift16.UndefinedToOptional<{
25
+ }> | _sapphire_shapeshift8.UndefinedToOptional<{
26
26
  type: any;
27
27
  name: any;
28
28
  }>;
29
29
  cooldown: number | undefined;
30
- preconditions: _sapphire_shapeshift16.UndefinedToOptional<{
30
+ preconditions: _sapphire_shapeshift8.UndefinedToOptional<{
31
31
  id: any;
32
32
  scope: any;
33
33
  execute: any;
34
34
  }>[] | undefined;
35
- postconditions: _sapphire_shapeshift16.UndefinedToOptional<{
35
+ postconditions: _sapphire_shapeshift8.UndefinedToOptional<{
36
36
  id: any;
37
37
  scope: any;
38
38
  execute: any;
@@ -40,7 +40,7 @@ declare class CommandModuleValidator extends Validator {
40
40
  disabledPreconditions: string[] | undefined;
41
41
  disabledPostconditions: string[] | undefined;
42
42
  execute: Function;
43
- }, _sapphire_shapeshift16.UndefinedToOptional<{
43
+ }, _sapphire_shapeshift8.UndefinedToOptional<{
44
44
  id: string | undefined;
45
45
  moduleType: ModuleType | undefined;
46
46
  onEnable: Function | undefined;
@@ -49,23 +49,23 @@ declare class CommandModuleValidator extends Validator {
49
49
  } & {
50
50
  id: string;
51
51
  type: _reciple_core0.CommandType;
52
- data: _sapphire_shapeshift16.UndefinedToOptional<{
52
+ data: _sapphire_shapeshift8.UndefinedToOptional<{
53
53
  name: any;
54
54
  description: any;
55
55
  aliases: any;
56
56
  options: any;
57
57
  flags: any;
58
- }> | _sapphire_shapeshift16.UndefinedToOptional<{
58
+ }> | _sapphire_shapeshift8.UndefinedToOptional<{
59
59
  type: any;
60
60
  name: any;
61
61
  }>;
62
62
  cooldown: number | undefined;
63
- preconditions: _sapphire_shapeshift16.UndefinedToOptional<{
63
+ preconditions: _sapphire_shapeshift8.UndefinedToOptional<{
64
64
  id: any;
65
65
  scope: any;
66
66
  execute: any;
67
67
  }>[] | undefined;
68
- postconditions: _sapphire_shapeshift16.UndefinedToOptional<{
68
+ postconditions: _sapphire_shapeshift8.UndefinedToOptional<{
69
69
  id: any;
70
70
  scope: any;
71
71
  execute: any;
@@ -74,9 +74,9 @@ declare class CommandModuleValidator extends Validator {
74
74
  disabledPostconditions: string[] | undefined;
75
75
  execute: Function;
76
76
  }>>;
77
- static resolvable: _sapphire_shapeshift16.UnionValidator<_sapphire_shapeshift16.UndefinedToOptional<{
77
+ static resolvable: _sapphire_shapeshift8.UnionValidator<_sapphire_shapeshift8.UndefinedToOptional<{
78
78
  toJSON: Function;
79
- }> | _sapphire_shapeshift16.UndefinedToOptional<{
79
+ }> | _sapphire_shapeshift8.UndefinedToOptional<{
80
80
  id: string | undefined;
81
81
  moduleType: ModuleType | undefined;
82
82
  onEnable: Function | undefined;
@@ -85,23 +85,23 @@ declare class CommandModuleValidator extends Validator {
85
85
  } & {
86
86
  id: string;
87
87
  type: _reciple_core0.CommandType;
88
- data: _sapphire_shapeshift16.UndefinedToOptional<{
88
+ data: _sapphire_shapeshift8.UndefinedToOptional<{
89
89
  name: any;
90
90
  description: any;
91
91
  aliases: any;
92
92
  options: any;
93
93
  flags: any;
94
- }> | _sapphire_shapeshift16.UndefinedToOptional<{
94
+ }> | _sapphire_shapeshift8.UndefinedToOptional<{
95
95
  type: any;
96
96
  name: any;
97
97
  }>;
98
98
  cooldown: number | undefined;
99
- preconditions: _sapphire_shapeshift16.UndefinedToOptional<{
99
+ preconditions: _sapphire_shapeshift8.UndefinedToOptional<{
100
100
  id: any;
101
101
  scope: any;
102
102
  execute: any;
103
103
  }>[] | undefined;
104
- postconditions: _sapphire_shapeshift16.UndefinedToOptional<{
104
+ postconditions: _sapphire_shapeshift8.UndefinedToOptional<{
105
105
  id: any;
106
106
  scope: any;
107
107
  execute: any;
@@ -3,19 +3,19 @@ import { EventModule } from "../modules/events/EventModule.mjs";
3
3
  import "../../index.mjs";
4
4
  import { Validator } from "@reciple/core";
5
5
  import { EventEmitter } from "node:events";
6
- import * as _sapphire_shapeshift7 from "@sapphire/shapeshift";
6
+ import * as _sapphire_shapeshift0 from "@sapphire/shapeshift";
7
7
 
8
8
  //#region src/classes/validation/EventModuleValidator.d.ts
9
9
  declare class EventModuleValidator extends Validator {
10
- static emitter: _sapphire_shapeshift7.InstanceValidator<EventEmitter<{
10
+ static emitter: _sapphire_shapeshift0.InstanceValidator<EventEmitter<{
11
11
  [x: string]: any[];
12
12
  [x: number]: any[];
13
13
  [x: symbol]: any[];
14
14
  }>>;
15
- static event: _sapphire_shapeshift7.StringValidator<string>;
16
- static once: _sapphire_shapeshift7.UnionValidator<boolean | undefined>;
17
- static onEvent: _sapphire_shapeshift7.InstanceValidator<Function>;
18
- static object: _sapphire_shapeshift7.ObjectValidator<{
15
+ static event: _sapphire_shapeshift0.StringValidator<string>;
16
+ static once: _sapphire_shapeshift0.UnionValidator<boolean | undefined>;
17
+ static onEvent: _sapphire_shapeshift0.InstanceValidator<Function>;
18
+ static object: _sapphire_shapeshift0.ObjectValidator<{
19
19
  id: string | undefined;
20
20
  moduleType: ModuleType | undefined;
21
21
  onEnable: Function | undefined;
@@ -30,7 +30,7 @@ declare class EventModuleValidator extends Validator {
30
30
  event: string;
31
31
  once: boolean | undefined;
32
32
  onEvent: Function;
33
- }, _sapphire_shapeshift7.UndefinedToOptional<{
33
+ }, _sapphire_shapeshift0.UndefinedToOptional<{
34
34
  id: string | undefined;
35
35
  moduleType: ModuleType | undefined;
36
36
  onEnable: Function | undefined;
@@ -46,9 +46,7 @@ declare class EventModuleValidator extends Validator {
46
46
  once: boolean | undefined;
47
47
  onEvent: Function;
48
48
  }>>;
49
- static resolvable: _sapphire_shapeshift7.UnionValidator<_sapphire_shapeshift7.UndefinedToOptional<{
50
- toJSON: Function;
51
- }> | _sapphire_shapeshift7.UndefinedToOptional<{
49
+ static resolvable: _sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{
52
50
  id: string | undefined;
53
51
  moduleType: ModuleType | undefined;
54
52
  onEnable: Function | undefined;
@@ -63,6 +61,8 @@ declare class EventModuleValidator extends Validator {
63
61
  event: string;
64
62
  once: boolean | undefined;
65
63
  onEvent: Function;
64
+ }> | _sapphire_shapeshift0.UndefinedToOptional<{
65
+ toJSON: Function;
66
66
  }>>;
67
67
  static isValidEmitter(emitter: unknown): asserts emitter is EventEmitter;
68
68
  static isValidEvent(event: unknown): asserts event is string;
@@ -1,24 +1,24 @@
1
1
  import { PostconditionModule } from "../modules/PostconditionModule.mjs";
2
2
  import { CommandPostconditionReason, CommandType, Validator } from "@reciple/core";
3
- import * as _sapphire_shapeshift0 from "@sapphire/shapeshift";
3
+ import * as _sapphire_shapeshift35 from "@sapphire/shapeshift";
4
4
 
5
5
  //#region src/classes/validation/PostconditionModule.d.ts
6
6
  declare class PostconditionModuleValidator extends Validator {
7
- static scope: _sapphire_shapeshift0.UnionValidator<CommandType[] | undefined>;
8
- static accepts: _sapphire_shapeshift0.UnionValidator<CommandPostconditionReason[] | undefined>;
9
- static execute: _sapphire_shapeshift0.InstanceValidator<Function>;
10
- static object: _sapphire_shapeshift0.ObjectValidator<{
7
+ static scope: _sapphire_shapeshift35.UnionValidator<CommandType[] | undefined>;
8
+ static accepts: _sapphire_shapeshift35.UnionValidator<CommandPostconditionReason[] | undefined>;
9
+ static execute: _sapphire_shapeshift35.InstanceValidator<Function>;
10
+ static object: _sapphire_shapeshift35.ObjectValidator<{
11
11
  scope: CommandType[] | undefined;
12
12
  execute: Function;
13
- }, _sapphire_shapeshift0.UndefinedToOptional<{
13
+ }, _sapphire_shapeshift35.UndefinedToOptional<{
14
14
  scope: CommandType[] | undefined;
15
15
  execute: Function;
16
16
  }>>;
17
- static resolvable: _sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{
17
+ static resolvable: _sapphire_shapeshift35.UnionValidator<_sapphire_shapeshift35.UndefinedToOptional<{
18
+ toJSON: Function;
19
+ }> | _sapphire_shapeshift35.UndefinedToOptional<{
18
20
  scope: CommandType[] | undefined;
19
21
  execute: Function;
20
- }> | _sapphire_shapeshift0.UndefinedToOptional<{
21
- toJSON: Function;
22
22
  }>>;
23
23
  static isValidScope(scope: unknown): asserts scope is CommandType[];
24
24
  static isValidAccepts(accepts: unknown): asserts accepts is CommandPostconditionReason[];
@@ -1,21 +1,21 @@
1
1
  import { PreconditionModule } from "../modules/PreconditionModule.mjs";
2
2
  import { CommandType, Validator } from "@reciple/core";
3
- import * as _sapphire_shapeshift33 from "@sapphire/shapeshift";
3
+ import * as _sapphire_shapeshift43 from "@sapphire/shapeshift";
4
4
 
5
5
  //#region src/classes/validation/PreconditionModule.d.ts
6
6
  declare class PreconditionModuleValidator extends Validator {
7
- static scope: _sapphire_shapeshift33.UnionValidator<CommandType[] | undefined>;
8
- static execute: _sapphire_shapeshift33.InstanceValidator<Function>;
9
- static object: _sapphire_shapeshift33.ObjectValidator<{
7
+ static scope: _sapphire_shapeshift43.UnionValidator<CommandType[] | undefined>;
8
+ static execute: _sapphire_shapeshift43.InstanceValidator<Function>;
9
+ static object: _sapphire_shapeshift43.ObjectValidator<{
10
10
  scope: CommandType[] | undefined;
11
11
  execute: Function;
12
- }, _sapphire_shapeshift33.UndefinedToOptional<{
12
+ }, _sapphire_shapeshift43.UndefinedToOptional<{
13
13
  scope: CommandType[] | undefined;
14
14
  execute: Function;
15
15
  }>>;
16
- static resolvable: _sapphire_shapeshift33.UnionValidator<_sapphire_shapeshift33.UndefinedToOptional<{
16
+ static resolvable: _sapphire_shapeshift43.UnionValidator<_sapphire_shapeshift43.UndefinedToOptional<{
17
17
  toJSON: Function;
18
- }> | _sapphire_shapeshift33.UndefinedToOptional<{
18
+ }> | _sapphire_shapeshift43.UndefinedToOptional<{
19
19
  scope: CommandType[] | undefined;
20
20
  execute: Function;
21
21
  }>>;
package/dist/package.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  //#region package.json
2
2
  var package_default = {
3
3
  name: "reciple",
4
- version: "10.0.12",
4
+ version: "10.0.13",
5
5
  license: "LGPL-3.0-only",
6
6
  description: "The CLI for reciple",
7
7
  module: "./dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "10.0.12",
3
+ "version": "10.0.13",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "The CLI for reciple",
6
6
  "module": "./dist/index.mjs",