@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
18 lines • 512 B
TypeScript
import { IFetchResponse, IFetchOptions } from '@c8y/client';
export interface ApiCallOptions {
silentError?: boolean;
responseInterceptor?: (res: IFetchResponse) => IFetchResponse;
}
export interface Ng1HttpResponse {
data: any;
status: number;
headers: any;
}
export interface ApiCall {
url: string;
method: string;
phase?: 'start' | 'finish';
options: ApiCallOptions & IFetchOptions;
response?: Ng1HttpResponse | IFetchResponse;
}
//# sourceMappingURL=api.model.d.ts.map