@pristine-ts/data-mapping 0.0.285 → 0.0.287
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.
- package/dist/lib/cjs/data-mapping.module.js +0 -1
- package/dist/lib/cjs/data-mapping.module.js.map +1 -1
- package/dist/lib/esm/data-mapping.module.js +0 -1
- package/dist/lib/esm/data-mapping.module.js.map +1 -1
- package/dist/types/data-mapping.module.d.ts +0 -1
- package/package.json +5 -5
- package/dist/lib/cjs/decorators/decorators.js +0 -18
- package/dist/lib/cjs/decorators/decorators.js.map +0 -1
- package/dist/lib/cjs/decorators/type.decorator.js +0 -20
- package/dist/lib/cjs/decorators/type.decorator.js.map +0 -1
- package/dist/lib/esm/decorators/decorators.js +0 -2
- package/dist/lib/esm/decorators/decorators.js.map +0 -1
- package/dist/lib/esm/decorators/type.decorator.js +0 -16
- package/dist/lib/esm/decorators/type.decorator.js.map +0 -1
- package/dist/types/decorators/decorators.d.ts +0 -1
- package/dist/types/decorators/type.decorator.d.ts +0 -2
|
@@ -18,7 +18,6 @@ exports.DataMappingModule = void 0;
|
|
|
18
18
|
const common_1 = require("@pristine-ts/common");
|
|
19
19
|
const data_mapping_module_keyname_1 = require("./data-mapping.module.keyname");
|
|
20
20
|
const data_mapping_common_1 = require("@pristine-ts/data-mapping-common");
|
|
21
|
-
__exportStar(require("./decorators/decorators"), exports);
|
|
22
21
|
__exportStar(require("./interceptors/interceptors"), exports);
|
|
23
22
|
// To facilitate things, this module should re-export everything. Therefore, no one else needs to know that we have two
|
|
24
23
|
// modules unless you specifically just want the raw classes (like in the frontend).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-mapping.module.js","sourceRoot":"","sources":["../../../src/data-mapping.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyF;AACzF,+EAAuE;AACvE,0EAAuI;AAGvI,
|
|
1
|
+
{"version":3,"file":"data-mapping.module.js","sourceRoot":"","sources":["../../../src/data-mapping.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyF;AACzF,+EAAuE;AACvE,0EAAuI;AAGvI,8DAA4C;AAE5C,uHAAuH;AACvH,oFAAoF;AACpF,mEAAiD;AAEjD,MAAM,WAAW,GAAG;IAChB,sCAAgB;IAChB,sCAAgB;IAChB,oCAAc;CACjB,CAAA;AAED,WAAW,CAAC,OAAO,CAAE,CAAC,UAAe,EAAE,EAAE;IACrC,4CAAmC,CAAC,IAAI,CAAC;QACrC,WAAW,EAAE,UAAU;QACvB,oBAAoB,EAAE;YAClB,KAAK,EAAE,yBAAyB;YAChC,QAAQ,EAAE,UAAU;SACvB;KACJ,CAAC,CAAA;AACN,CAAC,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAoB;IAC9C,OAAO,EAAE,sDAAwB;IACjC,aAAa,EAAE,EACd;IACD,qBAAqB,EAAE;QACnB;YACI,KAAK,EAAE,4CAAsB;YAC7B,QAAQ,EAAE,4CAAsB;SACnC;QACD;YACI,KAAK,EAAE,gCAAU;YACjB,UAAU,EAAE,CAAC,SAA8B,EAAE,EAAE;gBAC3C,OAAO,IAAI,gCAAU,CAAC,SAAS,CAAC,OAAO,CAAC,4CAAsB,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC,CAAC;YAC/K,CAAC;SACJ;KACJ;IACD,wBAAwB,EAAE,EACzB;CAEJ,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { taggedProviderRegistrationsRegistry } from "@pristine-ts/common";
|
|
2
2
|
import { DataMappingModuleKeyname } from "./data-mapping.module.keyname";
|
|
3
3
|
import { AutoDataMappingBuilder, DataMapper, StringNormalizer, NumberNormalizer, DateNormalizer } from "@pristine-ts/data-mapping-common";
|
|
4
|
-
export * from "./decorators/decorators";
|
|
5
4
|
export * from "./interceptors/interceptors";
|
|
6
5
|
// To facilitate things, this module should re-export everything. Therefore, no one else needs to know that we have two
|
|
7
6
|
// modules unless you specifically just want the raw classes (like in the frontend).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-mapping.module.js","sourceRoot":"","sources":["../../../src/data-mapping.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mCAAmC,EAAC,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAC,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAC,sBAAsB,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAC,MAAM,kCAAkC,CAAA;AAGvI,cAAc,
|
|
1
|
+
{"version":3,"file":"data-mapping.module.js","sourceRoot":"","sources":["../../../src/data-mapping.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mCAAmC,EAAC,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAC,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAC,sBAAsB,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAC,MAAM,kCAAkC,CAAA;AAGvI,cAAc,6BAA6B,CAAC;AAE5C,uHAAuH;AACvH,oFAAoF;AACpF,cAAc,kCAAkC,CAAC;AAEjD,MAAM,WAAW,GAAG;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;CACjB,CAAA;AAED,WAAW,CAAC,OAAO,CAAE,CAAC,UAAe,EAAE,EAAE;IACrC,mCAAmC,CAAC,IAAI,CAAC;QACrC,WAAW,EAAE,UAAU;QACvB,oBAAoB,EAAE;YAClB,KAAK,EAAE,yBAAyB;YAChC,QAAQ,EAAE,UAAU;SACvB;KACJ,CAAC,CAAA;AACN,CAAC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAoB;IAC9C,OAAO,EAAE,wBAAwB;IACjC,aAAa,EAAE,EACd;IACD,qBAAqB,EAAE;QACnB;YACI,KAAK,EAAE,sBAAsB;YAC7B,QAAQ,EAAE,sBAAsB;SACnC;QACD;YACI,KAAK,EAAE,UAAU;YACjB,UAAU,EAAE,CAAC,SAA8B,EAAE,EAAE;gBAC3C,OAAO,IAAI,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC,CAAC;YAC/K,CAAC;SACJ;KACJ;IACD,wBAAwB,EAAE,EACzB;CAEJ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/data-mapping",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.287",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/data-mapping.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/data-mapping.module.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pristine-ts/common": "^0.0.
|
|
24
|
-
"@pristine-ts/data-mapping-common": "^0.0.
|
|
25
|
-
"@pristine-ts/logging": "^0.0.
|
|
23
|
+
"@pristine-ts/common": "^0.0.287",
|
|
24
|
+
"@pristine-ts/data-mapping-common": "^0.0.287",
|
|
25
|
+
"@pristine-ts/logging": "^0.0.287",
|
|
26
26
|
"@pristine-ts/metadata": "^1.0.6",
|
|
27
27
|
"class-transformer": "^0.5.1",
|
|
28
28
|
"date-fns": "^3.3.1",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"jest-extended/all"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5ee3a2aaccf179588c06e523d9c9b35bff6334df"
|
|
69
69
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./type.decorator"), exports);
|
|
18
|
-
//# sourceMappingURL=decorators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../src/decorators/decorators.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.type = void 0;
|
|
4
|
-
const metadata_1 = require("@pristine-ts/metadata");
|
|
5
|
-
const data_mapping_common_1 = require("@pristine-ts/data-mapping-common");
|
|
6
|
-
const type = (callback) => {
|
|
7
|
-
return (
|
|
8
|
-
/**
|
|
9
|
-
* The class on which the decorator is used.
|
|
10
|
-
*/
|
|
11
|
-
target,
|
|
12
|
-
/**
|
|
13
|
-
* The property on which the decorator is used.
|
|
14
|
-
*/
|
|
15
|
-
propertyKey) => {
|
|
16
|
-
metadata_1.PropertyMetadata.defineMetadata(target, propertyKey, data_mapping_common_1.MetadataEnum.TypeFactory, callback);
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
exports.type = type;
|
|
20
|
-
//# sourceMappingURL=type.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/type.decorator.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AACvD,0EAA8D;AAIvD,MAAM,IAAI,GAAG,CAAC,QAA6B,EAAE,EAAE;IAClD,OAAO;IACH;;OAEG;IACH,MAAW;IAEX;;OAEG;IACH,WAA4B,EAC9B,EAAE;QACA,2BAAgB,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,kCAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC7F,CAAC,CAAA;AACL,CAAC,CAAA;AAdY,QAAA,IAAI,QAchB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../src/decorators/decorators.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PropertyMetadata } from "@pristine-ts/metadata";
|
|
2
|
-
import { MetadataEnum } from "@pristine-ts/data-mapping-common";
|
|
3
|
-
export const type = (callback) => {
|
|
4
|
-
return (
|
|
5
|
-
/**
|
|
6
|
-
* The class on which the decorator is used.
|
|
7
|
-
*/
|
|
8
|
-
target,
|
|
9
|
-
/**
|
|
10
|
-
* The property on which the decorator is used.
|
|
11
|
-
*/
|
|
12
|
-
propertyKey) => {
|
|
13
|
-
PropertyMetadata.defineMetadata(target, propertyKey, MetadataEnum.TypeFactory, callback);
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=type.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/type.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAI9D,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,QAA6B,EAAE,EAAE;IAClD,OAAO;IACH;;OAEG;IACH,MAAW;IAEX;;OAEG;IACH,WAA4B,EAC9B,EAAE;QACA,gBAAgB,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC7F,CAAC,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./type.decorator";
|