mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Generates the Notification objects and caches them based on the topic.",
|
|
"@id": "urn:solid-server:default:BaseNotificationGenerator",
|
|
"@type": "CachedHandler",
|
|
"field": "topic",
|
|
"source": {
|
|
"@type": "StateNotificationGenerator",
|
|
"resourceSet": { "@id": "urn:solid-server:default:CachedResourceSet" },
|
|
"source": {
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{ "@type": "DeleteNotificationGenerator" },
|
|
{
|
|
"@type": "ActivityNotificationGenerator",
|
|
"store": {
|
|
"@id": "urn:solid-server:default:ResourceStore"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
{
|
|
"comment": "Serializes the notification objects.",
|
|
"@id": "urn:solid-server:default:BaseNotificationSerializer",
|
|
"@type": "ConvertingNotificationSerializer",
|
|
"converter": { "@id": "urn:solid-server:default:RepresentationConverter" },
|
|
"source": { "@type": "JsonLdNotificationSerializer" }
|
|
}
|
|
]
|
|
}
|