diff --git a/frontend/src/semantic-search/collection.ts b/frontend/src/semantic-search/collection.ts new file mode 100644 index 00000000..560da775 --- /dev/null +++ b/frontend/src/semantic-search/collection.ts @@ -0,0 +1,13 @@ +import { extend } from 'lodash'; + +import { apiRoot } from 'config.json'; +import Collection from '../core/collection'; + +import SemanticQuery from './model'; + +export default class SemanticQueries extends Collection {} + +extend(SemanticQueries.prototype, { + url: `${apiRoot}query/`, + model: SemanticQuery, +});