1 | import { Entity } from '../entity';
|
2 | import { Link, SimpleTypeFields } from '../selectable';
|
3 | import { ComplexTypePropertyFields } from '../selectable/complex-type-property-fields';
|
4 | import { Order } from './order';
|
5 | import { OrderLink } from './order-link';
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare type Orderable<EntityT extends Entity> = Order<EntityT> | OrderLink<EntityT, Entity>;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare type OrderableInput<EntityT extends Entity> = SimpleTypeFields<EntityT> | Link<EntityT, Entity> | ComplexTypePropertyFields<EntityT, any>;
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function asc<EntityT extends Entity>(orderBy: OrderableInput<EntityT>): Order<EntityT>;
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare function desc<EntityT extends Entity>(orderBy: OrderableInput<EntityT>): Order<EntityT>;
|
30 |
|
\ | No newline at end of file |