Class: Plugin

Plugin(o)

Plugin Class

Constructor

new Plugin(o)

Plugin constructor
Parameters:
Name Type Description
o
Source:

Methods

(async, static) find(where) → {Promise.<*>}

Find plugins
Parameters:
Name Type Description
where where object
Source:
Returns:
returns plugins list
Type
Promise.<*>

(async, static) findOne(where) → {Promise.<(Plugin|null|*)>}

Find one plugin
Parameters:
Name Type Description
where where object
Source:
Returns:
return existing plugin or new plugin
Type
Promise.<(Plugin|null|*)>

(async, static) store_by_name(name) → {Promise.<(null|Plugin)>}

Parameters:
Name Type Description
name
Source:
Returns:
Type
Promise.<(null|Plugin)>

(async, static) store_plugins_available() → {Promise.<*>}

List plugins availabe in store
Source:
Returns:
Type
Promise.<*>

(async, static) store_plugins_available_from_store() → {Promise.<*>}

Source:
Returns:
Type
Promise.<*>

(async) delete() → {Promise.<void>}

Delete plugin
Source:
Returns:
Type
Promise.<void>

(async) dependant_views()

List of views relay on this plugin
Source:
Returns:

(async) upgrade_version(requirePlugin) → {Promise.<void>}

Upgrade plugin version
Parameters:
Name Type Description
requirePlugin
Source:
Returns:
Type
Promise.<void>

(async) upsert() → {Promise.<void>}

Update or Insert plugin
Source:
Returns:
Type
Promise.<void>