@owservable/actions 0.0.2 → 0.0.3

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
@@ -3,17 +3,18 @@
3
3
  # @owservable/actions
4
4
 
5
5
  - functions
6
- - findAction,
7
- - runActionAsCommand,
8
- - getOptionAndDefaultValue,
6
+ - findAction
7
+ - runActionAsCommand
8
+ - getOptionAndDefaultValue
9
9
 
10
10
 
11
11
  - interfaces
12
- - ActionInterface,
13
- - ActionAsWorkerInterface,
14
- - ActionAsCronjobInterface,
15
- - ActionAsControllerInterface,
16
- - ActionAsCommandInterface,
12
+ - ActionInterface
13
+ - ActionAsWorkerInterface
14
+ - ActionAsWatcherInterface
15
+ - ActionAsCommandInterface
16
+ - ActionAsCronjobInterface
17
+ - ActionAsControllerInterface
17
18
 
18
19
 
19
20
  - abstracts
@@ -0,0 +1,5 @@
1
+ import ActionInterface from './action.interface';
2
+ export default interface ActionAsWatcherInterface extends ActionInterface {
3
+ asWatcher(): Promise<void>;
4
+ asWatcherInit?(): Promise<void>;
5
+ }
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=action.as.watcher.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.as.watcher.interface.js","sourceRoot":"","sources":["../../src/interfaces/action.as.watcher.interface.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC"}
@@ -3,10 +3,11 @@ import runActionAsCommand from './functions/run.action.as.command';
3
3
  import getOptionAndDefaultValue from './functions/get.option.and.default.value';
4
4
  import ActionInterface from './interfaces/action.interface';
5
5
  import ActionAsWorkerInterface from './interfaces/action.as.worker.interface';
6
+ import ActionAsWatcherInterface from './interfaces/action.as.watcher.interface';
7
+ import ActionAsCommandInterface from './interfaces/action.as.command.interface';
6
8
  import ActionAsCronjobInterface from './interfaces/action.as.cronjob.interface';
7
9
  import ActionAsControllerInterface from './interfaces/action.as.controller.interface';
8
- import ActionAsCommandInterface from './interfaces/action.as.command.interface';
9
10
  import Action from './abstracts/action';
10
- export { findAction, runActionAsCommand, getOptionAndDefaultValue, ActionInterface, ActionAsWorkerInterface, ActionAsCronjobInterface, ActionAsControllerInterface, ActionAsCommandInterface, Action };
11
+ export { findAction, runActionAsCommand, getOptionAndDefaultValue, ActionInterface, ActionAsWorkerInterface, ActionAsWatcherInterface, ActionAsCommandInterface, ActionAsCronjobInterface, ActionAsControllerInterface, Action };
11
12
  declare const OwservableActions: {};
12
13
  export default OwservableActions;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"owservable.actions.js","sourceRoot":"","sources":["../src/owservable.actions.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAGb,yDAAiD;AAiBhD,qBAjBM,qBAAU,CAiBN;AAhBX,6EAAmE;AAiBlE,6BAjBM,+BAAkB,CAiBN;AAhBnB,2FAAgF;AAiB/E,mCAjBM,sCAAwB,CAiBN;AANzB,+CAAwC;AAiBvC,iBAjBM,gBAAM,CAiBN;AAGP,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,kBAAe,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owservable/actions",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "list subfolders by name",
5
5
  "engines": {
6
6
  "node": ">=16"