Skip to content

Commit

Permalink
refactor: move api package's API server files
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Jan 6, 2025
1 parent 8575f93 commit 86736b9
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 47 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export {
isVersionBetween,
isCompatible
} from "./version"
export { constructExtensionSupportDir } from "./ui/server/path"
export { constructExtensionSupportDir } from "./api/server/path"
export { constructJarvisServerAPIWithPermissions } from "./api/server"
export * from "./constants"
export { TauriShellStdio } from "./api/shell"
2 changes: 1 addition & 1 deletion packages/api/src/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// updownload,
// fetch
// } from "tauri-api-adapter"
export { constructJarvisServerAPIWithPermissions } from "./server"
export { constructJarvisServerAPIWithPermissions } from "../api/server"
// export { type IUiWorkerServer, type IUiIframeServer } from "./server/ui"
export * from "../api/client" // all client types
// export { expose, wrap } from "@huakunshen/comlink"
Expand Down
9 changes: 0 additions & 9 deletions packages/api/src/ui/server/__tests__/fs.test.ts

This file was deleted.

36 changes: 0 additions & 36 deletions packages/api/src/ui/server/__tests__/shell.test.ts

This file was deleted.

0 comments on commit 86736b9

Please sign in to comment.