mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

* chore: add inbox mapping to metadatawriter config * fix: correct inbox link rel * feat: make LinkTypeParser reuseable to fit all link headers * feat: minor code optimization * feat: cleaned up metadata parser config * feat: further cleanup of metadata parser config * feat: adapted LinkMetadataParser to take a list to be in line with LinkRelMetadataWriter implementation * feat: minor changes to be in line with other classes and code improvements Co-authored-by: Wouter Termont <woutermont@gmail.com>
21 lines
679 B
JSON
21 lines
679 B
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Converts link headers into RDF metadata.",
|
|
"@id": "urn:solid-server:default:LinkRelParser",
|
|
"@type": "LinkRelParser",
|
|
"linkRelMap": [
|
|
{
|
|
"LinkRelParser:_linkRelMap_key": "type",
|
|
"LinkRelParser:_linkRelMap_value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
|
},
|
|
{
|
|
"LinkRelParser:_linkRelMap_key": "http://www.w3.org/ns/ldp#inbox",
|
|
"LinkRelParser:_linkRelMap_value": "http://www.w3.org/ns/ldp#inbox"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|