docs/backend-system: add naming pattern docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -74,10 +74,10 @@ export interface BackendModuleConfig {
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* The `moduleId` should be equal to the module-specific prefix of the exported name, such
|
||||
* that the full name is `moduleId + PluginId + "Module"`. For example, a GitHub entity
|
||||
* The `moduleId` should be equal to the module-specific suffix of the exported name, such
|
||||
* that the full name is `pluginId + "Module" + ModuleId`. For example, a GitHub entity
|
||||
* provider module for the `catalog` plugin might have the module ID `'githubEntityProvider'`,
|
||||
* and the full exported name would be `githubEntityProviderCatalogModule`.
|
||||
* and the full exported name would be `catalogModuleGithubEntityProvider`.
|
||||
*
|
||||
* The `pluginId` should exactly match the `id` of the plugin that the module extends.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user