summary refs log tree commit diff
path: root/src/util/schemas/responses/UserResponse.ts
blob: 95f736495d12827f430398dd71b845134c29f04f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { DmChannelDTO } from "../../dtos";
import { BackupCode, Guild, PrivateUser, PublicUser } from "../../entities";

export type PublicUserResponse = PublicUser;
export type PrivateUserResponse = PrivateUser;

export interface UserUpdateResponse extends PrivateUserResponse {
	newToken?: string;
}

export type UserGuildsResponse = Guild[];

export type UserChannelsResponse = DmChannelDTO[];

export type UserBackupCodesResponse = BackupCode[];