mirror of
https://github.com/apache/superset.git
synced 2026-04-10 20:06:13 +00:00
1.6 KiB
1.6 KiB
title, sidebar_position
| title | sidebar_position |
|---|---|
| Extension Metadata | 4 |
Extension Metadata
The extension.json file contains all metadata necessary for the host application to understand and manage the extension:
{
"name": "dataset_references",
"version": "1.0.0",
"frontend": {
"contributions": {
"views": {
"sqllab.panels": [
{
"id": "dataset_references.main",
"name": "Dataset references"
}
]
}
},
"moduleFederation": {
"exposes": ["./index"]
}
},
"backend": {
"entryPoints": ["dataset_references.entrypoint"],
"files": ["backend/src/dataset_references/**/*.py"]
},
}
The contributions section declares how the extension extends Superset's functionality through views, commands, menus, and other contribution types. The backend section specifies entry points and files to include in the bundle.