0.0.7 • Published 6 years ago

poi-plugin-cloud-chinjufu v0.0.7

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

plugin-cloud-chinjufu

a cloud sync plugin for poi

simple usage

find ipc.access('cloud-chinjufu').ipc() or use window.cloudChinjufu

  • async getItem(key: string): object
    Get a cloud value
  • async setItem(key: string, value: object)
    Set a cloud value
  • async publish(type: string, message: object)
    Publish an event
  • retrieve(type: string , since: Date)
    Retrieve events happened offline, if no since is provided then retrieve since last exit
  • event: 'ready'
    Ready to use
  • event: 'reset'
    Not available anymore until next 'ready'
  • event: 'retrieveFinished'
    Can retrieve cloud events now
  • event: 'error'
    Error happened

Currently only supports onedrive. Will have more options and power in the future.

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago