@stryke/prisma-trpc-generator 0.11.2 → 0.11.3
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/dist/generator.cjs +1 -1
- package/dist/generator.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generator.cjs
CHANGED
|
@@ -11878,7 +11878,7 @@ ${JSON.stringify(config)}`);
|
|
|
11878
11878
|
if (prismaClientProvider?.isCustomOutput) {
|
|
11879
11879
|
Transformer.setPrismaClientOutputPath(prismaClientProvider.output?.value);
|
|
11880
11880
|
}
|
|
11881
|
-
await constructZodModels(models, joinPaths(zodOutputPath, "models"), config, options);
|
|
11881
|
+
await constructZodModels(models, joinPaths(zodOutputPath, "schemas", "models"), config, options);
|
|
11882
11882
|
resolveZodModelsComments(models, modelOperations, enumTypes, hiddenModels, hiddenFields);
|
|
11883
11883
|
await generateZodEnumSchemas(enumTypes.prisma, enumTypes.model);
|
|
11884
11884
|
const dataSource = options.datasources?.[0];
|
package/dist/generator.js
CHANGED
|
@@ -11883,7 +11883,7 @@ ${JSON.stringify(config)}`);
|
|
|
11883
11883
|
if (prismaClientProvider?.isCustomOutput) {
|
|
11884
11884
|
Transformer.setPrismaClientOutputPath(prismaClientProvider.output?.value);
|
|
11885
11885
|
}
|
|
11886
|
-
await constructZodModels(models, joinPaths(zodOutputPath, "models"), config, options);
|
|
11886
|
+
await constructZodModels(models, joinPaths(zodOutputPath, "schemas", "models"), config, options);
|
|
11887
11887
|
resolveZodModelsComments(models, modelOperations, enumTypes, hiddenModels, hiddenFields);
|
|
11888
11888
|
await generateZodEnumSchemas(enumTypes.prisma, enumTypes.model);
|
|
11889
11889
|
const dataSource = options.datasources?.[0];
|
package/dist/index.cjs
CHANGED
|
@@ -11874,7 +11874,7 @@ ${JSON.stringify(config)}`);
|
|
|
11874
11874
|
if (prismaClientProvider?.isCustomOutput) {
|
|
11875
11875
|
Transformer.setPrismaClientOutputPath(prismaClientProvider.output?.value);
|
|
11876
11876
|
}
|
|
11877
|
-
await constructZodModels(models, joinPaths(zodOutputPath, "models"), config, options);
|
|
11877
|
+
await constructZodModels(models, joinPaths(zodOutputPath, "schemas", "models"), config, options);
|
|
11878
11878
|
resolveZodModelsComments(models, modelOperations, enumTypes, hiddenModels, hiddenFields);
|
|
11879
11879
|
await generateZodEnumSchemas(enumTypes.prisma, enumTypes.model);
|
|
11880
11880
|
const dataSource = options.datasources?.[0];
|
package/dist/index.js
CHANGED
|
@@ -11879,7 +11879,7 @@ ${JSON.stringify(config)}`);
|
|
|
11879
11879
|
if (prismaClientProvider?.isCustomOutput) {
|
|
11880
11880
|
Transformer.setPrismaClientOutputPath(prismaClientProvider.output?.value);
|
|
11881
11881
|
}
|
|
11882
|
-
await constructZodModels(models, joinPaths(zodOutputPath, "models"), config, options);
|
|
11882
|
+
await constructZodModels(models, joinPaths(zodOutputPath, "schemas", "models"), config, options);
|
|
11883
11883
|
resolveZodModelsComments(models, modelOperations, enumTypes, hiddenModels, hiddenFields);
|
|
11884
11884
|
await generateZodEnumSchemas(enumTypes.prisma, enumTypes.model);
|
|
11885
11885
|
const dataSource = options.datasources?.[0];
|