]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/forms/form-validators/video.ts
Remove ng2 file upload module
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / form-validators / video.ts
index 6542cf8f6e34db47e0ae57627bff64306446e094..32b1f1c2ebf0fb8fc02dffa9f852450a2383caf0 100644 (file)
@@ -44,3 +44,10 @@ export const VIDEO_TAGS = {
     'maxlength': 'A tag should be less than 10 characters long.'
   }
 }
+
+export const VIDEO_FILE = {
+  VALIDATORS: [ Validators.required ],
+  MESSAGES: {
+    'required': 'Video file is required.'
+  }
+}