From 5e4aa8e9aba34bb101923685c23f0f6681a12812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Dec 2021 23:29:06 +0100 Subject: Add documenttation for javascript rewrite. --- doc/ref/javascript/types.texi | 63 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) (limited to 'doc/ref/javascript/types.texi') diff --git a/doc/ref/javascript/types.texi b/doc/ref/javascript/types.texi index 73a58550..b9e6dbbf 100644 --- a/doc/ref/javascript/types.texi +++ b/doc/ref/javascript/types.texi @@ -10,12 +10,16 @@ Name of all valid icalendar types. period, utc-offset, cal-address, recur, boolean, @end defvar +@deftp {Data Type} ical_type +The union of all elements in @var{all_types}. +@end deftp + @defvar property_names All known names properties (top level keys) can have. Such as ``calscale'', ``dtstart'', ... @end defvar -@defvar valid_fields +@deftypevar {Map} valid_fields Which property fields each component can hold. @verbatim @@ -23,9 +27,9 @@ Which property fields each component can hold. ... } @end verbatim -@end defvar +@end deftypevar -@defvar valid_input_types +@deftypevar {Map>} valid_input_types Which types are valid to store under each property. If multiple values are an option for that property, then the list of possibilities will contain a sub-list (see example). @@ -36,4 +40,57 @@ the list of possibilities will contain a sub-list (see example). ... } @end verbatim +@end deftypevar + +@deftp {Data Type} tagname +Alias of (@code{'vevent'} | @code{'string'}). +@end deftp + +@deftp {Data Type} uid +Alias of @code{'string'}. +@end deftp + +@c TODO link to the RFC +@c - RFC 7265 (jCal) + +@deftp {Data Type} JCalProperty +Alias for a record consisting of +@itemize @bullet +@item the name of the type, as a string +@item All parameters of the object, as a @code{Record