@classytic/mongokit 3.14.0 → 3.16.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.
Files changed (28) hide show
  1. package/README.md +193 -319
  2. package/dist/{PaginationEngine-CfQRM1yz.mjs → PaginationEngine-0XXTW-9b.mjs} +2 -2
  3. package/dist/{Repository-BGL1Pq8w.mjs → Repository-DE7D2QeS.mjs} +240 -19
  4. package/dist/actions/index.d.mts +1 -1
  5. package/dist/ai/index.d.mts +1 -1
  6. package/dist/ai/index.mjs +14 -5
  7. package/dist/better-auth/index.d.mts +55 -1
  8. package/dist/better-auth/index.mjs +32 -2
  9. package/dist/{index-Dccha9dw.d.mts → index-CV5vv-8E.d.mts} +1 -1
  10. package/dist/index.d.mts +1182 -1079
  11. package/dist/index.mjs +32 -19
  12. package/dist/{mongooseToJsonSchema-BYbG894y.mjs → mongooseToJsonSchema-Bi0q0pYW.mjs} +1 -1
  13. package/dist/{mongooseToJsonSchema-BgRAaXX-.d.mts → mongooseToJsonSchema-GhvZUjRO.d.mts} +1 -1
  14. package/dist/pagination/PaginationEngine.d.mts +1 -1
  15. package/dist/pagination/PaginationEngine.mjs +1 -1
  16. package/dist/plugins/index.d.mts +1 -1
  17. package/dist/plugins/index.mjs +1 -1
  18. package/dist/query/primitives/coercion.mjs +1 -1
  19. package/dist/{types-BbaPZleN.d.mts → types-BWZILovv.d.mts} +26 -1
  20. package/dist/utils/index.d.mts +1 -1
  21. package/dist/utils/index.mjs +3 -3
  22. package/dist/{validation-chain.plugin-CWhvBRej.mjs → validation-chain.plugin-Crl5nQAY.mjs} +1172 -1137
  23. package/dist/{validation-chain.plugin-CAPYCj_T.d.mts → validation-chain.plugin-Iee2_puD.d.mts} +368 -344
  24. package/package.json +6 -6
  25. /package/dist/{cursor-J84rR6wG.mjs → cursor-4LMYa4ga.mjs} +0 -0
  26. /package/dist/{field-selection-Br3WPOEb.mjs → field-selection-CQW3WBiK.mjs} +0 -0
  27. /package/dist/{id-resolution-B0Odvvou.mjs → id-resolution-DduoO4LI.mjs} +0 -0
  28. /package/dist/{sort-CrZjTK25.mjs → sort-RPVz5u0w.mjs} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classytic/mongokit",
3
- "version": "3.14.0",
3
+ "version": "3.16.0",
4
4
  "description": "Production-grade MongoDB repositories - smart pagination, events, and plugins. Built on @classytic/repo-core.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "homepage": "https://github.com/classytic/mongokit#readme",
107
107
  "peerDependencies": {
108
- "@classytic/repo-core": "^0.5.0",
108
+ "@classytic/repo-core": ">=0.6.0",
109
109
  "better-auth": ">=1.6.0",
110
110
  "mongoose": ">=9.4.1"
111
111
  },
@@ -149,9 +149,9 @@
149
149
  "@better-auth/mongo-adapter": "^1.6.9",
150
150
  "@biomejs/biome": "^2.4.10",
151
151
  "@classytic/dev-tools": "^0.2.0",
152
- "@classytic/repo-core": "0.5.0",
152
+ "@classytic/repo-core": "0.6.0",
153
153
  "@types/node": "^22.0.0",
154
- "@vitest/coverage-v8": "^3.2.4",
154
+ "@vitest/coverage-v8": "^4.1.4",
155
155
  "ajv": "^8.18.0",
156
156
  "ajv-formats": "^3.0.1",
157
157
  "better-auth": "^1.6.9",
@@ -161,7 +161,7 @@
161
161
  "mongoose": "^9.4.1",
162
162
  "publint": "^0.3.18",
163
163
  "tsdown": "^0.21.8",
164
- "typescript": "^5.7.0",
165
- "vitest": "^3.2.4"
164
+ "typescript": "^6.0.3",
165
+ "vitest": "^4.1.4"
166
166
  }
167
167
  }
File without changes