1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00

Added bot to PublicUserProjection

This commit is contained in:
BuildTools 2021-08-05 20:53:58 +03:00
parent fe6adc727f
commit 235ea9fe3e

View File

@ -11,6 +11,7 @@ export const PublicUserProjection = {
public_flags: true, public_flags: true,
avatar: true, avatar: true,
bio: true, bio: true,
bot: true,
}; };
export interface User { export interface User {
@ -64,6 +65,7 @@ export interface PublicUser {
username: string; username: string;
avatar: string | null; avatar: string | null;
public_flags: bigint; public_flags: bigint;
bot: boolean;
} }
export interface ConnectedAccount { export interface ConnectedAccount {