Documentation
Preparing search index...
@adonisjs/data
src/types
<internal>
UnpackKeyValue
Type Alias UnpackKeyValue<Value, MaxDepth, Depth>
UnpackKeyValue
:
[
Item
<
any
,
any
,
any
,
any
>
]
extends
[
Value
]
?
|
UnpackAsItem
<
Extract
<
Value
,
Item
<
any
,
any
,
any
,
any
>
>
,
MaxDepth
,
Depth
,
>
|
Exclude
<
Value
,
Item
<
any
,
any
,
any
,
any
>
>
:
[
Collection
<
any
,
any
,
any
>
]
extends
[
Value
]
?
|
UnpackAsCollection
<
Extract
<
Value
,
Collection
<
any
,
any
,
any
>
>
,
MaxDepth
,
Depth
,
>
|
Exclude
<
Value
,
Collection
<
any
,
any
,
any
>
>
:
Value
extends
CanBeSerialized
<
infer
B
>
?
B
:
Value
extends
JSONDataTypes
?
Value
:
string
Unpacks the value of a key inside ResourceData. Collections and Items are recursively processed.
Type Parameters
Value
MaxDepth
extends
number
Depth
extends
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Unpacks the value of a key inside ResourceData. Collections and Items are recursively processed.