Skip to content

Function: baseDeriveList

lib.baseDeriveList

baseDeriveList<T>(«destructured»): PaginationResult<T>

Example function for deriving lists from an Axios response. This is based on the output from the Django REST framework's paginator. You may want to replace the function with your own.

Type parameters

Name
T

Parameters

Name Type
«destructured» DeriveListArgs<T>

Returns

PaginationResult<T>

Defined in

src/base/lib/index.ts:189