Forest Admin - API reference
Preparing search index...
@forestadmin/agent
SchemaGenerator
Class SchemaGenerator
Index
Constructors
constructor
Methods
build
Schema
build
Metadata
Constructors
constructor
new
SchemaGenerator
(
options
:
AgentOptionsWithDefaults
)
:
SchemaGenerator
Parameters
options
:
AgentOptionsWithDefaults
Returns
SchemaGenerator
Methods
build
Schema
buildSchema
(
dataSource
:
DataSource
)
:
Promise
<
Pick
<
ForestSchema
,
"collections"
>
>
Parameters
dataSource
:
DataSource
Returns
Promise
<
Pick
<
ForestSchema
,
"collections"
>
>
Static
build
Metadata
buildMetadata
(
features
:
Record
<
string
,
string
>
,
aiProviders
?:
AiProviderMeta
[]
,
)
:
Pick
<
ForestSchema
,
"meta"
>
Parameters
features
:
Record
<
string
,
string
>
aiProviders
:
AiProviderMeta
[]
= []
Returns
Pick
<
ForestSchema
,
"meta"
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
Schema
build
Metadata
Forest Admin - API reference
Loading...