Delint
This commit is contained in:
@@ -10,9 +10,9 @@ import { AnimatePresence, motion } from "framer-motion";
|
|||||||
import * as Dialog from "@radix-ui/react-dialog";
|
import * as Dialog from "@radix-ui/react-dialog";
|
||||||
import styled, { useTheme } from "styled-components";
|
import styled, { useTheme } from "styled-components";
|
||||||
import { InlineSpinner } from "@vector-im/compound-web";
|
import { InlineSpinner } from "@vector-im/compound-web";
|
||||||
|
import { type Api } from "@element-hq/element-web-module-api";
|
||||||
|
|
||||||
import { StaticConfig } from "./config";
|
import { type StaticConfig } from "./config";
|
||||||
import type { Api } from "@element-hq/element-web-module-api";
|
|
||||||
import Logo from "./Logo.tsx";
|
import Logo from "./Logo.tsx";
|
||||||
import TriggerIcon from "./trigger.svg?react";
|
import TriggerIcon from "./trigger.svg?react";
|
||||||
|
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, useEffect, useState } from "react";
|
import { type FC, useEffect, useState } from "react";
|
||||||
|
import { type Api } from "@element-hq/element-web-module-api";
|
||||||
|
|
||||||
import type { Api } from "@element-hq/element-web-module-api";
|
import { type StaticConfig, type UniventionConfig } from "../config";
|
||||||
import { StaticConfig, UniventionConfig } from "../config";
|
|
||||||
import StaticMenu from "../Menu";
|
import StaticMenu from "../Menu";
|
||||||
import { fetchNavigation } from "./navigation";
|
import { fetchNavigation } from "./navigation";
|
||||||
import SilentLogin from "./SilentLogin";
|
import SilentLogin from "./SilentLogin";
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, useEffect } from "react";
|
import { type FC, useEffect } from "react";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
|
|
||||||
const HiddenIFrame = styled.iframe`
|
const HiddenIFrame = styled.iframe`
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
|
|
||||||
import { z } from "zod/mini";
|
import { z } from "zod/mini";
|
||||||
|
|
||||||
import { StaticConfig } from "../config";
|
import { type StaticConfig } from "../config";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Univention Central Navigation API
|
* Univention Central Navigation API
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { z, ZodMiniType, input } from "zod/mini";
|
import { z, type ZodMiniType, type input } from "zod/mini";
|
||||||
|
|
||||||
import { Theme } from "./theme.ts";
|
import { Theme } from "./theme.ts";
|
||||||
|
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, useState, type JSX, FormEvent } from "react";
|
import { type FC, useState, type JSX, type FormEvent } from "react";
|
||||||
import { type Api, type AccountAuthInfo, type DialogProps } from "@element-hq/element-web-module-api";
|
import { type Api, type AccountAuthInfo, type DialogProps } from "@element-hq/element-web-module-api";
|
||||||
import { Form } from "@vector-im/compound-web";
|
import { Form } from "@vector-im/compound-web";
|
||||||
|
|
||||||
import { ModuleConfig } from "./config.ts";
|
import { type ModuleConfig } from "./config.ts";
|
||||||
|
|
||||||
interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
|
interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
|
||||||
api: Api;
|
api: Api;
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, type JSX } from "react";
|
import { type FC, type JSX } from "react";
|
||||||
import { Button } from "@vector-im/compound-web";
|
import { Button } from "@vector-im/compound-web";
|
||||||
import { type Api } from "@element-hq/element-web-module-api";
|
import { type Api } from "@element-hq/element-web-module-api";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import { useWatchable } from "@element-hq/element-web-module-api";
|
import { useWatchable } from "@element-hq/element-web-module-api";
|
||||||
|
|
||||||
import { ModuleConfig } from "./config.ts";
|
import { type ModuleConfig } from "./config.ts";
|
||||||
import RegisterDialog from "./RegisterDialog.tsx";
|
import RegisterDialog from "./RegisterDialog.tsx";
|
||||||
|
|
||||||
interface RoomPreviewBarProps {
|
interface RoomPreviewBarProps {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { z, ZodMiniType, input } from "zod/mini";
|
import { z, type ZodMiniType, type input } from "zod/mini";
|
||||||
|
|
||||||
z.config(z.locales.en());
|
z.config(z.locales.en());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user