UNPKG

io.parrots

Version:

Parrots.io App

12 lines (11 loc) 597 B
import { Response, Headers } from '@angular/http'; import { AbstractServerResource } from 'com.phloxui'; import { IConnectionManager } from 'com.phloxui'; export declare class JSONResource extends AbstractServerResource { private schemaCached; protected basePath: string; defaultHeaders: Headers; constructor(connectionMgr: IConnectionManager, basePath?: string); getSchema(className: string): Promise<Response>; getSchemaWithConfigs(className: string, ignoreNull: boolean, ignoreEmpty: boolean, ignorePropRegex: string, includePropsFields: String[]): Promise<Response>; }