|
106 | 106 | "type": "string", |
107 | 107 | "format": "uri", |
108 | 108 | "description": "URL value to use for this specific link." |
| 109 | + }, |
| 110 | + "target": { |
| 111 | + "type": "string", |
| 112 | + "description": "A string that indicates where to display the linked resource", |
| 113 | + "enum": ["_blank", "_self", "_parent", "_top"] |
109 | 114 | } |
110 | 115 | } |
111 | 116 | } |
|
499 | 504 | }, |
500 | 505 | "state": { |
501 | 506 | "type": "string", |
502 | | - "description": "Marks a plugin as a pre-release.", |
503 | | - "enum": ["alpha", "beta"] |
| 507 | + "description": "Describes plugins life cycle status", |
| 508 | + "enum": ["alpha", "beta", "stable", "deprecated"] |
504 | 509 | }, |
505 | 510 | "streaming": { |
506 | 511 | "type": "boolean", |
|
588 | 593 | "properties": { |
589 | 594 | "addedComponents": { |
590 | 595 | "type": "array", |
591 | | - "description": "This list must contain all component extensions that your plugin registers to other extension points using [`.addComponent()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions#addcomponent). **Components that are not listed here won't work.**", |
| 596 | + "description": "This list must contain all component extensions that your plugin registers to other extension points using [`.addComponent()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#addcomponent). **Components that are not listed here won't work.**", |
592 | 597 | "items": { |
593 | 598 | "type": "object", |
594 | 599 | "properties": { |
|
614 | 619 | }, |
615 | 620 | "addedLinks": { |
616 | 621 | "type": "array", |
617 | | - "description": "This list must contain all link extensions that your plugin registers to other extension points using [`.addLink()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions#addlink). **Links that are not listed here won't work.**", |
| 622 | + "description": "This list must contain all link extensions that your plugin registers to other extension points using [`.addLink()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#addlink). **Links that are not listed here won't work.**", |
618 | 623 | "items": { |
619 | 624 | "type": "object", |
620 | 625 | "properties": { |
|
638 | 643 | "required": ["targets", "title"] |
639 | 644 | } |
640 | 645 | }, |
| 646 | + "addedFunctions": { |
| 647 | + "type": "array", |
| 648 | + "description": "This list must contain all function extensions that your plugin registers to other extension points using [`.addedFunctions()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#addfunction). **Functions that are not listed here won't work.**", |
| 649 | + "items": { |
| 650 | + "type": "object", |
| 651 | + "properties": { |
| 652 | + "targets": { |
| 653 | + "type": "array", |
| 654 | + "description": "The extension point ids your plugin registers the extension to, e.g. `[\"grafana/dashboard/panel/menu\"]`", |
| 655 | + "items": { |
| 656 | + "type": "string" |
| 657 | + } |
| 658 | + }, |
| 659 | + "title": { |
| 660 | + "type": "string", |
| 661 | + "description": "The title of your function extension.", |
| 662 | + "minLength": 10 |
| 663 | + }, |
| 664 | + "description": { |
| 665 | + "type": "string", |
| 666 | + "description": "Additional information about your function extension." |
| 667 | + } |
| 668 | + }, |
| 669 | + "required": ["targets", "title"] |
| 670 | + } |
| 671 | + }, |
641 | 672 | "exposedComponents": { |
642 | 673 | "type": "array", |
643 | | - "description": "This list must contain all components that your plugin exposes using [`.exposeComponent()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions#exposecomponent). **Components that are not listed here won't work.**", |
| 674 | + "description": "This list must contain all components that your plugin exposes using [`.exposeComponent()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#exposecomponent). **Components that are not listed here won't work.**", |
644 | 675 | "items": { |
645 | 676 | "type": "object", |
646 | 677 | "properties": { |
|
663 | 694 | }, |
664 | 695 | "extensionPoints": { |
665 | 696 | "type": "array", |
666 | | - "description": "This list must contain all extension points that your plugin defines using [`usePluginLinks()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions#usepluginlinks) or [`usePluginComponents()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions#useplugincomponents). **Extension points that are not listed in here won't work.**", |
| 697 | + "description": "This list must contain all extension points that your plugin defines using [`usePluginLinks()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#usepluginlinks) or [`usePluginComponents()`](https://grafana.com/developers/plugin-tools/reference/ui-extensions-reference/ui-extensions#useplugincomponents). **Extension points that are not listed in here won't work.**", |
667 | 698 | "items": { |
668 | 699 | "type": "object", |
669 | 700 | "properties": { |
|
0 commit comments