mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Video model refractoring -> use mongoose api
This commit is contained in:
parent
07d9320387
commit
aaf61f3810
15 changed files with 412 additions and 534 deletions
|
@ -48,7 +48,8 @@ const VIDEOS_CONSTRAINTS_FIELDS = {
|
|||
AUTHOR: { min: 3, max: 20 }, // Length
|
||||
TAGS: { min: 1, max: 3 }, // Number of total tags
|
||||
TAG: { min: 2, max: 10 }, // Length
|
||||
THUMBNAIL: { min: 0, max: 20000 } // Bytes
|
||||
THUMBNAIL: { min: 2, max: 30 },
|
||||
THUMBNAIL64: { min: 0, max: 20000 } // Bytes
|
||||
}
|
||||
|
||||
// Special constants for a test instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue