summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts13
1 files changed, 13 insertions, 0 deletions
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
new file mode 100644
index 0000000..a0447dd
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts
@@ -0,0 +1,13 @@
+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;
+}