prisma-kysely
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -20,5 +20,5 @@ "use strict"; | ||
}); | ||
return typescript_1.default.factory.createTypeAliasDeclaration(undefined, [typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier("DB"), undefined, typescript_1.default.factory.createTypeLiteralNode(properties)); | ||
return typescript_1.default.factory.createTypeAliasDeclaration([typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier("DB"), undefined, typescript_1.default.factory.createTypeLiteralNode(properties)); | ||
}; | ||
exports.generateDatabaseType = generateDatabaseType; | ||
//# sourceMappingURL=generateDatabaseType.js.map |
@@ -51,3 +51,3 @@ "use strict"; | ||
tableName: model.dbName || model.name, | ||
definition: typescript_1.default.factory.createTypeAliasDeclaration(undefined, [typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier(model.name), undefined, typescript_1.default.factory.createTypeLiteralNode(properties)), | ||
definition: typescript_1.default.factory.createTypeAliasDeclaration([typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier(model.name), undefined, typescript_1.default.factory.createTypeLiteralNode(properties)), | ||
}; | ||
@@ -54,0 +54,0 @@ }; |
@@ -9,5 +9,5 @@ "use strict"; | ||
const generateTypedAliasDeclaration = (name, type) => { | ||
return typescript_1.default.factory.createTypeAliasDeclaration(undefined, [typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier(name), undefined, type); | ||
return typescript_1.default.factory.createTypeAliasDeclaration([typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], typescript_1.default.factory.createIdentifier(name), undefined, type); | ||
}; | ||
exports.generateTypedAliasDeclaration = generateTypedAliasDeclaration; | ||
//# sourceMappingURL=generateTypedAliasDeclaration.js.map |
@@ -9,5 +9,5 @@ "use strict"; | ||
const generateTypedReferenceNode = (name) => { | ||
return typescript_1.default.factory.createTypeAliasDeclaration(undefined, [typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], name, undefined, typescript_1.default.factory.createTypeReferenceNode(`(typeof ${name})[keyof typeof ${name}]`, undefined)); | ||
return typescript_1.default.factory.createTypeAliasDeclaration([typescript_1.default.factory.createModifier(typescript_1.default.SyntaxKind.ExportKeyword)], name, undefined, typescript_1.default.factory.createTypeReferenceNode(`(typeof ${name})[keyof typeof ${name}]`, undefined)); | ||
}; | ||
exports.generateTypedReferenceNode = generateTypedReferenceNode; | ||
//# sourceMappingURL=generateTypedReferenceNode.js.map |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"main": "dist/generator.js", | ||
@@ -19,5 +19,5 @@ "files": [ | ||
"start": "node dist/bin.js", | ||
"dev": "ttsc --watch", | ||
"build": "ttsc", | ||
"typecheck": "ttsc --noemit", | ||
"dev": "tspc --watch", | ||
"build": "tspc", | ||
"typecheck": "tspc --noemit", | ||
"prepack": "yarn build", | ||
@@ -34,3 +34,3 @@ "fix": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"@prisma/internals": "4.13.0", | ||
"typescript": "4.6.2", | ||
"typescript": "^5.1.6", | ||
"zod": "^3.21.0" | ||
@@ -55,3 +55,3 @@ }, | ||
"prisma": "4.16.2", | ||
"ttypescript": "^1.5.15", | ||
"ts-patch": "^3.0.2", | ||
"typescript-transform-paths": "^3.4.6", | ||
@@ -58,0 +58,0 @@ "vite-tsconfig-paths": "^4.0.7", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
152152
+ Addedtypescript@5.4.5(transitive)
- Removedtypescript@4.6.2(transitive)
Updatedtypescript@^5.1.6