Skip to content

Commit

Permalink
fix: add position property to create channel options (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Apr 24, 2022
1 parent 1212eb9 commit 3fe53ce
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
9 changes: 8 additions & 1 deletion deno/rest/v10/guild.ts
Expand Up @@ -41,7 +41,14 @@ export type APIGuildChannelResolvable = Exclude<APIChannel, APIDMChannel | APIGr
export type APIGuildCreatePartialChannel = StrictPartial<
DistributivePick<
APIGuildChannelResolvable,
'type' | 'topic' | 'nsfw' | 'bitrate' | 'user_limit' | 'rate_limit_per_user' | 'default_auto_archive_duration'
| 'type'
| 'topic'
| 'nsfw'
| 'bitrate'
| 'user_limit'
| 'rate_limit_per_user'
| 'default_auto_archive_duration'
| 'position'
>
> &
AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{
Expand Down
9 changes: 8 additions & 1 deletion deno/rest/v9/guild.ts
Expand Up @@ -41,7 +41,14 @@ export type APIGuildChannelResolvable = Exclude<APIChannel, APIDMChannel | APIGr
export type APIGuildCreatePartialChannel = StrictPartial<
DistributivePick<
APIGuildChannelResolvable,
'type' | 'topic' | 'nsfw' | 'bitrate' | 'user_limit' | 'rate_limit_per_user' | 'default_auto_archive_duration'
| 'type'
| 'topic'
| 'nsfw'
| 'bitrate'
| 'user_limit'
| 'rate_limit_per_user'
| 'default_auto_archive_duration'
| 'position'
>
> &
AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{
Expand Down
9 changes: 8 additions & 1 deletion rest/v10/guild.ts
Expand Up @@ -41,7 +41,14 @@ export type APIGuildChannelResolvable = Exclude<APIChannel, APIDMChannel | APIGr
export type APIGuildCreatePartialChannel = StrictPartial<
DistributivePick<
APIGuildChannelResolvable,
'type' | 'topic' | 'nsfw' | 'bitrate' | 'user_limit' | 'rate_limit_per_user' | 'default_auto_archive_duration'
| 'type'
| 'topic'
| 'nsfw'
| 'bitrate'
| 'user_limit'
| 'rate_limit_per_user'
| 'default_auto_archive_duration'
| 'position'
>
> &
AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{
Expand Down
9 changes: 8 additions & 1 deletion rest/v9/guild.ts
Expand Up @@ -41,7 +41,14 @@ export type APIGuildChannelResolvable = Exclude<APIChannel, APIDMChannel | APIGr
export type APIGuildCreatePartialChannel = StrictPartial<
DistributivePick<
APIGuildChannelResolvable,
'type' | 'topic' | 'nsfw' | 'bitrate' | 'user_limit' | 'rate_limit_per_user' | 'default_auto_archive_duration'
| 'type'
| 'topic'
| 'nsfw'
| 'bitrate'
| 'user_limit'
| 'rate_limit_per_user'
| 'default_auto_archive_duration'
| 'position'
>
> &
AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{
Expand Down

0 comments on commit 3fe53ce

Please sign in to comment.