UNPKG

@sap-cloud-sdk/odata-common

Version:

SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.

17 lines (16 loc) 931 B
import { FilterFunction } from './filter-function-base'; import type { EntityBase } from '../entity-base'; import type { EdmTypeShared } from '../edm-types'; import type { FilterFunctionParameterType } from './filter-function-base'; /** * Representation of a filter function, that returns a collection of values. */ export declare class CollectionFilterFunction<EntityT extends EntityBase, FieldT> extends FilterFunction<EntityT, FieldT[]> { /** * Creates an instance of CollectionFilterFunction. * @param functionName - Name of the function that returns a collection value. * @param parameters - Representation of the parameters passed to the filter function. * @param edmType - Type of the returned collection value. This influences the formatting of the returned value. */ constructor(functionName: string, parameters: FilterFunctionParameterType<EntityT>[], edmType: EdmTypeShared<'any'>); }