Comparing version 1.4.0 to 1.4.1
@@ -207,7 +207,7 @@ import { MessageEvent, Event, CloseEvent, ErrorEvent } from 'ws'; | ||
interface ApplicationExitingEvent { | ||
type: WmEventType.APPLICATION_EXITING; | ||
eventType: WmEventType.APPLICATION_EXITING; | ||
} | ||
interface BindingModesChangedEvent { | ||
type: WmEventType.BINDING_MODES_CHANGED; | ||
eventType: WmEventType.BINDING_MODES_CHANGED; | ||
newBindingModes: BindingModeConfig[]; | ||
@@ -217,3 +217,3 @@ } | ||
interface FocusChangedEvent { | ||
type: WmEventType.FOCUS_CHANGED; | ||
eventType: WmEventType.FOCUS_CHANGED; | ||
focusedContainer: Window | Workspace; | ||
@@ -223,3 +223,3 @@ } | ||
interface FocusedContainerMovedEvent { | ||
type: WmEventType.FOCUSED_CONTAINER_MOVED; | ||
eventType: WmEventType.FOCUSED_CONTAINER_MOVED; | ||
focusedContainer: Window | Workspace; | ||
@@ -229,3 +229,3 @@ } | ||
interface MonitorAddedEvent { | ||
type: WmEventType.MONITOR_ADDED; | ||
eventType: WmEventType.MONITOR_ADDED; | ||
addedMonitor: Monitor; | ||
@@ -235,3 +235,3 @@ } | ||
interface MonitorRemovedEvent { | ||
type: WmEventType.MONITOR_REMOVED; | ||
eventType: WmEventType.MONITOR_REMOVED; | ||
removedId: string; | ||
@@ -242,3 +242,3 @@ removedDeviceName: string; | ||
interface MonitorUpdatedEvent { | ||
type: WmEventType.MONITOR_UPDATED; | ||
eventType: WmEventType.MONITOR_UPDATED; | ||
updatedMonitor: Monitor; | ||
@@ -248,3 +248,3 @@ } | ||
interface TilingDirectionChangedEvent { | ||
type: WmEventType.TILING_DIRECTION_CHANGED; | ||
eventType: WmEventType.TILING_DIRECTION_CHANGED; | ||
newTilingDirection: TilingDirection; | ||
@@ -255,3 +255,3 @@ directionContainer: SplitContainer | Workspace; | ||
interface UserConfigChangedEvent { | ||
type: WmEventType.USER_CONFIG_CHANGED; | ||
eventType: WmEventType.USER_CONFIG_CHANGED; | ||
configPath: string; | ||
@@ -263,3 +263,3 @@ configString: string; | ||
interface WindowManagedEvent { | ||
type: WmEventType.WINDOW_MANAGED; | ||
eventType: WmEventType.WINDOW_MANAGED; | ||
managedWindow: Window; | ||
@@ -269,3 +269,3 @@ } | ||
interface WindowUnmanagedEvent { | ||
type: WmEventType.WINDOW_UNMANAGED; | ||
eventType: WmEventType.WINDOW_UNMANAGED; | ||
unmanagedId: string; | ||
@@ -276,3 +276,3 @@ unmanagedHandle: number; | ||
interface WorkspaceActivatedEvent { | ||
type: WmEventType.WORKSPACE_ACTIVATED; | ||
eventType: WmEventType.WORKSPACE_ACTIVATED; | ||
activatedWorkspace: Workspace; | ||
@@ -282,3 +282,3 @@ } | ||
interface WorkspaceDeactivatedEvent { | ||
type: WmEventType.WORKSPACE_DEACTIVATED; | ||
eventType: WmEventType.WORKSPACE_DEACTIVATED; | ||
deactivatedId: string; | ||
@@ -289,3 +289,3 @@ deactivatedName: string; | ||
interface WorkspaceUpdatedEvent { | ||
type: WmEventType.WORKSPACE_UPDATED; | ||
eventType: WmEventType.WORKSPACE_UPDATED; | ||
updatedWorkspace: Workspace; | ||
@@ -292,0 +292,0 @@ } |
{ | ||
"name": "glazewm", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Library for inter-process communication (IPC) with GlazeWM.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
import { WmEventType } from '../wm-events'; | ||
export interface ApplicationExitingEvent { | ||
type: WmEventType.APPLICATION_EXITING; | ||
eventType: WmEventType.APPLICATION_EXITING; | ||
} |
@@ -5,4 +5,4 @@ import type { BindingModeConfig } from '../config'; | ||
export interface BindingModesChangedEvent { | ||
type: WmEventType.BINDING_MODES_CHANGED; | ||
eventType: WmEventType.BINDING_MODES_CHANGED; | ||
newBindingModes: BindingModeConfig[]; | ||
} |
@@ -5,4 +5,4 @@ import { WmEventType } from '../wm-events'; | ||
export interface FocusChangedEvent { | ||
type: WmEventType.FOCUS_CHANGED; | ||
eventType: WmEventType.FOCUS_CHANGED; | ||
focusedContainer: Window | Workspace; | ||
} |
@@ -5,4 +5,4 @@ import { WmEventType } from '../wm-events'; | ||
export interface FocusedContainerMovedEvent { | ||
type: WmEventType.FOCUSED_CONTAINER_MOVED; | ||
eventType: WmEventType.FOCUSED_CONTAINER_MOVED; | ||
focusedContainer: Window | Workspace; | ||
} |
@@ -5,4 +5,4 @@ import { WmEventType } from '../wm-events'; | ||
export interface MonitorAddedEvent { | ||
type: WmEventType.MONITOR_ADDED; | ||
eventType: WmEventType.MONITOR_ADDED; | ||
addedMonitor: Monitor; | ||
} |
import { WmEventType } from '../wm-events'; | ||
export interface MonitorRemovedEvent { | ||
type: WmEventType.MONITOR_REMOVED; | ||
eventType: WmEventType.MONITOR_REMOVED; | ||
removedId: string; | ||
removedDeviceName: string; | ||
} |
@@ -5,4 +5,4 @@ import { WmEventType } from '../wm-events'; | ||
export interface MonitorUpdatedEvent { | ||
type: WmEventType.MONITOR_UPDATED; | ||
eventType: WmEventType.MONITOR_UPDATED; | ||
updatedMonitor: Monitor; | ||
} |
@@ -6,5 +6,5 @@ import { TilingDirection } from '../common'; | ||
export interface TilingDirectionChangedEvent { | ||
type: WmEventType.TILING_DIRECTION_CHANGED; | ||
eventType: WmEventType.TILING_DIRECTION_CHANGED; | ||
newTilingDirection: TilingDirection; | ||
directionContainer: SplitContainer | Workspace; | ||
} |
import { WmEventType } from '../wm-events'; | ||
export interface UserConfigChangedEvent { | ||
type: WmEventType.USER_CONFIG_CHANGED; | ||
eventType: WmEventType.USER_CONFIG_CHANGED; | ||
configPath: string; | ||
@@ -6,0 +6,0 @@ configString: string; |
@@ -5,4 +5,4 @@ import type { Window } from '../containers'; | ||
export interface WindowManagedEvent { | ||
type: WmEventType.WINDOW_MANAGED; | ||
eventType: WmEventType.WINDOW_MANAGED; | ||
managedWindow: Window; | ||
} |
import { WmEventType } from '../wm-events'; | ||
export interface WindowUnmanagedEvent { | ||
type: WmEventType.WINDOW_UNMANAGED; | ||
eventType: WmEventType.WINDOW_UNMANAGED; | ||
unmanagedId: string; | ||
unmanagedHandle: number; | ||
} |
@@ -5,4 +5,4 @@ import { WmEventType } from '../wm-events'; | ||
export interface WorkspaceActivatedEvent { | ||
type: WmEventType.WORKSPACE_ACTIVATED; | ||
eventType: WmEventType.WORKSPACE_ACTIVATED; | ||
activatedWorkspace: Workspace; | ||
} |
import { WmEventType } from '../wm-events'; | ||
export interface WorkspaceDeactivatedEvent { | ||
type: WmEventType.WORKSPACE_DEACTIVATED; | ||
eventType: WmEventType.WORKSPACE_DEACTIVATED; | ||
deactivatedId: string; | ||
deactivatedName: string; | ||
} |
@@ -5,4 +5,4 @@ import type { Workspace } from '../containers'; | ||
export interface WorkspaceUpdatedEvent { | ||
type: WmEventType.WORKSPACE_UPDATED; | ||
eventType: WmEventType.WORKSPACE_UPDATED; | ||
updatedWorkspace: Workspace; | ||
} |
68892