summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts
blob: 814f9e9d67f9fbd35b2ef1b08b4e75c96bf3b894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}