spacebar/src/util/schemas/responses/UserResponse.ts
2023-04-13 15:39:31 -04:00

16 lines
450 B
TypeScript

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[];