@yimingliao/cms 0.0.9 → 0.0.10

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.
@@ -1078,7 +1078,7 @@ var POST_FULL_INCLUDE = {
1078
1078
  // ---------------------------
1079
1079
  // relations: Admin
1080
1080
  // ---------------------------
1081
- author: { include: { translations: true } },
1081
+ author: { include: { translations: true }, omit: { passwordHash: true } },
1082
1082
  // ---------------------------
1083
1083
  // relations: Post
1084
1084
  // ---------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,6 +9,11 @@
9
9
  "types": "./dist/index.d.ts",
10
10
  "import": "./dist/index.js",
11
11
  "require": "./dist/index.js"
12
+ },
13
+ "./server": {
14
+ "types": "./dist/server/index.d.ts",
15
+ "import": "./dist/server/index.js",
16
+ "require": "./dist/server/index.js"
12
17
  }
13
18
  },
14
19
  "files": [