module.exports = Self => { Self.remoteMethod('getThermographModels', { description: 'Gets the thermograph models', accessType: 'READ', returns: { type: ['String'], root: true }, http: { path: `/getThermographModels`, verb: 'GET' } }); Self.getThermographModels = async() => { return Self.getEnumValues('model'); }; };