Type Parameters

  • T

Hierarchy (view full)

Constructors

Properties

Constructors

  • Converts a paged data response from the API into an SDK friendly format.

    Type Parameters

    • T

    Parameters

    • source: IApiList<T>

      The API response that contains paging information about the list

    • data: undefined | T[]

      The actual list items returned from the API.

    Returns BaseList<T>

Properties

count: number

This is the count of records returned

data: T[]
page: number

The page this list represents

totalCount: number

This is the total count of records available, Needed for pagination