@formant/data-sdk 0.0.73 → 0.0.74
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.
|
@@ -21,6 +21,11 @@ export declare type AppMessage = {
|
|
|
21
21
|
menus: {
|
|
22
22
|
label: string;
|
|
23
23
|
}[];
|
|
24
|
+
} | {
|
|
25
|
+
type: "send_channel_data";
|
|
26
|
+
channel: string;
|
|
27
|
+
source: string;
|
|
28
|
+
data: any;
|
|
24
29
|
};
|
|
25
30
|
export declare type EmbeddedAppMessage = {
|
|
26
31
|
type: "module_menu_item_clicked";
|
|
@@ -81,6 +86,7 @@ export declare class App {
|
|
|
81
86
|
static requestModuleData(): void;
|
|
82
87
|
static setModuleDateTimeRange(beforeInMilliseconds: number, afterInMilliseconds?: number): void;
|
|
83
88
|
static refreshAuthToken(): void;
|
|
89
|
+
static sendChannelData(channel: string, data: any): void;
|
|
84
90
|
static setupModuleMenus(menus: {
|
|
85
91
|
label: string;
|
|
86
92
|
}[]): void;
|