1 | import { Entity } from '../entity';
|
2 | import { Filterable } from '../filter';
|
3 | import { Orderable } from '../order';
|
4 | import { FieldType, Selectable } from '../selectable';
|
5 |
|
6 |
|
7 |
|
8 | export interface WithKeys {
|
9 | keys: Record<string, FieldType>;
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 | export interface WithSelection<EntityT extends Entity> {
|
15 | selects: Selectable<EntityT>[];
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export interface WithGetAllRestrictions<EntityT extends Entity> extends WithSelection<EntityT> {
|
21 | top: number;
|
22 | skip: number;
|
23 | filter: Filterable<EntityT>;
|
24 | orderBy: Orderable<EntityT>[];
|
25 | }
|
26 |
|
27 |
|
28 |
|
29 | export interface WithETag {
|
30 | eTag: string;
|
31 | versionIdentifierIgnored: boolean;
|
32 | }
|
33 | export declare function isWithETag(config: any): config is WithETag;
|
34 |
|
\ | No newline at end of file |