Skip to main content

Interface: DataPluginOptions

Configuration passed to DataPlugin when registering it with the application.

Extends​

Properties​

dataSources​

dataSources: DataSourceConfig[]

Named TypeORM data sources to initialize during plugin registration.

Every entity used by a @Repository repository must be included in one of these data sources' options.entities arrays. A repository is associated with the first configured source whose metadata contains that entity.


plugin​

plugin: PluginType

Inherited from​

PluginOptions.plugin