Skip to content

Commit f1d73fd

Browse files
fix(qa): adjust Event & ChannelData types (#1524)
1 parent 9d8992d commit f1d73fd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,8 @@ export type Event = CustomEventData & {
14641464
user?: UserResponse;
14651465
user_id?: string;
14661466
watcher_count?: number;
1467+
channel_last_message_at?: string;
1468+
app?: Record<string, unknown>; // TODO: further specify type
14671469
};
14681470

14691471
export type UserCustomEvent = CustomEventData & {
@@ -2346,6 +2348,8 @@ export type ChannelData = CustomChannelData &
23462348
created_by: UserResponse | null;
23472349
created_by_id: UserResponse['id'];
23482350
members: string[] | Array<NewMemberPayload>;
2351+
blocklist_behavior: AutomodBehavior;
2352+
automod: Automod;
23492353
}>;
23502354

23512355
export type ChannelMute = {

0 commit comments

Comments
 (0)