@discordjs/builders 1.12.1 → 1.12.2

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 CHANGED
@@ -1903,16 +1903,6 @@ declare const labelPredicate: _sapphire_shapeshift.ObjectValidator<{
1903
1903
  max_values: any;
1904
1904
  custom_id: any;
1905
1905
  disabled: any;
1906
- } & {
1907
- type: any;
1908
- default_values: any;
1909
- }> | _sapphire_shapeshift.UndefinedToOptional<{
1910
- id: any;
1911
- placeholder: any;
1912
- min_values: any;
1913
- max_values: any;
1914
- custom_id: any;
1915
- disabled: any;
1916
1906
  } & {
1917
1907
  type: any;
1918
1908
  options: any;
@@ -1949,16 +1939,6 @@ declare const labelPredicate: _sapphire_shapeshift.ObjectValidator<{
1949
1939
  max_values: any;
1950
1940
  custom_id: any;
1951
1941
  disabled: any;
1952
- } & {
1953
- type: any;
1954
- default_values: any;
1955
- }> | _sapphire_shapeshift.UndefinedToOptional<{
1956
- id: any;
1957
- placeholder: any;
1958
- min_values: any;
1959
- max_values: any;
1960
- custom_id: any;
1961
- disabled: any;
1962
1942
  } & {
1963
1943
  type: any;
1964
1944
  options: any;
package/dist/index.d.ts CHANGED
@@ -1903,16 +1903,6 @@ declare const labelPredicate: _sapphire_shapeshift.ObjectValidator<{
1903
1903
  max_values: any;
1904
1904
  custom_id: any;
1905
1905
  disabled: any;
1906
- } & {
1907
- type: any;
1908
- default_values: any;
1909
- }> | _sapphire_shapeshift.UndefinedToOptional<{
1910
- id: any;
1911
- placeholder: any;
1912
- min_values: any;
1913
- max_values: any;
1914
- custom_id: any;
1915
- disabled: any;
1916
1906
  } & {
1917
1907
  type: any;
1918
1908
  options: any;
@@ -1949,16 +1939,6 @@ declare const labelPredicate: _sapphire_shapeshift.ObjectValidator<{
1949
1939
  max_values: any;
1950
1940
  custom_id: any;
1951
1941
  disabled: any;
1952
- } & {
1953
- type: any;
1954
- default_values: any;
1955
- }> | _sapphire_shapeshift.UndefinedToOptional<{
1956
- id: any;
1957
- placeholder: any;
1958
- min_values: any;
1959
- max_values: any;
1960
- custom_id: any;
1961
- disabled: any;
1962
1942
  } & {
1963
1943
  type: any;
1964
1944
  options: any;
package/dist/index.js CHANGED
@@ -1458,7 +1458,7 @@ var selectMenuMentionablePredicate = selectMenuBasePredicate.extend({
1458
1458
  type: import_shapeshift4.s.literal(import_v1010.ComponentType.MentionableSelect),
1459
1459
  default_values: import_shapeshift4.s.object({
1460
1460
  id: import_shapeshift4.s.string(),
1461
- type: import_shapeshift4.s.literal([import_v1010.SelectMenuDefaultValueType.Role, import_v1010.SelectMenuDefaultValueType.User])
1461
+ type: import_shapeshift4.s.union([import_shapeshift4.s.literal(import_v1010.SelectMenuDefaultValueType.Role), import_shapeshift4.s.literal(import_v1010.SelectMenuDefaultValueType.User)])
1462
1462
  }).array().lengthLessThanOrEqual(25).optional()
1463
1463
  }).setValidationEnabled(isValidationEnabled);
1464
1464
  var selectMenuRolePredicate = selectMenuBasePredicate.extend({
@@ -4022,7 +4022,7 @@ function embedLength(data) {
4022
4022
  __name(embedLength, "embedLength");
4023
4023
 
4024
4024
  // src/index.ts
4025
- var version = "1.12.1";
4025
+ var version = "1.12.2";
4026
4026
  // Annotate the CommonJS export names for ESM import in node:
4027
4027
  0 && (module.exports = {
4028
4028
  ActionRowBuilder,