UNPKG

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