UNPKG

breeze-bridge-angular

Version:

A bridge that configures Breeze to work with Angular out of the box.

21 lines (20 loc) 535 B
import { promises, HttpResponse } from "breeze-client"; /** * Minimum for breeze breeze Q/ES6 Promise adapter */ export declare var Q: promises.IPromiseService; /** * DataServiceAdapter Ajax request configuration */ export interface DsaConfig { url: string; type?: string; dataType?: string; contentType?: string | boolean; crossDomain?: string; headers?: {}; data?: any; params?: {}; success: (res: HttpResponse) => void; error: (res: (HttpResponse | Error)) => void; }