@klerick/json-api-nestjs-shared 1.0.0-beta.7 → 1.0.0
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/CHANGELOG.md +39 -0
- package/cjs/src/index.d.ts +3 -3
- package/cjs/src/index.js +3 -3
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/lib/types/index.d.ts +3 -3
- package/cjs/src/lib/types/index.js +3 -3
- package/cjs/src/lib/types/index.js.map +1 -1
- package/cjs/src/lib/types/response-body.d.ts +2 -2
- package/cjs/src/lib/utils/index.d.ts +1 -1
- package/cjs/src/lib/utils/index.js +1 -1
- package/cjs/src/lib/utils/index.js.map +1 -1
- package/mjs/src/index.d.ts +3 -3
- package/mjs/src/index.js +3 -3
- package/mjs/src/index.js.map +1 -1
- package/mjs/src/lib/types/index.d.ts +3 -3
- package/mjs/src/lib/types/index.js +3 -3
- package/mjs/src/lib/types/index.js.map +1 -1
- package/mjs/src/lib/types/response-body.d.ts +2 -2
- package/mjs/src/lib/utils/index.d.ts +1 -1
- package/mjs/src/lib/utils/index.js +1 -1
- package/mjs/src/lib/utils/index.js.map +1 -1
- package/package.json +10 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
# 1.0.0 (2026-09-12)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **json-api-nestjs-shared:** add command to generate mjs package.json for ESM support in dist folder ([2b3083d](https://github.com/klerick/nestjs-json-api/commit/2b3083d))
|
|
6
|
+
- **json-api-nestjs-shared,json-api-nestjs:** im did mistake in commit msg ([56c483a](https://github.com/klerick/nestjs-json-api/commit/56c483a))
|
|
7
|
+
- **json-api-nestjs-shared:** enhance type utilities with `UnwrapReference`, `FunctionKeys`, and refine `PropertyKeys` logic ([d864270](https://github.com/klerick/nestjs-json-api/commit/d864270))
|
|
8
|
+
- **json-api-nestjs-shared:** fix after update nx ([e4ef59f](https://github.com/klerick/nestjs-json-api/commit/e4ef59f))
|
|
9
|
+
- **json-api-nestjs-shared:** fix after update nx ([4c7a42d](https://github.com/klerick/nestjs-json-api/commit/4c7a42d))
|
|
10
|
+
- **json-api-nestjs,json-api-nestjs-microorm,json-api-nestjs-sdk,json-api-nestjs-shared,json-api-nestjs-typeorm:** up nestjs ([77c7bf4](https://github.com/klerick/nestjs-json-api/commit/77c7bf4))
|
|
11
|
+
- **json-api-nestjs,json-api-nestjs-microorm,json-api-nestjs-sdk,json-api-nestjs-shared,json-api-nestjs-typeorm:** up nestjs ([42b6b82](https://github.com/klerick/nestjs-json-api/commit/42b6b82))
|
|
12
|
+
- **json-api-nestjs,json-api-nestjs-microorm,json-api-nestjs-sdk,json-api-nestjs-shared,json-api-nestjs-typeorm:** up nestjs ([4c559e2](https://github.com/klerick/nestjs-json-api/commit/4c559e2))
|
|
13
|
+
- **json-api-nestjs-shared:** Use new structure ([4359ac7](https://github.com/klerick/nestjs-json-api/commit/4359ac7))
|
|
14
|
+
- **json-api-nestjs-shared:** Use shared type from separate package ([1a1c859](https://github.com/klerick/nestjs-json-api/commit/1a1c859))
|
|
15
|
+
- **json-api-nestjs:** Microro orm ([4696f51](https://github.com/klerick/nestjs-json-api/commit/4696f51))
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **json-api-nestjs-microorm,json-api-nestjs-shared,json-api-nestjs-sdk,nestjs-json-rpc,nestjs-json-rpc-sdk:** correct published manifests ([4078057](https://github.com/klerick/nestjs-json-api/commit/4078057))
|
|
20
|
+
- **json-api-nestjs-shared,json-api-nestjs-sdk,nestjs-json-rpc-sdk:** emit spec-compliant ESM ([a962eeb](https://github.com/klerick/nestjs-json-api/commit/a962eeb))
|
|
21
|
+
- **json-api-nestjs-shared:** refine `RelationCheck` type logic to handle nested promises and exclude undefined types ([d5c1ea7](https://github.com/klerick/nestjs-json-api/commit/d5c1ea7))
|
|
22
|
+
|
|
23
|
+
### ❤️ Thank You
|
|
24
|
+
|
|
25
|
+
- Alex H
|
|
26
|
+
- Claude Opus 5 (1M context)
|
|
27
|
+
|
|
28
|
+
## 1.0.0-beta.8 (2026-08-13)
|
|
29
|
+
|
|
30
|
+
### 🩹 Fixes
|
|
31
|
+
|
|
32
|
+
- **json-api-nestjs-microorm,json-api-nestjs-shared,json-api-nestjs-sdk,nestjs-json-rpc,nestjs-json-rpc-sdk:** correct published manifests ([4078057](https://github.com/klerick/nestjs-json-api/commit/4078057))
|
|
33
|
+
- **json-api-nestjs-shared,json-api-nestjs-sdk,nestjs-json-rpc-sdk:** emit spec-compliant ESM ([a962eeb](https://github.com/klerick/nestjs-json-api/commit/a962eeb))
|
|
34
|
+
|
|
35
|
+
### ❤️ Thank You
|
|
36
|
+
|
|
37
|
+
- Alex H
|
|
38
|
+
- Claude Opus 5 (1M context)
|
|
39
|
+
|
|
1
40
|
## 1.0.0-beta.7 (2026-02-01)
|
|
2
41
|
|
|
3
42
|
### 🚀 Features
|
package/cjs/src/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './lib/utils';
|
|
2
|
-
export * from './lib/types';
|
|
3
|
-
export * from './lib/constants';
|
|
1
|
+
export * from './lib/utils/index.js';
|
|
2
|
+
export * from './lib/types/index.js';
|
|
3
|
+
export * from './lib/constants/index.js';
|
package/cjs/src/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./lib/utils"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./lib/types"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./lib/constants"), exports);
|
|
4
|
+
tslib_1.__exportStar(require("./lib/utils/index.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./lib/types/index.js"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./lib/constants/index.js"), exports);
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/cjs/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/json-api/json-api-nestjs-shared/src/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/json-api/json-api-nestjs-shared/src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,+DAAqC;AACrC,mEAAyC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './query-type';
|
|
2
|
-
export * from './entity-type';
|
|
3
|
-
export * from './response-body';
|
|
1
|
+
export * from './query-type.js';
|
|
2
|
+
export * from './entity-type.js';
|
|
3
|
+
export * from './response-body.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./query-type"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./entity-type"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./response-body"), exports);
|
|
4
|
+
tslib_1.__exportStar(require("./query-type.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./entity-type.js"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./response-body.js"), exports);
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/types/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/types/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,2DAAiC;AACjC,6DAAmC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AttrKeys, RelationKeys, IsIterator, CastIteratorType } from './entity-type';
|
|
2
|
-
import { ValueOf } from './entity-type';
|
|
1
|
+
import { AttrKeys, RelationKeys, IsIterator, CastIteratorType } from './entity-type.js';
|
|
2
|
+
import { ValueOf } from './entity-type.js';
|
|
3
3
|
export type DebugMetaProps = Partial<{
|
|
4
4
|
time: number;
|
|
5
5
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './object-utils';
|
|
1
|
+
export * from './object-utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./object-utils"), exports);
|
|
4
|
+
tslib_1.__exportStar(require("./object-utils.js"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/utils/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/utils/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC"}
|
package/mjs/src/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './lib/utils';
|
|
2
|
-
export * from './lib/types';
|
|
3
|
-
export * from './lib/constants';
|
|
1
|
+
export * from './lib/utils/index.js';
|
|
2
|
+
export * from './lib/types/index.js';
|
|
3
|
+
export * from './lib/constants/index.js';
|
package/mjs/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './lib/utils';
|
|
2
|
-
export * from './lib/types';
|
|
3
|
-
export * from './lib/constants';
|
|
1
|
+
export * from './lib/utils/index.js';
|
|
2
|
+
export * from './lib/types/index.js';
|
|
3
|
+
export * from './lib/constants/index.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/mjs/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/json-api/json-api-nestjs-shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/json-api/json-api-nestjs-shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './query-type';
|
|
2
|
-
export * from './entity-type';
|
|
3
|
-
export * from './response-body';
|
|
1
|
+
export * from './query-type.js';
|
|
2
|
+
export * from './entity-type.js';
|
|
3
|
+
export * from './response-body.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './query-type';
|
|
2
|
-
export * from './entity-type';
|
|
3
|
-
export * from './response-body';
|
|
1
|
+
export * from './query-type.js';
|
|
2
|
+
export * from './entity-type.js';
|
|
3
|
+
export * from './response-body.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AttrKeys, RelationKeys, IsIterator, CastIteratorType } from './entity-type';
|
|
2
|
-
import { ValueOf } from './entity-type';
|
|
1
|
+
import { AttrKeys, RelationKeys, IsIterator, CastIteratorType } from './entity-type.js';
|
|
2
|
+
import { ValueOf } from './entity-type.js';
|
|
3
3
|
export type DebugMetaProps = Partial<{
|
|
4
4
|
time: number;
|
|
5
5
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './object-utils';
|
|
1
|
+
export * from './object-utils.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './object-utils';
|
|
1
|
+
export * from './object-utils.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/json-api/json-api-nestjs-shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klerick/json-api-nestjs-shared",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Shared Helper for JsonApi Plugin for NestJs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nestjs",
|
|
@@ -21,9 +21,14 @@
|
|
|
21
21
|
"main": "./cjs/src/index.js",
|
|
22
22
|
"types": "./cjs/src/index.d.ts",
|
|
23
23
|
"module": "./mjs/src/index.js",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": "./package.json",
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./mjs/src/index.d.ts",
|
|
28
|
+
"node": "./cjs/src/index.js",
|
|
29
|
+
"require": "./cjs/src/index.js",
|
|
30
|
+
"module": "./mjs/src/index.js",
|
|
31
|
+
"default": "./mjs/src/index.js"
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
34
|
"license": "MIT",
|
|
@@ -38,7 +43,7 @@
|
|
|
38
43
|
"url": "https://github.com/klerick/nestjs-json-api.git"
|
|
39
44
|
},
|
|
40
45
|
"engines": {
|
|
41
|
-
"node": "
|
|
46
|
+
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
|
|
42
47
|
},
|
|
43
48
|
"files": [
|
|
44
49
|
"**/*"
|