19 lines
428 B
JavaScript
19 lines
428 B
JavaScript
|
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');
|
||
|
};
|
||
|
};
|