get_store_items = async () => {
  const installed_plugins = await Plugin.find({});
  const isRoot = db.getTenantSchema() === db.connectObj.default_schema;
  const tenants_unsafe_plugins = getRootState().getConfig(
    "tenants_unsafe_plugins",
    false
  );
  const instore = await Plugin.store_plugins_available();
  const packs_available = await fetch_available_packs();
  const packs_installed = getState().getConfig("installed_packs", []);
  const schema = db.getTenantSchema();
  const installed_plugin_names = installed_plugins.map((p) => p.name);
  const store_plugin_names = instore.map((p) => p.name);
  const plugins_item = instore
    .map((plugin) => ({
      name: plugin.name,
      installed: installed_plugin_names.includes(plugin.name),
      plugin: true,
      description: plugin.description,
      documentation_link: plugin.documentation_link,
      has_theme: plugin.has_theme,
      has_auth: plugin.has_auth,
      unsafe: plugin.unsafe,
      source: plugin.source,
      ready_for_mobile:
        plugin.ready_for_mobile && plugin.ready_for_mobile(plugin.name),
    }))
    .filter((p) => !p.unsafe || isRoot || tenants_unsafe_plugins);
  const local_logins = installed_plugins
    .filter((p) => !store_plugin_names.includes(p.name) && p.name !== "base")
    .map((plugin) => ({
      name: plugin.name,
      installed: true,
      plugin: true,
      description: plugin.description,
      has_theme: local_has_theme(plugin.name),
      github: plugin.source === "github",
      git: plugin.source === "git",
      local: plugin.source === "local",
      ready_for_mobile:
        plugin.ready_for_mobile && plugin.ready_for_mobile(plugin.name),
    }));

  const pack_items = packs_available.map((pack) => ({
    name: pack.name,
    installed: packs_installed.includes(pack.name),
    pack: true,
    description: pack.description,
  }));

  return [...plugins_item, ...local_logins, ...pack_items].sort((a, b) =>
    a.name.toLowerCase() > b.name.toLowerCase() ? 1 : -1
  );
}
Get Pluging store itmes
@returns {Promise<Object[]>}