@stryke/prisma-trpc-generator 0.11.0 → 0.11.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.
@@ -6889,12 +6889,12 @@ var configSchema = z.object({
6889
6889
  // Zod configuration
6890
6890
  withZod: configBoolean.default("true"),
6891
6891
  relationModel: configBoolean.default("true").or(z.literal("default")),
6892
- modelSuffix: z.string().default("Model"),
6892
+ modelSuffix: z.string().default("Schema"),
6893
6893
  modelCase: z.enum([
6894
6894
  "PascalCase",
6895
6895
  "camelCase"
6896
- ]).default("PascalCase"),
6897
- useDecimalJs: configBoolean.default("false"),
6896
+ ]).default("camelCase"),
6897
+ useDecimalJs: configBoolean.default("true"),
6898
6898
  imports: z.string().optional(),
6899
6899
  prismaJsonNullability: configBoolean.default("true")
6900
6900
  });
package/dist/generator.js CHANGED
@@ -6894,12 +6894,12 @@ var configSchema = z.object({
6894
6894
  // Zod configuration
6895
6895
  withZod: configBoolean.default("true"),
6896
6896
  relationModel: configBoolean.default("true").or(z.literal("default")),
6897
- modelSuffix: z.string().default("Model"),
6897
+ modelSuffix: z.string().default("Schema"),
6898
6898
  modelCase: z.enum([
6899
6899
  "PascalCase",
6900
6900
  "camelCase"
6901
- ]).default("PascalCase"),
6902
- useDecimalJs: configBoolean.default("false"),
6901
+ ]).default("camelCase"),
6902
+ useDecimalJs: configBoolean.default("true"),
6903
6903
  imports: z.string().optional(),
6904
6904
  prismaJsonNullability: configBoolean.default("true")
6905
6905
  });
package/dist/index.cjs CHANGED
@@ -6885,12 +6885,12 @@ var configSchema = z.object({
6885
6885
  // Zod configuration
6886
6886
  withZod: configBoolean.default("true"),
6887
6887
  relationModel: configBoolean.default("true").or(z.literal("default")),
6888
- modelSuffix: z.string().default("Model"),
6888
+ modelSuffix: z.string().default("Schema"),
6889
6889
  modelCase: z.enum([
6890
6890
  "PascalCase",
6891
6891
  "camelCase"
6892
- ]).default("PascalCase"),
6893
- useDecimalJs: configBoolean.default("false"),
6892
+ ]).default("camelCase"),
6893
+ useDecimalJs: configBoolean.default("true"),
6894
6894
  imports: z.string().optional(),
6895
6895
  prismaJsonNullability: configBoolean.default("true")
6896
6896
  });
package/dist/index.js CHANGED
@@ -6890,12 +6890,12 @@ var configSchema = z.object({
6890
6890
  // Zod configuration
6891
6891
  withZod: configBoolean.default("true"),
6892
6892
  relationModel: configBoolean.default("true").or(z.literal("default")),
6893
- modelSuffix: z.string().default("Model"),
6893
+ modelSuffix: z.string().default("Schema"),
6894
6894
  modelCase: z.enum([
6895
6895
  "PascalCase",
6896
6896
  "camelCase"
6897
- ]).default("PascalCase"),
6898
- useDecimalJs: configBoolean.default("false"),
6897
+ ]).default("camelCase"),
6898
+ useDecimalJs: configBoolean.default("true"),
6899
6899
  imports: z.string().optional(),
6900
6900
  prismaJsonNullability: configBoolean.default("true")
6901
6901
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/prisma-trpc-generator",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "description": "A fork of the prisma-trpc-generator code to work in ESM with Prisma v6.",
6
6
  "repository": {