1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Upgrade common server dependencies

This commit is contained in:
Chocobozzz 2017-08-25 18:36:49 +02:00
parent d15ab38a90
commit 556ddc3192
21 changed files with 505 additions and 564 deletions

View file

@ -34,13 +34,11 @@ export {
isUserDisplayNSFWValid
}
declare global {
namespace ExpressValidator {
export interface Validator {
isUserPasswordValid,
isUserRoleValid,
isUserUsernameValid,
isUserDisplayNSFWValid
}
declare module 'express-validator' {
export interface Validator {
isUserPasswordValid,
isUserRoleValid,
isUserUsernameValid,
isUserDisplayNSFWValid
}
}