Skip to content

Commit

Permalink
Types Bundler: Add package (#1092)
Browse files Browse the repository at this point in the history
Co-authored-by: Levente Balogh <[email protected]>
Co-authored-by: Erik Sundell <[email protected]>
  • Loading branch information
3 people authored Sep 25, 2024
1 parent 35d8175 commit eb8ecc6
Show file tree
Hide file tree
Showing 11 changed files with 1,578 additions and 199 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,4 @@ In this example, use `getTemplateSrv().getVariables()` to list all configured va
You can also split the interpolated string based on a predictable delimiter. Feel free to adapt these snippets based on what makes sense to you.
:::
:::
2 changes: 1 addition & 1 deletion docusaurus/docs/reference/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The `plugin.json` file is required for all plugins. When Grafana starts, it scan
| `logs` | boolean | No | For data source plugins, if the plugin supports logs. It may be used to filter logs only features. |
| `metrics` | boolean | No | For data source plugins, if the plugin supports metric queries. Used to enable the plugin in the panel editor. |
| `multiValueFilterOperators` | boolean | No | For data source plugins, if the plugin supports multi value operators in adhoc filters. |
| `preload` | boolean | No | Initialize plugin on startup. By default, the plugin initializes on first use, but when preload is set to true the plugin loads when the Grafana web app loads the first time. Only applicable to app plugins. When setting to `true`, implement [frontend code splitting](../get-started/best-practices.md#app-plugins) to minimise performance implications. |
| `preload` | boolean | No | Initialize plugin on startup. By default, the plugin initializes on first use, but when preload is set to true the plugin loads when the Grafana web app loads the first time. Only applicable to app plugins. When setting to `true`, implement [frontend code splitting](../get-started/best-practices.md#app-plugins) to minimise performance implications. |
| `queryOptions` | [object](#queryoptions) | No | For data source plugins. There is a query options section in the plugin's query editor and these options can be turned on if needed. |
| `roles` | [object](#roles)[] | No | List of RBAC roles and their default assignments. |
| `routes` | [object](#routes)[] | No | For data source plugins. Proxy routes used for plugin authentication and adding headers to HTTP requests made by the plugin. For more information, refer to [Authentication for data source plugins](../how-to-guides/data-source-plugins/add-authentication-for-data-source-plugins). |
Expand Down
Loading

0 comments on commit eb8ecc6

Please sign in to comment.