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