Forest Admin - API reference
Preparing search index...
@forestadmin/datasource-customizer
OneToManyEmbeddedDefinition
Type Alias OneToManyEmbeddedDefinition<S, N>
type
OneToManyEmbeddedDefinition
<
S
extends
TSchema
=
TSchema
,
N
extends
TCollectionName
<
S
>
=
TCollectionName
<
S
>
,
>
=
{
dependencies
?:
TFieldName
<
S
,
N
>
[]
;
schema
:
Record
<
string
,
PrimitiveTypes
>
;
listRecords
(
record
:
TRow
<
S
,
N
>
,
context
:
CollectionCustomizationContext
<
S
,
N
>
,
)
:
unknown
[]
|
Promise
<
unknown
[]
>
;
}
Type Parameters
S
extends
TSchema
=
TSchema
N
extends
TCollectionName
<
S
>
=
TCollectionName
<
S
>
Index
Properties
dependencies?
schema
Methods
list
Records
Properties
Optional
dependencies
dependencies
?:
TFieldName
<
S
,
N
>
[]
schema
schema
:
Record
<
string
,
PrimitiveTypes
>
Methods
list
Records
listRecords
(
record
:
TRow
<
S
,
N
>
,
context
:
CollectionCustomizationContext
<
S
,
N
>
,
)
:
unknown
[]
|
Promise
<
unknown
[]
>
Parameters
record
:
TRow
<
S
,
N
>
context
:
CollectionCustomizationContext
<
S
,
N
>
Returns
unknown
[]
|
Promise
<
unknown
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
dependencies
schema
Methods
list
Records
Forest Admin - API reference
Loading...