summary refs log tree commit diff
path: root/util/src/dtos/UserDTO.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 18:24:21 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 23:35:18 +1000
commit0d23eaba09a4878520bf346af4cead90d76829fc (patch)
treed930eacceff0b407b44abe55f01d8e3c5dfbfa34 /util/src/dtos/UserDTO.ts
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-ts-0d23eaba09a4878520bf346af4cead90d76829fc.tar.xz
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'util/src/dtos/UserDTO.ts')
-rw-r--r--util/src/dtos/UserDTO.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/util/src/dtos/UserDTO.ts b/util/src/dtos/UserDTO.ts
deleted file mode 100644

index ee2752a4..00000000 --- a/util/src/dtos/UserDTO.ts +++ /dev/null
@@ -1,17 +0,0 @@ -import { User } from "../entities"; - -export class MinimalPublicUserDTO { - avatar?: string | null; - discriminator: string; - id: string; - public_flags: number; - username: string; - - constructor(user: User) { - this.avatar = user.avatar; - this.discriminator = user.discriminator; - this.id = user.id; - this.public_flags = user.public_flags; - this.username = user.username; - } -}