Begin user quota

This commit is contained in:
Chocobozzz
2017-09-04 20:07:54 +02:00
parent e7dbeae8d9
commit b0f9f39ed7
29 changed files with 274 additions and 55 deletions

View File

@@ -2,4 +2,5 @@ export interface UserCreate {
username: string
password: string
email: string
videoQuota: number
}

View File

@@ -1,4 +1,5 @@
export interface UserUpdate {
displayNSFW?: boolean
password?: string
videoQuota?: number
}

View File

@@ -6,5 +6,6 @@ export interface User {
email: string
displayNSFW: boolean
role: UserRole
videoQuota: number
createdAt: Date
}