@nx-ddd/common 19.0.0-preview.11 → 19.0.0-preview.12
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.
|
@@ -4,9 +4,9 @@ exports.Excel = void 0;
|
|
|
4
4
|
exports.getFlattenFieldAnnotations = getFlattenFieldAnnotations;
|
|
5
5
|
exports.getFields = getFields;
|
|
6
6
|
exports.getHeaders = getHeaders;
|
|
7
|
-
const
|
|
7
|
+
const core_1 = require("@nx-ddd/core");
|
|
8
8
|
const lodash_es_1 = require("lodash-es");
|
|
9
|
-
const { createDecorator, getAnnotations, } = (0,
|
|
9
|
+
const { createDecorator, getAnnotations, } = (0, core_1.makeDecoratorFactories)((type, fieldName, propName, options) => ({ type, fieldName, propName, childType: options.childType }), '[@nx-ddd/excel] annotations');
|
|
10
10
|
function getFlattenFieldAnnotations(T, prefix = '') {
|
|
11
11
|
const annotations = getAnnotations(T);
|
|
12
12
|
return (annotations !== null && annotations !== void 0 ? annotations : []).reduce((acc, annotation) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"excel.decorators.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/repo/excel/excel.decorators.ts"],"names":[],"mappings":";;;AAWA,gEAeC;AAED,8BAyBC;AAED,gCAEC;AAzDD,
|
|
1
|
+
{"version":3,"file":"excel.decorators.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/repo/excel/excel.decorators.ts"],"names":[],"mappings":";;;AAWA,gEAeC;AAED,8BAyBC;AAED,gCAEC;AAzDD,uCAAsD;AACtD,yCAAiD;AAEjD,MAAM,EACJ,eAAe,EACf,cAAc,GACf,GAAG,IAAA,6BAAsB,EACxB,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,SA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M,UAAU,GAAG,UAAU,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAC,CAAC,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QACrH,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;YACzB,OAAO;gBACL,GAAG,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,EAAE;oBACnC,MAAM,EAAE,UAAU;oBAClB,IAAI,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI;iBACpB,CAAC;aACH,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAEY,QAAA,KAAK,GAAG;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC;IAC7B,MAAM,EAAE,eAAe,CAAC,QAAQ,CAAC;IACjC,iCAAiC;IACjC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;IAC/B,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC;IACnC,cAAc;CACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx-ddd/common",
|
|
3
|
-
"version": "19.0.0-preview.
|
|
3
|
+
"version": "19.0.0-preview.12",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"homepage": "https://github.com/xx-machina/plaform/tree/main/packages/@nx-ddd/common",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"rxjs": "^7.8.0",
|
|
23
23
|
"stripe": "^14.15.0",
|
|
24
24
|
"tslib": "^2.3.0",
|
|
25
|
-
"@nx-ddd/core": "19.0.0-preview.
|
|
25
|
+
"@nx-ddd/core": "19.0.0-preview.12",
|
|
26
26
|
"playwright": "^1.49.1",
|
|
27
27
|
"puppeteer-chromium-resolver": "^23.0.0",
|
|
28
28
|
"xlsx": "^0.18.5"
|