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