From 2b0d5d2a6db017f5eaeb88a4ec71a9590854e9c3 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 4 Dec 2020 01:29:05 +0300 Subject: feat: add type to event --- src/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/types.ts') diff --git a/src/types.ts b/src/types.ts index 941bbbb..e41223c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -9,13 +9,14 @@ export interface User extends Base { } export interface EventContext { + name: string; participants: string[]; conferenceId: string; attendanceId: string; } export interface Event extends Base { - name: string; + type: string; schedule: string; status?: 'running' | 'complete' | 'failed' | 'notStarted'; failReason?: string; -- cgit v1.2.3