mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Extensions: Expose an enum for available placements (#64586)
* feat: expose an enum type for extension placements * fix: export the enum properly
This commit is contained in:
@@ -61,4 +61,5 @@ export {
|
||||
isPluginExtensionCommand,
|
||||
assertPluginExtensionCommand,
|
||||
PluginExtensionTypes,
|
||||
PluginExtensionPlacements,
|
||||
} from './pluginExtensions';
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
* These types are exposed when rendering extension points
|
||||
*/
|
||||
|
||||
export enum PluginExtensionPlacements {
|
||||
DashboardPanelMenu = 'grafana/dashboard/panel/menu',
|
||||
}
|
||||
|
||||
export enum PluginExtensionTypes {
|
||||
link = 'link',
|
||||
command = 'command',
|
||||
|
||||
Reference in New Issue
Block a user