summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts
blob: 1e4339105103063aa49c3ac3494e3218d27ee779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { WidgetApiDirection } from "./WidgetApiDirection";
import { WidgetApiAction } from "./WidgetApiAction";
export interface IWidgetApiRequestData {
    [key: string]: unknown;
}
export interface IWidgetApiRequestEmptyData extends IWidgetApiRequestData {
}
export interface IWidgetApiRequest {
    api: WidgetApiDirection;
    requestId: string;
    action: WidgetApiAction;
    widgetId: string;
    data: IWidgetApiRequestData;
    visible?: any;
}