nexocord 1.2.0 → 1.2.1

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/dist/bin/cli.js CHANGED
@@ -2254,7 +2254,7 @@ var require_picocolors = __commonJS((exports, module) => {
2254
2254
  module.exports.createColors = createColors;
2255
2255
  });
2256
2256
  // package.json
2257
- var version = "1.2.0";
2257
+ var version = "1.2.1";
2258
2258
 
2259
2259
  // node_modules/commander/esm.mjs
2260
2260
  var import__ = __toESM(require_commander(), 1);
@@ -1 +1 @@
1
- {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/core/ui/builders/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAgB,MAAM,YAAY,CAAC;AAE5D,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,YAAY,EACb,MAAM,UAAU,CAAC;AAclB;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,GAAE,cAAmB;;;;;EAErE;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,GAAG,IAAI,EAAE,CAAC,gBAAgB,EAAE,GAAG,cAAc,EAAE,CAAC,GAAG,cAAc,EAAE,oBAcpE;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,GAAG,UAAU,EAAE,YAAY,EAAE,mCAKnD;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAClB,WAAW,EAAE;IAAE,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CAAE,EAC1D,OAAO,EAAE;IACP,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAC3B,UAAU,EAAE,OAAO,UAAU,EAAE,kBAAkB,CAAC;CACnD,oBAoBF"}
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/core/ui/builders/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAgB,MAAM,YAAY,CAAC;AAE5D,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,YAAY,EACb,MAAM,UAAU,CAAC;AAclB;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,GAAE,cAAmB;;;;;EAErE;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,GAAG,IAAI,EAAE,CAAC,gBAAgB,EAAE,GAAG,cAAc,EAAE,CAAC,GAAG,cAAc,EAAE,oBAepE;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,GAAG,UAAU,EAAE,YAAY,EAAE,mCAInD;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAClB,WAAW,EAAE;IAAE,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CAAE,EAC1D,OAAO,EAAE;IACP,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAC3B,UAAU,EAAE,OAAO,UAAU,EAAE,kBAAkB,CAAC;CACnD,oBAsBF"}
@@ -1,13 +1,13 @@
1
1
  import type { ChannelType } from 'discord.js';
2
2
  import type { ChannelSelect, MentionableSelect, RoleSelect, SelectBase, StringSelect, StringSelectOption, UserSelect } from '../types';
3
- type SelectBuilderOptions = Omit<SelectBase, 'id'>;
4
- type SelectBuilderInput = SelectBuilderOptions & {
3
+ type SelectOpts = Omit<SelectBase, 'id'>;
4
+ type SelectInput = SelectOpts & {
5
5
  customId: SelectBase['id'];
6
6
  };
7
- type ChannelSelectBuilderInput = SelectBuilderInput & {
7
+ type ChannelSelectInput = SelectInput & {
8
8
  channelTypes?: readonly ChannelType[];
9
9
  };
10
- type StringSelectBuilderInput = SelectBuilderInput & {
10
+ type StringSelectInput = SelectInput & {
11
11
  options: readonly StringSelectOption[];
12
12
  };
13
13
  /**
@@ -17,8 +17,8 @@ type StringSelectBuilderInput = SelectBuilderInput & {
17
17
  * @param opts Optional select configuration when a custom id is provided.
18
18
  * @returns Public user-select descriptor.
19
19
  */
20
- export declare function user(customId: SelectBase['id'], opts?: SelectBuilderOptions): UserSelect;
21
- export declare function user(opts: SelectBuilderInput): UserSelect;
20
+ export declare function user(customId: SelectBase['id'], opts?: SelectOpts): UserSelect;
21
+ export declare function user(opts: SelectInput): UserSelect;
22
22
  /**
23
23
  * Creates a public role-select descriptor.
24
24
  *
@@ -26,8 +26,8 @@ export declare function user(opts: SelectBuilderInput): UserSelect;
26
26
  * @param opts Optional select configuration when a custom id is provided.
27
27
  * @returns Public role-select descriptor.
28
28
  */
29
- export declare function role(customId: SelectBase['id'], opts?: SelectBuilderOptions): RoleSelect;
30
- export declare function role(opts: SelectBuilderInput): RoleSelect;
29
+ export declare function role(customId: SelectBase['id'], opts?: SelectOpts): RoleSelect;
30
+ export declare function role(opts: SelectInput): RoleSelect;
31
31
  /**
32
32
  * Creates a public mentionable-select descriptor.
33
33
  *
@@ -35,8 +35,8 @@ export declare function role(opts: SelectBuilderInput): RoleSelect;
35
35
  * @param opts Optional select configuration when a custom id is provided.
36
36
  * @returns Public mentionable-select descriptor.
37
37
  */
38
- export declare function mentionable(customId: SelectBase['id'], opts?: SelectBuilderOptions): MentionableSelect;
39
- export declare function mentionable(opts: SelectBuilderInput): MentionableSelect;
38
+ export declare function mentionable(customId: SelectBase['id'], opts?: SelectOpts): MentionableSelect;
39
+ export declare function mentionable(opts: SelectInput): MentionableSelect;
40
40
  /**
41
41
  * Creates a public channel-select descriptor.
42
42
  *
@@ -45,8 +45,8 @@ export declare function mentionable(opts: SelectBuilderInput): MentionableSelect
45
45
  * @param opts Optional select configuration when a custom id is provided.
46
46
  * @returns Public channel-select descriptor.
47
47
  */
48
- export declare function channel(customId: SelectBase['id'], channelTypes?: readonly ChannelType[], opts?: SelectBuilderOptions): ChannelSelect;
49
- export declare function channel(opts: ChannelSelectBuilderInput): ChannelSelect;
48
+ export declare function channel(customId: SelectBase['id'], channelTypes?: readonly ChannelType[], opts?: SelectOpts): ChannelSelect;
49
+ export declare function channel(opts: ChannelSelectInput): ChannelSelect;
50
50
  /**
51
51
  * Creates a public string-select descriptor.
52
52
  *
@@ -55,7 +55,7 @@ export declare function channel(opts: ChannelSelectBuilderInput): ChannelSelect;
55
55
  * @param opts Optional select configuration when a custom id is provided.
56
56
  * @returns Public string-select descriptor.
57
57
  */
58
- export declare function string(customId: SelectBase['id'], options: readonly StringSelectOption[], opts?: SelectBuilderOptions): StringSelect;
59
- export declare function string(opts: StringSelectBuilderInput): StringSelect;
58
+ export declare function string(customId: SelectBase['id'], options: readonly StringSelectOption[], opts?: SelectOpts): StringSelect;
59
+ export declare function string(opts: StringSelectInput): StringSelect;
60
60
  export {};
61
61
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../src/core/ui/builders/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACX,MAAM,UAAU,CAAC;AAGlB,KAAK,oBAAoB,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACnD,KAAK,kBAAkB,GAAG,oBAAoB,GAAG;IAAE,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;CAAE,CAAC;AAChF,KAAK,yBAAyB,GAAG,kBAAkB,GAAG;IACpD,YAAY,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;CACvC,CAAC;AACF,KAAK,wBAAwB,GAAG,kBAAkB,GAAG;IACnD,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACxC,CAAC;AA6D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