feat: re integrate transform middleware lost files and features (#7477)
**What** Re integrate the transform query tests + missing features. It was originally mistekenly removed from one the team pr, also, I have adjusted the API and tests **NOTE** It does not include a full clean up of the typings and the backward compatibility remains for now
This commit is contained in:
1 parent
7b059562d7
commit
d2b5768c02
3 files changed
+703
-6
No files matched your search
@@ -190,10 +190,8 @@ export interface CustomFindOptions<TModel, InKeys extends keyof TModel> {
|
||||
* @ignore
|
||||
*/
|
||||
export type QueryConfig<TEntity extends BaseEntity> = {
|
||||
defaultFields?: (keyof TEntity | string)[]
|
||||
defaultRelations?: string[]
|
||||
allowedFields?: string[]
|
||||
allowedRelations?: string[]
|
||||
deafults?: (keyof TEntity | string)[]
|
||||
allowed?: (keyof TEntity | string)[]
|
||||
defaultLimit?: number
|
||||
isList?: boolean
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user