Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: list of blocked users should be returned while connecting user #1317

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,17 +842,18 @@

export type UserResponse<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = User<StreamChatGenerics> & {
banned?: boolean;
blocked_user_ids?: string[];
created_at?: string;
deactivated_at?: string;
deleted_at?: string;
language?: TranslationLanguages | '';
last_active?: string;
online?: boolean;
privacy_settings?: PrivacySettings;

Check failure on line 852 in src/types.ts

View workflow job for this annotation

GitHub Actions / lint

Expected interface keys to be in required first natural insensitive ascending order. 'shadow_banned' should be before 'updated_at'
push_notifications?: PushNotificationSettings;
revoke_tokens_issued_before?: string;
shadow_banned?: boolean;
updated_at?: string;
shadow_banned?: boolean;
};

export type PrivacySettings = {
Expand Down
Loading