@win2win/shared 1.0.243 → 1.0.245
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,3 +1,4 @@
|
|
|
1
|
+
import { SerializedFunction } from "../shared";
|
|
1
2
|
import { Estado } from "./estado";
|
|
2
3
|
export declare enum EstadoEffectType {
|
|
3
4
|
WRITE = "write",
|
|
@@ -15,6 +16,7 @@ export interface EstadoEffect {
|
|
|
15
16
|
CREATED_AT: Date;
|
|
16
17
|
UPDATED_AT: Date;
|
|
17
18
|
ESTADO: Estado;
|
|
19
|
+
CONDITIONS: SerializedFunction[];
|
|
18
20
|
}
|
|
19
21
|
export interface EstadoEffectModel {
|
|
20
22
|
id?: string;
|
|
@@ -23,4 +25,5 @@ export interface EstadoEffectModel {
|
|
|
23
25
|
type: EstadoEffectType;
|
|
24
26
|
payload: Record<string, any>;
|
|
25
27
|
name: string;
|
|
28
|
+
conditions?: SerializedFunction[];
|
|
26
29
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from "./estado";
|
|
2
|
+
export * from "./estado-effect";
|
|
3
|
+
export * from "./estado-rule";
|
|
4
|
+
export * from "./flag";
|
|
5
|
+
export * from "./llamada";
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./estado"), exports);
|
|
18
|
+
__exportStar(require("./estado-effect"), exports);
|
|
18
19
|
__exportStar(require("./estado-rule"), exports);
|
|
19
20
|
__exportStar(require("./flag"), exports);
|
|
20
21
|
__exportStar(require("./llamada"), exports);
|
package/package.json
CHANGED