qodalis-cli-server-plugin-data-explorer-mongo 1.0.0b35__tar.gz → 1.0.0b36__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,5 +46,5 @@ node_modules/
46
46
  # Portal site copied into the package at build time (scripts/copy_portal.py)
47
47
  plugins/portal/qodalis_cli_portal/site/
48
48
 
49
- # Dashboard plugins installed from the marketplace (admin plugin, default dir)
49
+ # Console plugins installed from the marketplace (admin plugin, default dir) and the rest of the data directory
50
50
  qcli-data/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: qodalis-cli-server-plugin-data-explorer-mongo
3
- Version: 1.0.0b35
3
+ Version: 1.0.0b36
4
4
  Summary: MongoDB Data Explorer provider plugin for Qodalis CLI servers
5
5
  Project-URL: Homepage, https://github.com/qodalis-solutions/cli-server-python
6
6
  Project-URL: Repository, https://github.com/qodalis-solutions/cli-server-python
@@ -84,9 +84,9 @@ db.orders.aggregate([{"$group": {"_id": "$status", "count": {"$sum": 1}}}])
84
84
  None of its own: the provider is queried through the [data explorer plugin](../data-explorer/README.md#terminal-commands)
85
85
  (`data-explorer` in the web CLI).
86
86
 
87
- ## Install from the dashboard
87
+ ## Install from the Console
88
88
 
89
- Installable at runtime from the server marketplace (the dashboard's Plugins → Marketplace, or
89
+ Installable at runtime from the server marketplace (the Console's Plugins → Marketplace, or
90
90
  `admin plugins install data-explorer-mongo`; it loads at the next start), or in code through the same entry, its options the
91
91
  defaults of the settings below (a saved setting overrides them):
92
92
 
@@ -61,9 +61,9 @@ db.orders.aggregate([{"$group": {"_id": "$status", "count": {"$sum": 1}}}])
61
61
  None of its own: the provider is queried through the [data explorer plugin](../data-explorer/README.md#terminal-commands)
62
62
  (`data-explorer` in the web CLI).
63
63
 
64
- ## Install from the dashboard
64
+ ## Install from the Console
65
65
 
66
- Installable at runtime from the server marketplace (the dashboard's Plugins → Marketplace, or
66
+ Installable at runtime from the server marketplace (the Console's Plugins → Marketplace, or
67
67
  `admin plugins install data-explorer-mongo`; it loads at the next start), or in code through the same entry, its options the
68
68
  defaults of the settings below (a saved setting overrides them):
69
69
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "qodalis-cli-server-plugin-data-explorer-mongo"
7
- version = "1.0.0b35"
7
+ version = "1.0.0b36"
8
8
  description = "MongoDB Data Explorer provider plugin for Qodalis CLI servers"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  """Qodalis CLI Data Explorer MongoDB plugin — MongoDB provider."""
2
2
 
3
- #: The package's icon on the admin dashboard's plugins page (``CliInstalledPlugin.icon``).
3
+ #: The package's icon on the Qodalis Console's plugins page (``CliInstalledPlugin.icon``).
4
4
  __plugin_icon__ = "🍃"
5
5
 
6
6
  from .mongo_provider import MongoDataExplorerProvider
@@ -1,5 +1,5 @@
1
1
  """The MongoDB data explorer source's entry point (``qodalis_cli.plugins``): one source of the data explorer
2
- (``/api/qcli/data-explorer``, the dashboard's Data explorer page, the ``data_*`` MCP tools), its connection as settings
2
+ (``/api/qcli/data-explorer``, the Console's Data explorer page, the ``data_*`` MCP tools), its connection as settings
3
3
  (a ``secret``: kept server-side, never returned). Read-only by default. Nothing is added until it is configured
4
4
  (then a restart): until then the plugin needs configuration."""
5
5
 
@@ -17,8 +17,12 @@ from qodalis_cli_server_abstractions.data_explorer_source_entry import (
17
17
  )
18
18
  from qodalis_cli_server_abstractions.data_explorer_types import DataExplorerLanguage, DataExplorerOutputFormat
19
19
 
20
- #: The plugin, for ``builder.add_plugin`` (the marketplace's record says it for an installed copy).
21
- plugin = CliPluginEntryInfo(id="data-explorer-mongo", package="qodalis-cli-server-plugin-data-explorer-mongo", title="Data explorer: MongoDB", icon="🍃")
20
+ #: The plugin, for ``builder.add_plugin`` (the marketplace's record says it for an installed copy). The data explorer's
21
+ #: own plugin is optional (a source works without it; with it, its rules apply): loaded first when present.
22
+ plugin = CliPluginEntryInfo(
23
+ id="data-explorer-mongo", package="qodalis-cli-server-plugin-data-explorer-mongo", title="Data explorer: MongoDB", icon="🍃",
24
+ optional={"data-explorer": "*"},
25
+ )
22
26
 
23
27
  #: Loads after the data explorer's own entry.
24
28
  order = CLI_PLUGIN_LOAD_ORDER.SOURCE