@c8y/client
Version:
Client application programming interface to access the Cumulocity IoT-Platform REST services.
26 lines • 677 B
TypeScript
import { IFetchResponse } from './IFetchResponse.js';
import { IResultBase } from './IResultBase.js';
/**
* The IResult interface splits up the server
* response in different fragments, namely in:
* + data
* + res
*
* @param TData generic type
*/
export interface IResult<TData> extends IResultBase<TData> {
/**
* Holds the data from server response in a generic way.
* TData could be of any type, for example:
* + [[IManagedObject]]
* + [[IAlarm]]
* + [[IAuditRecord]]
* + ...
*/
data: TData;
/**
* Server response of type [[IFetchResponse]].
*/
res: IFetchResponse;
}
//# sourceMappingURL=IResult.d.ts.map