@domicile-desktop/sdk 0.0.0-alpha-51482e4eb22d → 0.0.0-alpha-02742dc00a6c

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.
@@ -52,21 +52,36 @@ const absentHost = () => ({
52
52
  activateExtension: () => undefined,
53
53
  activateTrayItem: () => undefined,
54
54
  addEventListener: () => undefined,
55
+ altKey: null,
56
+ audioCards: null,
57
+ audioInputs: null,
58
+ audioOutputs: null,
59
+ audioPlayback: null,
60
+ audioRecording: null,
61
+ batteryCharge: null,
62
+ batteryCharging: null,
55
63
  brightness: null,
56
64
  browserWindows: null,
65
+ clipboard: null,
57
66
  closeApp: () => undefined,
58
67
  closeBrowserWindow: () => undefined,
59
68
  copyClipboardEntry: () => undefined,
69
+ ctrlKey: null,
60
70
  dismissNotifications: () => undefined,
61
71
  displays: null,
72
+ extensions: null,
62
73
  focusApp: () => undefined,
63
74
  focusChrome: () => undefined,
64
75
  focusedWindow: null,
65
76
  grabShortcut: () => undefined,
77
+ idle: null,
66
78
  invokeNotificationAction: () => undefined,
67
79
  key: () => undefined,
68
80
  lock: () => undefined,
81
+ locked: null,
82
+ metaKey: null,
69
83
  moveAudioStream: () => undefined,
84
+ notifications: null,
70
85
  openBrowserWindow: () => undefined,
71
86
  pointerAxis: () => undefined,
72
87
  pointerButton: () => undefined,
@@ -82,10 +97,14 @@ const absentHost = () => ({
82
97
  setBrightness: () => undefined,
83
98
  setDefaultAudioDevice: () => undefined,
84
99
  setTheme: () => undefined,
100
+ shiftKey: null,
85
101
  spawn: () => undefined,
102
+ theme: null,
86
103
  themeCaptured: () => undefined,
104
+ tray: null,
87
105
  unlock: () => undefined,
88
106
  warpPointer: () => undefined,
89
107
  watchAudioLevels: () => undefined,
90
108
  windows: [],
109
+ windowsTheme: null,
91
110
  });
@@ -626,6 +626,28 @@ export type DomicileHostEventMap = {
626
626
  * now.
627
627
  */
628
628
  focusedwindowchanged: Event;
629
+ /** Bare: the attribute it names moved. */
630
+ clipboardchanged: Event;
631
+ /** Bare: the attribute it names moved. */
632
+ traychanged: Event;
633
+ /** Bare: the attribute it names moved. */
634
+ notificationschanged: Event;
635
+ /** Bare: the attribute it names moved. */
636
+ extensionschanged: Event;
637
+ /** Bare: the attributes it names moved. */
638
+ audiochanged: Event;
639
+ /** Bare: the attributes it names moved. */
640
+ batterychanged: Event;
641
+ /** Bare: the attribute it names moved. */
642
+ idlechanged: Event;
643
+ /** Bare: the attribute it names moved. */
644
+ lockedchanged: Event;
645
+ /** Bare: the attribute it names moved. */
646
+ themechanged: Event;
647
+ /** Bare: the attribute it names moved. */
648
+ windowsthemechanged: Event;
649
+ /** Bare: the attributes it names moved. */
650
+ modifierschanged: Event;
629
651
  };
630
652
  /**
631
653
  * The shell's control channel to the compositor.
@@ -821,6 +843,26 @@ export type DomicileHost = {
821
843
  readonly windows: readonly DomicileWindow[];
822
844
  /** The window holding the keyboard, or `null` when the shell's page holds it. */
823
845
  readonly focusedWindow: string | null;
846
+ readonly clipboard: readonly DomicileClipboardEntry[] | null;
847
+ readonly tray: readonly DomicileTrayItem[] | null;
848
+ readonly notifications: readonly DomicileNotification[] | null;
849
+ readonly extensions: readonly DomicileExtension[] | null;
850
+ readonly audioOutputs: readonly DomicileAudioDevice[] | null;
851
+ readonly audioInputs: readonly DomicileAudioDevice[] | null;
852
+ readonly audioPlayback: readonly DomicileAudioStream[] | null;
853
+ readonly audioRecording: readonly DomicileAudioStream[] | null;
854
+ readonly audioCards: readonly DomicileAudioCard[] | null;
855
+ readonly batteryCharge: number | null;
856
+ readonly batteryCharging: boolean | null;
857
+ readonly idle: boolean | null;
858
+ readonly locked: boolean | null;
859
+ readonly theme: Theme | null;
860
+ readonly windowsTheme: Theme | null;
861
+ /** The compositor seat's — see the README before trusting them. */
862
+ readonly altKey: boolean | null;
863
+ readonly ctrlKey: boolean | null;
864
+ readonly shiftKey: boolean | null;
865
+ readonly metaKey: boolean | null;
824
866
  addEventListener<T extends keyof DomicileHostEventMap>(type: T, listener: (event: DomicileHostEventMap[T]) => void): void;
825
867
  };
826
868
  declare global {
package/package.json CHANGED
@@ -150,7 +150,7 @@
150
150
  "test:unit": "bun test"
151
151
  },
152
152
  "type": "module",
153
- "version": "0.0.0-alpha-51482e4eb22d",
153
+ "version": "0.0.0-alpha-02742dc00a6c",
154
154
  "repository": {
155
155
  "type": "git",
156
156
  "url": "git+https://github.com/cprussin/domicile.git",