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