@owservable/actions 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# actions
|
|
3
|
+
# @owservable/actions
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- functions
|
|
6
|
+
- findAction,
|
|
7
|
+
- runActionAsCommand,
|
|
8
|
+
- getOptionAndDefaultValue,
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- interfaces
|
|
12
|
+
- ActionInterface,
|
|
13
|
+
- ActionAsWorkerInterface,
|
|
14
|
+
- ActionAsCronjobInterface,
|
|
15
|
+
- ActionAsControllerInterface,
|
|
16
|
+
- ActionAsCommandInterface,
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
- abstracts
|
|
20
|
+
- Action
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Action {
|
|
4
|
+
constructor() {
|
|
5
|
+
this._signature = '';
|
|
6
|
+
this._description = '';
|
|
7
|
+
this._schedule = '';
|
|
8
|
+
}
|
|
9
|
+
signature() {
|
|
10
|
+
return this._signature;
|
|
11
|
+
}
|
|
12
|
+
description() {
|
|
13
|
+
return this._description;
|
|
14
|
+
}
|
|
15
|
+
schedule() {
|
|
16
|
+
return this._schedule;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = Action;
|
|
20
|
+
//# sourceMappingURL=action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../../src/abstracts/action.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,MAA8B,MAAM;IAApC;QACW,eAAU,GAAG,EAAE,CAAC;QAChB,iBAAY,GAAG,EAAE,CAAC;QAClB,cAAS,GAAG,EAAE,CAAC;IAa1B,CAAC;IAXO,SAAS;QACf,OAAO,IAAI,CAAC,UAAU,CAAC;IACxB,CAAC;IAEM,WAAW;QACjB,OAAO,IAAI,CAAC,YAAY,CAAC;IAC1B,CAAC;IAEM,QAAQ;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IACvB,CAAC;CACD;AAhBD,yBAgBC"}
|
|
@@ -6,6 +6,7 @@ import ActionAsWorkerInterface from './interfaces/action.as.worker.interface';
|
|
|
6
6
|
import ActionAsCronjobInterface from './interfaces/action.as.cronjob.interface';
|
|
7
7
|
import ActionAsControllerInterface from './interfaces/action.as.controller.interface';
|
|
8
8
|
import ActionAsCommandInterface from './interfaces/action.as.command.interface';
|
|
9
|
-
|
|
9
|
+
import Action from './abstracts/action';
|
|
10
|
+
export { findAction, runActionAsCommand, getOptionAndDefaultValue, ActionInterface, ActionAsWorkerInterface, ActionAsCronjobInterface, ActionAsControllerInterface, ActionAsCommandInterface, Action };
|
|
10
11
|
declare const OwservableActions: {};
|
|
11
12
|
export default OwservableActions;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getOptionAndDefaultValue = exports.runActionAsCommand = exports.findAction = void 0;
|
|
3
|
+
exports.Action = exports.getOptionAndDefaultValue = exports.runActionAsCommand = exports.findAction = void 0;
|
|
4
4
|
const find_action_1 = require("./functions/find.action");
|
|
5
5
|
exports.findAction = find_action_1.default;
|
|
6
6
|
const run_action_as_command_1 = require("./functions/run.action.as.command");
|
|
7
7
|
exports.runActionAsCommand = run_action_as_command_1.default;
|
|
8
8
|
const get_option_and_default_value_1 = require("./functions/get.option.and.default.value");
|
|
9
9
|
exports.getOptionAndDefaultValue = get_option_and_default_value_1.default;
|
|
10
|
+
const action_1 = require("./abstracts/action");
|
|
11
|
+
exports.Action = action_1.default;
|
|
10
12
|
const OwservableActions = {};
|
|
11
13
|
exports.default = OwservableActions;
|
|
12
14
|
//# sourceMappingURL=owservable.actions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owservable.actions.js","sourceRoot":"","sources":["../src/owservable.actions.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAGb,yDAAiD;
|
|
1
|
+
{"version":3,"file":"owservable.actions.js","sourceRoot":"","sources":["../src/owservable.actions.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAGb,yDAAiD;AAgBhD,qBAhBM,qBAAU,CAgBN;AAfX,6EAAmE;AAgBlE,6BAhBM,+BAAkB,CAgBN;AAfnB,2FAAgF;AAgB/E,mCAhBM,sCAAwB,CAgBN;AANzB,+CAAwC;AAgBvC,iBAhBM,gBAAM,CAgBN;AAGP,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,kBAAe,iBAAiB,CAAC"}
|