aboutsummaryrefslogtreecommitdiff
path: root/static/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/types.ts')
-rw-r--r--static/types.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/static/types.ts b/static/types.ts
index 567b9a95..64e2c709 100644
--- a/static/types.ts
+++ b/static/types.ts
@@ -2,7 +2,8 @@ export {
ical_type,
valid_input_types,
JCalProperty, JCal,
- xcal, uid
+ xcal, uid,
+ ChangeLogEntry
}
let all_types = [
@@ -198,3 +199,10 @@ type JCalProperty
type JCal = [tagname, JCalProperty[], JCal[]]
const xcal = "urn:ietf:params:xml:ns:icalendar-2.0";
+
+interface ChangeLogEntry {
+ type: 'calendar' | 'property',
+ name: string,
+ from: string | null,
+ to: string | null,
+}