@moxb/meteor
Advanced tools
Comparing version 0.3.33 to 0.3.56
@@ -45,3 +45,3 @@ /// <reference types="meteor" /> | ||
/** | ||
* This is the control object that the app code will get back, after registering the method | ||
* A control object for using the registered method | ||
*/ | ||
@@ -71,3 +71,3 @@ export interface MeteorMethodControl<Input, Output> { | ||
*/ | ||
pending: boolean; | ||
readonly pending: boolean; | ||
} | ||
@@ -74,0 +74,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.registerMeteorMethod = exports.wrapException = void 0; | ||
var tslib_1 = require("tslib"); | ||
var mobx_1 = require("mobx"); | ||
@@ -40,60 +41,98 @@ var MeteorCall_1 = require("./MeteorCall"); | ||
/** | ||
* This function registers a Meteor method, based on the provided definition, and provides a control object for it. | ||
*/ | ||
function registerMeteorMethod( | ||
/** | ||
* The definition of the method | ||
*/ | ||
method, | ||
/** | ||
* Optionally, provide an instance of Meteor to use. | ||
* Wrapper object to manage the method. | ||
* | ||
* This can be necessary in situations when the global singleton Meteor object is not available in the global | ||
* namespace, because it has been hidden my some collision avoidance mechanism. | ||
* | ||
* Specifically, this is the case when this NPM module is imported from within a Meteor package. | ||
* This is a technical implementation detail. | ||
*/ | ||
meteorInstance) { | ||
var _a; | ||
var name = method.name, debug = method.debug, execute = method.execute, serverOnly = method.serverOnly, unblock = method.unblock, auth = method.auth; | ||
// Try to use the supplied Meteor instance, | ||
// without even looking at the global Meteor object first, | ||
// in order to avoid the "Meteor is undefined" JS error. | ||
var myMeteor = meteorInstance; | ||
if (!myMeteor) { | ||
// Only use the global Meteor object if no instance was provided | ||
myMeteor = Meteor; | ||
var MeteorMethodControlImpl = /** @class */ (function () { | ||
function MeteorMethodControlImpl(_definition, meteorInstance) { | ||
var _a; | ||
Object.defineProperty(this, "_definition", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: _definition | ||
}); | ||
Object.defineProperty(this, "_myMeteor", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "_logger", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "_pending", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: false | ||
}); | ||
(0, mobx_1.makeObservable)(this); | ||
var name = _definition.name, debug = _definition.debug, execute = _definition.execute, serverOnly = _definition.serverOnly, unblock = _definition.unblock, auth = _definition.auth; | ||
// Try to use the supplied Meteor instance, | ||
// without even looking at the global Meteor object first, | ||
// in order to avoid the "Meteor is undefined" JS error. | ||
var myMeteor = meteorInstance; | ||
if (!myMeteor) { | ||
// Only use the global Meteor object if no instance was provided | ||
myMeteor = Meteor; | ||
} | ||
this._myMeteor = myMeteor; | ||
var logger = (this._logger = (0, moxb_1.getDebugLogger)('Method ' + name, debug)); | ||
if (myMeteor.isServer || !serverOnly) { | ||
this._logger.log('Publishing Meteor method', name); | ||
myMeteor.methods((_a = {}, | ||
_a[name] = function (input) { | ||
// console.log('***Gonna check out if', name, 'is running in a simulation', this); | ||
// if (!this || this.isSimulation) { | ||
// return; | ||
// } | ||
if (auth) { | ||
auth(input, this.userId); | ||
} | ||
logger.log('with data', input); | ||
if (unblock) { | ||
this.unblock(); | ||
} | ||
var result = wrapException(execute)(input, this.userId, this); | ||
logger.log('returns', result); | ||
return result; | ||
}, | ||
_a)); | ||
} | ||
} | ||
var logger = (0, moxb_1.getDebugLogger)('Method ' + name, debug); | ||
if (myMeteor.isServer || !serverOnly) { | ||
logger.log('Publishing Meteor method', name); | ||
myMeteor.methods((_a = {}, | ||
_a[name] = function (input) { | ||
// console.log('***Gonna check out if', name, 'is running in a simulation', this); | ||
// if (!this || this.isSimulation) { | ||
// return; | ||
// } | ||
if (auth) { | ||
auth(input, this.userId); | ||
} | ||
logger.log('with data', input); | ||
if (unblock) { | ||
this.unblock(); | ||
} | ||
var result = wrapException(execute)(input, this.userId, this); | ||
logger.log('returns', result); | ||
return result; | ||
}, | ||
_a)); | ||
} | ||
var pending = mobx_1.observable.box(false); | ||
return { | ||
name: name, | ||
get pending() { | ||
return pending.get(); | ||
Object.defineProperty(MeteorMethodControlImpl.prototype, "name", { | ||
get: function () { | ||
return this._definition.name; | ||
}, | ||
call: function (data, callback) { | ||
pending.set(true); | ||
(0, MeteorCall_1.meteorCall)(name, data, function (error, result) { | ||
pending.set(false); | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MeteorMethodControlImpl.prototype, "pending", { | ||
get: function () { | ||
return this._pending; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MeteorMethodControlImpl.prototype, "setPending", { | ||
enumerable: false, | ||
configurable: true, | ||
writable: true, | ||
value: function (value) { | ||
this._pending = value; | ||
} | ||
}); | ||
Object.defineProperty(MeteorMethodControlImpl.prototype, "call", { | ||
enumerable: false, | ||
configurable: true, | ||
writable: true, | ||
value: function (data, callback) { | ||
var _this = this; | ||
this.setPending(true); | ||
(0, MeteorCall_1.meteorCall)(this.name, data, function (error, result) { | ||
_this.setPending(false); | ||
if (callback) { | ||
@@ -103,8 +142,14 @@ callback(error, result); | ||
}); | ||
}, | ||
callPromise: function (data) { | ||
} | ||
}); | ||
Object.defineProperty(MeteorMethodControlImpl.prototype, "callPromise", { | ||
enumerable: false, | ||
configurable: true, | ||
writable: true, | ||
value: function (data) { | ||
var _this = this; | ||
return new Promise(function (resolve, reject) { | ||
pending.set(true); | ||
(0, MeteorCall_1.meteorCall)(name, data, function (error, result) { | ||
pending.set(false); | ||
_this.setPending(true); | ||
(0, MeteorCall_1.meteorCall)(_this.name, data, function (error, result) { | ||
_this.setPending(false); | ||
if (error) { | ||
@@ -118,6 +163,32 @@ reject(error); | ||
}); | ||
}, | ||
}; | ||
} | ||
}); | ||
(0, tslib_1.__decorate)([ | ||
mobx_1.observable | ||
], MeteorMethodControlImpl.prototype, "_pending", void 0); | ||
(0, tslib_1.__decorate)([ | ||
mobx_1.action | ||
], MeteorMethodControlImpl.prototype, "setPending", null); | ||
return MeteorMethodControlImpl; | ||
}()); | ||
/** | ||
* This function registers a Meteor method, based on the provided definition, and provides a control object for it. | ||
*/ | ||
function registerMeteorMethod( | ||
/** | ||
* The definition of the method | ||
*/ | ||
method, | ||
/** | ||
* Optionally, provide an instance of Meteor to use. | ||
* | ||
* This can be necessary in situations when the global singleton Meteor object is not available in the global | ||
* namespace, because it has been hidden my some collision avoidance mechanism. | ||
* | ||
* Specifically, this is the case when this NPM module is imported from within a Meteor package. | ||
*/ | ||
meteorInstance) { | ||
return new MeteorMethodControlImpl(method, meteorInstance); | ||
} | ||
exports.registerMeteorMethod = registerMeteorMethod; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWV0ZW9yTWV0aG9kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL01ldGVvck1ldGhvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBa0M7QUFDbEMsMkNBQTBEO0FBQzFELG1DQUE0QztBQW1GNUM7O0dBRUc7QUFDSCxTQUFTLFlBQVksQ0FBQyxDQUFRO0lBQzFCLElBQUssQ0FBUyxDQUFDLFNBQVMsS0FBSyxjQUFjLEVBQUU7UUFDekMsT0FBUSxDQUF5QixDQUFDO0tBQ3JDO0lBQ0QsSUFBTSxLQUFLLEdBQUksQ0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUUsQ0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRSxDQUFDO0lBQ2pFLElBQU0sT0FBTyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQUM7SUFDMUIsSUFBTSxPQUFPLEdBQUksQ0FBUyxDQUFDLE9BQU8sSUFBSSxDQUFDLENBQUMsS0FBSyxJQUFJLEVBQUUsQ0FBQztJQUNwRCxPQUFPLElBQUksTUFBTSx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dCQyJ9 |
{ | ||
"name": "@moxb/meteor", | ||
"version": "0.3.33", | ||
"version": "0.3.56", | ||
"description": "MobX meteor binding", | ||
@@ -63,3 +63,3 @@ "scripts": { | ||
}, | ||
"gitHead": "2eaf5fc8e2bef631cc6f39876a6fc6cfc818afd3" | ||
"gitHead": "e92c7d9731018562a771178856ccfd33972085a4" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245382
3833