@discordjs/builders 2.0.0-dev.1750896867-d53b20317 → 2.0.0-dev.1751371559-02fbb706a
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/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -718,8 +718,8 @@ declare const textInputPredicate: z.ZodObject<{
|
|
|
718
718
|
value: z.ZodOptional<z.ZodString>;
|
|
719
719
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
custom_id: string;
|
|
722
721
|
label: string;
|
|
722
|
+
custom_id: string;
|
|
723
723
|
style: TextInputStyle;
|
|
724
724
|
type: ComponentType.TextInput;
|
|
725
725
|
value?: string | undefined;
|
|
@@ -728,8 +728,8 @@ declare const textInputPredicate: z.ZodObject<{
|
|
|
728
728
|
max_length?: number | undefined;
|
|
729
729
|
required?: boolean | undefined;
|
|
730
730
|
}, {
|
|
731
|
-
custom_id: string;
|
|
732
731
|
label: string;
|
|
732
|
+
custom_id: string;
|
|
733
733
|
style: TextInputStyle;
|
|
734
734
|
type: ComponentType.TextInput;
|
|
735
735
|
value?: string | undefined;
|
|
@@ -1675,8 +1675,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1675
1675
|
} & {
|
|
1676
1676
|
style: z.ZodLiteral<ButtonStyle.Primary>;
|
|
1677
1677
|
}, "strict", z.ZodTypeAny, {
|
|
1678
|
-
custom_id: string;
|
|
1679
1678
|
label: string;
|
|
1679
|
+
custom_id: string;
|
|
1680
1680
|
style: ButtonStyle.Primary;
|
|
1681
1681
|
type: ComponentType.Button;
|
|
1682
1682
|
emoji?: {
|
|
@@ -1686,8 +1686,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1686
1686
|
} | undefined;
|
|
1687
1687
|
disabled?: boolean | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
custom_id: string;
|
|
1690
1689
|
label: string;
|
|
1690
|
+
custom_id: string;
|
|
1691
1691
|
style: ButtonStyle.Primary;
|
|
1692
1692
|
type: ComponentType.Button;
|
|
1693
1693
|
emoji?: {
|
|
@@ -1726,8 +1726,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1726
1726
|
} & {
|
|
1727
1727
|
style: z.ZodLiteral<ButtonStyle.Secondary>;
|
|
1728
1728
|
}, "strict", z.ZodTypeAny, {
|
|
1729
|
-
custom_id: string;
|
|
1730
1729
|
label: string;
|
|
1730
|
+
custom_id: string;
|
|
1731
1731
|
style: ButtonStyle.Secondary;
|
|
1732
1732
|
type: ComponentType.Button;
|
|
1733
1733
|
emoji?: {
|
|
@@ -1737,8 +1737,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1737
1737
|
} | undefined;
|
|
1738
1738
|
disabled?: boolean | undefined;
|
|
1739
1739
|
}, {
|
|
1740
|
-
custom_id: string;
|
|
1741
1740
|
label: string;
|
|
1741
|
+
custom_id: string;
|
|
1742
1742
|
style: ButtonStyle.Secondary;
|
|
1743
1743
|
type: ComponentType.Button;
|
|
1744
1744
|
emoji?: {
|
|
@@ -1777,8 +1777,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1777
1777
|
} & {
|
|
1778
1778
|
style: z.ZodLiteral<ButtonStyle.Success>;
|
|
1779
1779
|
}, "strict", z.ZodTypeAny, {
|
|
1780
|
-
custom_id: string;
|
|
1781
1780
|
label: string;
|
|
1781
|
+
custom_id: string;
|
|
1782
1782
|
style: ButtonStyle.Success;
|
|
1783
1783
|
type: ComponentType.Button;
|
|
1784
1784
|
emoji?: {
|
|
@@ -1788,8 +1788,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1788
1788
|
} | undefined;
|
|
1789
1789
|
disabled?: boolean | undefined;
|
|
1790
1790
|
}, {
|
|
1791
|
-
custom_id: string;
|
|
1792
1791
|
label: string;
|
|
1792
|
+
custom_id: string;
|
|
1793
1793
|
style: ButtonStyle.Success;
|
|
1794
1794
|
type: ComponentType.Button;
|
|
1795
1795
|
emoji?: {
|
|
@@ -1828,8 +1828,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1828
1828
|
} & {
|
|
1829
1829
|
style: z.ZodLiteral<ButtonStyle.Danger>;
|
|
1830
1830
|
}, "strict", z.ZodTypeAny, {
|
|
1831
|
-
custom_id: string;
|
|
1832
1831
|
label: string;
|
|
1832
|
+
custom_id: string;
|
|
1833
1833
|
style: ButtonStyle.Danger;
|
|
1834
1834
|
type: ComponentType.Button;
|
|
1835
1835
|
emoji?: {
|
|
@@ -1839,8 +1839,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1839
1839
|
} | undefined;
|
|
1840
1840
|
disabled?: boolean | undefined;
|
|
1841
1841
|
}, {
|
|
1842
|
-
custom_id: string;
|
|
1843
1842
|
label: string;
|
|
1843
|
+
custom_id: string;
|
|
1844
1844
|
style: ButtonStyle.Danger;
|
|
1845
1845
|
type: ComponentType.Button;
|
|
1846
1846
|
emoji?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -718,8 +718,8 @@ declare const textInputPredicate: z.ZodObject<{
|
|
|
718
718
|
value: z.ZodOptional<z.ZodString>;
|
|
719
719
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
custom_id: string;
|
|
722
721
|
label: string;
|
|
722
|
+
custom_id: string;
|
|
723
723
|
style: TextInputStyle;
|
|
724
724
|
type: ComponentType.TextInput;
|
|
725
725
|
value?: string | undefined;
|
|
@@ -728,8 +728,8 @@ declare const textInputPredicate: z.ZodObject<{
|
|
|
728
728
|
max_length?: number | undefined;
|
|
729
729
|
required?: boolean | undefined;
|
|
730
730
|
}, {
|
|
731
|
-
custom_id: string;
|
|
732
731
|
label: string;
|
|
732
|
+
custom_id: string;
|
|
733
733
|
style: TextInputStyle;
|
|
734
734
|
type: ComponentType.TextInput;
|
|
735
735
|
value?: string | undefined;
|
|
@@ -1675,8 +1675,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1675
1675
|
} & {
|
|
1676
1676
|
style: z.ZodLiteral<ButtonStyle.Primary>;
|
|
1677
1677
|
}, "strict", z.ZodTypeAny, {
|
|
1678
|
-
custom_id: string;
|
|
1679
1678
|
label: string;
|
|
1679
|
+
custom_id: string;
|
|
1680
1680
|
style: ButtonStyle.Primary;
|
|
1681
1681
|
type: ComponentType.Button;
|
|
1682
1682
|
emoji?: {
|
|
@@ -1686,8 +1686,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1686
1686
|
} | undefined;
|
|
1687
1687
|
disabled?: boolean | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
custom_id: string;
|
|
1690
1689
|
label: string;
|
|
1690
|
+
custom_id: string;
|
|
1691
1691
|
style: ButtonStyle.Primary;
|
|
1692
1692
|
type: ComponentType.Button;
|
|
1693
1693
|
emoji?: {
|
|
@@ -1726,8 +1726,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1726
1726
|
} & {
|
|
1727
1727
|
style: z.ZodLiteral<ButtonStyle.Secondary>;
|
|
1728
1728
|
}, "strict", z.ZodTypeAny, {
|
|
1729
|
-
custom_id: string;
|
|
1730
1729
|
label: string;
|
|
1730
|
+
custom_id: string;
|
|
1731
1731
|
style: ButtonStyle.Secondary;
|
|
1732
1732
|
type: ComponentType.Button;
|
|
1733
1733
|
emoji?: {
|
|
@@ -1737,8 +1737,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1737
1737
|
} | undefined;
|
|
1738
1738
|
disabled?: boolean | undefined;
|
|
1739
1739
|
}, {
|
|
1740
|
-
custom_id: string;
|
|
1741
1740
|
label: string;
|
|
1741
|
+
custom_id: string;
|
|
1742
1742
|
style: ButtonStyle.Secondary;
|
|
1743
1743
|
type: ComponentType.Button;
|
|
1744
1744
|
emoji?: {
|
|
@@ -1777,8 +1777,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1777
1777
|
} & {
|
|
1778
1778
|
style: z.ZodLiteral<ButtonStyle.Success>;
|
|
1779
1779
|
}, "strict", z.ZodTypeAny, {
|
|
1780
|
-
custom_id: string;
|
|
1781
1780
|
label: string;
|
|
1781
|
+
custom_id: string;
|
|
1782
1782
|
style: ButtonStyle.Success;
|
|
1783
1783
|
type: ComponentType.Button;
|
|
1784
1784
|
emoji?: {
|
|
@@ -1788,8 +1788,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1788
1788
|
} | undefined;
|
|
1789
1789
|
disabled?: boolean | undefined;
|
|
1790
1790
|
}, {
|
|
1791
|
-
custom_id: string;
|
|
1792
1791
|
label: string;
|
|
1792
|
+
custom_id: string;
|
|
1793
1793
|
style: ButtonStyle.Success;
|
|
1794
1794
|
type: ComponentType.Button;
|
|
1795
1795
|
emoji?: {
|
|
@@ -1828,8 +1828,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1828
1828
|
} & {
|
|
1829
1829
|
style: z.ZodLiteral<ButtonStyle.Danger>;
|
|
1830
1830
|
}, "strict", z.ZodTypeAny, {
|
|
1831
|
-
custom_id: string;
|
|
1832
1831
|
label: string;
|
|
1832
|
+
custom_id: string;
|
|
1833
1833
|
style: ButtonStyle.Danger;
|
|
1834
1834
|
type: ComponentType.Button;
|
|
1835
1835
|
emoji?: {
|
|
@@ -1839,8 +1839,8 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
|
1839
1839
|
} | undefined;
|
|
1840
1840
|
disabled?: boolean | undefined;
|
|
1841
1841
|
}, {
|
|
1842
|
-
custom_id: string;
|
|
1843
1842
|
label: string;
|
|
1843
|
+
custom_id: string;
|
|
1844
1844
|
style: ButtonStyle.Danger;
|
|
1845
1845
|
type: ComponentType.Button;
|
|
1846
1846
|
emoji?: {
|
package/dist/index.js
CHANGED
|
@@ -1363,7 +1363,7 @@ var containerPredicate = import_zod4.z.object({
|
|
|
1363
1363
|
separatorPredicate,
|
|
1364
1364
|
textDisplayPredicate
|
|
1365
1365
|
])
|
|
1366
|
-
).min(1)
|
|
1366
|
+
).min(1),
|
|
1367
1367
|
spoiler: import_zod4.z.boolean().optional(),
|
|
1368
1368
|
accent_color: import_zod4.z.number().int().min(0).max(16777215).nullish()
|
|
1369
1369
|
});
|
|
@@ -5420,7 +5420,7 @@ var MessageBuilder = class {
|
|
|
5420
5420
|
};
|
|
5421
5421
|
|
|
5422
5422
|
// src/index.ts
|
|
5423
|
-
var version = "2.0.0-dev.
|
|
5423
|
+
var version = "2.0.0-dev.1751371559-02fbb706a";
|
|
5424
5424
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5425
5425
|
0 && (module.exports = {
|
|
5426
5426
|
ActionRowBuilder,
|