import {Document} from 'idai-components-2'; import {CachedDatastore} from './cached/cached-datastore'; import {PouchdbDatastore} from './pouchdb/pouchdb-datastore'; import {DocumentCache} from './cached/document-cache'; import {CategoryConverter} from './cached/category-converter'; import {IndexFacade} from './index/index-facade'; /** * Data Access Object * * @author Daniel de Oliveira */ export class DocumentDatastore extends CachedDatastore { constructor(datastore: PouchdbDatastore, indexFacade: IndexFacade, documentCache: DocumentCache, documentConverter: CategoryConverter) { super(datastore, indexFacade, documentCache, documentConverter, 'Document'); } }