feat: add workspaceItems contribution point + openProviders to contributions schema
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
{ "id": "status.bar.items", "description": "Status bar items", "type": "item", "status": "draft" },
|
||||
{ "id": "importers", "description": "Data import providers", "type": "provider", "status": "draft" },
|
||||
{ "id": "exporters", "description": "Data export providers", "type": "provider", "status": "draft" },
|
||||
{ "id": "protocol.receivers", "description": "Custom protocol message receivers", "type": "provider", "status": "draft" }
|
||||
{ "id": "protocol.receivers", "description": "Custom protocol message receivers", "type": "provider", "status": "draft" },
|
||||
{ "id": "openProviders", "description": "Editor/viewer open providers for workbench resource routing", "type": "provider", "status": "draft" },
|
||||
{ "id": "workspaceItems", "description": "Workspace tool items shown in workspace host area", "type": "view", "status": "draft" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -237,6 +237,12 @@
|
||||
"items": {
|
||||
"$ref": "#/$defs/ContributionOpenProvider"
|
||||
}
|
||||
},
|
||||
"workspaceItems": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/ContributionWorkspaceItem"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -406,6 +412,16 @@
|
||||
}
|
||||
},
|
||||
"required": ["id", "title", "component", "supports"]
|
||||
},
|
||||
"ContributionWorkspaceItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"icon": { "type": "string" },
|
||||
"component": { "type": "string" }
|
||||
},
|
||||
"required": ["id", "title", "component"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user