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