sim-node-lib 0.0.112 → 0.0.113
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PubSubModel } from './../Models/PubSubModel';
|
|
2
|
-
export declare abstract class PubSubHandlerAction {
|
|
3
|
-
constructor(pubsubModel: PubSubModel);
|
|
4
|
-
protected _pubsubValueModel: PubSubModel
|
|
2
|
+
export declare abstract class PubSubHandlerAction<T> {
|
|
3
|
+
constructor(pubsubModel: PubSubModel<T>);
|
|
4
|
+
protected _pubsubValueModel: PubSubModel<T>;
|
|
5
5
|
handlerAction(): Promise<boolean>;
|
|
6
6
|
protected insert(): Promise<boolean>;
|
|
7
7
|
protected insertMany(): Promise<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PubSubActionEnum } from '../Enums/PubSubActionEnum';
|
|
2
2
|
import { PubSubTableEnum } from '../Enums/PubSubTableEnum';
|
|
3
|
-
export declare class PubSubModel {
|
|
4
|
-
readonly value:
|
|
3
|
+
export declare class PubSubModel<T> {
|
|
4
|
+
readonly value: T;
|
|
5
5
|
readonly action: PubSubActionEnum;
|
|
6
6
|
readonly table: PubSubTableEnum;
|
|
7
|
-
constructor(value:
|
|
7
|
+
constructor(value: T, action: PubSubActionEnum, table: PubSubTableEnum);
|
|
8
8
|
}
|