Skip to content

Commit

Permalink
Export interfaces and types
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Aug 30, 2024
1 parent 82c7152 commit 77975ce
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/tauri-api-adapter/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/tauri-api-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tauri-api-adapter",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",
"devDependencies": {
"@types/bun": "latest",
Expand Down
19 changes: 19 additions & 0 deletions packages/tauri-api-adapter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,22 @@ export { constructUpdownloadApi } from './api/server/updownload'
export { constructNetworkApi } from './api/server/network'
export { constructOsApi } from './api/server/os'
export { constructServerAPIWithPermissions } from './api/server'

export type { IShellServer, IEventServer } from './api/server/types'
export type {
IUpdownload,
ILogger,
IPath,
IEventInternal,
IEvent,
IDialog,
IClipboard,
INotification,
IFs,
IOs,
IShellInternal,
IShell,
IFetchInternal,
ISystemInfo,
INetwork
} from './api/client/types'

0 comments on commit 77975ce

Please sign in to comment.