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