@tsed/json-mapper 7.80.2 → 7.81.0-rc.1

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.
@@ -6,7 +6,7 @@ export interface JsonDeserializerOptions<T = any, C = any> extends MetadataTypes
6
6
  /**
7
7
  * Types used to map complex types (Symbol, Array, Set, Map)
8
8
  */
9
- types?: Map<Type<any> | Symbol | string, JsonMapperMethods>;
9
+ types?: Map<Type | Symbol | string, JsonMapperMethods>;
10
10
  /**
11
11
  * useAlias mapping
12
12
  */
@@ -20,5 +20,9 @@ export interface JsonDeserializerOptions<T = any, C = any> extends MetadataTypes
20
20
  *
21
21
  */
22
22
  groups?: string[] | false;
23
+ /**
24
+ * Add types to deserialize a module using generics feature.
25
+ */
26
+ generics?: Type[][];
23
27
  [key: string]: any;
24
28
  }
@@ -6,7 +6,7 @@ export interface JsonDeserializerOptions<T = any, C = any> extends MetadataTypes
6
6
  /**
7
7
  * Types used to map complex types (Symbol, Array, Set, Map)
8
8
  */
9
- types?: Map<Type<any> | Symbol | string, JsonMapperMethods>;
9
+ types?: Map<Type | Symbol | string, JsonMapperMethods>;
10
10
  /**
11
11
  * useAlias mapping
12
12
  */
@@ -20,5 +20,9 @@ export interface JsonDeserializerOptions<T = any, C = any> extends MetadataTypes
20
20
  *
21
21
  */
22
22
  groups?: string[] | false;
23
+ /**
24
+ * Add types to deserialize a module using generics feature.
25
+ */
26
+ generics?: Type[][];
23
27
  [key: string]: any;
24
28
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/json-mapper",
3
3
  "description": "Json mapper module for Ts.ED Framework",
4
4
  "type": "commonjs",
5
- "version": "7.80.2",
5
+ "version": "7.81.0-rc.1",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -42,17 +42,17 @@
42
42
  "tslib": "2.6.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@tsed/barrels": "7.80.2",
46
- "@tsed/core": "7.80.2",
47
- "@tsed/schema": "7.80.2",
48
- "@tsed/typescript": "7.80.2",
45
+ "@tsed/barrels": "7.81.0-rc.1",
46
+ "@tsed/core": "7.81.0-rc.1",
47
+ "@tsed/schema": "7.81.0-rc.1",
48
+ "@tsed/typescript": "7.81.0-rc.1",
49
49
  "eslint": "^8.57.0",
50
50
  "typescript": "4.9.5",
51
51
  "vitest": "2.0.4"
52
52
  },
53
53
  "peerDependencies": {
54
- "@tsed/core": "7.80.2",
55
- "@tsed/schema": "7.80.2"
54
+ "@tsed/core": "7.81.0-rc.1",
55
+ "@tsed/schema": "7.81.0-rc.1"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@tsed/core": {
@@ -68,5 +68,8 @@
68
68
  },
69
69
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/specs/json-mapper",
70
70
  "author": "Romain Lenzotti",
71
- "license": "MIT"
71
+ "license": "MIT",
72
+ "publishConfig": {
73
+ "tag": "rc"
74
+ }
72
75
  }