@lunibee/builders 0.2.1 → 0.2.3

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/src/index.ts CHANGED
@@ -1,46 +1,115 @@
1
- export { EmbedBuilder } from "./embed.js";
1
+ export { CreateEmbed } from "./embed.js";
2
2
  export type { EmbedField } from "./embed.js";
3
3
  export {
4
- ButtonBuilder,
5
- ButtonStyle,
6
- ComponentType,
7
- ActionRowBuilder,
8
- StringSelectBuilder,
9
- StringSelectMenuBuilder,
10
- EntitySelectBuilder,
11
- UserSelectMenuBuilder,
12
- RoleSelectMenuBuilder,
13
- MentionableSelectMenuBuilder,
14
- ChannelSelectMenuBuilder,
15
- ModalBuilder,
16
- TextInputBuilder,
17
- TextInputStyle,
18
- ContainerBuilder,
19
- SectionBuilder,
20
- TextDisplayBuilder,
21
- MediaGalleryBuilder,
22
- FileComponentBuilder,
23
- SeparatorBuilder,
24
- ThumbnailBuilder,
25
- ContentInventoryEntryBuilder,
4
+ CreateButton,
5
+ ButtonType,
6
+ ComponentEnum,
7
+ CreateActionRow,
8
+ CreateStringSelect,
9
+ CreateStringSelectMenu,
10
+ CreateEntitySelect,
11
+ CreateUserSelectMenu,
12
+ CreateRoleSelectMenu,
13
+ CreateMentionableSelectMenu,
14
+ CreateChannelSelectMenu,
15
+ CreateModal,
16
+ CreateTextInput,
17
+ TextInputType,
18
+ CreateContainer,
19
+ CreateSection,
20
+ CreateTextDisplay,
21
+ CreateMediaGallery,
22
+ CreateFileComponent,
23
+ CreateSeparator,
24
+ CreateThumbnail,
25
+ CreateContentInventoryEntry,
26
26
  componentsV2Message,
27
27
  } from "./components.js";
28
28
  export {
29
- SlashCommandBuilder,
30
- StringOptionBuilder,
31
- IntegerOptionBuilder,
32
- NumberOptionBuilder,
29
+ CreateSlashCommand,
30
+ CreateCommandOption,
31
+ CreateStringOption,
32
+ CreateIntegerOption,
33
+ CreateNumberOption,
34
+ CreateBooleanOption,
35
+ CreateUserOption,
36
+ CreateChannelOption,
37
+ CreateRoleOption,
38
+ CreateMentionableOption,
39
+ CreateAttachmentOption,
40
+ CreateSubcommand,
41
+ CreateSubcommandGroup,
42
+ ApplicationCommandOptionEnum,
43
+ CreateUserCommand,
44
+ CreateMessageCommand,
45
+ CreateContextMenuCommand,
46
+ } from "./commands.js";
47
+ export { CreateAttachment, type AttachmentData } from "./attachment.js";
48
+
49
+ // Deprecated names (0.2.2), removed in 0.3.0.
50
+ export { AttachmentBuilder } from "./attachment.js";
51
+ export { EmbedBuilder } from "./embed.js";
52
+ export {
53
+ AttachmentOptionBuilder,
33
54
  BooleanOptionBuilder,
34
- UserOptionBuilder,
35
55
  ChannelOptionBuilder,
36
- RoleOptionBuilder,
56
+ CommandOptionBuilder,
57
+ ContextMenuCommandBuilder,
58
+ IntegerOptionBuilder,
37
59
  MentionableOptionBuilder,
38
- AttachmentOptionBuilder,
60
+ MessageCommandBuilder,
61
+ NumberOptionBuilder,
62
+ RoleOptionBuilder,
63
+ SlashCommandBuilder,
64
+ StringOptionBuilder,
39
65
  SubcommandBuilder,
40
66
  SubcommandGroupBuilder,
41
- ApplicationCommandOptionType,
42
67
  UserCommandBuilder,
43
- MessageCommandBuilder,
44
- ContextMenuCommandBuilder,
68
+ UserOptionBuilder,
69
+ ApplicationCommandOptionType,
45
70
  } from "./commands.js";
46
- export { AttachmentBuilder, type AttachmentData } from "./attachment.js";
71
+ export {
72
+ ButtonBuilder,
73
+ ChannelSelectMenuBuilder,
74
+ ContainerBuilder,
75
+ ContentInventoryEntryBuilder,
76
+ EntitySelectBuilder,
77
+ FileComponentBuilder,
78
+ MediaGalleryBuilder,
79
+ MentionableSelectMenuBuilder,
80
+ ModalBuilder,
81
+ RoleSelectMenuBuilder,
82
+ SectionBuilder,
83
+ SeparatorBuilder,
84
+ StringSelectBuilder,
85
+ StringSelectMenuBuilder,
86
+ TextDisplayBuilder,
87
+ TextInputBuilder,
88
+ ThumbnailBuilder,
89
+ UserSelectMenuBuilder,
90
+ ActionRowBuilder,
91
+ ButtonStyle,
92
+ TextInputStyle,
93
+ ComponentType,
94
+ } from "./components.js";
95
+ export type {
96
+ APIComponent,
97
+ APIComponentEmoji,
98
+ APIActionRowChild,
99
+ APIActionRowComponent,
100
+ APIButtonComponent,
101
+ APISelectOption,
102
+ APISelectDefaultValue,
103
+ APIStringSelectComponent,
104
+ APIEntitySelectComponent,
105
+ APITextInputComponent,
106
+ APIModalComponent,
107
+ APIContainerComponent,
108
+ APISectionComponent,
109
+ APITextDisplayComponent,
110
+ APIMediaGalleryComponent,
111
+ APIFileComponent,
112
+ APISeparatorComponent,
113
+ APIThumbnailComponent,
114
+ APIContentInventoryEntryComponent,
115
+ } from "./components.js";