@discordjs/builders 1.3.0-dev.1664756095-b2ec865.0 → 1.3.0-dev.1665230645-33ec49d.0
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/CHANGELOG.md +3 -118
- package/dist/index.d.ts +9 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.
|
|
|
15
15
|
|
|
16
16
|
- Docs design (#8487) ([4ab1d09](https://github.com/discordjs/discord.js/commit/4ab1d09997a18879a9eb9bda39df6f15aa22557e))
|
|
17
17
|
|
|
18
|
-
# [@discordjs/builders@1.1.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@
|
|
18
|
+
# [@discordjs/builders@1.1.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.16.0...@discordjs/builders@1.1.0) - (2022-07-29)
|
|
19
19
|
|
|
20
20
|
## Bug Fixes
|
|
21
21
|
|
|
@@ -31,11 +31,9 @@ All notable changes to this project will be documented in this file.
|
|
|
31
31
|
|
|
32
32
|
- Add channel & message URL formatters (#8371) ([a7deb8f](https://github.com/discordjs/discord.js/commit/a7deb8f89830ead6185c5fb46a49688b6d209ed1))
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
## Testing
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- 1.0.0 release bump, no new features.
|
|
36
|
+
- **builders:** Improve coverage (#8274) ([b7e6238](https://github.com/discordjs/discord.js/commit/b7e62380f2e6b9324d6bba9b9eaa5315080bf66a))
|
|
39
37
|
|
|
40
38
|
# [@discordjs/builders@0.16.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.15.0...@discordjs/builders@0.16.0) - (2022-07-17)
|
|
41
39
|
|
|
@@ -76,14 +74,6 @@ All notable changes to this project will be documented in this file.
|
|
|
76
74
|
- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b))
|
|
77
75
|
- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b))
|
|
78
76
|
|
|
79
|
-
# [@discordjs/builders@0.15.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.14.0...@discordjs/builders@0.15.0) - (2022-06-05)
|
|
80
|
-
|
|
81
|
-
## Features
|
|
82
|
-
|
|
83
|
-
- Allow builders to accept rest params and arrays (#7874) ([ad75be9](https://github.com/discordjs/discord.js/commit/ad75be9a9cf90c8624495df99b75177e6c24022f))
|
|
84
|
-
- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b))
|
|
85
|
-
- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b))
|
|
86
|
-
|
|
87
77
|
# [@discordjs/builders@0.14.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.13.0...@discordjs/builders@0.14.0) - (2022-06-04)
|
|
88
78
|
|
|
89
79
|
## Bug Fixes
|
|
@@ -174,108 +164,3 @@ All notable changes to this project will be documented in this file.
|
|
|
174
164
|
## Typings
|
|
175
165
|
|
|
176
166
|
- Make `required` a boolean (#7307) ([c10afea](https://github.com/discordjs/discord.js/commit/c10afeadc702ab98bec5e077b3b92494a9596f9c))
|
|
177
|
-
|
|
178
|
-
# [0.11.0](https://github.com/discordjs/builders/compare/v0.10.0...v0.11.0) (2021-12-29)
|
|
179
|
-
|
|
180
|
-
## Bug Fixes
|
|
181
|
-
|
|
182
|
-
- **ApplicationCommandOptions:** clean up code for builder options ([#68](https://github.com/discordjs/builders/issues/68)) ([b5d0b15](https://github.com/discordjs/builders/commit/b5d0b157b1262bd01fa011f8e0cf33adb82776e7))
|
|
183
|
-
|
|
184
|
-
# [0.10.0](https://github.com/discordjs/builders/compare/v0.9.0...v0.10.0) (2021-12-24)
|
|
185
|
-
|
|
186
|
-
## Bug Fixes
|
|
187
|
-
|
|
188
|
-
- use zod instead of ow for max/min option validation ([#66](https://github.com/discordjs/builders/issues/66)) ([beb35fb](https://github.com/discordjs/builders/commit/beb35fb1f65bd6be2321e17cc792f67e8615fd48))
|
|
189
|
-
|
|
190
|
-
## Features
|
|
191
|
-
|
|
192
|
-
- add max/min option for int and number builder options ([#47](https://github.com/discordjs/builders/issues/47)) ([2e1e860](https://github.com/discordjs/builders/commit/2e1e860b46e3453398b20df63dabb6d4325e32d1))
|
|
193
|
-
|
|
194
|
-
# [0.9.0](https://github.com/discordjs/builders/compare/v0.8.2...v0.9.0) (2021-12-02)
|
|
195
|
-
|
|
196
|
-
## Bug Fixes
|
|
197
|
-
|
|
198
|
-
- replace ow with zod ([#58](https://github.com/discordjs/builders/issues/58)) ([0b6fb81](https://github.com/discordjs/builders/commit/0b6fb8161b858e42781855fb73aaa873fec58160))
|
|
199
|
-
|
|
200
|
-
## Features
|
|
201
|
-
|
|
202
|
-
- **SlashCommandBuilder:** add autocomplete ([#53](https://github.com/discordjs/builders/issues/53)) ([05b07a7](https://github.com/discordjs/builders/commit/05b07a7e88848188c27d7380d9f948cba25ef778))
|
|
203
|
-
|
|
204
|
-
## [0.8.2](https://github.com/discordjs/builders/compare/v0.8.1...v0.8.2) (2021-10-30)
|
|
205
|
-
|
|
206
|
-
## Bug Fixes
|
|
207
|
-
|
|
208
|
-
- downgrade ow because of esm issues ([#55](https://github.com/discordjs/builders/issues/55)) ([3722d2c](https://github.com/discordjs/builders/commit/3722d2c1109a7a5c0abad63c1a7eb944df6e46c8))
|
|
209
|
-
|
|
210
|
-
## [0.8.1](https://github.com/discordjs/builders/compare/v0.8.0...v0.8.1) (2021-10-29)
|
|
211
|
-
|
|
212
|
-
## Bug Fixes
|
|
213
|
-
|
|
214
|
-
- documentation ([e33ec8d](https://github.com/discordjs/builders/commit/e33ec8dfd5785312f82e0afb017a3dac614fd71d))
|
|
215
|
-
|
|
216
|
-
# [0.7.0](https://github.com/discordjs/builders/compare/v0.6.0...v0.7.0) (2021-10-18)
|
|
217
|
-
|
|
218
|
-
## Bug Fixes
|
|
219
|
-
|
|
220
|
-
- properly type `toJSON` methods ([#34](https://github.com/discordjs/builders/issues/34)) ([7723ad0](https://github.com/discordjs/builders/commit/7723ad0da169386e638188de220451a97513bc25))
|
|
221
|
-
|
|
222
|
-
## Features
|
|
223
|
-
|
|
224
|
-
- **ContextMenus:** add context menu command builder ([#29](https://github.com/discordjs/builders/issues/29)) ([f0641e5](https://github.com/discordjs/builders/commit/f0641e55733de8992600f3082bcf054e6f815cf7))
|
|
225
|
-
- add support for channel types on channel options ([#41](https://github.com/discordjs/builders/issues/41)) ([f6c187e](https://github.com/discordjs/builders/commit/f6c187e0ad6ebe03e65186ece3e95cb1db5aeb50))
|
|
226
|
-
|
|
227
|
-
# [0.6.0](https://github.com/discordjs/builders/compare/v0.5.0...v0.6.0) (2021-08-24)
|
|
228
|
-
|
|
229
|
-
## Bug Fixes
|
|
230
|
-
|
|
231
|
-
- **SlashCommandBuilder:** allow subcommands and groups to coexist at the root level ([#26](https://github.com/discordjs/builders/issues/26)) ([0be4daf](https://github.com/discordjs/builders/commit/0be4dafdfc0b5747c880be0078c00ada913eb4fb))
|
|
232
|
-
|
|
233
|
-
## Features
|
|
234
|
-
|
|
235
|
-
- create `Embed` builder ([#11](https://github.com/discordjs/builders/issues/11)) ([eb942a4](https://github.com/discordjs/builders/commit/eb942a4d1f3bcec9a4e370b6af602a713ad8f9b7))
|
|
236
|
-
- **SlashCommandBuilder:** create setDefaultPermission function ([#19](https://github.com/discordjs/builders/issues/19)) ([5d53759](https://github.com/discordjs/builders/commit/5d537593937a8da330153ce4711b7d093a80330e))
|
|
237
|
-
- **SlashCommands:** add number option type ([#23](https://github.com/discordjs/builders/issues/23)) ([1563991](https://github.com/discordjs/builders/commit/1563991d421bb07bf7a412c87e7613692d770f04))
|
|
238
|
-
|
|
239
|
-
# [0.5.0](https://github.com/discordjs/builders/compare/v0.3.0...v0.5.0) (2021-08-10)
|
|
240
|
-
|
|
241
|
-
## Features
|
|
242
|
-
|
|
243
|
-
- **Formatters:** add `formatEmoji` ([#20](https://github.com/discordjs/builders/issues/20)) ([c3d8bb5](https://github.com/discordjs/builders/commit/c3d8bb5363a1d46b45c0def4277da6921e2ba209))
|
|
244
|
-
|
|
245
|
-
# [0.4.0](https://github.com/discordjs/builders/compare/v0.3.0...v0.4.0) (2021-08-05)
|
|
246
|
-
|
|
247
|
-
## Features
|
|
248
|
-
|
|
249
|
-
- `sub command` => `subcommand` ([#18](https://github.com/discordjs/builders/pull/18)) ([95599c5](https://github.com/discordjs/builders/commit/95599c5b5366ebd054c4c277c52f1a44cda1209d))
|
|
250
|
-
|
|
251
|
-
# [0.3.0](https://github.com/discordjs/builders/compare/v0.2.0...v0.3.0) (2021-08-01)
|
|
252
|
-
|
|
253
|
-
## Bug Fixes
|
|
254
|
-
|
|
255
|
-
- **Shrug:** Update comment ([#14](https://github.com/discordjs/builders/issues/14)) ([6fa6c40](https://github.com/discordjs/builders/commit/6fa6c405f2ea733811677d3d1bfb1e2806d504d5))
|
|
256
|
-
- shrug face rendering ([#13](https://github.com/discordjs/builders/issues/13)) ([6ad24ec](https://github.com/discordjs/builders/commit/6ad24ecd96c82b0f576e78e9e53fc7bf9c36ef5d))
|
|
257
|
-
|
|
258
|
-
## Features
|
|
259
|
-
|
|
260
|
-
- **formatters:** mentions ([#9](https://github.com/discordjs/builders/issues/9)) ([f83fe99](https://github.com/discordjs/builders/commit/f83fe99b83188ed999845751ffb005c687dbd60a))
|
|
261
|
-
- **Formatters:** Add a spoiler function ([#16](https://github.com/discordjs/builders/issues/16)) ([c213a6a](https://github.com/discordjs/builders/commit/c213a6abb114f65653017a4edec4bdba2162d771))
|
|
262
|
-
- **SlashCommands:** add slash command builders ([#3](https://github.com/discordjs/builders/issues/3)) ([6aa3af0](https://github.com/discordjs/builders/commit/6aa3af07b0ee342fff91f080914bb12b3ab773f8))
|
|
263
|
-
- shrug, tableflip and unflip strings ([#5](https://github.com/discordjs/builders/issues/5)) ([de5fa82](https://github.com/discordjs/builders/commit/de5fa823cd6f1feba5b2d0a63b2cb1761dfd1814))
|
|
264
|
-
|
|
265
|
-
# [0.2.0](https://github.com/discordjs/builders/compare/v0.1.1...v0.2.0) (2021-07-03)
|
|
266
|
-
|
|
267
|
-
## Features
|
|
268
|
-
|
|
269
|
-
- **Formatters:** added `hyperlink` and `hideLinkEmbed` ([#4](https://github.com/discordjs/builders/issues/4)) ([c532daf](https://github.com/discordjs/builders/commit/c532daf2ba2feae75bf9668f63462e96a5314cff))
|
|
270
|
-
|
|
271
|
-
# [0.1.1](https://github.com/discordjs/builders/compare/v0.1.0...v0.1.1) (2021-06-30)
|
|
272
|
-
|
|
273
|
-
## Bug Fixes
|
|
274
|
-
|
|
275
|
-
- **Deps:** added `tslib` as dependency ([#2](https://github.com/discordjs/builders/issues/2)) ([5576ff3](https://github.com/discordjs/builders/commit/5576ff3b67136b957bed0ab8a4c655d5de322813))
|
|
276
|
-
|
|
277
|
-
# 0.1.0 (2021-06-30)
|
|
278
|
-
|
|
279
|
-
## Features
|
|
280
|
-
|
|
281
|
-
- added message formatters ([#1](https://github.com/discordjs/builders/issues/1)) ([765e46d](https://github.com/discordjs/builders/commit/765e46dac96c4e49d350243e5fad34c2bc738a7c))
|
package/dist/index.d.ts
CHANGED
|
@@ -1659,4 +1659,12 @@ declare const enableValidators: () => boolean;
|
|
|
1659
1659
|
declare const disableValidators: () => boolean;
|
|
1660
1660
|
declare const isValidationEnabled: () => boolean;
|
|
1661
1661
|
|
|
1662
|
-
|
|
1662
|
+
/**
|
|
1663
|
+
* The [\@discordjs/builders](https://github.com/discordjs/discord.js/blob/main/packages/builders/#readme) version
|
|
1664
|
+
* that you are currently using.
|
|
1665
|
+
*
|
|
1666
|
+
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
|
|
1667
|
+
*/
|
|
1668
|
+
declare const version: string;
|
|
1669
|
+
|
|
1670
|
+
export { ActionRowBuilder, AnyAPIActionRowComponent, AnyComponentBuilder, ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionAllowedChannelTypes, ApplicationCommandOptionBase, ApplicationCommandOptionChannelTypesMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin, ButtonBuilder, Assertions$4 as ComponentAssertions, ComponentBuilder, Assertions as ContextMenuCommandAssertions, ContextMenuCommandBuilder, ContextMenuCommandType, Assertions$5 as EmbedAssertions, EmbedAuthorData, EmbedAuthorOptions, EmbedBuilder, EmbedFooterData, EmbedFooterOptions, EmbedImageData, Faces, IconData, MappedComponentTypes, MessageActionRowComponentBuilder, MessageComponentBuilder, ModalActionRowComponentBuilder, Assertions$2 as ModalAssertions, ModalBuilder, ModalComponentBuilder, RGBTuple, RestOrArray, SelectMenuBuilder, SelectMenuOptionBuilder, SharedNameAndDescription, SharedSlashCommandOptions, Assertions$1 as SlashCommandAssertions, SlashCommandAttachmentOption, SlashCommandBooleanOption, SlashCommandBuilder, SlashCommandChannelOption, SlashCommandIntegerOption, SlashCommandMentionableOption, SlashCommandNumberOption, SlashCommandOptionsOnlyBuilder, SlashCommandRoleOption, SlashCommandStringOption, SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder, SlashCommandSubcommandsOnlyBuilder, SlashCommandUserOption, Assertions$3 as TextInputAssertions, TextInputBuilder, TimestampStyles, TimestampStylesString, ToAPIApplicationCommandOptions, blockQuote, bold, channelLink, channelMention, chatInputApplicationCommandMention, codeBlock, createComponentBuilder, disableValidators, embedLength, enableValidators, formatEmoji, hideLinkEmbed, hyperlink, inlineCode, isValidationEnabled, italic, messageLink, normalizeArray, quote, roleMention, spoiler, strikethrough, time, underscore, userMention, version };
|
package/dist/index.js
CHANGED
|
@@ -96,7 +96,8 @@ __export(src_exports, {
|
|
|
96
96
|
strikethrough: () => strikethrough,
|
|
97
97
|
time: () => time,
|
|
98
98
|
underscore: () => underscore,
|
|
99
|
-
userMention: () => userMention
|
|
99
|
+
userMention: () => userMention,
|
|
100
|
+
version: () => version
|
|
100
101
|
});
|
|
101
102
|
module.exports = __toCommonJS(src_exports);
|
|
102
103
|
|
|
@@ -1491,6 +1492,7 @@ __name(embedLength, "embedLength");
|
|
|
1491
1492
|
|
|
1492
1493
|
// src/index.ts
|
|
1493
1494
|
__reExport(src_exports, require("@discordjs/util"), module.exports);
|
|
1495
|
+
var version = "1.3.0-dev.1665230645-33ec49d.0";
|
|
1494
1496
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1495
1497
|
0 && (module.exports = {
|
|
1496
1498
|
ActionRowBuilder,
|
|
@@ -1552,6 +1554,7 @@ __reExport(src_exports, require("@discordjs/util"), module.exports);
|
|
|
1552
1554
|
strikethrough,
|
|
1553
1555
|
time,
|
|
1554
1556
|
underscore,
|
|
1555
|
-
userMention
|
|
1557
|
+
userMention,
|
|
1558
|
+
version
|
|
1556
1559
|
});
|
|
1557
1560
|
//# sourceMappingURL=index.js.map
|