prisma-zod-generator 0.8.4 → 0.8.5
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/lib/types.d.ts +2 -2
- package/package.json +3 -2
package/lib/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DMMF as PrismaDMMF } from '@prisma/client/runtime';
|
|
2
|
-
export type TransformerParams = {
|
|
2
|
+
export declare type TransformerParams = {
|
|
3
3
|
enumTypes?: PrismaDMMF.SchemaEnum[];
|
|
4
4
|
fields?: PrismaDMMF.SchemaArg[];
|
|
5
5
|
name?: string;
|
|
@@ -9,7 +9,7 @@ export type TransformerParams = {
|
|
|
9
9
|
isDefaultPrismaClientOutput?: boolean;
|
|
10
10
|
prismaClientOutputPath?: string;
|
|
11
11
|
};
|
|
12
|
-
export type AggregateOperationSupport = {
|
|
12
|
+
export declare type AggregateOperationSupport = {
|
|
13
13
|
[model: string]: {
|
|
14
14
|
count?: boolean;
|
|
15
15
|
min?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma-zod-generator",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
4
4
|
"description": "Prisma 2+ generator to emit Zod schemas from your Prisma schema",
|
|
5
5
|
"repository": "https://github.com/omar-dulaimi/prisma-zod-generator",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"gen-example": "tsc && npx prisma generate",
|
|
11
|
-
"
|
|
11
|
+
"check-uncommitted": "git diff-index --quiet HEAD --",
|
|
12
|
+
"package:publish": "npm update && npm run check-uncommitted && ./package.sh && cd package && npm publish"
|
|
12
13
|
},
|
|
13
14
|
"author": {
|
|
14
15
|
"name": "Omar Dulaimi",
|