mutano 3.0.12 → 3.0.13
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/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ type PrismaValidTypes = 'String' | 'Boolean' | 'Int' | 'BigInt' | 'Float' | 'Dec
|
|
|
110
110
|
/**
|
|
111
111
|
* Constants and default headers for code generation
|
|
112
112
|
*/
|
|
113
|
-
declare const defaultKyselyHeader = "import {
|
|
113
|
+
declare const defaultKyselyHeader = "import { Insertable, Selectable, Updateable, ColumnType } from 'kysely';\n\n";
|
|
114
114
|
declare const defaultZodHeader: (version: 3 | 4) => string;
|
|
115
115
|
|
|
116
116
|
/**
|
package/dist/main.js
CHANGED
|
@@ -933,7 +933,7 @@ function extractPrismaColumnDescriptions(config, entityName, enumDeclarations) {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
const defaultKyselyHeader = "import {
|
|
936
|
+
const defaultKyselyHeader = "import { Insertable, Selectable, Updateable, ColumnType } from 'kysely';\n\n";
|
|
937
937
|
const defaultZodHeader = (version) => "import { z } from 'zod" + (version === 3 ? "" : "/v4") + "';\n\n";
|
|
938
938
|
const kyselyJsonTypes = `// JSON type definitions
|
|
939
939
|
export type Json = ColumnType<JsonValue, string, string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mutano",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.13",
|
|
5
5
|
"description": "Converts Prisma/MySQL/PostgreSQL/SQLite schemas to Zod/TS/Kysely interfaces",
|
|
6
6
|
"author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
|
|
7
7
|
"license": "MIT",
|