UNPKG

1.29 kBTypeScriptView Raw
1import { Entity, Constructable } from '../entity';
2import { Filterable } from '../filter';
3import { Orderable } from '../order';
4import { Selectable } from '../selectable';
5import { Expandable } from '../expandable';
6import { ODataUri } from '../uri-conversion';
7import { ODataRequestConfig } from './odata-request-config';
8import { WithGetAllRestrictions } from './odata-request-traits';
9/**
10 * OData getAll request configuration for an entity type.
11 * @typeparam EntityT - Type of the entity to setup a request for
12 */
13export declare class ODataGetAllRequestConfig<EntityT extends Entity> extends ODataRequestConfig implements WithGetAllRestrictions<EntityT> {
14 readonly entityConstructor: Constructable<EntityT>;
15 private oDataUri;
16 top: number;
17 skip: number;
18 filter: Filterable<EntityT>;
19 orderBy: Orderable<EntityT>[];
20 selects: Selectable<EntityT>[];
21 expands: Expandable<EntityT>[];
22 /**
23 * Creates an instance of ODataGetAllRequestConfig.
24 * @param entityConstructor - Constructor type of the entity to create a configuration for
25 */
26 constructor(entityConstructor: Constructable<EntityT>, oDataUri: ODataUri);
27 resourcePath(): string;
28 queryParameters(): Record<string, any>;
29}
30//# sourceMappingURL=odata-get-all-request-config.d.ts.map
\No newline at end of file