ngx-endpoints
Version:
A library to dynamically load data from http endpoints / urls in angular
42 lines (41 loc) • 1.01 kB
TypeScript
/**
* Basic class that is used for the initial generation of the endpoints
*/
export declare class NgxEndPointData {
/**
* Title of the endpoint
*/
title: string;
/**
* Id for later identification of the endpoint
*/
endPointId: NonNullable<number>;
/**
* disable endpoint
*/
active: boolean;
/**
* Http Url that will be requested by Endpoint (Http.Get)
*/
endPointUrl: string;
/**
* Additional Headers (Api-Key, Basic Auth, Content-Type etc.)
*/
requestOptions?: Object;
/**
* Additional Headers (Api-Key, Basic Auth, Content-Type etc.)
*/
live?: boolean;
/**
* Wait Interval between 2 live requests
*/
liveinterval?: number;
/**
* If relative dates are used in querystring or specific query you can use this feature
*/
convertDates?: boolean;
/**
* Replaces the relative date with the date in this output format in the querystring
*/
convertDatesOutputFormat?: string;
}