module.exports = Self => { Self.remoteMethod('getSourceValues', { description: 'Gets the sourceApp type set', accessType: 'READ', returns: { type: ['String'], root: true }, http: { path: `/getSourceValues`, verb: 'GET' } }); Self.getSourceValues = async () => { return Self.getSetValues('sourceApp'); }; };