diff --git a/modules/restricted-guests/element-web/src/RegisterDialog.tsx b/modules/restricted-guests/element-web/src/RegisterDialog.tsx index 47bc0f7e18..ec82a54631 100644 --- a/modules/restricted-guests/element-web/src/RegisterDialog.tsx +++ b/modules/restricted-guests/element-web/src/RegisterDialog.tsx @@ -11,7 +11,7 @@ import { Form } from "@vector-im/compound-web"; import { ModuleConfig } from "./config.ts"; -export interface RegisterDialogProps extends DialogProps { +interface RegisterDialogProps extends DialogProps { api: Api; config: ModuleConfig; } diff --git a/modules/restricted-guests/element-web/src/RoomPreviewBar.tsx b/modules/restricted-guests/element-web/src/RoomPreviewBar.tsx index e67c11ce1a..db303d95c8 100644 --- a/modules/restricted-guests/element-web/src/RoomPreviewBar.tsx +++ b/modules/restricted-guests/element-web/src/RoomPreviewBar.tsx @@ -14,7 +14,7 @@ import { useWatchable } from "@element-hq/element-web-module-api"; import { ModuleConfig } from "./config.ts"; import RegisterDialog from "./RegisterDialog.tsx"; -export interface RoomPreviewBarProps { +interface RoomPreviewBarProps { api: Api; config: ModuleConfig; children: JSX.Element; diff --git a/modules/restricted-guests/element-web/src/config.ts b/modules/restricted-guests/element-web/src/config.ts index c340068766..f5f03a3236 100644 --- a/modules/restricted-guests/element-web/src/config.ts +++ b/modules/restricted-guests/element-web/src/config.ts @@ -34,7 +34,7 @@ export const ModuleConfig = z.object({ export type ModuleConfig = z.infer; -export type ConfigSchema = ZodSchema, ZodTypeDef, z.input>; +type ConfigSchema = ZodSchema, ZodTypeDef, z.input>; export const CONFIG_KEY = "io.element.element-web-modules.restricted-guests";