salix/loopback/common/models/application.js

15 lines
551 B
JavaScript

const isProductionFn = require('../methods/application/isProduction');
module.exports = function(Self) {
require('../methods/application/status')(Self);
require('../methods/application/post')(Self);
require('../methods/application/execute')(Self);
require('../methods/application/executeProc')(Self);
require('../methods/application/executeFunc')(Self);
require('../methods/application/getEnumValues')(Self);
Self.isProduction = (localAsProduction = true) => {
return isProductionFn(localAsProduction);
};
};