Comparing version 1.3.0 to 1.3.1
@@ -177,3 +177,3 @@ import { MessageEvent, Event, CloseEvent, ErrorEvent } from 'ws'; | ||
WORKSPACE_DEACTIVATED = "workspace_deactivated", | ||
WORKSPACE_MOVED = "workspace_moved" | ||
WORKSPACE_UPDATED = "workspace_updated" | ||
} | ||
@@ -183,3 +183,3 @@ /** | ||
*/ | ||
type WmEvent = ApplicationExitingEvent | BindingModesChangedEvent | FocusChangedEvent | FocusedContainerMovedEvent | MonitorAddedEvent | MonitorUpdatedEvent | MonitorRemovedEvent | TilingDirectionChangedEvent | UserConfigChangedEvent | WindowManagedEvent | WindowUnmanagedEvent | WorkspaceActivatedEvent | WorkspaceDeactivatedEvent | WorkspaceMovedEvent; | ||
type WmEvent = ApplicationExitingEvent | BindingModesChangedEvent | FocusChangedEvent | FocusedContainerMovedEvent | MonitorAddedEvent | MonitorUpdatedEvent | MonitorRemovedEvent | TilingDirectionChangedEvent | UserConfigChangedEvent | WindowManagedEvent | WindowUnmanagedEvent | WorkspaceActivatedEvent | WorkspaceDeactivatedEvent | WorkspaceUpdatedEvent; | ||
/** | ||
@@ -208,3 +208,3 @@ * Utility type for getting event interface for given {@link WmEventType}. | ||
[WmEventType.WORKSPACE_DEACTIVATED]: WorkspaceDeactivatedEvent; | ||
[WmEventType.WORKSPACE_MOVED]: WorkspaceMovedEvent; | ||
[WmEventType.WORKSPACE_UPDATED]: WorkspaceUpdatedEvent; | ||
}[T]; | ||
@@ -281,6 +281,5 @@ | ||
interface WorkspaceMovedEvent { | ||
type: WmEventType.WORKSPACE_MOVED; | ||
movedWorkspace: Workspace; | ||
newMonitor: Monitor; | ||
interface WorkspaceUpdatedEvent { | ||
type: WmEventType.WORKSPACE_UPDATED; | ||
updatedWorkspace: Workspace; | ||
} | ||
@@ -501,2 +500,2 @@ | ||
export { AppMetadata, ApplicationExitingEvent, BindingModeConfig, BindingModesChangedEvent, ClientResponseMessage, ConnectCallback, Container, ContainerType, DisconnectCallback, DisplayState, ErrorCallback, EventSubscriptionMessage, FocusChangedEvent, FocusedContainerMovedEvent, KeybindingConfig, LengthUnit, MessageCallback, Monitor, MonitorAddedEvent, MonitorRemovedEvent, MonitorUpdatedEvent, Rect, RectDelta, RootContainer, ServerMessage, ServerMessageType, SplitContainer, SubscribeCallback, TilingDirection, TilingDirectionChangedEvent, UnlistenFn, UserConfigChangedEvent, Window, WindowManagedEvent, WindowState, WindowType, WindowUnmanagedEvent, WmClient, WmClientOptions, WmEvent, WmEventData, WmEventType, Workspace, WorkspaceActivatedEvent, WorkspaceDeactivatedEvent, WorkspaceMovedEvent }; | ||
export { AppMetadata, ApplicationExitingEvent, BindingModeConfig, BindingModesChangedEvent, ClientResponseMessage, ConnectCallback, Container, ContainerType, DisconnectCallback, DisplayState, ErrorCallback, EventSubscriptionMessage, FocusChangedEvent, FocusedContainerMovedEvent, KeybindingConfig, LengthUnit, MessageCallback, Monitor, MonitorAddedEvent, MonitorRemovedEvent, MonitorUpdatedEvent, Rect, RectDelta, RootContainer, ServerMessage, ServerMessageType, SplitContainer, SubscribeCallback, TilingDirection, TilingDirectionChangedEvent, UnlistenFn, UserConfigChangedEvent, Window, WindowManagedEvent, WindowState, WindowType, WindowUnmanagedEvent, WmClient, WmClientOptions, WmEvent, WmEventData, WmEventType, Workspace, WorkspaceActivatedEvent, WorkspaceDeactivatedEvent, WorkspaceUpdatedEvent }; |
@@ -365,3 +365,3 @@ "use strict"; | ||
WmEventType2["WORKSPACE_DEACTIVATED"] = "workspace_deactivated"; | ||
WmEventType2["WORKSPACE_MOVED"] = "workspace_moved"; | ||
WmEventType2["WORKSPACE_UPDATED"] = "workspace_updated"; | ||
return WmEventType2; | ||
@@ -368,0 +368,0 @@ })(WmEventType || {}); |
{ | ||
"name": "glazewm", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Library for inter-process communication (IPC) with GlazeWM.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -14,2 +14,2 @@ export * from './application-exiting-event'; | ||
export * from './workspace-deactivated-event'; | ||
export * from './workspace-moved-event'; | ||
export * from './workspace-updated-event'; |
@@ -15,3 +15,3 @@ import type { | ||
WorkspaceDeactivatedEvent, | ||
WorkspaceMovedEvent, | ||
WorkspaceUpdatedEvent, | ||
} from './events'; | ||
@@ -37,3 +37,3 @@ | ||
WORKSPACE_DEACTIVATED = 'workspace_deactivated', | ||
WORKSPACE_MOVED = 'workspace_moved', | ||
WORKSPACE_UPDATED = 'workspace_updated', | ||
} | ||
@@ -58,3 +58,3 @@ | ||
| WorkspaceDeactivatedEvent | ||
| WorkspaceMovedEvent; | ||
| WorkspaceUpdatedEvent; | ||
@@ -84,3 +84,3 @@ /** | ||
[WmEventType.WORKSPACE_DEACTIVATED]: WorkspaceDeactivatedEvent; | ||
[WmEventType.WORKSPACE_MOVED]: WorkspaceMovedEvent; | ||
[WmEventType.WORKSPACE_UPDATED]: WorkspaceUpdatedEvent; | ||
}[T]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65580
1969