From cde60eca829707c630875c74ea501d74cbddb296 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Fri, 9 May 2025 13:00:11 +0200 Subject: [PATCH] webcomponent: change enums from const to regular export for WebComponentCommand and WebComponentEvent --- frontend/webcomponent/src/models/command.model.ts | 2 +- frontend/webcomponent/src/models/event.model.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/webcomponent/src/models/command.model.ts b/frontend/webcomponent/src/models/command.model.ts index 9019a8b..b4393f0 100644 --- a/frontend/webcomponent/src/models/command.model.ts +++ b/frontend/webcomponent/src/models/command.model.ts @@ -1,7 +1,7 @@ /** * All available commands that can be sent to the WebComponent. */ -export const enum WebComponentCommand { +export enum WebComponentCommand { /** * Initializes the WebComponent with the given configuration. * @private diff --git a/frontend/webcomponent/src/models/event.model.ts b/frontend/webcomponent/src/models/event.model.ts index 72ffb15..7b724d5 100644 --- a/frontend/webcomponent/src/models/event.model.ts +++ b/frontend/webcomponent/src/models/event.model.ts @@ -2,7 +2,7 @@ * All available events that can be emitted by the WebComponent. * @category Communication */ -export const enum WebComponentEvent { +export enum WebComponentEvent { /** * Event emitted when the local participant joins the room. */