@crowbartools/firebot-types 5.67.0-alpha27 → 5.67.0-alpha29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -674
- package/backend/effects/builtin/overlay-widgets/update-rotating-text.d.ts +12 -0
- package/backend/overlay-widgets/builtin-types/index.d.ts +1 -1
- package/backend/overlay-widgets/builtin-types/rotating-text/rotating-text.d.ts +18 -0
- package/backend/plugins/executors/plugin-executor.interface.d.ts +2 -1
- package/backend/plugins/plugin-manager.d.ts +1 -0
- package/backend/streaming-platforms/twitch/api/eventsub/eventsub-client.d.ts +1 -0
- package/package.json +1 -1
- package/server/http-server-manager.d.ts +2 -2
- package/server/websocket-server-manager.d.ts +5 -3
- package/types/events.d.ts +9 -0
- package/types/overlay-widgets.d.ts +1 -0
- package/types/parameters.d.ts +1 -0
- package/types/plugin-api.d.ts +280 -146
- package/types/plugins.d.ts +47 -5
- package/types/websocket.d.ts +12 -1
package/types/websocket.d.ts
CHANGED
|
@@ -23,10 +23,21 @@ export interface InvokePluginMessage extends InvokeMessage {
|
|
|
23
23
|
name: "plugin";
|
|
24
24
|
pluginName: string;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface PluginWebSocketHandler {
|
|
27
27
|
pluginName: string;
|
|
28
28
|
handler: (data: unknown) => Awaitable<void>;
|
|
29
29
|
}
|
|
30
|
+
export interface InvokeOverlayRequestMessage extends InvokeMessage {
|
|
31
|
+
name: "overlay-request";
|
|
32
|
+
data: {
|
|
33
|
+
name: string;
|
|
34
|
+
data?: Record<string, unknown>;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface OverlayRequestWebSocketHandler<TData extends Record<string, unknown> = Record<string, unknown>, TResponse = unknown> {
|
|
38
|
+
name: string;
|
|
39
|
+
handler: (data: TData) => Awaitable<TResponse>;
|
|
40
|
+
}
|
|
30
41
|
export type OverlayConnectedData = {
|
|
31
42
|
instanceName: string;
|
|
32
43
|
};
|