Fix(medusa/loaders/plugins) jsdoc (#904)
This commit is contained in:
1 parent
e64f036ad3
commit
a0b6946b5f
1 file changed
+4
-8
@@ -301,10 +301,8 @@ async function registerServices(pluginDetails, container) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a plugin's models at the right location in our container. Models
|
* Registers a plugin's subscribers at the right location in our container.
|
||||||
* must inherit from BaseModel. Models are registered directly in the container.
|
* Subscribers are registered directly in the container.
|
||||||
* Names are camelCase formatted and namespaced by the folder i.e:
|
|
||||||
* models/example-person -> examplePersonModel
|
|
||||||
* @param {object} pluginDetails - the plugin details including plugin options,
|
* @param {object} pluginDetails - the plugin details including plugin options,
|
||||||
* version, id, resolved path, etc. See resolvePlugin
|
* version, id, resolved path, etc. See resolvePlugin
|
||||||
* @param {object} container - the container where the services will be
|
* @param {object} container - the container where the services will be
|
||||||
@@ -326,10 +324,8 @@ function registerSubscribers(pluginDetails, container) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a plugin's models at the right location in our container. Models
|
* Registers a plugin's repositories at the right location in our container.
|
||||||
* must inherit from BaseModel. Models are registered directly in the container.
|
* repositories are registered directly in the container.
|
||||||
* Names are camelCase formatted and namespaced by the folder i.e:
|
|
||||||
* models/example-person -> examplePersonModel
|
|
||||||
* @param {object} pluginDetails - the plugin details including plugin options,
|
* @param {object} pluginDetails - the plugin details including plugin options,
|
||||||
* version, id, resolved path, etc. See resolvePlugin
|
* version, id, resolved path, etc. See resolvePlugin
|
||||||
* @param {object} container - the container where the services will be
|
* @param {object} container - the container where the services will be
|
||||||
|
|||||||
Reference in new issue
Block a user