From 4df11c193230f65c69919fa2731a737d05a372cb Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Sat, 2 Jan 2021 14:11:04 +0100 Subject: [PATCH] feat: Expose ContentTypes. --- src/index.ts | 1 + src/util/ContentTypes.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9d621fb69..327dafd24 100644 --- a/src/index.ts +++ b/src/index.ts @@ -191,6 +191,7 @@ export * from './util/locking/WrappedExpiringResourceLocker'; // Util export * from './util/AsyncHandler'; +export * from './util/ContentTypes'; export * from './util/HeaderUtil'; export * from './util/PathUtil'; export * from './util/QuadUtil'; diff --git a/src/util/ContentTypes.ts b/src/util/ContentTypes.ts index f4fdf0f48..ffd7c5c77 100644 --- a/src/util/ContentTypes.ts +++ b/src/util/ContentTypes.ts @@ -3,6 +3,6 @@ export const TEXT_TURTLE = 'text/turtle'; export const APPLICATION_OCTET_STREAM = 'application/octet-stream'; export const APPLICATION_SPARQL_UPDATE = 'application/sparql-update'; -// Internal (non-exposed) content types +// Internal content types (not exposed over HTTP) export const INTERNAL_ALL = 'internal/*'; export const INTERNAL_QUADS = 'internal/quads';