pl-api
Preparing search index...
PaginatedResponse
Class PaginatedResponse<T, IsArray>
Type Parameters
T
IsArray
extends
boolean
=
true
Index
Constructors
constructor
Properties
items
next
partial
previous
total
Constructors
constructor
new
PaginatedResponse
<
T
,
IsArray
extends
boolean
=
true
>
(
items
:
IsArray
extends
true
?
T
[]
:
T
,
info
?:
Partial
<
Omit
<
PaginatedResponse
<
T
,
IsArray
>
,
"items"
>
>
,
)
:
PaginatedResponse
<
T
,
IsArray
>
Type Parameters
T
IsArray
extends
boolean
=
true
Parameters
items
:
IsArray
extends
true
?
T
[]
:
T
info
:
Partial
<
Omit
<
PaginatedResponse
<
T
,
IsArray
>
,
"items"
>
>
= {}
Returns
PaginatedResponse
<
T
,
IsArray
>
Properties
items
items
:
IsArray
extends
true
?
T
[]
:
T
next
next
:
(
()
=>
Promise
<
PaginatedResponse
<
T
,
IsArray
>
>
)
|
null
partial
partial
:
boolean
previous
previous
:
(
()
=>
Promise
<
PaginatedResponse
<
T
,
IsArray
>
>
)
|
null
total
total
:
number
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
items
next
partial
previous
total
pl-api
Loading...