Item transformations

to transform items during sync a SyncPair can take a Transformation<A, B>.

This might only be usable with static types (e.g.: not loading from the config) but can be used to for:

  • contact.vcf->birthday.ics
  • contact.vcf<>contact-notes.md

This probably cannot be two-way.

Assigned to
1 year, 2 months ago
12 days ago
3: vstorage after-v1

~whynothugo 1 year, 2 months ago

Some notes on implementing a "calendar to freebusy" mapper:

  • read from one storage
  • make a list of all UIDs and save to a text file
  • copy all the entires:
  • depending on component type we act differently:
    • vtimezone -> unchanged
    • vevent -> some fields unchanged (e.g.: times), all others dropped summary field is just "BUSY"

~whynothugo 1 year, 1 month ago

JMAP<>ISC is quite different here: it is two-way, lossless, and deterministic.

Register here or Log in to comment, or comment via email.