/
index.ts
48 lines (44 loc) · 1.1 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
/**
* The Tauri API allows you to interface with the backend layer.
*
* This module exposes all other modules as an object where the key is the module name, and the value is the module exports.
* @example
* ```typescript
* import { app, dialog, event, fs, globalShortcut } from '@tauri-apps/api'
* ```
* @module
*/
import * as app from './app'
import * as dialog from './dialog'
import * as event from './event'
import * as globalShortcut from './globalShortcut'
import * as http from './http'
import * as notification from './notification'
import * as path from './path'
import * as process from './process'
import * as shell from './shell'
import * as tauri from './tauri'
import * as updater from './updater'
import * as window from './window'
import * as os from './os'
/** @ignore */
const invoke = tauri.invoke
export {
invoke,
app,
dialog,
event,
globalShortcut,
http,
notification,
path,
process,
shell,
tauri,
updater,
window,
os
}