index.js 425 B

12345678910111213141516171819202122232425262728
  1. import {
  2. initialize,
  3. sync,
  4. getStates,
  5. authorize,
  6. revoke,
  7. setConfig,
  8. } from './base';
  9. import './dropbox';
  10. import './onedrive';
  11. import './googledrive';
  12. import './webdav';
  13. import { commands } from '../utils/message';
  14. Object.assign(commands, {
  15. SyncAuthorize: authorize,
  16. SyncRevoke: revoke,
  17. SyncStart: sync,
  18. SyncSetConfig: setConfig,
  19. });
  20. export {
  21. initialize,
  22. sync,
  23. getStates,
  24. authorize,
  25. revoke,
  26. };