aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-16 17:36:42 +0200
committerChocobozzz <me@florianbigard.com>2018-07-16 17:36:42 +0200
commitef4c78da4f0da61aebfa42f6e8420bf431a68bc8 (patch)
tree085411f6c1086bf57da6e3b4821e16dff2587705 /client/src/app/core
parent019e47507212072a7b91fb18dd31b4170d9cb40c (diff)
downloadPeerTube-ef4c78da4f0da61aebfa42f6e8420bf431a68bc8.tar.gz
PeerTube-ef4c78da4f0da61aebfa42f6e8420bf431a68bc8.tar.zst
PeerTube-ef4c78da4f0da61aebfa42f6e8420bf431a68bc8.zip
Improve video edit/update/add typings
Diffstat (limited to 'client/src/app/core')
-rw-r--r--client/src/app/core/server/server.service.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts
index 3baefb6a7..87280e16f 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -69,10 +69,10 @@ export class ServerService {
69 videoQuota: -1 69 videoQuota: -1
70 } 70 }
71 } 71 }
72 private videoCategories: Array<VideoConstant<number>> = [] 72 private videoCategories: Array<VideoConstant<string>> = []
73 private videoLicences: Array<VideoConstant<number>> = [] 73 private videoLicences: Array<VideoConstant<string>> = []
74 private videoLanguages: Array<VideoConstant<string>> = [] 74 private videoLanguages: Array<VideoConstant<string>> = []
75 private videoPrivacies: Array<VideoConstant<VideoPrivacy>> = [] 75 private videoPrivacies: Array<VideoConstant<string>> = []
76 76
77 constructor ( 77 constructor (
78 private http: HttpClient, 78 private http: HttpClient,
@@ -134,7 +134,7 @@ export class ServerService {
134 134
135 private loadVideoAttributeEnum ( 135 private loadVideoAttributeEnum (
136 attributeName: 'categories' | 'licences' | 'languages' | 'privacies', 136 attributeName: 'categories' | 'licences' | 'languages' | 'privacies',
137 hashToPopulate: VideoConstant<number | string>[], 137 hashToPopulate: VideoConstant<string>[],
138 notifier: ReplaySubject<boolean>, 138 notifier: ReplaySubject<boolean>,
139 sort = false 139 sort = false
140 ) { 140 ) {