feat: new select menus (#8793)

* feat(builders): new select menus

* chore: better re-exporting of deprecated classes

* feat: new select menus

* chore: typings

* chore: add missing todo comment

* chore: finish updating tests

* chore: add runtime deprecation warnings

* chore: format deprecation warning

* feat(BaseInteraction): isAnySelectMenu

* chore: requested changes

* fix: deprecation comments

* chore: update @deprecated comments in typings

* chore: add tests for select menu type narrowing

* fix: bad auto imports

Co-authored-by: Julian Vennen <julian@aternos.org>

* fix: properly handle resolved members

* fix: collectors

* chore: suggested changes

Co-authored-by: Almeida <almeidx@pm.me>

* fix(typings): bad class extends

* feat(ChannelSelectMenuBuilder): validation

* chore: update todo comment

* refactor(ChannelSelectMenu): better handling of channel_types state

* chore: style nit

* chore: suggested nits

Co-authored-by: Aura Román <kyradiscord@gmail.com>

Co-authored-by: Julian Vennen <julian@aternos.org>
Co-authored-by: Almeida <almeidx@pm.me>
Co-authored-by: Aura Román <kyradiscord@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
DD
2022-11-01 19:36:05 +02:00
committed by GitHub
parent 8b400ca975
commit 5152abf728
50 changed files with 1528 additions and 469 deletions

View File

@@ -2063,7 +2063,7 @@ __metadata:
"@types/node": 16.11.68
"@vitest/coverage-c8": ^0.24.3
cross-env: ^7.0.3
discord-api-types: ^0.37.14
discord-api-types: ^0.37.15
esbuild-plugin-version-injector: ^1.0.0
eslint: ^8.25.0
eslint-config-neon: ^0.1.39
@@ -2250,7 +2250,7 @@ __metadata:
"@types/node": 16.11.68
"@vitest/coverage-c8": ^0.24.3
cross-env: ^7.0.3
discord-api-types: ^0.37.14
discord-api-types: ^0.37.15
esbuild-plugin-version-injector: ^1.0.0
eslint: ^8.25.0
eslint-config-neon: ^0.1.39
@@ -2354,7 +2354,7 @@ __metadata:
"@types/node": 16.11.68
"@types/ws": ^8.5.3
cross-env: ^7.0.3
discord-api-types: ^0.37.14
discord-api-types: ^0.37.15
esbuild-plugin-version-injector: ^1.0.0
eslint: ^8.25.0
eslint-config-neon: ^0.1.39
@@ -2444,7 +2444,7 @@ __metadata:
"@vitest/coverage-c8": ^0.24.3
"@vladfrangu/async_event_emitter": ^2.1.2
cross-env: ^7.0.3
discord-api-types: ^0.37.14
discord-api-types: ^0.37.15
esbuild-plugin-version-injector: ^1.0.0
eslint: ^8.25.0
eslint-config-neon: ^0.1.39
@@ -8256,10 +8256,10 @@ __metadata:
languageName: node
linkType: hard
"discord-api-types@npm:^0.37.14":
version: 0.37.14
resolution: "discord-api-types@npm:0.37.14"
checksum: 8f45f202e66acfd7b25624c8f4d225b363d9d8991d766959bcf246761548b99e21c12d9f7eafe00903913af66058595e5e56329dfb219eab8bb75a84f6413983
"discord-api-types@npm:^0.37.15":
version: 0.37.15
resolution: "discord-api-types@npm:0.37.15"
checksum: c54d2feeb8074509bdda430fb8ec0f6ff315512e7327d47399e0e7a78bbd0a6f0f0dcfc4b5e39825eb6141a13f33efa942711af89c9a5936a721cfc1e1d69d19
languageName: node
linkType: hard
@@ -8276,7 +8276,7 @@ __metadata:
"@sapphire/snowflake": ^3.2.2
"@types/node": 16.11.68
"@types/ws": ^8.5.3
discord-api-types: ^0.37.14
discord-api-types: ^0.37.15
dtslint: ^4.2.1
eslint: ^8.25.0
eslint-formatter-pretty: ^4.1.0