Type alias PaginationAttributes

PaginationAttributes: {
    direction?: "asc" | "desc";
    forceRefresh?: boolean;
    page?: number;
    per?: number;
    sort?: string;
}

Options available for paginating requests to channel endpoints.

Type declaration

  • Optional direction?: "asc" | "desc"

    The direction of returned results.

  • Optional forceRefresh?: boolean

    Force refresh of the server cache.

  • Optional page?: number

    The page to fetch.

  • Optional per?: number

    Number of items returned per page.

  • Optional sort?: string

    The field to sort results by.

Generated using TypeDoc