UNPKG

965 BTypeScriptView Raw
1import { Constructable, EntityIdentifiable, Filterable, GetAllRequestBuilder as GetAllRequestBuilderBase } from '../../odata-common';
2import { Entity } from '../entity';
3export declare class GetAllRequestBuilder<EntityT extends Entity> extends GetAllRequestBuilderBase<EntityT> implements EntityIdentifiable<EntityT> {
4 /**
5 * Creates an instance of GetAllRequestBuilder.
6 * @param entityConstructor - Constructor of the entity to create the request for
7 */
8 constructor(entityConstructor: Constructable<EntityT>);
9 /**
10 * Add filter statements to the request.
11 * @param expressions - Filter expressions to restrict the response
12 * @returns The request builder itself, to facilitate method chaining
13 */
14 filter(expressions: Filterable<EntityT>[]): this;
15 filter(...expressions: Filterable<EntityT>[]): this;
16}
17export { GetAllRequestBuilder as GetAllRequestBuilderV2 };
18//# sourceMappingURL=get-all-request-builder.d.ts.map
\No newline at end of file