This commit is contained in:
2023-08-29 20:06:52 +02:00
parent 7c2eec4446
commit 25702c073a
225 changed files with 1071 additions and 808 deletions

View File

@@ -1,4 +1,4 @@
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionAPI = void 0;
var Logger_1 = require("../Logger");
var ActionAPI = /** @class */ (function () {
@@ -14,21 +14,21 @@ var ActionAPI = /** @class */ (function () {
this._hdl = callback;
}
else
Logger_1.Log('error', "Unable to register two 'handle' events");
(0, Logger_1.Log)('error', "Unable to register two 'handle' events");
};
ActionAPI.prototype.onExecute = function (callback) {
if (this._hdl == undefined) {
this._hdl = callback;
}
else
Logger_1.Log('error', "Unable to register two 'onExecute' (Used to be 'handle') events");
(0, Logger_1.Log)('error', "Unable to register two 'onExecute' (Used to be 'handle') events");
};
ActionAPI.prototype.onOpenEditor = function (callback) {
if (this._openEditor == undefined) {
this._openEditor = callback;
}
else
Logger_1.Log('error', "Unable to register two 'onOpenEditor' events");
(0, Logger_1.Log)('error', "Unable to register two 'onOpenEditor' events");
};
ActionAPI.prototype.getConnection = function (connectionType, connectionID) {
return Undecked.Connections.getConnection(this._integrationID, connectionType, connectionID);