prisma-generator-express 1.48.0 → 1.48.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.
@@ -463,7 +463,7 @@ export function ${routerFunctionName}<TCtx = unknown, TPrisma = any>(config: ${m
463
463
  if (config.updateEach) {
464
464
  const opConfig: OperationConfigLike = (config.updateEach as OperationConfigLike | undefined) ?? defaultOpConfig
465
465
  const { before = [], after = [] } = opConfig
466
- const path = basePath ? \`\${basePath}/updateEach\` : '/updateEach'
466
+ const path = basePath ? \`\${basePath}/each\` : '/each'
467
467
  router.post(
468
468
  path,
469
469
  setShape(opConfig),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prisma-generator-express",
3
3
  "description": "Prisma generator for Express, Fastify, and Hono CRUD APIs with OpenAPI documentation",
4
- "version": "1.48.0",
4
+ "version": "1.48.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "MIT",
@@ -479,7 +479,7 @@ export function ${routerFunctionName}<TCtx = unknown, TPrisma = any>(config: ${m
479
479
  if (config.updateEach) {
480
480
  const opConfig: OperationConfigLike = (config.updateEach as OperationConfigLike | undefined) ?? defaultOpConfig
481
481
  const { before = [], after = [] } = opConfig
482
- const path = basePath ? \`\${basePath}/updateEach\` : '/updateEach'
482
+ const path = basePath ? \`\${basePath}/each\` : '/each'
483
483
  router.post(
484
484
  path,
485
485
  setShape(opConfig),