UNPKG

@themost/web

Version:

MOST Web Framework 2.0 - Web Server Module

27 lines (24 loc) 1.15 kB
/** * @license * MOST Web Framework 2.0 Codename Blueshift * Copyright (c) 2017, THEMOST LP All rights reserved * * Use of this source code is governed by an BSD-3-Clause license that can be * found in the LICENSE file at https://themost.io/license */ import HttpBaseController from "./base"; import {HttpJsonResult} from "../mvc"; declare class HttpServiceController extends HttpBaseController { getMetadata():Promise<string>; getIndex():Promise<HttpJsonResult>; getItems(entitySet: string): Promise<HttpJsonResult>; postItems(entitySet: string): Promise<HttpJsonResult>; getItem(entitySet: string, id: any): Promise<HttpJsonResult>; patchItem(entitySet: string, id: any): Promise<HttpJsonResult>; deleteItem(entitySet: string, id: any): Promise<HttpJsonResult>; postItem(entitySet: string, id: any): Promise<HttpJsonResult>; getNavigationProperty(entitySet: string, navigationProperty: string, id: any): Promise<HttpJsonResult>; getEntityAction(entitySet: string, entityAction: string, navigationProperty: string): Promise<HttpJsonResult>; getBuilder():any; } export default HttpServiceController;