API Documentation / @pinia/colada / serializeTreeMap
Function: serializeTreeMap()
ts
function serializeTreeMap(root): UseQueryEntryNodeSerialized[]
Transform a tree into a compressed array.
Parameters
root
TreeMapNode
<UseQueryEntry
<unknown
, unknown
, unknown
>>
root node of the tree
Returns
UseQueryEntryNodeSerialized
[]
Array representation of the tree