Interface IWithApiResponseListOptions<T>

Options for 'ApiResponseBuilder.withList()' method.

interface IWithApiResponseListOptions<T> {
    items: List<T>;
    limit?: Nilable<number>;
    offset?: Nilable<number>;
    totalCount?: Nilable<number>;
}

Type Parameters

  • T extends any = any

Properties

items: List<T>

The list of items.

limit?: Nilable<number>

The entries per page.

offset?: Nilable<number>

The zero-based offset.

totalCount?: Nilable<number>

The total number of possible items.

Generated using TypeDoc