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:
This probably cannot be two-way.
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"
JMAP<>ISC is quite different here: it is two-way, lossless, and deterministic.