Skip to content

Commit e7f0caa

Browse files
authored
refactor(APIThreadMetadata): locked is always present (#1154)
1 parent 5350806 commit e7f0caa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deno/payloads/v10/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ export interface APIThreadMetadata {
10641064
/**
10651065
* Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it
10661066
*/
1067-
locked?: boolean;
1067+
locked: boolean;
10681068
/**
10691069
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
10701070
*/

deno/payloads/v9/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ export interface APIThreadMetadata {
10271027
/**
10281028
* Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it
10291029
*/
1030-
locked?: boolean;
1030+
locked: boolean;
10311031
/**
10321032
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
10331033
*/

payloads/v10/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ export interface APIThreadMetadata {
10641064
/**
10651065
* Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it
10661066
*/
1067-
locked?: boolean;
1067+
locked: boolean;
10681068
/**
10691069
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
10701070
*/

payloads/v9/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ export interface APIThreadMetadata {
10271027
/**
10281028
* Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it
10291029
*/
1030-
locked?: boolean;
1030+
locked: boolean;
10311031
/**
10321032
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
10331033
*/

0 commit comments

Comments
 (0)