code quality fixes

This commit is contained in:
simon987 2023-05-18 14:26:49 -04:00
parent 944c224904
commit 72293d26f2
3 changed files with 3 additions and 10 deletions

View File

@ -103,13 +103,13 @@ class Sist2Api {
private readonly baseUrl: string
private sist2Info: any
private queryfunc: Function;
private queryfunc: () => EsResult;
constructor(baseUrl: string) {
this.baseUrl = baseUrl;
}
init(queryFunc: Function) {
init(queryFunc: () => EsResult) {
this.queryfunc = queryFunc;
}

View File

@ -60,13 +60,6 @@ const SORT_MODES = {
}
} as any;
interface SortMode {
text: string
mode: any[]
key: (hit: EsHit) => any
}
class Sist2ElasticsearchQuery {
searchQuery(blankSearch: boolean = false): any {

View File

@ -1,7 +1,7 @@
import Vue from "vue"
import Vuex from "vuex"
import VueRouter, {Route} from "vue-router";
import {EsHit, EsResult, EsTag, Index, Tag} from "@/Sist2Api";
import {EsHit, EsResult, EsTag, Index} from "@/Sist2Api";
import {deserializeMimes, randomSeed, serializeMimes} from "@/util";
import {getInstance} from "@/plugins/auth0.js";