@cwqt/refract
Advanced tools
Comparing version 1.3.10 to 1.3.11
@@ -27,5 +27,4 @@ declare const _default: { | ||
Text: import("./utils").DbModifier<"String", "mysql", "@db.mysql.Text", true>; | ||
Decimal: (x: number, y: number) => import("./utils").DbModifier<"Decimal", "mysql", "@db.mysql.Decimal", Coords>; | ||
Decimal: (precision: number, scale: number) => import("./utils").DbModifier<"Decimal", "mysql", "@db.mysql.Decimal", number[]>; | ||
}; | ||
export default _default; | ||
declare type Coords = [x: number, y: number]; |
@@ -30,3 +30,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
Text: _.String('Text'), | ||
Decimal: (...coords) => _.Decimal('Decimal', coords), | ||
Decimal: (precision, scale) => _.Decimal('Decimal', [precision, scale]), | ||
}; |
{ | ||
"name": "@cwqt/refract", | ||
"version": "1.3.10", | ||
"version": "1.3.11", | ||
"description": "Generate Prisma from TypeScript", | ||
@@ -5,0 +5,0 @@ "author": "cwqt", |
130536
1843