Commit 02a7859d authored by Anton's avatar Anton

Add documents to store

parent e104ce96
......@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Resource 'documents' available in the store
### Fixed
- Perform date related queries to MongoDB with properly formatted timezones (see: [#106](https://gitlab.rlp.net/motionbank/systems-frontend/issues/106))
......
......@@ -15,7 +15,8 @@ import Vuex from 'vuex'
import {
Annotation,
Map
Map,
Document
} from 'mbjs-data-models/src/models'
Vue.use(Vuex)
......@@ -45,6 +46,7 @@ const store = new Vuex.Store({
mosysGridEditorStore,
annotations: makeResourceModule(apiClient, Annotation, 'annotation'),
maps: makeResourceModule(apiClient, Map, 'map'),
documents: makeResourceModule(apiClient, Document, 'document'),
profiles: makeResourceModule(apiClient, undefined, 'profile'),
sessions: makeResourceModule(apiClient, undefined, 'session'),
// metadata: makeResourceModule(apiClient, undefined, 'metadata', 'metadata', process.env.TRANSCODER_HOST),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment