Interface IResult<TData>

The IResult interface splits up the server response in different fragments, namely in:

  • data
  • res
interface IResult<TData> {
    data: TData;
    paging?: Paging<TData>;
    res: IFetchResponse;
}

Type Parameters

  • TData

    generic type

Hierarchy

  • IResultBase<TData>
    • IResult

Properties

Properties

data: TData

Holds the data from server response in a generic way. TData could be of any type, for example:

  • [[IManagedObject]]
  • [[IAlarm]]
  • [[IAuditRecord]]
  • ...
paging?: Paging<TData>

Server response of type [[IFetchResponse]].