summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
commit953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch)
tree8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces
parent62a9199846b0c07c03218703b33e8385764f42d9 (diff)
downloadpluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip
Updated 30 files and deleted 2976 files (automated)
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces')
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts17
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js48
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts42
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js74
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts34
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts10
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts26
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js30
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts10
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts19
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts10
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts3
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts50
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts10
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js30
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts15
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts9
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts7
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js32
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts55
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js28
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts13
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts17
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts22
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts26
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts13
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts32
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts34
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts15
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts29
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts16
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts14
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts31
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts22
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts13
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts49
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js62
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js40
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts11
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts5
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js30
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts6
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js30
68 files changed, 0 insertions, 1214 deletions
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts
deleted file mode 100644
index 1234c5b..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export declare enum MatrixApiVersion {
- Prerelease1 = "0.0.1",
- Prerelease2 = "0.0.2"
-}
-export declare enum UnstableApiVersion {
- MSC2762 = "org.matrix.msc2762",
- MSC2871 = "org.matrix.msc2871",
- MSC2931 = "org.matrix.msc2931",
- MSC2974 = "org.matrix.msc2974",
- MSC2876 = "org.matrix.msc2876",
- MSC3819 = "org.matrix.msc3819",
- MSC3846 = "town.robin.msc3846",
- MSC3869 = "org.matrix.msc3869",
- MSC3973 = "org.matrix.msc3973"
-}
-export declare type ApiVersion = MatrixApiVersion | UnstableApiVersion | string;
-export declare const CurrentApiVersions: ApiVersion[];
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js
deleted file mode 100644
index 2454c0a..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js
+++ /dev/null
@@ -1,48 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.UnstableApiVersion = exports.MatrixApiVersion = exports.CurrentApiVersions = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var MatrixApiVersion;
-exports.MatrixApiVersion = MatrixApiVersion;
-
-(function (MatrixApiVersion) {
- MatrixApiVersion["Prerelease1"] = "0.0.1";
- MatrixApiVersion["Prerelease2"] = "0.0.2";
-})(MatrixApiVersion || (exports.MatrixApiVersion = MatrixApiVersion = {}));
-
-var UnstableApiVersion;
-exports.UnstableApiVersion = UnstableApiVersion;
-
-(function (UnstableApiVersion) {
- UnstableApiVersion["MSC2762"] = "org.matrix.msc2762";
- UnstableApiVersion["MSC2871"] = "org.matrix.msc2871";
- UnstableApiVersion["MSC2931"] = "org.matrix.msc2931";
- UnstableApiVersion["MSC2974"] = "org.matrix.msc2974";
- UnstableApiVersion["MSC2876"] = "org.matrix.msc2876";
- UnstableApiVersion["MSC3819"] = "org.matrix.msc3819";
- UnstableApiVersion["MSC3846"] = "town.robin.msc3846";
- UnstableApiVersion["MSC3869"] = "org.matrix.msc3869";
- UnstableApiVersion["MSC3973"] = "org.matrix.msc3973";
-})(UnstableApiVersion || (exports.UnstableApiVersion = UnstableApiVersion = {}));
-
-var CurrentApiVersions = [MatrixApiVersion.Prerelease1, MatrixApiVersion.Prerelease2, //MatrixApiVersion.V010,
-UnstableApiVersion.MSC2762, UnstableApiVersion.MSC2871, UnstableApiVersion.MSC2931, UnstableApiVersion.MSC2974, UnstableApiVersion.MSC2876, UnstableApiVersion.MSC3819, UnstableApiVersion.MSC3846, UnstableApiVersion.MSC3869, UnstableApiVersion.MSC3973];
-exports.CurrentApiVersions = CurrentApiVersions; \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts
deleted file mode 100644
index 941e359..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import { Symbols } from "../Symbols";
-export declare enum MatrixCapabilities {
- Screenshots = "m.capability.screenshot",
- StickerSending = "m.sticker",
- AlwaysOnScreen = "m.always_on_screen",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- * Ask Element to not give the option to move the widget into a separate tab.
- */
- RequiresClient = "io.element.requires_client",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC2931Navigate = "org.matrix.msc2931.navigate",
- MSC3846TurnServers = "town.robin.msc3846.turn_servers",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC3973UserDirectorySearch = "org.matrix.msc3973.user_directory_search"
-}
-export declare type Capability = MatrixCapabilities | string;
-export declare const StickerpickerCapabilities: Capability[];
-export declare const VideoConferenceCapabilities: Capability[];
-/**
- * Determines if a capability is a capability for a timeline.
- * @param {Capability} capability The capability to test.
- * @returns {boolean} True if a timeline capability, false otherwise.
- */
-export declare function isTimelineCapability(capability: Capability): boolean;
-/**
- * Determines if a capability is a timeline capability for the given room.
- * @param {Capability} capability The capability to test.
- * @param {string | Symbols.AnyRoom} roomId The room ID, or `Symbols.AnyRoom` for that designation.
- * @returns {boolean} True if a matching capability, false otherwise.
- */
-export declare function isTimelineCapabilityFor(capability: Capability, roomId: string | Symbols.AnyRoom): boolean;
-/**
- * Gets the room ID described by a timeline capability.
- * @param {string} capability The capability to parse.
- * @returns {string} The room ID.
- */
-export declare function getTimelineRoomIDFromCapability(capability: Capability): string;
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js
deleted file mode 100644
index 110b91a..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.VideoConferenceCapabilities = exports.StickerpickerCapabilities = exports.MatrixCapabilities = void 0;
-exports.getTimelineRoomIDFromCapability = getTimelineRoomIDFromCapability;
-exports.isTimelineCapability = isTimelineCapability;
-exports.isTimelineCapabilityFor = isTimelineCapabilityFor;
-
-/*
- * Copyright 2020 - 2021 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var MatrixCapabilities;
-exports.MatrixCapabilities = MatrixCapabilities;
-
-(function (MatrixCapabilities) {
- MatrixCapabilities["Screenshots"] = "m.capability.screenshot";
- MatrixCapabilities["StickerSending"] = "m.sticker";
- MatrixCapabilities["AlwaysOnScreen"] = "m.always_on_screen";
- MatrixCapabilities["RequiresClient"] = "io.element.requires_client";
- MatrixCapabilities["MSC2931Navigate"] = "org.matrix.msc2931.navigate";
- MatrixCapabilities["MSC3846TurnServers"] = "town.robin.msc3846.turn_servers";
- MatrixCapabilities["MSC3973UserDirectorySearch"] = "org.matrix.msc3973.user_directory_search";
-})(MatrixCapabilities || (exports.MatrixCapabilities = MatrixCapabilities = {}));
-
-var StickerpickerCapabilities = [MatrixCapabilities.StickerSending];
-exports.StickerpickerCapabilities = StickerpickerCapabilities;
-var VideoConferenceCapabilities = [MatrixCapabilities.AlwaysOnScreen];
-/**
- * Determines if a capability is a capability for a timeline.
- * @param {Capability} capability The capability to test.
- * @returns {boolean} True if a timeline capability, false otherwise.
- */
-
-exports.VideoConferenceCapabilities = VideoConferenceCapabilities;
-
-function isTimelineCapability(capability) {
- // TODO: Change when MSC2762 becomes stable.
- return capability === null || capability === void 0 ? void 0 : capability.startsWith("org.matrix.msc2762.timeline:");
-}
-/**
- * Determines if a capability is a timeline capability for the given room.
- * @param {Capability} capability The capability to test.
- * @param {string | Symbols.AnyRoom} roomId The room ID, or `Symbols.AnyRoom` for that designation.
- * @returns {boolean} True if a matching capability, false otherwise.
- */
-
-
-function isTimelineCapabilityFor(capability, roomId) {
- return capability === "org.matrix.msc2762.timeline:".concat(roomId);
-}
-/**
- * Gets the room ID described by a timeline capability.
- * @param {string} capability The capability to parse.
- * @returns {string} The room ID.
- */
-
-
-function getTimelineRoomIDFromCapability(capability) {
- return capability.substring(capability.indexOf(":") + 1);
-} \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts
deleted file mode 100644
index c8fb957..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { Capability } from "./Capabilities";
-import { IWidgetApiAcknowledgeResponseData, IWidgetApiResponseData } from "./IWidgetApiResponse";
-export interface ICapabilitiesActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.Capabilities;
- data: IWidgetApiRequestEmptyData;
-}
-export interface ICapabilitiesActionResponseData extends IWidgetApiResponseData {
- capabilities: Capability[];
-}
-export interface ICapabilitiesActionResponse extends ICapabilitiesActionRequest {
- response: ICapabilitiesActionResponseData;
-}
-export interface INotifyCapabilitiesActionRequestData extends IWidgetApiRequestData {
- requested: Capability[];
- approved: Capability[];
-}
-export interface INotifyCapabilitiesActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.NotifyCapabilities;
- data: INotifyCapabilitiesActionRequestData;
-}
-export interface INotifyCapabilitiesActionResponse extends INotifyCapabilitiesActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IRenegotiateCapabilitiesActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.MSC2974RenegotiateCapabilities;
- data: IRenegotiateCapabilitiesRequestData;
-}
-export interface IRenegotiateCapabilitiesRequestData extends IWidgetApiResponseData {
- capabilities: Capability[];
-}
-export interface IRenegotiateCapabilitiesActionResponse extends IRenegotiateCapabilitiesActionRequest {
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts
deleted file mode 100644
index 65a768c..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
-export interface IContentLoadedActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.ContentLoaded;
- data: IWidgetApiRequestEmptyData;
-}
-export interface IContentLoadedActionResponse extends IContentLoadedActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts
deleted file mode 100644
index 0b090f9..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-export declare enum OpenIDRequestState {
- Allowed = "allowed",
- Blocked = "blocked",
- PendingUserConfirmation = "request"
-}
-export interface IOpenIDCredentials {
- access_token?: string;
- expires_in?: number;
- matrix_server_name?: string;
- token_type?: "Bearer" | string;
-}
-export interface IGetOpenIDActionRequestData extends IWidgetApiRequestData {
-}
-export interface IGetOpenIDActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.GetOpenIDCredentials;
- data: IGetOpenIDActionRequestData;
-}
-export interface IGetOpenIDActionResponseData extends IWidgetApiResponseData, IOpenIDCredentials {
- state: OpenIDRequestState;
-}
-export interface IGetOpenIDActionResponse extends IGetOpenIDActionRequest {
- response: IGetOpenIDActionResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js
deleted file mode 100644
index 4a38dfa..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.OpenIDRequestState = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var OpenIDRequestState;
-exports.OpenIDRequestState = OpenIDRequestState;
-
-(function (OpenIDRequestState) {
- OpenIDRequestState["Allowed"] = "allowed";
- OpenIDRequestState["Blocked"] = "blocked";
- OpenIDRequestState["PendingUserConfirmation"] = "request";
-})(OpenIDRequestState || (exports.OpenIDRequestState = OpenIDRequestState = {})); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts
deleted file mode 100644
index 862ab54..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { IWidgetData } from "./IWidget";
-/**
- * Widget data for m.custom specifically.
- */
-export interface ICustomWidgetData extends IWidgetData {
- /**
- * The URL for the widget if the templated URL is not exactly what will be loaded.
- */
- url?: string;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts
deleted file mode 100644
index 695b322..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { IWidgetData } from "./IWidget";
-/**
- * Widget data for m.jitsi widgets.
- */
-export interface IJitsiWidgetData extends IWidgetData {
- /**
- * The domain where the Jitsi Meet conference is being held.
- */
- domain: string;
- /**
- * The conference ID (also known as the room name) where the conference is being held.
- */
- conferenceId: string;
- /**
- * Optional. True to indicate that the conference should be without video, false
- * otherwise (default).
- */
- isAudioOnly?: boolean;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts
deleted file mode 100644
index 15b258c..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export interface IRoomEvent {
- type: string;
- sender: string;
- event_id: string;
- room_id: string;
- state_key?: string;
- origin_server_ts: number;
- content: unknown;
- unsigned: unknown;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts
deleted file mode 100644
index 5188bab..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { IWidgetData } from "./IWidget";
-export interface IStickerpickerWidgetData extends IWidgetData {
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts
deleted file mode 100644
index fbc3d90..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { WidgetType } from "./WidgetType";
-/**
- * Widget data.
- */
-export interface IWidgetData {
- /**
- * Optional title for the widget.
- */
- title?: string;
- /**
- * Custom keys for inclusion in the template URL.
- */
- [key: string]: unknown;
-}
-/**
- * Common properties of a widget.
- * https://matrix.org/docs/spec/widgets/latest#widgetcommonproperties-schema
- */
-export interface IWidget {
- /**
- * The ID of the widget.
- */
- id: string;
- /**
- * The user ID who originally created the widget.
- */
- creatorUserId: string;
- /**
- * Optional name for the widget.
- */
- name?: string;
- /**
- * The type of widget.
- */
- type: WidgetType;
- /**
- * The URL for the widget, with template variables.
- */
- url: string;
- /**
- * Optional flag to indicate whether or not the client should initiate communication
- * right after the iframe loads (default, true) or when the widget indicates it is
- * ready (false).
- */
- waitForIframeLoad?: boolean;
- /**
- * Data for the widget.
- */
- data?: IWidgetData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidget.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts
deleted file mode 100644
index af8105f..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { IWidgetApiResponse, IWidgetApiResponseData } from "./IWidgetApiResponse";
-export interface IWidgetApiErrorResponseData extends IWidgetApiResponseData {
- error: {
- message: string;
- };
-}
-export interface IWidgetApiErrorResponse extends IWidgetApiResponse {
- response: IWidgetApiErrorResponseData;
-}
-export declare function isErrorResponse(responseData: IWidgetApiResponseData): boolean;
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js
deleted file mode 100644
index e20ea22..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.isErrorResponse = isErrorResponse;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-function isErrorResponse(responseData) {
- if ("error" in responseData) {
- var err = responseData;
- return !!err.error.message;
- }
-
- return false;
-} \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts
deleted file mode 100644
index 1e43391..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { WidgetApiDirection } from "./WidgetApiDirection";
-import { WidgetApiAction } from "./WidgetApiAction";
-export interface IWidgetApiRequestData {
- [key: string]: unknown;
-}
-export interface IWidgetApiRequestEmptyData extends IWidgetApiRequestData {
-}
-export interface IWidgetApiRequest {
- api: WidgetApiDirection;
- requestId: string;
- action: WidgetApiAction;
- widgetId: string;
- data: IWidgetApiRequestData;
- visible?: any;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts
deleted file mode 100644
index df28eac..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { IWidgetApiRequest } from "./IWidgetApiRequest";
-export interface IWidgetApiResponseData {
- [key: string]: unknown;
-}
-export interface IWidgetApiAcknowledgeResponseData extends IWidgetApiResponseData {
-}
-export interface IWidgetApiResponse extends IWidgetApiRequest {
- response: IWidgetApiResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts
deleted file mode 100644
index 71c9feb..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare enum ModalButtonKind {
- Primary = "m.primary",
- Secondary = "m.secondary",
- Warning = "m.warning",
- Danger = "m.danger",
- Link = "m.link"
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js
deleted file mode 100644
index 25d3b66..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.ModalButtonKind = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var ModalButtonKind;
-exports.ModalButtonKind = ModalButtonKind;
-
-(function (ModalButtonKind) {
- ModalButtonKind["Primary"] = "m.primary";
- ModalButtonKind["Secondary"] = "m.secondary";
- ModalButtonKind["Warning"] = "m.warning";
- ModalButtonKind["Danger"] = "m.danger";
- ModalButtonKind["Link"] = "m.link";
-})(ModalButtonKind || (exports.ModalButtonKind = ModalButtonKind = {})); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts
deleted file mode 100644
index 52089b8..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData, IWidgetApiResponse } from "./IWidgetApiResponse";
-import { IWidget } from "./IWidget";
-import { ModalButtonKind } from "./ModalButtonKind";
-export declare enum BuiltInModalButtonID {
- Close = "m.close"
-}
-export declare type ModalButtonID = BuiltInModalButtonID | string;
-export interface IModalWidgetCreateData extends IWidgetApiRequestData {
- [key: string]: unknown;
-}
-export interface IModalWidgetReturnData {
- [key: string]: unknown;
-}
-export interface IModalWidgetOpenRequestDataButton {
- id: ModalButtonID;
- label: string;
- kind: ModalButtonKind | string;
- disabled?: boolean;
-}
-export interface IModalWidgetOpenRequestData extends IModalWidgetCreateData, Omit<IWidget, "id" | "creatorUserId"> {
- buttons?: IModalWidgetOpenRequestDataButton[];
-}
-export interface IModalWidgetOpenRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.OpenModalWidget;
- data: IModalWidgetOpenRequestData;
-}
-export interface IModalWidgetOpenResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IModalWidgetButtonClickedRequestData extends IWidgetApiRequestData {
- id: IModalWidgetOpenRequestDataButton["id"];
-}
-export interface IModalWidgetButtonClickedRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.ButtonClicked;
- data: IModalWidgetButtonClickedRequestData;
-}
-export interface IModalWidgetButtonClickedResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IModalWidgetCloseRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.CloseModalWidget;
- data: IModalWidgetReturnData;
-}
-export interface IModalWidgetCloseResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IModalWidgetCloseNotificationRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.CloseModalWidget;
- data: IModalWidgetReturnData;
-}
-export interface IModalWidgetCloseNotificationResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js
deleted file mode 100644
index 39dc434..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.BuiltInModalButtonID = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var BuiltInModalButtonID;
-exports.BuiltInModalButtonID = BuiltInModalButtonID;
-
-(function (BuiltInModalButtonID) {
- BuiltInModalButtonID["Close"] = "m.close";
-})(BuiltInModalButtonID || (exports.BuiltInModalButtonID = BuiltInModalButtonID = {})); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts
deleted file mode 100644
index a0447dd..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
-export interface INavigateActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.MSC2931Navigate;
- data: INavigateActionRequestData;
-}
-export interface INavigateActionRequestData extends IWidgetApiRequestData {
- uri: string;
-}
-export interface INavigateActionResponse extends INavigateActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts
deleted file mode 100644
index 7cd0410..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { IOpenIDCredentials, OpenIDRequestState } from "./GetOpenIDAction";
-export interface IOpenIDCredentialsActionRequestData extends IWidgetApiRequestData, IOpenIDCredentials {
- state: OpenIDRequestState;
- original_request_id: string;
-}
-export interface IOpenIDCredentialsActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.OpenIDCredentials;
- data: IOpenIDCredentialsActionRequestData;
-}
-export interface IOpenIDCredentialsActionResponseData extends IWidgetApiResponseData {
-}
-export interface IOpenIDCredentialsIDActionResponse extends IOpenIDCredentialsActionRequest {
- response: IOpenIDCredentialsActionResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts
deleted file mode 100644
index 807f9be..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { IRoomEvent } from "./IRoomEvent";
-import { Symbols } from "../Symbols";
-export interface IReadEventFromWidgetRequestData extends IWidgetApiRequestData {
- state_key?: string | boolean;
- msgtype?: string;
- type: string;
- limit?: number;
- room_ids?: Symbols.AnyRoom | string[];
-}
-export interface IReadEventFromWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.MSC2876ReadEvents;
- data: IReadEventFromWidgetRequestData;
-}
-export interface IReadEventFromWidgetResponseData extends IWidgetApiResponseData {
- events: IRoomEvent[];
-}
-export interface IReadEventFromWidgetActionResponse extends IReadEventFromWidgetActionRequest {
- response: IReadEventFromWidgetResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts
deleted file mode 100644
index 0d15dfe..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { IRoomEvent } from "./IRoomEvent";
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-export interface IReadRelationsFromWidgetRequestData extends IWidgetApiRequestData {
- event_id: string;
- rel_type?: string;
- event_type?: string;
- room_id?: string;
- limit?: number;
- from?: string;
- to?: string;
- direction?: 'f' | 'b';
-}
-export interface IReadRelationsFromWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.MSC3869ReadRelations;
- data: IReadRelationsFromWidgetRequestData;
-}
-export interface IReadRelationsFromWidgetResponseData extends IWidgetApiResponseData {
- chunk: IRoomEvent[];
- next_batch?: string;
- prev_batch?: string;
-}
-export interface IReadRelationsFromWidgetActionResponse extends IReadRelationsFromWidgetActionRequest {
- response: IReadRelationsFromWidgetResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
deleted file mode 100644
index 7f0f62a..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
-import { WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-export interface IScreenshotActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.TakeScreenshot;
- data: IWidgetApiRequestEmptyData;
-}
-export interface IScreenshotActionResponseData extends IWidgetApiResponseData {
- screenshot: Blob;
-}
-export interface IScreenshotActionResponse extends IScreenshotActionRequest {
- response: IScreenshotActionResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts
deleted file mode 100644
index cb27110..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { IRoomEvent } from "./IRoomEvent";
-export interface ISendEventFromWidgetRequestData extends IWidgetApiRequestData {
- state_key?: string;
- type: string;
- content: unknown;
- room_id?: string;
-}
-export interface ISendEventFromWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.SendEvent;
- data: ISendEventFromWidgetRequestData;
-}
-export interface ISendEventFromWidgetResponseData extends IWidgetApiResponseData {
- room_id: string;
- event_id: string;
-}
-export interface ISendEventFromWidgetActionResponse extends ISendEventFromWidgetActionRequest {
- response: ISendEventFromWidgetResponseData;
-}
-export interface ISendEventToWidgetRequestData extends IWidgetApiRequestData, IRoomEvent {
-}
-export interface ISendEventToWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.SendEvent;
- data: ISendEventToWidgetRequestData;
-}
-export interface ISendEventToWidgetResponseData extends IWidgetApiResponseData {
-}
-export interface ISendEventToWidgetActionResponse extends ISendEventToWidgetActionRequest {
- response: ISendEventToWidgetResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts
deleted file mode 100644
index f9e3841..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { IRoomEvent } from "./IRoomEvent";
-export interface ISendToDeviceFromWidgetRequestData extends IWidgetApiRequestData {
- type: string;
- encrypted: boolean;
- messages: {
- [userId: string]: {
- [deviceId: string]: object;
- };
- };
-}
-export interface ISendToDeviceFromWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.SendToDevice;
- data: ISendToDeviceFromWidgetRequestData;
-}
-export interface ISendToDeviceFromWidgetResponseData extends IWidgetApiResponseData {
-}
-export interface ISendToDeviceFromWidgetActionResponse extends ISendToDeviceFromWidgetActionRequest {
- response: ISendToDeviceFromWidgetResponseData;
-}
-export interface ISendToDeviceToWidgetRequestData extends IWidgetApiRequestData, IRoomEvent {
- encrypted: boolean;
-}
-export interface ISendToDeviceToWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.SendToDevice;
- data: ISendToDeviceToWidgetRequestData;
-}
-export interface ISendToDeviceToWidgetResponseData extends IWidgetApiResponseData {
-}
-export interface ISendToDeviceToWidgetActionResponse extends ISendToDeviceToWidgetActionRequest {
- response: ISendToDeviceToWidgetResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts
deleted file mode 100644
index 177dfce..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
-import { ModalButtonID } from "./ModalWidgetActions";
-export interface ISetModalButtonEnabledActionRequestData extends IWidgetApiRequestData {
- enabled: boolean;
- button: ModalButtonID;
-}
-export interface ISetModalButtonEnabledActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.SetModalButtonEnabled;
- data: ISetModalButtonEnabledActionRequestData;
-}
-export interface ISetModalButtonEnabledActionResponse extends ISetModalButtonEnabledActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts
deleted file mode 100644
index 0ae474b..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
-export interface IStickerActionRequestData extends IWidgetApiRequestData {
- name: string;
- description?: string;
- content: {
- url: string;
- info?: {
- h?: number;
- w?: number;
- mimetype?: string;
- size?: number;
- thumbnail_info?: {
- h?: number;
- w?: number;
- mimetype?: string;
- size?: number;
- };
- };
- };
-}
-export interface IStickerActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.SendSticker;
- data: IStickerActionRequestData;
-}
-export interface IStickerActionResponse extends IStickerActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts
deleted file mode 100644
index bb6faa4..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-export interface IStickyActionRequestData extends IWidgetApiRequestData {
- value: boolean;
-}
-export interface IStickyActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.UpdateAlwaysOnScreen;
- data: IStickyActionRequestData;
-}
-export interface IStickyActionResponseData extends IWidgetApiResponseData {
- success: boolean;
-}
-export interface IStickyActionResponse extends IStickyActionRequest {
- response: IStickyActionResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts
deleted file mode 100644
index 3e1dd13..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { ApiVersion } from "./ApiVersion";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-export interface ISupportedVersionsActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.SupportedApiVersions | WidgetApiToWidgetAction.SupportedApiVersions;
- data: IWidgetApiRequestEmptyData;
-}
-export interface ISupportedVersionsActionResponseData extends IWidgetApiResponseData {
- supported_versions: ApiVersion[];
-}
-export interface ISupportedVersionsActionResponse extends ISupportedVersionsActionRequest {
- response: ISupportedVersionsActionResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts
deleted file mode 100644
index 55d5b3d..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
-import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData, IWidgetApiResponse } from "./IWidgetApiResponse";
-export interface ITurnServer {
- uris: string[];
- username: string;
- password: string;
-}
-export interface IWatchTurnServersRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.WatchTurnServers;
- data: IWidgetApiRequestEmptyData;
-}
-export interface IWatchTurnServersResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IUnwatchTurnServersRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.UnwatchTurnServers;
- data: IWidgetApiRequestEmptyData;
-}
-export interface IUnwatchTurnServersResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
-export interface IUpdateTurnServersRequestData extends IWidgetApiRequestData, ITurnServer {
-}
-export interface IUpdateTurnServersRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.UpdateTurnServers;
- data: IUpdateTurnServersRequestData;
-}
-export interface IUpdateTurnServersResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts
deleted file mode 100644
index 923cfa1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { IWidgetApiResponseData } from "./IWidgetApiResponse";
-import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
-export interface IUserDirectorySearchFromWidgetRequestData extends IWidgetApiRequestData {
- search_term: string;
- limit?: number;
-}
-export interface IUserDirectorySearchFromWidgetActionRequest extends IWidgetApiRequest {
- action: WidgetApiFromWidgetAction.MSC3973UserDirectorySearch;
- data: IUserDirectorySearchFromWidgetRequestData;
-}
-export interface IUserDirectorySearchFromWidgetResponseData extends IWidgetApiResponseData {
- limited: boolean;
- results: Array<{
- user_id: string;
- display_name?: string;
- avatar_url?: string;
- }>;
-}
-export interface IUserDirectorySearchFromWidgetActionResponse extends IUserDirectorySearchFromWidgetActionRequest {
- response: IUserDirectorySearchFromWidgetResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts
deleted file mode 100644
index 814f9e9..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
-import { WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
-export interface IVisibilityActionRequestData extends IWidgetApiRequestData {
- visible: boolean;
-}
-export interface IVisibilityActionRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.UpdateVisibility;
- data: IVisibilityActionRequestData;
-}
-export interface IVisibilityActionResponse extends IVisibilityActionRequest {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts
deleted file mode 100644
index 0e67d07..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-export declare enum WidgetApiToWidgetAction {
- SupportedApiVersions = "supported_api_versions",
- Capabilities = "capabilities",
- NotifyCapabilities = "notify_capabilities",
- TakeScreenshot = "screenshot",
- UpdateVisibility = "visibility",
- OpenIDCredentials = "openid_credentials",
- WidgetConfig = "widget_config",
- CloseModalWidget = "close_modal",
- ButtonClicked = "button_clicked",
- SendEvent = "send_event",
- SendToDevice = "send_to_device",
- UpdateTurnServers = "update_turn_servers"
-}
-export declare enum WidgetApiFromWidgetAction {
- SupportedApiVersions = "supported_api_versions",
- ContentLoaded = "content_loaded",
- SendSticker = "m.sticker",
- UpdateAlwaysOnScreen = "set_always_on_screen",
- GetOpenIDCredentials = "get_openid",
- CloseModalWidget = "close_modal",
- OpenModalWidget = "open_modal",
- SetModalButtonEnabled = "set_button_enabled",
- SendEvent = "send_event",
- SendToDevice = "send_to_device",
- WatchTurnServers = "watch_turn_servers",
- UnwatchTurnServers = "unwatch_turn_servers",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC2876ReadEvents = "org.matrix.msc2876.read_events",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC2931Navigate = "org.matrix.msc2931.navigate",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC2974RenegotiateCapabilities = "org.matrix.msc2974.request_capabilities",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC3869ReadRelations = "org.matrix.msc3869.read_relations",
- /**
- * @deprecated It is not recommended to rely on this existing - it can be removed without notice.
- */
- MSC3973UserDirectorySearch = "org.matrix.msc3973.user_directory_search"
-}
-export declare type WidgetApiAction = WidgetApiToWidgetAction | WidgetApiFromWidgetAction | string;
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js
deleted file mode 100644
index 2a2aede..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js
+++ /dev/null
@@ -1,62 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.WidgetApiToWidgetAction = exports.WidgetApiFromWidgetAction = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var WidgetApiToWidgetAction;
-exports.WidgetApiToWidgetAction = WidgetApiToWidgetAction;
-
-(function (WidgetApiToWidgetAction) {
- WidgetApiToWidgetAction["SupportedApiVersions"] = "supported_api_versions";
- WidgetApiToWidgetAction["Capabilities"] = "capabilities";
- WidgetApiToWidgetAction["NotifyCapabilities"] = "notify_capabilities";
- WidgetApiToWidgetAction["TakeScreenshot"] = "screenshot";
- WidgetApiToWidgetAction["UpdateVisibility"] = "visibility";
- WidgetApiToWidgetAction["OpenIDCredentials"] = "openid_credentials";
- WidgetApiToWidgetAction["WidgetConfig"] = "widget_config";
- WidgetApiToWidgetAction["CloseModalWidget"] = "close_modal";
- WidgetApiToWidgetAction["ButtonClicked"] = "button_clicked";
- WidgetApiToWidgetAction["SendEvent"] = "send_event";
- WidgetApiToWidgetAction["SendToDevice"] = "send_to_device";
- WidgetApiToWidgetAction["UpdateTurnServers"] = "update_turn_servers";
-})(WidgetApiToWidgetAction || (exports.WidgetApiToWidgetAction = WidgetApiToWidgetAction = {}));
-
-var WidgetApiFromWidgetAction;
-exports.WidgetApiFromWidgetAction = WidgetApiFromWidgetAction;
-
-(function (WidgetApiFromWidgetAction) {
- WidgetApiFromWidgetAction["SupportedApiVersions"] = "supported_api_versions";
- WidgetApiFromWidgetAction["ContentLoaded"] = "content_loaded";
- WidgetApiFromWidgetAction["SendSticker"] = "m.sticker";
- WidgetApiFromWidgetAction["UpdateAlwaysOnScreen"] = "set_always_on_screen";
- WidgetApiFromWidgetAction["GetOpenIDCredentials"] = "get_openid";
- WidgetApiFromWidgetAction["CloseModalWidget"] = "close_modal";
- WidgetApiFromWidgetAction["OpenModalWidget"] = "open_modal";
- WidgetApiFromWidgetAction["SetModalButtonEnabled"] = "set_button_enabled";
- WidgetApiFromWidgetAction["SendEvent"] = "send_event";
- WidgetApiFromWidgetAction["SendToDevice"] = "send_to_device";
- WidgetApiFromWidgetAction["WatchTurnServers"] = "watch_turn_servers";
- WidgetApiFromWidgetAction["UnwatchTurnServers"] = "unwatch_turn_servers";
- WidgetApiFromWidgetAction["MSC2876ReadEvents"] = "org.matrix.msc2876.read_events";
- WidgetApiFromWidgetAction["MSC2931Navigate"] = "org.matrix.msc2931.navigate";
- WidgetApiFromWidgetAction["MSC2974RenegotiateCapabilities"] = "org.matrix.msc2974.request_capabilities";
- WidgetApiFromWidgetAction["MSC3869ReadRelations"] = "org.matrix.msc3869.read_relations";
- WidgetApiFromWidgetAction["MSC3973UserDirectorySearch"] = "org.matrix.msc3973.user_directory_search";
-})(WidgetApiFromWidgetAction || (exports.WidgetApiFromWidgetAction = WidgetApiFromWidgetAction = {})); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts
deleted file mode 100644
index 19e58f4..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare enum WidgetApiDirection {
- ToWidget = "toWidget",
- FromWidget = "fromWidget"
-}
-export declare function invertedDirection(dir: WidgetApiDirection): WidgetApiDirection;
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js
deleted file mode 100644
index 69f296c..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js
+++ /dev/null
@@ -1,40 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.WidgetApiDirection = void 0;
-exports.invertedDirection = invertedDirection;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var WidgetApiDirection;
-exports.WidgetApiDirection = WidgetApiDirection;
-
-(function (WidgetApiDirection) {
- WidgetApiDirection["ToWidget"] = "toWidget";
- WidgetApiDirection["FromWidget"] = "fromWidget";
-})(WidgetApiDirection || (exports.WidgetApiDirection = WidgetApiDirection = {}));
-
-function invertedDirection(dir) {
- if (dir === WidgetApiDirection.ToWidget) {
- return WidgetApiDirection.FromWidget;
- } else if (dir === WidgetApiDirection.FromWidget) {
- return WidgetApiDirection.ToWidget;
- } else {
- throw new Error("Invalid direction");
- }
-} \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts
deleted file mode 100644
index 1d23330..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { IWidgetApiRequest } from "./IWidgetApiRequest";
-import { WidgetApiToWidgetAction } from "./WidgetApiAction";
-import { IWidgetApiAcknowledgeResponseData, IWidgetApiResponse } from "./IWidgetApiResponse";
-import { IModalWidgetOpenRequestData } from "./ModalWidgetActions";
-export interface IWidgetConfigRequest extends IWidgetApiRequest {
- action: WidgetApiToWidgetAction.WidgetConfig;
- data: IModalWidgetOpenRequestData;
-}
-export interface IWidgetConfigResponse extends IWidgetApiResponse {
- response: IWidgetApiAcknowledgeResponseData;
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js
deleted file mode 100644
index 430afc1..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-}); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts
deleted file mode 100644
index ee039b8..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare enum WidgetKind {
- Room = "room",
- Account = "account",
- Modal = "modal"
-}
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js
deleted file mode 100644
index 1f0c622..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.WidgetKind = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var WidgetKind;
-exports.WidgetKind = WidgetKind;
-
-(function (WidgetKind) {
- WidgetKind["Room"] = "room";
- WidgetKind["Account"] = "account";
- WidgetKind["Modal"] = "modal";
-})(WidgetKind || (exports.WidgetKind = WidgetKind = {})); \ No newline at end of file
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts
deleted file mode 100644
index 87cb6c2..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export declare enum MatrixWidgetType {
- Custom = "m.custom",
- JitsiMeet = "m.jitsi",
- Stickerpicker = "m.stickerpicker"
-}
-export declare type WidgetType = MatrixWidgetType | string;
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js
deleted file mode 100644
index 5a96344..0000000
--- a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.MatrixWidgetType = void 0;
-
-/*
- * Copyright 2020 The Matrix.org Foundation C.I.C.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var MatrixWidgetType;
-exports.MatrixWidgetType = MatrixWidgetType;
-
-(function (MatrixWidgetType) {
- MatrixWidgetType["Custom"] = "m.custom";
- MatrixWidgetType["JitsiMeet"] = "m.jitsi";
- MatrixWidgetType["Stickerpicker"] = "m.stickerpicker";
-})(MatrixWidgetType || (exports.MatrixWidgetType = MatrixWidgetType = {})); \ No newline at end of file