kysely-mapper
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -34,3 +34,3 @@ import { Insertable, Selectable, Updateable } from 'kysely'; | ||
*/ | ||
insertTransform(obj: Selectable<DB[TB]>, _columns: Readonly<(keyof Insertable<DB[TB]> & string)[]> | ['*']): Insertable<DB[TB]>; | ||
insertTransform(obj: Selectable<DB[TB]>, _columns: Readonly<(keyof Insertable<DB[TB]>)[]> | ['*']): Insertable<DB[TB]>; | ||
/** | ||
@@ -48,3 +48,3 @@ * Transforms the returns of an insert query into the the object returned | ||
*/ | ||
updateTransform(source: Selectable<DB[TB]>, _columns: Readonly<(keyof Updateable<DB[TB]> & string)[]> | ['*']): Updateable<DB[TB]>; | ||
updateTransform(source: Selectable<DB[TB]>, _columns: Readonly<(keyof Updateable<DB[TB]>)[]> | ['*']): Updateable<DB[TB]>; | ||
/** | ||
@@ -51,0 +51,0 @@ * Transforms the returns of an update query into the the object returned |
@@ -44,3 +44,3 @@ import { Insertable, Selectable, Selection, Updateable } from 'kysely'; | ||
*/ | ||
insertTransform?: (source: InsertedObject, columns: Readonly<(keyof Insertable<DB[TB]> & string)[]> | ['*']) => Insertable<DB[TB]>; | ||
insertTransform?: (source: InsertedObject, columns: Readonly<(keyof Insertable<DB[TB]>)[]> | ['*']) => Insertable<DB[TB]>; | ||
/** | ||
@@ -69,3 +69,3 @@ * Transformation to apply to column values returned from inserts before | ||
*/ | ||
updateTransform?: (source: UpdatingObject, columns: Readonly<(keyof Updateable<DB[TB]> & string)[]> | ['*']) => Updateable<DB[TB]>; | ||
updateTransform?: (source: UpdatingObject, columns: Readonly<(keyof Updateable<DB[TB]>)[]> | ['*']) => Updateable<DB[TB]>; | ||
/** | ||
@@ -72,0 +72,0 @@ * Transformation to apply to column values returned from updates before |
@@ -34,3 +34,3 @@ import { Insertable, Selectable, Updateable } from 'kysely'; | ||
*/ | ||
insertTransform(obj: Selectable<DB[TB]>, _columns: Readonly<(keyof Insertable<DB[TB]> & string)[]> | ['*']): Insertable<DB[TB]>; | ||
insertTransform(obj: Selectable<DB[TB]>, _columns: Readonly<(keyof Insertable<DB[TB]>)[]> | ['*']): Insertable<DB[TB]>; | ||
/** | ||
@@ -48,3 +48,3 @@ * Transforms the returns of an insert query into the the object returned | ||
*/ | ||
updateTransform(source: Selectable<DB[TB]>, _columns: Readonly<(keyof Updateable<DB[TB]> & string)[]> | ['*']): Updateable<DB[TB]>; | ||
updateTransform(source: Selectable<DB[TB]>, _columns: Readonly<(keyof Updateable<DB[TB]>)[]> | ['*']): Updateable<DB[TB]>; | ||
/** | ||
@@ -51,0 +51,0 @@ * Transforms the returns of an update query into the the object returned |
@@ -44,3 +44,3 @@ import { Insertable, Selectable, Selection, Updateable } from 'kysely'; | ||
*/ | ||
insertTransform?: (source: InsertedObject, columns: Readonly<(keyof Insertable<DB[TB]> & string)[]> | ['*']) => Insertable<DB[TB]>; | ||
insertTransform?: (source: InsertedObject, columns: Readonly<(keyof Insertable<DB[TB]>)[]> | ['*']) => Insertable<DB[TB]>; | ||
/** | ||
@@ -69,3 +69,3 @@ * Transformation to apply to column values returned from inserts before | ||
*/ | ||
updateTransform?: (source: UpdatingObject, columns: Readonly<(keyof Updateable<DB[TB]> & string)[]> | ['*']) => Updateable<DB[TB]>; | ||
updateTransform?: (source: UpdatingObject, columns: Readonly<(keyof Updateable<DB[TB]>)[]> | ['*']) => Updateable<DB[TB]>; | ||
/** | ||
@@ -72,0 +72,0 @@ * Transformation to apply to column values returned from updates before |
{ | ||
"name": "kysely-mapper", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"author": "Joseph T. Lapp <arachnojoe@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1047199