@solid/community-server
Version:
Community Solid Server: an open and modular implementation of the Solid specifications
56 lines • 5.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PREFERRED_PREFIX_TERM = exports.PREFERRED_PREFIX = exports.CONTENT_TYPE_TERM = exports.CONTENT_TYPE = exports.CONTENT_LENGTH_TERM = exports.CONTENT_LENGTH = exports.XSD = exports.VCARD = exports.VANN = exports.SOLID_META = exports.SOLID_HTTP = exports.SOLID_ERROR_TERM = exports.SOLID_ERROR = exports.SOLID_AS = exports.SOLID = exports.RDFS = exports.RDF = exports.POSIX = exports.PIM = exports.OIDC = exports.NOTIFY = exports.MA = exports.LDP = exports.JSON_LD = exports.IANA = exports.HTTP = exports.HH = exports.FOAF = exports.DC = exports.AUTH = exports.AS = void 0;
const rdf_vocabulary_1 = require("rdf-vocabulary");
exports.AS = (0, rdf_vocabulary_1.createVocabulary)('https://www.w3.org/ns/activitystreams#', 'object', 'target', 'Add', 'Create', 'Delete', 'Remove', 'Update');
exports.AUTH = (0, rdf_vocabulary_1.createVocabulary)('urn:solid:auth:', 'userMode', 'publicMode');
exports.DC = (0, rdf_vocabulary_1.createVocabulary)('http://purl.org/dc/terms/', 'description', 'modified', 'title');
exports.FOAF = (0, rdf_vocabulary_1.createVocabulary)('http://xmlns.com/foaf/0.1/', 'Agent');
exports.HH = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/2011/http-headers#', 'content-length', 'etag');
exports.HTTP = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/2011/http#', 'statusCodeNumber');
exports.IANA = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/iana/media-types/');
exports.JSON_LD = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/json-ld#', 'context');
exports.LDP = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/ldp#', 'contains', 'BasicContainer', 'Container', 'Resource');
exports.MA = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/ma-ont#', 'format');
exports.NOTIFY = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/solid/notifications#', 'accept', 'channelType', 'endAt', 'feature', 'rate', 'receiveFrom', 'startAt', 'state', 'sender', 'sendTo', 'subscription', 'topic', 'webhookAuth', 'WebhookChannel2023', 'WebSocketChannel2023', 'StreamingHTTPChannel2023');
exports.OIDC = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/solid/oidc#', 'redirect_uris');
exports.PIM = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/pim/space#', 'Storage');
exports.POSIX = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/posix/stat#', 'mtime', 'size');
exports.RDF = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'type');
exports.RDFS = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/2000/01/rdf-schema#', 'label');
exports.SOLID = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/ns/solid/terms#', 'deletes', 'inserts', 'oidcIssuer', 'oidcIssuerRegistrationToken', 'oidcRegistration', 'storageDescription', 'where', 'InsertDeletePatch');
exports.SOLID_AS = (0, rdf_vocabulary_1.createVocabulary)('urn:npm:solid:community-server:activity:', 'activity');
exports.SOLID_ERROR = (0, rdf_vocabulary_1.createVocabulary)('urn:npm:solid:community-server:error:', 'disallowedMethod',
// Boolean value used to indicate that no response body should be returned for this error
'emptyBody', 'errorCode', 'errorResponse', 'stack', 'target');
// Used to pass parameters to error templates
exports.SOLID_ERROR_TERM = (0, rdf_vocabulary_1.createVocabulary)('urn:npm:solid:community-server:error-term:',
// Identifier of the resource responsible for the error
'path');
exports.SOLID_HTTP = (0, rdf_vocabulary_1.createVocabulary)('urn:npm:solid:community-server:http:', 'accountCookie',
// When the above cookie expires, expects an ISO date string
'accountCookieExpiration',
// Unit, start, and end are used for range headers
'end', 'location', 'start', 'slug', 'unit');
exports.SOLID_META = (0, rdf_vocabulary_1.createVocabulary)('urn:npm:solid:community-server:meta:',
// This identifier is used as graph for all metadata that is generated on the fly and should not be stored
'ResponseMetadata',
// This is used to identify templates that can be used for the representation of a resource
'template',
// This is used to store Content-Type Parameters
'contentTypeParameter', 'value',
// This is used to indicate whether metadata should be preserved or not during a PUT operation
'preserve',
// These predicates are used to describe the requested access in case of an unauthorized request
'requestedAccess', 'accessTarget', 'accessMode');
exports.VANN = (0, rdf_vocabulary_1.createVocabulary)('http://purl.org/vocab/vann/', 'preferredNamespacePrefix');
exports.VCARD = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/2006/vcard/ns#', 'hasMember');
exports.XSD = (0, rdf_vocabulary_1.createVocabulary)('http://www.w3.org/2001/XMLSchema#', 'dateTime', 'duration', 'integer', 'string');
// Alias for commonly used types
exports.CONTENT_LENGTH = exports.HH['content-length'];
exports.CONTENT_LENGTH_TERM = exports.HH.terms['content-length'];
exports.CONTENT_TYPE = exports.MA.format;
exports.CONTENT_TYPE_TERM = exports.MA.terms.format;
exports.PREFERRED_PREFIX = exports.VANN.preferredNamespacePrefix;
exports.PREFERRED_PREFIX_TERM = exports.VANN.terms.preferredNamespacePrefix;
//# sourceMappingURL=Vocabularies.js.map