import { DeSerializers } from '../de-serializers' ; import { EntityBase , EntityIdentifiable } from '../entity-base' ; import { OneToManyLink } from '../selectable' ; import type { Filterable } from './filterable' ; typeparam internal export class FilterList < EntityT extends EntityBase , DeSerializersT extends DeSerializers > implements EntityIdentifiable < EntityT , DeSerializersT > { /**
     * Entity type of the entity tp be filtered.
     */ readonly _entity : EntityT ; _deSerializers : DeSerializersT ; param andFilters param orFilters constructor ( public andFilters = [ ] , public orFilters = [ ] ) { } } param filterable returns internal export function isFilterList < EntityT extends EntityBase , DeSerializersT extends DeSerializers > ( filterable ) { return ( typeof filterable [ 'field' ] === 'undefined' && typeof filterable [ 'operator' ] === 'undefined' && typeof filterable [ 'value' ] === 'undefined' && typeof filterable [ 'functionName' ] === 'undefined' && typeof filterable [ 'link' ] === 'undefined' && ! ( 'lambdaOperator' in filterable ) && ! ( filterable instanceof OneToManyLink ) ) ; }