- instanceName: [ '', INSTANCE_NAME.VALIDATORS ],
- instanceShortDescription: [ '', INSTANCE_SHORT_DESCRIPTION.VALIDATORS ],
- instanceDescription: [ '' ],
- instanceTerms: [ '' ],
- instanceDefaultClientRoute: [ '' ],
- instanceDefaultNSFWPolicy: [ '' ],
- cachePreviewsSize: [ '', CACHE_PREVIEWS_SIZE.VALIDATORS ],
- signupEnabled: [ ],
- signupLimit: [ '', SIGNUP_LIMIT.VALIDATORS ],
- adminEmail: [ '', ADMIN_EMAIL.VALIDATORS ],
- userVideoQuota: [ '', USER_VIDEO_QUOTA.VALIDATORS ],
- transcodingThreads: [ '', TRANSCODING_THREADS.VALIDATORS ],
- transcodingEnabled: [ ],
- customizationJavascript: [ '' ],
- customizationCSS: [ '' ]
+ instanceName: this.customConfigValidatorsService.INSTANCE_NAME,
+ instanceShortDescription: this.customConfigValidatorsService.INSTANCE_SHORT_DESCRIPTION,
+ instanceDescription: null,
+ instanceTerms: null,
+ instanceDefaultClientRoute: null,
+ instanceDefaultNSFWPolicy: null,
+ servicesTwitterUsername: this.customConfigValidatorsService.SERVICES_TWITTER_USERNAME,
+ servicesTwitterWhitelisted: null,
+ cachePreviewsSize: this.customConfigValidatorsService.CACHE_PREVIEWS_SIZE,
+ cacheCaptionsSize: this.customConfigValidatorsService.CACHE_CAPTIONS_SIZE,
+ signupEnabled: null,
+ signupLimit: this.customConfigValidatorsService.SIGNUP_LIMIT,
+ importVideosHttpEnabled: null,
+ importVideosTorrentEnabled: null,
+ adminEmail: this.customConfigValidatorsService.ADMIN_EMAIL,
+ userVideoQuota: this.userValidatorsService.USER_VIDEO_QUOTA,
+ userVideoQuotaDaily: this.userValidatorsService.USER_VIDEO_QUOTA_DAILY,
+ transcodingThreads: this.customConfigValidatorsService.TRANSCODING_THREADS,
+ transcodingEnabled: null,
+ customizationJavascript: null,
+ customizationCSS: null