Document and expose data members under lib/data

Make members of lib/data exposed under lib/data instead of
lib/data/<member>.
This commit is contained in:
Hornwitser committed 2022-09-26 16:54:19 +02:00
1 parent 7072b94355
commit 2384c48749
6 files changed
+16 -14

No files matched your search

+2 -2
View File
@@ -502,7 +502,7 @@ class BaseMasterPlugin {
* If the mod pack has been deleted its `.isDeleted` property will be
* true.
*
* @param {module:lib/data/ModPack} modPack - Mod pack that updated.
* @param {module:lib/data.ModPack} modPack - Mod pack that updated.
*/
async onModPackUpdated(modPack) { }
@@ -514,7 +514,7 @@ class BaseMasterPlugin {
*
* If a mod has been deleted its `.isDeleted` property will be true.
*
* @param {module:lib/data/ModInfo} mod - Mod that updated.
* @param {module:lib/data.ModInfo} mod - Mod that updated.
*/
async onModUpdated(mod) { }