From 7fe59f67f5fab11ade3a08e4a5f46de324c88eab Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sun, 7 Feb 2021 14:42:27 +0100 Subject: [PATCH] Updated definitions for API --- src/flaschengeist.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/flaschengeist.d.ts b/src/flaschengeist.d.ts index 4a40367..4ac035a 100644 --- a/src/flaschengeist.d.ts +++ b/src/flaschengeist.d.ts @@ -15,6 +15,7 @@ declare namespace FG { mail: string; birthday?: Date; roles: Array; + permissions?: list; avatar_url?: string; } type Permission = string; @@ -36,8 +37,9 @@ declare namespace FG { interface Event { id: number; start: Date; + end: Date; description?: string; - type?: EventType; + type: EventType; jobs: Array; } interface EventType {