Skip to content

Commit

Permalink
Merge branch 'v2' into jiasheng-v2-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashengguo authored Apr 14, 2024
2 parents eb75ac5 + c37bf92 commit 494ac6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/schema/src/plugins/zod/transformer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
import { type PluginOptions } from '@zenstackhq/sdk';
import { indentString, type PluginOptions } from '@zenstackhq/sdk';
import { checkModelHasModelRelation, findModelByName, isAggregateInputType } from '@zenstackhq/sdk/dmmf-helpers';
import { getPrismaClientImportSpec, type DMMF as PrismaDMMF } from '@zenstackhq/sdk/prisma';
import { indentString } from '@zenstackhq/sdk/utils';
import path from 'path';
import type { Project, SourceFile } from 'ts-morph';
import { upperCaseFirst } from 'upper-case-first';
Expand Down
4 changes: 4 additions & 0 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"./prisma": {
"types": "./prisma.d.ts",
"default": "./prisma.js"
},
"./dmmf-helpers": {
"types": "./dmmf-helpers/index.d.ts",
"default": "./dmmf-helpers/index.js"
}
}
}

0 comments on commit 494ac6c

Please sign in to comment.