import { DeSerializers } from '../de-serializers' ; import { EntityBase , EntityIdentifiable } from '../entity-base' ; import { Link } from '../selectable' ; import type { Filterable } from './filterable' ; typeparam typeparam internal export class FilterLink < EntityT extends EntityBase , DeSerializersT extends DeSerializers , LinkedEntityT extends EntityBase = EntityBase > implements EntityIdentifiable < EntityT , DeSerializersT > { /**
     * Entity type of the entity tp be filtered.
     */ readonly _entity : EntityT ; /**
     * Linked entity to be filtered by.
     */ readonly _linkedEntityType : LinkedEntityT ; _deSerializers : DeSerializersT ; param link param filters constructor ( public link , public filters ) { } } param filterable returns internal export function isFilterLink < EntityT extends EntityBase , DeSerializersT extends DeSerializers , LinkedT extends EntityBase > ( filterable ) { return ( typeof filterable [ 'link' ] !== 'undefined' && typeof filterable [ 'filters' ] !== 'undefined' ) ; }