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:
Adrien de Peretti
2024-05-27 16:36:53 +00:00
committed by GitHub
parent 7b059562d7
commit d2b5768c02
3 changed files with 703 additions and 6 deletions
+2 -4
View File
@@ -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
}