diff --git a/source/api/actions/calendar_event_add.ts b/source/api/actions/calendar_event_add.ts index 434d062..df4c00e 100644 --- a/source/api/actions/calendar_event_add.ts +++ b/source/api/actions/calendar_event_add.ts @@ -42,6 +42,10 @@ namespace _zeitbild.api "type": "string", "nullable": true, }, + "link": { + "type": "string", + "nullable": true, + }, "description": { "type": "string", "nullable": true, diff --git a/source/api/actions/calendar_event_change.ts b/source/api/actions/calendar_event_change.ts index 4529021..42ec2d3 100644 --- a/source/api/actions/calendar_event_change.ts +++ b/source/api/actions/calendar_event_change.ts @@ -42,6 +42,10 @@ namespace _zeitbild.api "type": "string", "nullable": true, }, + "link": { + "type": "string", + "nullable": true, + }, "description": { "type": "string", "nullable": true, diff --git a/source/api/actions/calendar_event_get.ts b/source/api/actions/calendar_event_get.ts index 0cfbe94..34427a7 100644 --- a/source/api/actions/calendar_event_get.ts +++ b/source/api/actions/calendar_event_get.ts @@ -42,6 +42,10 @@ namespace _zeitbild.api "type": "string", "nullable": true, }, + "link": { + "type": "string", + "nullable": true, + }, "description": { "type": "string", "nullable": true, diff --git a/source/api/actions/events.ts b/source/api/actions/events.ts index 5e9ec64..49130b6 100644 --- a/source/api/actions/events.ts +++ b/source/api/actions/events.ts @@ -101,6 +101,10 @@ namespace _zeitbild.api "type": "string", "nullable": true, }, + "link": { + "type": "string", + "nullable": true, + }, "description": { "type": "string", "nullable": true, diff --git a/source/database.ts b/source/database.ts index 020d70d..057d925 100644 --- a/source/database.ts +++ b/source/database.ts @@ -5,7 +5,7 @@ namespace _zeitbild.database /** */ const _compatible_revisions : Array = [ - "r2", + "r3", ]; diff --git a/source/repositories/resource.ts b/source/repositories/resource.ts index 7b7ffe8..7a1b871 100644 --- a/source/repositories/resource.ts +++ b/source/repositories/resource.ts @@ -226,6 +226,7 @@ namespace _zeitbild.repository.resource encode_datetime(stuff.event.end) ), "location": stuff.event.location, + "link": stuff.event.link, "description": stuff.event.description, } } @@ -280,6 +281,7 @@ namespace _zeitbild.repository.resource decode_datetime(row["end"]) ), "location": row["location"], + "link": row["link"], "description": row["description"], } }; diff --git a/source/services/calendar.ts b/source/services/calendar.ts index b292755..d661e13 100644 --- a/source/services/calendar.ts +++ b/source/services/calendar.ts @@ -382,6 +382,13 @@ namespace _zeitbild.service.calendar : null ), + "link": ( + (vevent.url !== undefined) + ? + vevent.url + : + null + ), "description": ( (vevent.description !== undefined) ? diff --git a/source/types.ts b/source/types.ts index 91baee5..f827584 100644 --- a/source/types.ts +++ b/source/types.ts @@ -46,6 +46,11 @@ namespace _zeitbild | string ); + link : ( + null + | + string + ); description : ( null |