index.js 1.5 KB

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