OptionalconfigurationOptionalcontentsOptionaldeploy_OptionaldescriptionOptionaldocumentation_Optionalhas_Optionalhas_OptionalidOptionalunsafeOptionalversionStaticlocal_Staticlocal_Delete plugin
List of views relay on this plugin
Update or Insert plugin
StaticensureCheck the saltcorn engine property and change the plugin version if necessary
plugin to validate; plugin.version may be mutated
OptionalforceFetch: booleanbypass the engine-info cache when checking versions
StaticfindFind plugins
Optionalwhere: Wherewhere object
Optionalselectopts: SelectOptionsreturns plugins list
StaticfindStaticget_StaticgetReturn cached engine constraint metadata for a plugin, fetching from npm if needed
plugin whose npm location is queried
OptionalforceFetch: booleanbypass the cache and re-fetch from npm
map of { version: { engines?: { saltcorn: string } } }
Staticis_check if plugin is base-plugin or sbadmin2
StaticloadLoad all plugins from the database into state
Optionalforce: booleanpassed through to loadPlugin for each plugin
force fresh module loads for each plugin
StaticloadLoad plugin and its dependencies and save into local installation
plugin to install
Optionalforce: booleanforce reinstall; retries after removing the install dir on failure
OptionalnoSignalOrDB: booleanskip database upsert and processSend signal (e.g. during restore)
i18n translation function for user-facing messages
OptionalallowUnsafeOnTenantsWithoutConfigSetting: booleanallow unsafe plugins on tenants without the global config flag
OptionaloverwriteDependencies: Record<string, string>substitute local paths for dependencies; testing only
warning/info messages collected during install, or undefined if skipped
StaticloadLoad one plugin and register in state (without DB save)
plugin to load
Optionalforce: booleanremove the install directory and retry on registration failure
OptionalforceFetch: booleanbypass the engine-info cache when resolving versions
force a fresh module load even if already cached
PluginInstaller result ({ plugin_module, location, … })
Staticread_StaticrequireInstall plugin without registering in state or saving to database
plugin to install
Optionalforce: booleanforce reinstall even if already present
PluginInstaller result ({ plugin_module, location, version, … })
Staticstore_Optionalendpoint: stringStaticstore_List plugins available in store
Optionalmsgs: string[]optional packages/plugins-loader/plugin_installer.jsmessages array
Staticstore_Optionalendpoint: string
Plugin Class