ontimize-web-ngx
Version:
Ontimize Web framework using Angular 15
24 lines (23 loc) • 810 B
TypeScript
import { HttpHeaders } from "@angular/common/http";
import { ServiceResponse } from "../../interfaces/service-response.interface";
import { PaginationContext } from "../../interfaces/pagination-context.interface";
export declare class JSONAPIServiceResponse implements ServiceResponse {
status: number;
statusText: string;
headers: HttpHeaders;
ok: boolean;
body: any;
context: PaginationContext;
code: number;
message: string;
sqlTypes: {
[key: string]: number;
};
startRecordIndex: number;
totalQueryRecordsNumber: number;
data: any;
constructor(status: number, statusText: string, headers: HttpHeaders, ok: boolean, body: any, context: PaginationContext);
isSuccessful(): boolean;
isFailed(): boolean;
isUnauthorized(): boolean;
}