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

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Contains all features of acl auxiliary resources (suffix, etc.).",
|
|
"@id": "urn:solid-server:default:AclStrategy",
|
|
"@type": "ComposedAuxiliaryStrategy",
|
|
"identifierStrategy": { "@id": "urn:solid-server:default:AclIdentifierStrategy" },
|
|
"validator": {
|
|
"@type": "RdfValidator",
|
|
"converter": { "@id": "urn:solid-server:default:RepresentationConverter" }
|
|
},
|
|
"ownAuthorization": true,
|
|
"requiredInRoot": true
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:AclIdentifierStrategy",
|
|
"@type": "SuffixAuxiliaryIdentifierStrategy",
|
|
"suffix": ".acl"
|
|
},
|
|
{
|
|
"comment": "Creates the Link header for the acl resources.",
|
|
"@id": "urn:solid-server:default:MetadataWriter_LinkRelAcl",
|
|
"@type": "AuxiliaryLinkMetadataWriter",
|
|
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
|
|
"specificStrategy": { "@id": "urn:solid-server:default:AclStrategy" },
|
|
"relationType": "acl"
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:MetadataWriter",
|
|
"@type": "ParallelHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:default:MetadataWriter_LinkRelAcl" }
|
|
]
|
|
}
|
|
]
|
|
}
|