mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Returns HTML pages if the URL matches and HTML is preferred.",
|
|
"@id": "urn:solid-server:default:HtmlViewHandler",
|
|
"@type": "HtmlViewHandler",
|
|
"index": { "@id": "urn:solid-server:default:IndexRoute" },
|
|
"templateEngine": {
|
|
"comment": "Renders the specific page and embeds it into the main HTML body.",
|
|
"@type": "ChainedTemplateEngine",
|
|
"renderedName": "htmlBody",
|
|
"engines": [
|
|
{
|
|
"comment": "Will be called with specific templates to generate HTML snippets.",
|
|
"@id": "urn:solid-server:default:TemplateEngine"
|
|
},
|
|
{ "@id": "urn:solid-server:default:MainTemplateEngine" }
|
|
]
|
|
},
|
|
"templates": []
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:ControlHandler",
|
|
"@type": "ControlHandler",
|
|
"controls": [
|
|
{
|
|
"ControlHandler:_controls_key": "html",
|
|
"ControlHandler:_controls_value": {
|
|
"comment": "Controls linking to HTML pages. These can be the same URLs as the JSON APIs, but can also be different.",
|
|
"@id": "urn:solid-server:default:HtmlControlHandler",
|
|
"@type": "ControlHandler",
|
|
"controls": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|