move api folder to core (#5539)
* move api folder to core * fix incorrect import path mock in test setup * fix import in zai.ts * fix additional import errors
This commit is contained in:
1 parent
f676f2be78
commit
803574e7f3
86 files changed
+248
-222
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import { buildApiHandler } from "@core/api"
|
||||
import * as vscode from "vscode"
|
||||
import { readStateFromDisk } from "@/core/storage/utils/state-helpers"
|
||||
import { HostProvider } from "@/hosts/host-provider"
|
||||
import { ShowMessageType } from "@/shared/proto/host/window"
|
||||
import { buildApiHandler } from "@/api"
|
||||
import { readStateFromDisk } from "@/core/storage/utils/state-helpers"
|
||||
import { getWorkingState } from "@/utils/git"
|
||||
import { getCwd } from "@/utils/path"
|
||||
|
||||
@@ -14,7 +14,7 @@ export const GitCommitGenerator = {
|
||||
abort,
|
||||
}
|
||||
|
||||
let commitGenerationAbortController: AbortController | undefined = undefined
|
||||
let commitGenerationAbortController: AbortController | undefined
|
||||
|
||||
async function generate(context: vscode.ExtensionContext, scm?: vscode.SourceControl) {
|
||||
const cwd = await getCwd()
|
||||
|
||||
Reference in new issue
Block a user