@wenex/sdk 1.1.1 → 1.1.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.
|
@@ -5,10 +5,10 @@ import { SagaStageAction } from '../../../../enums/essential';
|
|
|
5
5
|
import { Core, Dto, Metadata, Serializer } from '../../../../core/interfaces';
|
|
6
6
|
export interface SagaStage<T extends Core = Core, D extends Dto<Core> = Dto<Core>, Properties extends object = object> extends Core<Properties> {
|
|
7
7
|
saga: string;
|
|
8
|
+
bucket: Collection;
|
|
8
9
|
action: SagaStageAction;
|
|
9
10
|
req: SagaStageReq<T, D>;
|
|
10
11
|
res: Serializer<T>[] | Serializer<T> | number | null;
|
|
11
|
-
collection: Collection;
|
|
12
12
|
meta?: Metadata;
|
|
13
13
|
}
|
|
14
14
|
export type SagaStageDoc<T extends Core = Core, D extends Dto<Core> = Dto<Core>, Properties extends object = object> = SagaStage<T, D, Properties> & Document;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Document } from 'mongoose';
|
|
1
2
|
import { PushUrgency } from '../../../../enums/touch';
|
|
2
3
|
import { Core, Dto, Payload } from '../../../../core/interfaces';
|
|
3
4
|
export interface PusHistory<Key extends string = string, Properties extends object = object> extends Core<Properties> {
|