1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import HttpBaseController from "./base";
|
10 | import {HttpJsonResult} from "../mvc";
|
11 | import {HttpApplication} from "../app";
|
12 |
|
13 | declare class HttpServiceController extends HttpBaseController {
|
14 | static configure(app: HttpApplication): void;
|
15 | getMetadata():Promise<string>;
|
16 | getIndex():Promise<any>;
|
17 | getItems(entitySet: string): Promise<any>;
|
18 | postItems(entitySet: string): Promise<any>;
|
19 | deleteItems(entitySet: string): Promise<any>;
|
20 | getItem(entitySet: string, id: any): Promise<any>;
|
21 | patchItem(entitySet: string, id: any): Promise<any>;
|
22 | deleteItem(entitySet: string, id: any): Promise<any>;
|
23 | postItem(entitySet: string, id: any): Promise<any>;
|
24 | getNavigationProperty(entitySet: string, navigationProperty: string, id: any): Promise<any>;
|
25 | getEntityFunction(entitySet: string, entityFunction: string, id: any): Promise<any>;
|
26 | getEntitySetFunction(entitySet: string, entityFunction: string, navigationProperty?: string): Promise<any>;
|
27 | postEntityAction(entitySet: string, entityAction: string, id: any): Promise<any>;
|
28 | postEntitySetAction(entitySet: string, entityAction: string): Promise<any>;
|
29 | postEntitySetFunction(eentitySet: string, entitySetFunction: string, entityAction: string): Promise<any>;
|
30 | getBuilder():any;
|
31 |
|
32 | }
|
33 |
|
34 | export default HttpServiceController;
|