mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix video channel description/support max length
This commit is contained in:
parent
360329cc02
commit
a10fc78bb0
5 changed files with 58 additions and 13 deletions
|
@ -13,7 +13,7 @@ let config: IConfig = require('config')
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const LAST_MIGRATION_VERSION = 210
|
||||
const LAST_MIGRATION_VERSION = 215
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -192,8 +192,8 @@ const CONSTRAINTS_FIELDS = {
|
|||
},
|
||||
VIDEO_CHANNELS: {
|
||||
NAME: { min: 3, max: 120 }, // Length
|
||||
DESCRIPTION: { min: 3, max: 250 }, // Length
|
||||
SUPPORT: { min: 3, max: 300 }, // Length
|
||||
DESCRIPTION: { min: 3, max: 500 }, // Length
|
||||
SUPPORT: { min: 3, max: 500 }, // Length
|
||||
URL: { min: 3, max: 2000 } // Length
|
||||
},
|
||||
VIDEOS: {
|
||||
|
@ -201,7 +201,7 @@ const CONSTRAINTS_FIELDS = {
|
|||
LANGUAGE: { min: 1, max: 10 }, // Length
|
||||
TRUNCATED_DESCRIPTION: { min: 3, max: 250 }, // Length
|
||||
DESCRIPTION: { min: 3, max: 10000 }, // Length
|
||||
SUPPORT: { min: 3, max: 300 }, // Length
|
||||
SUPPORT: { min: 3, max: 500 }, // Length
|
||||
IMAGE: {
|
||||
EXTNAME: [ '.jpg', '.jpeg' ],
|
||||
FILE_SIZE: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue