Implement support field in video and video channel
This commit is contained in:
parent
34cbef8c6c
commit
2422c46b27
49 changed files with 490 additions and 146 deletions
|
@ -42,6 +42,10 @@ function isVideoDescriptionValid (value: string) {
|
|||
return value === null || (exists(value) && validator.isLength(value, VIDEOS_CONSTRAINTS_FIELDS.DESCRIPTION))
|
||||
}
|
||||
|
||||
function isVideoSupportValid (value: string) {
|
||||
return value === null || (exists(value) && validator.isLength(value, VIDEOS_CONSTRAINTS_FIELDS.SUPPORT))
|
||||
}
|
||||
|
||||
function isVideoNameValid (value: string) {
|
||||
return exists(value) && validator.isLength(value, VIDEOS_CONSTRAINTS_FIELDS.NAME)
|
||||
}
|
||||
|
@ -140,5 +144,6 @@ export {
|
|||
isVideoFileResolutionValid,
|
||||
isVideoFileSizeValid,
|
||||
isVideoExist,
|
||||
isVideoImage
|
||||
isVideoImage,
|
||||
isVideoSupportValid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue