From 4771e0008dd26eadbb7eaff64255a6ec914fdadb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 10 Jul 2017 19:43:21 +0200 Subject: Better typescript typing for a better world --- shared/models/users/user.model.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 shared/models/users/user.model.ts (limited to 'shared/models/users/user.model.ts') diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts new file mode 100644 index 000000000..5c48a17b2 --- /dev/null +++ b/shared/models/users/user.model.ts @@ -0,0 +1,10 @@ +import { UserRole } from './user-role.type' + +export interface User { + id: number + username: string + email: string + displayNSFW: boolean + role: UserRole + createdAt: Date +} -- cgit v1.2.3