mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-07-08 17:11:31 +00:00
API Docs Update (#47)
* bump: valibot to ^1.0.0-beta.10 * refactor: re-export some API interfaces in root index.ts
This commit is contained in:
parent
f48484f476
commit
01bc0ea932
@ -30,7 +30,7 @@
|
||||
"debug": "^4.3.6",
|
||||
"fs-extra": "^11.2.0",
|
||||
"inquirer": "^10.1.2",
|
||||
"valibot": "^1.0.0-beta.8"
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -27,7 +27,7 @@
|
||||
"commander": "^12.1.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"handlebars": "^4.7.8",
|
||||
"valibot": "^1.0.0-beta.8"
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -31,18 +31,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
"@types/lodash": "^4.17.13",
|
||||
"@types/lodash": "^4.17.14",
|
||||
"@types/madge": "^5.0.3",
|
||||
"@types/node": "^22.10.2",
|
||||
"@types/node": "^22.10.5",
|
||||
"@types/semver": "^7.5.8",
|
||||
"fs-extra": "^11.2.0",
|
||||
"madge": "^8.0.0",
|
||||
"typedoc": "^0.27.5",
|
||||
"typedoc": "^0.27.6",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.1.1",
|
||||
"@tauri-apps/cli": "^2.1.0",
|
||||
"@tauri-apps/api": "^2.2.0",
|
||||
"@tauri-apps/cli": "^2.2.2",
|
||||
"@tauri-apps/plugin-deep-link": "^2.2.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.2.0",
|
||||
"@tauri-apps/plugin-fs": "^2.2.0",
|
||||
@ -66,7 +66,7 @@
|
||||
"tauri-plugin-network-api": "2.0.5",
|
||||
"tauri-plugin-shellx-api": "^2.0.14",
|
||||
"tauri-plugin-system-info-api": "2.0.8",
|
||||
"valibot": "^1.0.0-beta.8"
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
|
@ -8,4 +8,16 @@ export { constructExtensionSupportDir } from "./api/server/path"
|
||||
export { constructJarvisServerAPIWithPermissions } from "./api/server"
|
||||
export * from "./constants"
|
||||
export { TauriShellStdio } from "./api/shell"
|
||||
export type {
|
||||
IClipboard,
|
||||
IDialog,
|
||||
ILogger,
|
||||
INetwork,
|
||||
INotification,
|
||||
IOs,
|
||||
IPath,
|
||||
ISystemInfo,
|
||||
IUpdownload,
|
||||
IFetch
|
||||
} from "tauri-api-adapter"
|
||||
export * from "./api/client"
|
||||
|
@ -1,26 +1,7 @@
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* API */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
// export {
|
||||
// clipboard,
|
||||
// dialog,
|
||||
// // event,
|
||||
// network,
|
||||
// fs,
|
||||
// notification,
|
||||
// os,
|
||||
// shell,
|
||||
// sysInfo,
|
||||
// path,
|
||||
// log,
|
||||
// updownload,
|
||||
// fetch
|
||||
// } from "tauri-api-adapter"
|
||||
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"
|
||||
// export { getWorkerApiClient, exposeApiToWorker, exposeApiToWindow } from "tauri-api-adapter"
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* API Interfaces */
|
||||
@ -33,11 +14,10 @@ export type {
|
||||
INotification,
|
||||
IOs,
|
||||
IPath,
|
||||
// IShell,
|
||||
ISystemInfo,
|
||||
IUpdownload,
|
||||
IFetch
|
||||
} from "tauri-api-adapter"
|
||||
export type { ISystem, IToast, IUiIframe, IDb, IKV, IFs, IOpen, IEvent } from "../api/client"
|
||||
export * from "../api/client" // all client types
|
||||
export type { IUiWorker } from "./worker"
|
||||
export type { IShell } from "../api/shell"
|
||||
|
@ -24,6 +24,6 @@
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.583.0",
|
||||
"@kksh/api": "workspace:*",
|
||||
"valibot": "^1.0.0-beta.9"
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
442
pnpm-lock.yaml
generated
442
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
2
vendors/tauri-plugin-network
vendored
2
vendors/tauri-plugin-network
vendored
@ -1 +1 @@
|
||||
Subproject commit 6c6314d41093eb36af6c4c375f07048ef73aa36f
|
||||
Subproject commit d7e55fbe23ddd2bd947c1d0a46c34edb2698e00c
|
2
vendors/tauri-plugin-system-info
vendored
2
vendors/tauri-plugin-system-info
vendored
@ -1 +1 @@
|
||||
Subproject commit 990320d9068b832c6291bccb1e252cf7175bd4a6
|
||||
Subproject commit ab47fa355ba5c6088abd2d173efb742062202a8a
|
Loading…
x
Reference in New Issue
Block a user