@nestledjs/api 2.6.0 → 2.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestledjs/api",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "generators": "./generators.json",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -0,0 +1,23 @@
1
+ <claude-mem-context>
2
+ # Recent Activity
3
+
4
+ <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
+
6
+ ### Feb 4, 2026
7
+
8
+ | ID | Time | T | Title | Read |
9
+ |----|------|---|-------|------|
10
+ | #212 | 4:17 PM | ✅ | Prisma v7 Decimal Type Handling Updated | ~318 |
11
+ | #205 | 4:16 PM | ✅ | Updated Decimal Import for Prisma v7 Compatibility | ~276 |
12
+ | #203 | " | 🔵 | Generate-Models Script Implementation Details | ~232 |
13
+ | #202 | 4:15 PM | 🔵 | Prisma V7 Client Import Path Changed from index to client | ~442 |
14
+
15
+ ### Feb 5, 2026
16
+
17
+ | ID | Time | T | Title | Read |
18
+ |----|------|---|-------|------|
19
+ | #497 | 10:33 AM | 🔴 | Fixed Enum Import/Export Order in Model Generator | ~300 |
20
+ | #489 | 10:32 AM | 🔴 | Fixed PgBouncer Support and Enum Import Issues | ~417 |
21
+ | #402 | 10:05 AM | 🔴 | Generate-Models Template Enum Import/Export Order Fixed | ~379 |
22
+ | #400 | " | 🔵 | Generate-Models Script Exports Prisma Enums for GraphQL | ~345 |
23
+ </claude-mem-context>
@@ -215,9 +215,9 @@ function generateModels(models: readonly any[], enums: readonly any[]): string {
215
215
  if (usesBigInt) {
216
216
  output += `import { GraphQLBigInt } from 'graphql-scalars';\n`
217
217
  }
218
- // Import JsonValue type if any model uses Json fields
218
+ // Import JsonValue type directly from Prisma v7 runtime (where it now lives)
219
219
  if (usesJson) {
220
- output += `import type { JsonValue } from '${prismaImportPath}';\n`
220
+ output += `import type { JsonValue } from '@prisma/client/runtime/client';\n`
221
221
  }
222
222
  // Ensure enums are imported correctly
223
223
  const enumNames = enums.map(e => e.name)