There was an error while loading. Please reload this page.
1 parent a72f401 commit 6f192b2Copy full SHA for 6f192b2
1 file changed
apps/desktop/src/entities/connection/utils/templates.ts
@@ -17,7 +17,7 @@ ${columns}
17
export function zodSchemaTemplate(table: string, columns: string) {
18
const pascalName = safePascalCase(table)
19
const camelName = pascalName.charAt(0).toLowerCase() + pascalName.slice(1)
20
- return `import { z } from 'zod';
+ return `import * as z from 'zod';
21
22
export const ${camelName}Schema = z.object({
23
${columns}
0 commit comments