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:
@@ -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