Skip to content

Commit 051ab94

Browse files
committed
restore module.ts
1 parent d003e49 commit 051ab94

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

js/module.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ export interface IInput extends ISource {
518518
sendMouseWheel(eventData: IMouseEvent, x_delta: number, y_delta: number): void;
519519
sendFocus(focus: boolean): void;
520520
sendKeyClick(eventData: IKeyEvent, keyUp: boolean): void;
521-
sendMessage(message: ISettings): void;
522521
setFilterOrder(filter: IFilter, movement: EOrderMovement): void;
523522
copyFilters(other: IInput): boolean;
524523
readonly filters: IFilter[];
@@ -612,6 +611,7 @@ export interface IConfigurable {
612611
export interface ISource extends IConfigurable, IReleasable {
613612
remove(): void;
614613
save(): void;
614+
sendMessage(message: ISettings): void;
615615
readonly status: number;
616616
readonly type: ESourceType;
617617
readonly id: string;

js/module.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -906,12 +906,6 @@ export interface IInput extends ISource {
906906
sendFocus(focus: boolean): void;
907907
sendKeyClick(eventData: IKeyEvent, keyUp: boolean): void;
908908

909-
/**
910-
* Forward a serializable message to the underlying source plugin.
911-
* Currently only registered on input sources on the native side.
912-
*/
913-
sendMessage(message: ISettings): void;
914-
915909
/**
916910
* Move a filter up, down, top, or bottom in the filter list.
917911
* @param filter - The filter to move within the input source.
@@ -1300,6 +1294,13 @@ export interface ISource extends IConfigurable, IReleasable {
13001294
*/
13011295
save(): void;
13021296

1297+
/**
1298+
* Forward a serializable message to the underlying source plugin.
1299+
* Note: only registered on input sources on the native side; calling on
1300+
* a filter, scene, or transition will throw at runtime.
1301+
*/
1302+
sendMessage(message: ISettings): void;
1303+
13031304
/**
13041305
* The validity of the source
13051306
*/

0 commit comments

Comments
 (0)