According to https://www.kanzaki.com/docs/ical/class.html the VEVENT block of an ICS file can have a single CLASS attribute representing the 'Classification' of the VEVENT (eg, public, private, confidential).
I believe this would be fairly straightforward to implement, eg, create a property classification on the attributes object in formatEvent, add
According to https://www.kanzaki.com/docs/ical/class.html the VEVENT block of an ICS file can have a single CLASS attribute representing the 'Classification' of the VEVENT (eg, public, private, confidential).
I believe this would be fairly straightforward to implement, eg, create a property
classification
on theattributes
object informatEvent
, addwhen building the ICS string, and add a Typescript property (either string or
PUBLIC | PRIVATE | CONFIDENTIAL
).It should be enough that this test should pass:
There could be more checks like there is only one instance of CLASS inside a VEVENT block but the above should suffice.