prisma-kysely
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -12,3 +12,6 @@ "use strict"; | ||
const result = printer.printFile(file); | ||
const leader = `import type { ColumnType, Generated, GeneratedAlways } from "kysely"; | ||
const leader = `import type { ColumnType, GeneratedAlways } from "kysely"; | ||
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> | ||
? ColumnType<S, I | undefined, U> | ||
: ColumnType<T, T | undefined, T>; | ||
export type Timestamp = ColumnType<Date, Date | string, Date | string>;`; | ||
@@ -15,0 +18,0 @@ if (withEnumImport) { |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"main": "dist/generator.js", | ||
@@ -10,0 +10,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
135393
1769