mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-09-17 08:47:24 +00:00
chore(release): 0.38.49 🎉 (#1687)
Co-authored-by: discord-js[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
discord-js[bot]
parent
0e889aef6d
commit
fbeadd8005
@@ -1,3 +1,19 @@
|
||||
## [0.38.49](https://github.com/discordjs/discord-api-types/compare/0.38.48...0.38.49) (2026-06-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **SubscriptionStatus:** correct status enum values ([#1675](https://github.com/discordjs/discord-api-types/issues/1675)) ([edd6d9e](https://github.com/discordjs/discord-api-types/commit/edd6d9ecbf6ea77fe385a02ad5dd77451f608fcf))
|
||||
* **Types:** replace never usage with undefined ([#1526](https://github.com/discordjs/discord-api-types/issues/1526)) ([0e889ae](https://github.com/discordjs/discord-api-types/commit/0e889aef6d0a05d41ed001c8a4d7db372f944a59))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **invites:** target users routes ([#1493](https://github.com/discordjs/discord-api-types/issues/1493)) ([c79d369](https://github.com/discordjs/discord-api-types/commit/c79d369c4d0ead1f8ee4b0af82afbc4ae4e0197b))
|
||||
* **Message:** message_create `channel_type` ([#1638](https://github.com/discordjs/discord-api-types/issues/1638)) ([b4adc80](https://github.com/discordjs/discord-api-types/commit/b4adc808b35f37c2c1a7c5c58757569db92e49cd))
|
||||
* **RESTJsonErrorCode:** add error code `20015`, `50167`, and `340015` ([#1686](https://github.com/discordjs/discord-api-types/issues/1686)) ([2335451](https://github.com/discordjs/discord-api-types/commit/2335451310d52e5b22b59891a40f26ad69dab4cd))
|
||||
* voice channel status ([#1631](https://github.com/discordjs/discord-api-types/issues/1631)) ([7d3339b](https://github.com/discordjs/discord-api-types/commit/7d3339b894e1bcb167406b82638bc1a0227ed15f))
|
||||
|
||||
## [0.38.48](https://github.com/discordjs/discord-api-types/compare/0.38.47...0.38.48) (2026-05-25)
|
||||
|
||||
|
||||
|
||||
Generated
+16
@@ -1,3 +1,19 @@
|
||||
## [0.38.49](https://github.com/discordjs/discord-api-types/compare/0.38.48...0.38.49) (2026-06-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **SubscriptionStatus:** correct status enum values ([#1675](https://github.com/discordjs/discord-api-types/issues/1675)) ([edd6d9e](https://github.com/discordjs/discord-api-types/commit/edd6d9ecbf6ea77fe385a02ad5dd77451f608fcf))
|
||||
* **Types:** replace never usage with undefined ([#1526](https://github.com/discordjs/discord-api-types/issues/1526)) ([0e889ae](https://github.com/discordjs/discord-api-types/commit/0e889aef6d0a05d41ed001c8a4d7db372f944a59))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **invites:** target users routes ([#1493](https://github.com/discordjs/discord-api-types/issues/1493)) ([c79d369](https://github.com/discordjs/discord-api-types/commit/c79d369c4d0ead1f8ee4b0af82afbc4ae4e0197b))
|
||||
* **Message:** message_create `channel_type` ([#1638](https://github.com/discordjs/discord-api-types/issues/1638)) ([b4adc80](https://github.com/discordjs/discord-api-types/commit/b4adc808b35f37c2c1a7c5c58757569db92e49cd))
|
||||
* **RESTJsonErrorCode:** add error code `20015`, `50167`, and `340015` ([#1686](https://github.com/discordjs/discord-api-types/issues/1686)) ([2335451](https://github.com/discordjs/discord-api-types/commit/2335451310d52e5b22b59891a40f26ad69dab4cd))
|
||||
* voice channel status ([#1631](https://github.com/discordjs/discord-api-types/issues/1631)) ([7d3339b](https://github.com/discordjs/discord-api-types/commit/7d3339b894e1bcb167406b82638bc1a0227ed15f))
|
||||
|
||||
## [0.38.48](https://github.com/discordjs/discord-api-types/compare/0.38.47...0.38.48) (2026-05-25)
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "discord-api-types",
|
||||
"version": "0.38.48",
|
||||
"version": "0.38.49",
|
||||
"description": "Discord API typings that are kept up to date for use in bot library creation.",
|
||||
"homepage": "https://discord-api-types.dev",
|
||||
"workspaces": [
|
||||
|
||||
+1
-1
@@ -179,7 +179,7 @@ They must also follow the following structure: `REST{http_method}{type_name}{Que
|
||||
- If a route doesn't take in any parameters, be it query, JSON or FormData, it shouldn't define any of those types
|
||||
- A route should always define a `Result` type, and should reference an `API*` type unless the data returned is only
|
||||
received through a REST call
|
||||
- If a route returns a `204 No Content` response, it should define a `Result` type with `never` as its value (this
|
||||
- If a route returns a `204 No Content` response, it should define a `Result` type with `undefined` as its value (this
|
||||
does not account for errors)
|
||||
|
||||
This structure should be followed whenever possible, however that might not always be doable. Specifically, types for
|
||||
+2
-2
@@ -181,8 +181,8 @@ The exports of each API version is split into three main parts:
|
||||
the fields. They will start with either `RESTOAuth2` or with something similar to `REST<HTTP Method>OAuth2`
|
||||
|
||||
- If a type ends with `Result`, then it represents the expected result by calling its accompanying route.
|
||||
- Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore
|
||||
it. This does **not** account for errors.
|
||||
- Types for a Result that will be a `204 No Content` will be typed as `undefined`. This does **not** account for
|
||||
errors
|
||||
|
||||
- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route
|
||||
object).
|
||||
+1
-1
@@ -1 +1 @@
|
||||
[{"entryPoints":{"v10":{"path":"v10.ts","label":"API v10"},"v9":{"path":"v9.ts","label":"API v9"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"voice/v8":{"path":"voice/v8.ts","label":"Voice v8"},"globals":{"path":"globals.ts","label":"Global Types"}},"packageRoot":"/home/runner/work/discord-api-types/discord-api-types/","packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.38.48"}]
|
||||
[{"entryPoints":{"v10":{"path":"v10.ts","label":"API v10"},"v9":{"path":"v9.ts","label":"API v9"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"voice/v8":{"path":"voice/v8.ts","label":"Voice v8"},"globals":{"path":"globals.ts","label":"Global Types"}},"packageRoot":"/home/runner/work/discord-api-types/discord-api-types/","packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.38.49"}]
|
||||
+1
-1
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
@@ -1,3 +1,3 @@
|
||||
[
|
||||
"0.38.48"
|
||||
"0.38.49"
|
||||
]
|
||||
Reference in New Issue
Block a user