Make knip happy
This commit is contained in:
@@ -11,7 +11,7 @@ import { Form } from "@vector-im/compound-web";
|
||||
|
||||
import { ModuleConfig } from "./config.ts";
|
||||
|
||||
export interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
|
||||
interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
|
||||
api: Api;
|
||||
config: ModuleConfig;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -34,7 +34,7 @@ export const ModuleConfig = z.object({
|
||||
|
||||
export type ModuleConfig = z.infer<typeof ModuleConfig>;
|
||||
|
||||
export type ConfigSchema = ZodSchema<z.output<typeof ModuleConfig>, ZodTypeDef, z.input<typeof ModuleConfig>>;
|
||||
type ConfigSchema = ZodSchema<z.output<typeof ModuleConfig>, ZodTypeDef, z.input<typeof ModuleConfig>>;
|
||||
|
||||
export const CONFIG_KEY = "io.element.element-web-modules.restricted-guests";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user