@maioradv/nestjs-core 2.3.6 → 2.3.8

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.
@@ -10,9 +10,10 @@ export type ExtractProperties<T, H> = {
10
10
  }[keyof T];
11
11
  export type FilteredProperties<T, H> = Pick<T, ExtractProperties<T, H>>;
12
12
  export type ExtractCursors<T> = ExtractProperties<T, string | number | Date>;
13
- export type TaskUnion<T extends Record<string, any>> = {
13
+ export type TaskUnion<T extends Record<string, any>, O extends Record<string, unknown> = Record<string, unknown>> = {
14
14
  [K in keyof T]: {
15
15
  name: K;
16
16
  payload: T[K];
17
+ opts?: O;
17
18
  };
18
19
  }[keyof T];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maioradv/nestjs-core",
3
- "version": "2.3.6",
3
+ "version": "2.3.8",
4
4
  "description": "NestJS helpers by MaiorADV",
5
5
  "repository": "https://github.com/maioradv/nestjs-core.git",
6
6
  "author": "Maior ADV Srl",
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@aws-sdk/client-s3": "^3",
21
- "@maioradv/accounts-lib": "^1.5.5",
22
- "@maioradv/notifications-lib": "^1.1.0",
21
+ "@maioradv/accounts-lib": "^1.5.7",
22
+ "@maioradv/notifications-lib": "^1.1.1",
23
23
  "@maioradv/types": "^0.0.7",
24
24
  "@nestjs/cache-manager": "^3",
25
25
  "@nestjs/common": "^11",