aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user.model.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-02 13:07:18 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-01-02 14:50:14 +0100
commit29128b2f5ce00093ad81b4b72daae0e3444fd5a8 (patch)
treef1a90ead86c16892255e2c661da3eed5f302a260 /shared/models/users/user.model.ts
parentcca1e13b96799377f19bcc95110fbf76ff741e20 (diff)
downloadPeerTube-29128b2f5ce00093ad81b4b72daae0e3444fd5a8.tar.gz
PeerTube-29128b2f5ce00093ad81b4b72daae0e3444fd5a8.tar.zst
PeerTube-29128b2f5ce00093ad81b4b72daae0e3444fd5a8.zip
Add miniature quick actions to add video to Watch later playlist
Diffstat (limited to 'shared/models/users/user.model.ts')
-rw-r--r--shared/models/users/user.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index 90d59ac56..1434dca81 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -1,5 +1,6 @@
1import { Account } from '../actors' 1import { Account } from '../actors'
2import { VideoChannel } from '../videos/channel/video-channel.model' 2import { VideoChannel } from '../videos/channel/video-channel.model'
3import { VideoPlaylist } from '../videos/playlist/video-playlist.model'
3import { UserRole } from './user-role' 4import { UserRole } from './user-role'
4import { NSFWPolicyType } from '../videos/nsfw-policy.type' 5import { NSFWPolicyType } from '../videos/nsfw-policy.type'
5import { UserNotificationSetting } from './user-notification-setting.model' 6import { UserNotificationSetting } from './user-notification-setting.model'
@@ -45,3 +46,7 @@ export interface User {
45 46
46 createdAt: Date 47 createdAt: Date
47} 48}
49
50export interface MyUser extends User {
51 specialPlaylists: Partial<VideoPlaylist>[]
52}