index.ts 782 B

1234567891011121314151617181920212223242526
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. /**
  5. * The Tauri API allows you to interface with the backend layer.
  6. *
  7. * This module exposes all other modules as an object where the key is the module name, and the value is the module exports.
  8. * @example
  9. * ```typescript
  10. * import { app, dialog, event, fs, globalShortcut } from '@tauri-apps/api'
  11. * ```
  12. * @module
  13. */
  14. import * as event from './event'
  15. import * as path from './path'
  16. import * as process from './process'
  17. import * as tauri from './tauri'
  18. import * as updater from './updater'
  19. import * as window from './window'
  20. /** @ignore */
  21. const invoke = tauri.invoke
  22. export { invoke, event, path, process, tauri, updater, window }