From 43d0ea7f4b88d52097172cc0c1831edd7e492503 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Aug 2019 14:40:06 +0200 Subject: Add welcome modal --- shared/models/users/user-update-me.model.ts | 3 +++ shared/models/users/user.model.ts | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'shared/models/users') diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts index b6c0002e5..99b9a65bd 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts @@ -15,4 +15,7 @@ export interface UserUpdateMe { password?: string theme?: string + + noInstanceConfigWarningModal?: boolean + noWelcomeModal?: boolean } diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index de9825e1f..f67d262b0 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts @@ -10,6 +10,7 @@ export interface User { username: string email: string pendingEmail: string | null + emailVerified: boolean nsfwPolicy: NSFWPolicyType @@ -18,13 +19,15 @@ export interface User { autoPlayVideo: boolean webTorrentEnabled: boolean videosHistoryEnabled: boolean + videoLanguages: string[] role: UserRole roleLabel: string videoQuota: number videoQuotaDaily: number - createdAt: Date + videoQuotaUsed?: number + videoQuotaUsedDaily?: number theme: string @@ -35,5 +38,8 @@ export interface User { blocked: boolean blockedReason?: string - videoQuotaUsed?: number + noInstanceConfigWarningModal: boolean + noWelcomeModal: boolean + + createdAt: Date } -- cgit v1.2.3