UNPKG

977 BTypeScriptView Raw
1import { Entity } from '../entity';
2import { FieldType } from '../selectable';
3import { EdmTypeShared } from '../edm-types';
4import { FilterFunction, FilterFunctionParameterType } from './filter-function-base';
5/**
6 * Representation of a filter function, that returns a collection of values.
7 */
8export declare class CollectionFilterFunction<EntityT extends Entity, FieldT extends FieldType> extends FilterFunction<EntityT, FieldT[]> {
9 /**
10 * Creates an instance of CollectionFilterFunction.
11 * @param functionName - Name of the function that returns a collection value
12 * @param parameters - Representation of the parameters passed to the filter function
13 * @param edmType - Type of the returned collection value. This influences the formatting of the returned value.
14 */
15 constructor(functionName: string, parameters: FilterFunctionParameterType<EntityT>[], edmType: EdmTypeShared<'any'>);
16}
17//# sourceMappingURL=collection-filter-function.d.ts.map
\No newline at end of file