mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-12 17:59:43 +00:00

* refactor: replace comlink with kkrpc * fix: import path in api pkg and btn styling in ui iframe page * fix: fixed fetch API from kkRPC migrate * refactor: replace comlink-stdio with kkrpc * update deno lock * bump @kksh/api * update API version * publish api pkg again to fix kkrpc version * update pnpm lock * dep: fix dependency problems * dep: update deno.lock * chore: remove 2 submodules they were added only for integration development * update pnpm lock * fix: test template path * format: with prettier * downgrade next version * ci: try to fix next build on windows * try to fix CI * Revert "try to fix CI" This reverts commit b9c63c392f50f1d2d3ceec406e49b1af2348c740. * upgrade tauri-api-adapter * try to fix next * remove templates from pnpm workspace * update CI test * publish @kksh/api with upgraded tauri-api-adapter to fix nextjs template
43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
/* -------------------------------------------------------------------------- */
|
|
/* API */
|
|
/* -------------------------------------------------------------------------- */
|
|
// export {
|
|
// clipboard,
|
|
// dialog,
|
|
// // event,
|
|
// network,
|
|
// fs,
|
|
// notification,
|
|
// os,
|
|
// shell,
|
|
// sysInfo,
|
|
// path,
|
|
// log,
|
|
// updownload,
|
|
// fetch
|
|
// } from "tauri-api-adapter"
|
|
export { constructJarvisServerAPIWithPermissions } from "./server"
|
|
// export { type IUiWorkerServer, type IUiIframeServer } from "./server/ui"
|
|
export * from "./client" // all client types
|
|
// export { expose, wrap } from "@huakunshen/comlink"
|
|
// export { getWorkerApiClient, exposeApiToWorker, exposeApiToWindow } from "tauri-api-adapter"
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* API Interfaces */
|
|
/* -------------------------------------------------------------------------- */
|
|
export type {
|
|
IClipboard,
|
|
IDialog,
|
|
ILogger,
|
|
INetwork,
|
|
INotification,
|
|
IOs,
|
|
IPath,
|
|
// IShell,
|
|
ISystemInfo,
|
|
IUpdownload,
|
|
IFetch
|
|
} from "tauri-api-adapter"
|
|
export type { ISystem, IToast, IUiWorker, IUiIframe, IDb, IFs, IOpen, IEvent } from "../ui/client"
|
|
export type { IShell } from "./api/shell"
|