rename and move typedefs, update typedefs alias

pull/26/head
dperolio 3 years ago
parent c8ae535e31
commit abfa7108ae
No known key found for this signature in database
GPG Key ID: 3E9BBAA710D3DDCE

@ -10,7 +10,7 @@
"@vizality/entities": [ "./core/entities" ],
"@vizality/builtins": [ "./core/builtins"],
"@vizality/modules": [ "./core/modules"],
"@vizality/typedefs": [ "./core/typedefs" ],
"@vizality/typedefs": [ "./core/Typedefs" ],
"moment": [ "./core/modules/packages/Moment" ],
"react": [ "./core/modules/packages/React" ],
"lodash": [ "./core/modules/packages/Lodash" ],

@ -41,7 +41,7 @@
"@vizality/src": "src",
"@vizality/modules": "src/core/modules",
"@vizality/builtins": "src/core/builtins",
"@vizality/typedefs": "src/core/typedefs",
"@vizality/typedefs": "src/core/Typedefs",
"@vizality/compilers": "src/core/compilers",
"@vizality/entities": "src/core/entities",
"@vizality/constants": "src/core/modules/constants",

@ -212,3 +212,7 @@
* @property {string} text Text to show in the label
* @property {string} color Color string in any format (without alpha)
*/
//==============================================================================
// APIs
//==============================================================================

@ -137,11 +137,11 @@ export default class Vizality extends Updatable {
/**
* Shuts down Vizality's APIs, builtins, plugins, and themes.
*/
async terminate () {
await this.manager.themes.terminate();
await this.manager.plugins.terminate();
await this.manager.builtins.terminate();
await this.manager.apis.terminate();
async stop () {
await this.manager.themes.stop();
await this.manager.plugins.stop();
await this.manager.builtins.stop();
await this.manager.apis.stop();
this._initialized = false;
}

Loading…
Cancel
Save