@umbraco-cms/backoffice
Preparing search index...
packages/core/validation
umbQueryMapperForJsonPaths
Function umbQueryMapperForJsonPaths
umbQueryMapperForJsonPaths
<
T
>
(
scopePaths
:
string
[]
,
scopeData
:
T
[]
,
queryConstructor
:
(
entry
:
T
)
=>
string
,
mapper
?:
(
scopedPaths
:
string
[]
,
propertyData
:
undefined
|
T
,
)
=>
Promise
<
string
[]
>
,
)
:
Promise
<
string
[]
>
Helper method to replace paths index with queries and additionally map the paths.
Type Parameters
T
Parameters
scopePaths
:
string
[]
scopeData
:
T
[]
queryConstructor
:
(
entry
:
T
)
=>
string
Optional
mapper
:
(
scopedPaths
:
string
[]
,
propertyData
:
undefined
|
T
)
=>
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
the paths, including the once mapped by the scoped mapper. Notice the order is kept.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@umbraco-cms/backoffice
Loading...
Helper method to replace paths index with queries and additionally map the paths.