module.exports = Self => { // Validations Self.validatesUniquenessOf('extension', { message: `The extension must be unique` }); Self.validatesPresenceOf('secret', { message: `The secret can't be blank` }); };