diff options
Diffstat (limited to 'src/util/schemas/responses/UserResponse.ts')
-rw-r--r-- | src/util/schemas/responses/UserResponse.ts | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/util/schemas/responses/UserResponse.ts b/src/util/schemas/responses/UserResponse.ts index 21c30cd5..95f73649 100644 --- a/src/util/schemas/responses/UserResponse.ts +++ b/src/util/schemas/responses/UserResponse.ts @@ -1,5 +1,5 @@ import { DmChannelDTO } from "../../dtos"; -import { Guild, PrivateUser, PublicUser, User } from "../../entities"; +import { BackupCode, Guild, PrivateUser, PublicUser } from "../../entities"; export type PublicUserResponse = PublicUser; export type PrivateUserResponse = PrivateUser; @@ -12,11 +12,4 @@ export type UserGuildsResponse = Guild[]; export type UserChannelsResponse = DmChannelDTO[]; -export interface UserBackupCodesResponse { - expired: unknown; - user: User; - code: string; - consumed: boolean; - id: string; -} -[]; +export type UserBackupCodesResponse = BackupCode[]; |