@patternmeshjs/core
Preparing search index...
ReadBundleStepBuilder
Class ReadBundleStepBuilder<E>
Type Parameters
E
extends
EntityMap
Index
Constructors
constructor
Methods
build
relation
root
Get
root
Pattern
Constructors
constructor
new
ReadBundleStepBuilder
<
E
extends
EntityMap
>
(
entities
:
E
,
)
:
ReadBundleStepBuilder
<
E
>
Type Parameters
E
extends
EntityMap
Parameters
entities
:
E
Returns
ReadBundleStepBuilder
<
E
>
Methods
build
build
()
:
readonly
ReadBundleStepDecl
[]
Returns
readonly
ReadBundleStepDecl
[]
relation
relation
(
label
:
string
,
root
:
keyof
E
&
string
,
alias
:
string
,
method
:
"get"
|
"list"
|
"listTargets"
,
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
,
)
:
this
Parameters
label
:
string
root
:
keyof
E
&
string
alias
:
string
method
:
"get"
|
"list"
|
"listTargets"
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
Returns
this
root
Get
rootGet
(
label
:
string
,
entity
:
keyof
E
&
string
,
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
,
)
:
this
Parameters
label
:
string
entity
:
keyof
E
&
string
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
Returns
this
root
Pattern
rootPattern
(
label
:
string
,
entity
:
keyof
E
&
string
,
pattern
:
string
,
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
,
)
:
this
Parameters
label
:
string
entity
:
keyof
E
&
string
pattern
:
string
mapInput
:
(
input
:
Record
<
string
,
unknown
>
)
=>
Record
<
string
,
unknown
>
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
relation
root
Get
root
Pattern
@patternmeshjs/core
Loading...