#
Interface: UsePaginatedQueryMergeParams<TData>#
Type parametersName |
---|
TData |
#
Properties#
data• data: object
#
Type declaration:Name | Type |
---|---|
existing | undefined | TData |
incoming | TData |
Defined in: react/src/query/usePaginatedQuery.ts:22
#
sortBy• sortBy: <TNode>(list
: TNode[], cb
: (node
: TNode) => number | string, order
: asc | desc) => TNode[]
#
Type declaration:â–¸ <TNode>(list
: TNode[], cb
: (node
: TNode) => number | string, order?
: asc | desc): TNode[]
#
Type parameters:Name |
---|
TNode |
#
Parameters:Name | Type | Default value |
---|---|---|
list | TNode[] | - |
cb | (node : TNode) => number | string | - |
order | asc | desc | 'asc' |
Returns: TNode[]
Defined in: react/src/common.ts:550
Defined in: react/src/query/usePaginatedQuery.ts:27
#
uniqBy• uniqBy: <TNode>(list
: TNode[], cb?
: (node
: TNode) => unknown) => TNode[]
#
Type declaration:â–¸ <TNode>(list
: TNode[], cb?
: (node
: TNode) => unknown): TNode[]
#
Type parameters:Name |
---|
TNode |
#
Parameters:Name | Type |
---|---|
list | TNode[] |
cb? | (node : TNode) => unknown |
Returns: TNode[]
Defined in: react/src/common.ts:533
Defined in: react/src/query/usePaginatedQuery.ts:26