From 5cd004b662caabc4a084d625da798b1b64d8b5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 18 Nov 2021 21:41:01 +0100 Subject: Minor fixes. --- static/types.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'static/types.ts') diff --git a/static/types.ts b/static/types.ts index f371c72a..2c26308e 100644 --- a/static/types.ts +++ b/static/types.ts @@ -13,14 +13,15 @@ let all_types = [ 'integer', /* Number.type = 'integer' */ 'date-time', /* Date */ 'date', /* Date.dateonly = true */ - 'duration', - 'period', - 'utc-offset', + 'duration', /* TODO */ + 'period', /* TODO */ + 'utc-offset', /* TODO */ 'cal-address', 'recur', /* RRule */ 'boolean', /* boolean */ ] + type ical_type = 'text' | 'uri' @@ -147,6 +148,7 @@ let valid_input_types: Map = ['DUE', ['date', 'date-time']], ['DURATION', ['duration']], ['EXDATE', [['date', 'date-time']]], + ['EXRULE', []], /* deprecated */ ['FREEBUSY', [['period']]], ['GEO', ['float']], // pair of floats ['LAST-MODIFIED', ['date-time']], @@ -173,6 +175,7 @@ let valid_input_types: Map = ['TZOFFSETFROM', ['utc-offset']], ['TZOFFSETTO', ['utc-offset']], ['TZURL', ['uri']], + ['UID', ['text']], ['URL', ['uri']], ['VERSION', ['text']], ]) as Map -- cgit v1.2.3