feat: Implement resource mapper for the file resource store (#142)

* move file mapping logic to resourcemapper

* make filestore dependent of resource mapper

* set default contenttype

* refactor fileresourcemapper

* fix map function

* refactor

* add normalized parser

* refactor unit test

* fix metadata problem

* refactor names

* reverse change

* add getters

* add comments

* add comments, move code

* change text/turtle to constant

* add changes

* add requested changes

* add more requested changes

* add more requested changes

* more changes
This commit is contained in:
Freya
2020-09-11 17:08:53 +02:00
committed by GitHub
parent e9983d5837
commit 383da24601
8 changed files with 219 additions and 113 deletions

View File

@@ -1,5 +1,6 @@
// Well-known content types
export const TEXT_TURTLE = 'text/turtle';
export const APPLICATION_OCTET_STREAM = 'application/octet-stream';
// Internal (non-exposed) content types
export const INTERNAL_QUADS = 'internal/quads';