prostgles-types 1.5.141 → 1.5.142
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/lib/index.ts +2 -2
- package/package.json +1 -1
package/lib/index.ts
CHANGED
|
@@ -150,7 +150,7 @@ export type DBSchemaTable = {
|
|
|
150
150
|
/**
|
|
151
151
|
* List of fields to include or exclude
|
|
152
152
|
*/
|
|
153
|
-
export type FieldFilter<T extends AnyObject> = SelectTyped<T>
|
|
153
|
+
export type FieldFilter<T extends AnyObject = AnyObject> = SelectTyped<T>
|
|
154
154
|
|
|
155
155
|
export type AscOrDesc = 1 | -1 | boolean;
|
|
156
156
|
|
|
@@ -185,7 +185,7 @@ export type OrderBy<T = AnyObject> =
|
|
|
185
185
|
| (keyof T)[]
|
|
186
186
|
;
|
|
187
187
|
|
|
188
|
-
export type Select<T extends AnyObject> =
|
|
188
|
+
export type Select<T extends AnyObject = AnyObject> =
|
|
189
189
|
| SelectTyped<T>
|
|
190
190
|
| ""
|
|
191
191
|
| AnyObject
|