feat: Expose ContentTypes.

This commit is contained in:
Ruben Verborgh 2021-01-02 14:11:04 +01:00
parent dfc1d4662f
commit 4df11c1932
2 changed files with 2 additions and 1 deletions

View File

@ -191,6 +191,7 @@ export * from './util/locking/WrappedExpiringResourceLocker';
// Util // Util
export * from './util/AsyncHandler'; export * from './util/AsyncHandler';
export * from './util/ContentTypes';
export * from './util/HeaderUtil'; export * from './util/HeaderUtil';
export * from './util/PathUtil'; export * from './util/PathUtil';
export * from './util/QuadUtil'; export * from './util/QuadUtil';

View File

@ -3,6 +3,6 @@ export const TEXT_TURTLE = 'text/turtle';
export const APPLICATION_OCTET_STREAM = 'application/octet-stream'; export const APPLICATION_OCTET_STREAM = 'application/octet-stream';
export const APPLICATION_SPARQL_UPDATE = 'application/sparql-update'; 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_ALL = 'internal/*';
export const INTERNAL_QUADS = 'internal/quads'; export const INTERNAL_QUADS = 'internal/quads';