UNPKG

579 BTypeScriptView Raw
1import { Controller } from "./controller";
2import { IRepository, IExtendedModel } from "./types";
3import "rxjs/add/operator/finally";
4export declare const bookshelf: any;
5export declare const tableModelMap: {};
6export declare class Repository implements IRepository {
7 model: IExtendedModel;
8 name: string;
9 path: string;
10 controller: Controller;
11 websocket: boolean;
12 constructor(path: string, options: any, name: string, props: any, websocket?: boolean, rest?: boolean);
13 makeCrud(name: string, options: any): void;
14 makeReactive(name: string): void;
15}