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