mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 22:42:23 +08:00
Plugins: Add an auto-generated part to the plugin.json
schema (#86520)
feat: update the plugin.json schema
This commit is contained in:
@ -555,6 +555,35 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"generated": {
|
||||
"type": "object",
|
||||
"description": "Auto-generated metadata for the plugin (usually automatically extracted from the source code during build time).",
|
||||
"properties": {
|
||||
"extensions": {
|
||||
"type": "array",
|
||||
"description": "List of the extensions that the plugin registers.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"extensionPointId": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["link", "component"]
|
||||
}
|
||||
},
|
||||
"required": ["extensionPointId", "title", "description", "type"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user