Plugins: Add an auto-generated part to the plugin.json schema (#86520)

feat: update the plugin.json schema
This commit is contained in:
Levente Balogh
2024-04-29 11:04:03 +02:00
committed by GitHub
parent a4bb4c8400
commit e89f6daeda

View File

@ -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"]
}
}
}
}
}
}