chore: move dioc out of monorepo

This commit is contained in:
Andrew Bastin
2023-12-12 15:39:10 +05:30
parent a55f214102
commit 957641fb0f
21 changed files with 23 additions and 1528 deletions

View File

@@ -50,7 +50,7 @@
"axios": "^1.6.2",
"buffer": "^6.0.3",
"cookie-es": "^1.0.0",
"dioc": "workspace:^",
"dioc": "^1.0.1",
"esprima": "^4.0.1",
"events": "^3.3.0",
"fp-ts": "^2.16.1",
@@ -164,4 +164,4 @@
"vitest": "^0.34.6",
"vue-tsc": "^1.8.22"
}
}
}

View File

@@ -8,7 +8,6 @@ import {
} from ".."
import { Service } from "dioc"
import { useService } from "dioc/vue"
import MiniSearch from "minisearch"
import IconCheckCircle from "~/components/app/spotlight/entry/IconSelected.vue"
import { InterceptorService } from "~/services/interceptor.service"
@@ -30,6 +29,7 @@ export class InterceptorSpotlightSearcherService
public searcherSectionTitle = this.t("settings.interceptor")
private readonly spotlight = this.bind(SpotlightService)
private interceptorService = this.bind(InterceptorService)
constructor() {
super()
@@ -37,8 +37,6 @@ export class InterceptorSpotlightSearcherService
this.spotlight.registerSearcher(this)
}
private interceptorService = useService(InterceptorService)
createSearchSession(
query: Readonly<Ref<string>>
): [Ref<SpotlightSearcherSessionState>, () => void] {