mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 23:18:21 +00:00
Tidyup
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2025 New Vector Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE files in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
import type { JSX } from "react";
|
import type { JSX } from "react";
|
||||||
import type { MatrixEvent } from "matrix-js-sdk";
|
import type { MatrixEvent } from "matrix-js-sdk";
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { LegacyModuleApiExtension } from "./legacy-modules";
|
|||||||
import { LegacyCustomisationsApiExtension } from "./legacy-customisations";
|
import { LegacyCustomisationsApiExtension } from "./legacy-customisations";
|
||||||
import { ConfigApi } from "./config";
|
import { ConfigApi } from "./config";
|
||||||
import { I18nApi } from "./i18n";
|
import { I18nApi } from "./i18n";
|
||||||
import { CustomComponentsApi, CustomComponentTarget } from "./custom-components";
|
import { CustomComponentsApi } from "./custom-components";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module interface for modules to implement.
|
* Module interface for modules to implement.
|
||||||
@@ -88,6 +88,10 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
|
|||||||
*/
|
*/
|
||||||
readonly rootNode: HTMLElement;
|
readonly rootNode: HTMLElement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The custom components API.
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
readonly customComponents: CustomComponentsApi;
|
readonly customComponents: CustomComponentsApi;
|
||||||
/**
|
/**
|
||||||
* Create a ReactDOM root for rendering React components.
|
* Create a ReactDOM root for rendering React components.
|
||||||
|
|||||||
Reference in New Issue
Block a user