aboutsummaryrefslogtreecommitdiff
path: root/static/types.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-02 01:51:28 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-02 01:51:28 +0100
commit6c537f3f60aaac8ae850f8ecaefc2a0d04a8431e (patch)
tree48babe2596284dc2fb58b026428496581bee9d4b /static/types.ts
parentRemove jcal-tests.js (diff)
downloadcalp-6c537f3f60aaac8ae850f8ecaefc2a0d04a8431e.tar.gz
calp-6c537f3f60aaac8ae850f8ecaefc2a0d04a8431e.tar.xz
Add basic changelog view
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,
+}