mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Update the plugin.json
schema with UI extensions meta-data (#88288)
* feat: change the `generated` property * refactor: update the schema description for the "extensions" field
This commit is contained in:
parent
4761326568
commit
f77f47ff00
@ -556,33 +556,27 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"generated": {
|
"extensions": {
|
||||||
"type": "object",
|
"type": "array",
|
||||||
"description": "Auto-generated metadata for the plugin (usually automatically extracted from the source code during build time).",
|
"description": "The list of extensions that the plugin registers under other extension points.",
|
||||||
"properties": {
|
"items": {
|
||||||
"extensions": {
|
"type": "object",
|
||||||
"type": "array",
|
"properties": {
|
||||||
"description": "List of the extensions that the plugin registers.",
|
"extensionPointId": {
|
||||||
"items": {
|
"type": "string"
|
||||||
"type": "object",
|
},
|
||||||
"properties": {
|
"title": {
|
||||||
"extensionPointId": {
|
"type": "string"
|
||||||
"type": "string"
|
},
|
||||||
},
|
"description": {
|
||||||
"title": {
|
"type": "string"
|
||||||
"type": "string"
|
},
|
||||||
},
|
"type": {
|
||||||
"description": {
|
"type": "string",
|
||||||
"type": "string"
|
"enum": ["link", "component"]
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["link", "component"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["extensionPointId", "title", "description", "type"]
|
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["extensionPointId", "title", "type"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
|
Loading…
Reference in New Issue
Block a user