@girs/bamf-3 3.0.0-3.2.6 → 3.0.0-3.2.8

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/bamf-3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
 
11
11
  ## Install
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/bamf-3.d.cts CHANGED
@@ -42,29 +42,29 @@ export enum WindowType {
42
42
  SPLASHSCREEN,
43
43
  UNKNOWN,
44
44
  }
45
- export const APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED: string | null
46
- export const APPLICATION_SIGNAL_WINDOW_ADDED: string | null
47
- export const APPLICATION_SIGNAL_WINDOW_REMOVED: string | null
48
- export const MATCHER_SIGNAL_ACTIVE_APPLICATION_CHANGED: string | null
49
- export const MATCHER_SIGNAL_ACTIVE_WINDOW_CHANGED: string | null
50
- export const MATCHER_SIGNAL_STACKING_ORDER_CHANGED: string | null
51
- export const MATCHER_SIGNAL_VIEW_CLOSED: string | null
52
- export const MATCHER_SIGNAL_VIEW_OPENED: string | null
53
- export const VIEW_SIGNAL_ACTIVE_CHANGED: string | null
54
- export const VIEW_SIGNAL_CHILD_ADDED: string | null
55
- export const VIEW_SIGNAL_CHILD_MOVED: string | null
56
- export const VIEW_SIGNAL_CHILD_REMOVED: string | null
57
- export const VIEW_SIGNAL_CLOSED: string | null
58
- export const VIEW_SIGNAL_ICON_CHANGED: string | null
59
- export const VIEW_SIGNAL_NAME_CHANGED: string | null
60
- export const VIEW_SIGNAL_RUNNING_CHANGED: string | null
61
- export const VIEW_SIGNAL_STARTING_CHANGED: string | null
62
- export const VIEW_SIGNAL_URGENT_CHANGED: string | null
63
- export const VIEW_SIGNAL_USER_VISIBLE_CHANGED: string | null
64
- export const WINDOW_SIGNAL_MAXIMIZED_CHANGED: string | null
65
- export const WINDOW_SIGNAL_MONITOR_CHANGED: string | null
45
+ export const APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED: string
46
+ export const APPLICATION_SIGNAL_WINDOW_ADDED: string
47
+ export const APPLICATION_SIGNAL_WINDOW_REMOVED: string
48
+ export const MATCHER_SIGNAL_ACTIVE_APPLICATION_CHANGED: string
49
+ export const MATCHER_SIGNAL_ACTIVE_WINDOW_CHANGED: string
50
+ export const MATCHER_SIGNAL_STACKING_ORDER_CHANGED: string
51
+ export const MATCHER_SIGNAL_VIEW_CLOSED: string
52
+ export const MATCHER_SIGNAL_VIEW_OPENED: string
53
+ export const VIEW_SIGNAL_ACTIVE_CHANGED: string
54
+ export const VIEW_SIGNAL_CHILD_ADDED: string
55
+ export const VIEW_SIGNAL_CHILD_MOVED: string
56
+ export const VIEW_SIGNAL_CHILD_REMOVED: string
57
+ export const VIEW_SIGNAL_CLOSED: string
58
+ export const VIEW_SIGNAL_ICON_CHANGED: string
59
+ export const VIEW_SIGNAL_NAME_CHANGED: string
60
+ export const VIEW_SIGNAL_RUNNING_CHANGED: string
61
+ export const VIEW_SIGNAL_STARTING_CHANGED: string
62
+ export const VIEW_SIGNAL_URGENT_CHANGED: string
63
+ export const VIEW_SIGNAL_USER_VISIBLE_CHANGED: string
64
+ export const WINDOW_SIGNAL_MAXIMIZED_CHANGED: string
65
+ export const WINDOW_SIGNAL_MONITOR_CHANGED: string
66
66
  export interface TabPreviewReadyCallback {
67
- (self: Tab, preview_data: string | null): void
67
+ (self: Tab, preview_data: string): void
68
68
  }
69
69
  export module Application {
70
70
 
@@ -113,13 +113,13 @@ export interface Application {
113
113
  * @returns %TRUE if found, %FALSE otherwise.
114
114
  */
115
115
  get_application_menu(): [ /* returnType */ boolean, /* name */ string | null, /* object_path */ string | null ]
116
- get_application_type(): string | null
116
+ get_application_type(): string
117
117
  /**
118
118
  * Used to fetch the path to the .desktop file associated with the passed application. If
119
119
  * none exists, the result is NULL.
120
120
  * @returns A string representing the path to the desktop file.
121
121
  */
122
- get_desktop_file(): string | null
122
+ get_desktop_file(): string
123
123
  get_focusable_child(): View
124
124
  /**
125
125
  * Used to discover whether the application wants menu stubs shown.
@@ -214,8 +214,8 @@ export interface Control {
214
214
  // Owm methods of Bamf-3.Bamf.Control
215
215
 
216
216
  create_local_desktop_file(application: Application): void
217
- insert_desktop_file(desktop_file: string | null): void
218
- register_application_for_pid(desktop_file: string | null, pid: number): void
217
+ insert_desktop_file(desktop_file: string): void
218
+ register_application_for_pid(desktop_file: string, pid: number): void
219
219
  set_approver_behavior(behavior: number): void
220
220
 
221
221
  // Class property signals of Bamf-3.Bamf.Control
@@ -296,7 +296,7 @@ export interface Matcher {
296
296
 
297
297
  // Owm methods of Bamf-3.Bamf.Matcher
298
298
 
299
- application_is_running(desktop_file: string | null): boolean
299
+ application_is_running(desktop_file: string): boolean
300
300
  /**
301
301
  * Used to fetch the active #BamfApplication.
302
302
  * @returns The active #BamfApplication.
@@ -307,7 +307,7 @@ export interface Matcher {
307
307
  * @returns The active #BamfWindow.
308
308
  */
309
309
  get_active_window(): Window
310
- get_application_for_desktop_file(desktop_file_path: string | null, create_if_not_found: boolean): Application
310
+ get_application_for_desktop_file(desktop_file_path: string, create_if_not_found: boolean): Application
311
311
  /**
312
312
  * Used to fetch the #BamfApplication containing the passed window.
313
313
  * @param window The window to look for
@@ -362,7 +362,7 @@ export interface Matcher {
362
362
  * @param desktop_file
363
363
  * @returns A list of xids.
364
364
  */
365
- get_xids_for_application(desktop_file: string | null): number[]
365
+ get_xids_for_application(desktop_file: string): number[]
366
366
  /**
367
367
  * Used to effect how bamf performs matching. Desktop files passed to this method will
368
368
  * be prefered by bamf to system desktop files.
@@ -427,9 +427,7 @@ export interface Tab {
427
427
 
428
428
  // Own properties of Bamf-3.Bamf.Tab
429
429
 
430
- readonly desktop_id: string | null
431
430
  readonly desktopId: string | null
432
- readonly is_foreground_tab: boolean
433
431
  readonly isForegroundTab: boolean
434
432
  readonly location: string | null
435
433
  readonly xid: number
@@ -450,9 +448,9 @@ export interface Tab {
450
448
  * Returns the desktop file for the tab.
451
449
  * @returns The tab desktop id or %NULL if not set or available. Do not free the returned value, it belongs to @self.
452
450
  */
453
- get_desktop_name(): string | null
451
+ get_desktop_name(): string
454
452
  get_is_foreground_tab(): boolean
455
- get_location(): string | null
453
+ get_location(): string
456
454
  /**
457
455
  * The desktop file for the tab.
458
456
  * @returns The tab parent window XID id or 0 if not set or available.
@@ -472,9 +470,9 @@ export interface Tab {
472
470
  * @virtual
473
471
  * @returns The tab desktop id or %NULL if not set or available. Do not free the returned value, it belongs to @self.
474
472
  */
475
- vfunc_get_desktop_name(): string | null
473
+ vfunc_get_desktop_name(): string
476
474
  vfunc_get_is_foreground_tab(): boolean
477
- vfunc_get_location(): string | null
475
+ vfunc_get_location(): string
478
476
  /**
479
477
  * The desktop file for the tab.
480
478
  * @virtual
@@ -631,7 +629,6 @@ export interface View {
631
629
  readonly running: boolean
632
630
  readonly starting: boolean
633
631
  readonly urgent: boolean
634
- readonly user_visible: boolean
635
632
  readonly userVisible: boolean
636
633
 
637
634
  // Own fields of Bamf-3.Bamf.View
@@ -659,7 +656,7 @@ export interface View {
659
656
  * The view type of a window is a short string used to represent all views of the same class. These
660
657
  * descriptions should not be used to do casting as they are not considered stable.
661
658
  */
662
- get_view_type(): string | null
659
+ get_view_type(): string
663
660
  has_child(child: View): boolean
664
661
  /**
665
662
  * Determines if the view is currently active and focused by the user. Useful for an active window indicator.
@@ -739,7 +736,7 @@ export interface View {
739
736
  vfunc_is_user_visible(): boolean
740
737
  vfunc_name_changed(old_name: string | null, new_name: string | null): void
741
738
  vfunc_running_changed(running: boolean): void
742
- vfunc_set_path(path: string | null): void
739
+ vfunc_set_path(path: string): void
743
740
  vfunc_set_sticky(value: boolean): void
744
741
  vfunc_starting_changed(starting: boolean): void
745
742
  vfunc_urgent_changed(urgent: boolean): void
@@ -749,7 +746,7 @@ export interface View {
749
746
  * descriptions should not be used to do casting as they are not considered stable.
750
747
  * @virtual
751
748
  */
752
- vfunc_view_type(): string | null
749
+ vfunc_view_type(): string
753
750
 
754
751
  // Own signals of Bamf-3.Bamf.View
755
752
 
@@ -864,7 +861,7 @@ export interface Window {
864
861
  get_monitor(): number
865
862
  get_pid(): number
866
863
  get_transient(): Window
867
- get_utf8_prop(prop: string | null): string | null
864
+ get_utf8_prop(prop: string): string | null
868
865
  get_window_type(): WindowType
869
866
  get_xid(): number
870
867
  last_active(): number
@@ -875,7 +872,7 @@ export interface Window {
875
872
  vfunc_get_monitor(): number
876
873
  vfunc_get_pid(): number
877
874
  vfunc_get_transient(): Window
878
- vfunc_get_utf8_prop(prop: string | null): string | null
875
+ vfunc_get_utf8_prop(prop: string): string | null
879
876
  vfunc_get_window_type(): WindowType
880
877
  vfunc_get_xid(): number
881
878
  vfunc_last_active(): number
@@ -1008,8 +1005,8 @@ export interface TabClass {
1008
1005
  // Own fields of Bamf-3.Bamf.TabClass
1009
1006
 
1010
1007
  parent_class: ViewClass
1011
- get_desktop_name: (self: Tab) => string | null
1012
- get_location: (self: Tab) => string | null
1008
+ get_desktop_name: (self: Tab) => string
1009
+ get_location: (self: Tab) => string
1013
1010
  get_xid: (self: Tab) => number
1014
1011
  get_is_foreground_tab: (self: Tab) => boolean
1015
1012
  }
@@ -1043,8 +1040,8 @@ export interface ViewClass {
1043
1040
  is_user_visible: (view: View) => boolean
1044
1041
  get_name: (view: View) => string | null
1045
1042
  get_icon: (view: View) => string | null
1046
- view_type: (view: View) => string | null
1047
- set_path: (view: View, path: string | null) => void
1043
+ view_type: (view: View) => string
1044
+ set_path: (view: View, path: string) => void
1048
1045
  set_sticky: (view: View, value: boolean) => void
1049
1046
  click_behavior: (view: View) => ClickBehavior
1050
1047
  active_changed: (view: View, active: boolean) => void
@@ -1088,7 +1085,7 @@ export interface WindowClass {
1088
1085
  get_xid: (self: Window) => number
1089
1086
  get_pid: (self: Window) => number
1090
1087
  get_monitor: (self: Window) => number
1091
- get_utf8_prop: (self: Window, prop: string | null) => string | null
1088
+ get_utf8_prop: (self: Window, prop: string) => string | null
1092
1089
  maximized: (self: Window) => WindowMaximizationType
1093
1090
  last_active: (self: Window) => number
1094
1091
  monitor_changed: (window: Window, old_value: number, new_value: number) => void
package/bamf-3.d.ts CHANGED
@@ -44,29 +44,29 @@ enum WindowType {
44
44
  SPLASHSCREEN,
45
45
  UNKNOWN,
46
46
  }
47
- const APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED: string | null
48
- const APPLICATION_SIGNAL_WINDOW_ADDED: string | null
49
- const APPLICATION_SIGNAL_WINDOW_REMOVED: string | null
50
- const MATCHER_SIGNAL_ACTIVE_APPLICATION_CHANGED: string | null
51
- const MATCHER_SIGNAL_ACTIVE_WINDOW_CHANGED: string | null
52
- const MATCHER_SIGNAL_STACKING_ORDER_CHANGED: string | null
53
- const MATCHER_SIGNAL_VIEW_CLOSED: string | null
54
- const MATCHER_SIGNAL_VIEW_OPENED: string | null
55
- const VIEW_SIGNAL_ACTIVE_CHANGED: string | null
56
- const VIEW_SIGNAL_CHILD_ADDED: string | null
57
- const VIEW_SIGNAL_CHILD_MOVED: string | null
58
- const VIEW_SIGNAL_CHILD_REMOVED: string | null
59
- const VIEW_SIGNAL_CLOSED: string | null
60
- const VIEW_SIGNAL_ICON_CHANGED: string | null
61
- const VIEW_SIGNAL_NAME_CHANGED: string | null
62
- const VIEW_SIGNAL_RUNNING_CHANGED: string | null
63
- const VIEW_SIGNAL_STARTING_CHANGED: string | null
64
- const VIEW_SIGNAL_URGENT_CHANGED: string | null
65
- const VIEW_SIGNAL_USER_VISIBLE_CHANGED: string | null
66
- const WINDOW_SIGNAL_MAXIMIZED_CHANGED: string | null
67
- const WINDOW_SIGNAL_MONITOR_CHANGED: string | null
47
+ const APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED: string
48
+ const APPLICATION_SIGNAL_WINDOW_ADDED: string
49
+ const APPLICATION_SIGNAL_WINDOW_REMOVED: string
50
+ const MATCHER_SIGNAL_ACTIVE_APPLICATION_CHANGED: string
51
+ const MATCHER_SIGNAL_ACTIVE_WINDOW_CHANGED: string
52
+ const MATCHER_SIGNAL_STACKING_ORDER_CHANGED: string
53
+ const MATCHER_SIGNAL_VIEW_CLOSED: string
54
+ const MATCHER_SIGNAL_VIEW_OPENED: string
55
+ const VIEW_SIGNAL_ACTIVE_CHANGED: string
56
+ const VIEW_SIGNAL_CHILD_ADDED: string
57
+ const VIEW_SIGNAL_CHILD_MOVED: string
58
+ const VIEW_SIGNAL_CHILD_REMOVED: string
59
+ const VIEW_SIGNAL_CLOSED: string
60
+ const VIEW_SIGNAL_ICON_CHANGED: string
61
+ const VIEW_SIGNAL_NAME_CHANGED: string
62
+ const VIEW_SIGNAL_RUNNING_CHANGED: string
63
+ const VIEW_SIGNAL_STARTING_CHANGED: string
64
+ const VIEW_SIGNAL_URGENT_CHANGED: string
65
+ const VIEW_SIGNAL_USER_VISIBLE_CHANGED: string
66
+ const WINDOW_SIGNAL_MAXIMIZED_CHANGED: string
67
+ const WINDOW_SIGNAL_MONITOR_CHANGED: string
68
68
  interface TabPreviewReadyCallback {
69
- (self: Tab, preview_data: string | null): void
69
+ (self: Tab, preview_data: string): void
70
70
  }
71
71
  module Application {
72
72
 
@@ -115,13 +115,13 @@ interface Application {
115
115
  * @returns %TRUE if found, %FALSE otherwise.
116
116
  */
117
117
  get_application_menu(): [ /* returnType */ boolean, /* name */ string | null, /* object_path */ string | null ]
118
- get_application_type(): string | null
118
+ get_application_type(): string
119
119
  /**
120
120
  * Used to fetch the path to the .desktop file associated with the passed application. If
121
121
  * none exists, the result is NULL.
122
122
  * @returns A string representing the path to the desktop file.
123
123
  */
124
- get_desktop_file(): string | null
124
+ get_desktop_file(): string
125
125
  get_focusable_child(): View
126
126
  /**
127
127
  * Used to discover whether the application wants menu stubs shown.
@@ -216,8 +216,8 @@ interface Control {
216
216
  // Owm methods of Bamf-3.Bamf.Control
217
217
 
218
218
  create_local_desktop_file(application: Application): void
219
- insert_desktop_file(desktop_file: string | null): void
220
- register_application_for_pid(desktop_file: string | null, pid: number): void
219
+ insert_desktop_file(desktop_file: string): void
220
+ register_application_for_pid(desktop_file: string, pid: number): void
221
221
  set_approver_behavior(behavior: number): void
222
222
 
223
223
  // Class property signals of Bamf-3.Bamf.Control
@@ -298,7 +298,7 @@ interface Matcher {
298
298
 
299
299
  // Owm methods of Bamf-3.Bamf.Matcher
300
300
 
301
- application_is_running(desktop_file: string | null): boolean
301
+ application_is_running(desktop_file: string): boolean
302
302
  /**
303
303
  * Used to fetch the active #BamfApplication.
304
304
  * @returns The active #BamfApplication.
@@ -309,7 +309,7 @@ interface Matcher {
309
309
  * @returns The active #BamfWindow.
310
310
  */
311
311
  get_active_window(): Window
312
- get_application_for_desktop_file(desktop_file_path: string | null, create_if_not_found: boolean): Application
312
+ get_application_for_desktop_file(desktop_file_path: string, create_if_not_found: boolean): Application
313
313
  /**
314
314
  * Used to fetch the #BamfApplication containing the passed window.
315
315
  * @param window The window to look for
@@ -364,7 +364,7 @@ interface Matcher {
364
364
  * @param desktop_file
365
365
  * @returns A list of xids.
366
366
  */
367
- get_xids_for_application(desktop_file: string | null): number[]
367
+ get_xids_for_application(desktop_file: string): number[]
368
368
  /**
369
369
  * Used to effect how bamf performs matching. Desktop files passed to this method will
370
370
  * be prefered by bamf to system desktop files.
@@ -429,9 +429,7 @@ interface Tab {
429
429
 
430
430
  // Own properties of Bamf-3.Bamf.Tab
431
431
 
432
- readonly desktop_id: string | null
433
432
  readonly desktopId: string | null
434
- readonly is_foreground_tab: boolean
435
433
  readonly isForegroundTab: boolean
436
434
  readonly location: string | null
437
435
  readonly xid: number
@@ -452,9 +450,9 @@ interface Tab {
452
450
  * Returns the desktop file for the tab.
453
451
  * @returns The tab desktop id or %NULL if not set or available. Do not free the returned value, it belongs to @self.
454
452
  */
455
- get_desktop_name(): string | null
453
+ get_desktop_name(): string
456
454
  get_is_foreground_tab(): boolean
457
- get_location(): string | null
455
+ get_location(): string
458
456
  /**
459
457
  * The desktop file for the tab.
460
458
  * @returns The tab parent window XID id or 0 if not set or available.
@@ -474,9 +472,9 @@ interface Tab {
474
472
  * @virtual
475
473
  * @returns The tab desktop id or %NULL if not set or available. Do not free the returned value, it belongs to @self.
476
474
  */
477
- vfunc_get_desktop_name(): string | null
475
+ vfunc_get_desktop_name(): string
478
476
  vfunc_get_is_foreground_tab(): boolean
479
- vfunc_get_location(): string | null
477
+ vfunc_get_location(): string
480
478
  /**
481
479
  * The desktop file for the tab.
482
480
  * @virtual
@@ -633,7 +631,6 @@ interface View {
633
631
  readonly running: boolean
634
632
  readonly starting: boolean
635
633
  readonly urgent: boolean
636
- readonly user_visible: boolean
637
634
  readonly userVisible: boolean
638
635
 
639
636
  // Own fields of Bamf-3.Bamf.View
@@ -661,7 +658,7 @@ interface View {
661
658
  * The view type of a window is a short string used to represent all views of the same class. These
662
659
  * descriptions should not be used to do casting as they are not considered stable.
663
660
  */
664
- get_view_type(): string | null
661
+ get_view_type(): string
665
662
  has_child(child: View): boolean
666
663
  /**
667
664
  * Determines if the view is currently active and focused by the user. Useful for an active window indicator.
@@ -741,7 +738,7 @@ interface View {
741
738
  vfunc_is_user_visible(): boolean
742
739
  vfunc_name_changed(old_name: string | null, new_name: string | null): void
743
740
  vfunc_running_changed(running: boolean): void
744
- vfunc_set_path(path: string | null): void
741
+ vfunc_set_path(path: string): void
745
742
  vfunc_set_sticky(value: boolean): void
746
743
  vfunc_starting_changed(starting: boolean): void
747
744
  vfunc_urgent_changed(urgent: boolean): void
@@ -751,7 +748,7 @@ interface View {
751
748
  * descriptions should not be used to do casting as they are not considered stable.
752
749
  * @virtual
753
750
  */
754
- vfunc_view_type(): string | null
751
+ vfunc_view_type(): string
755
752
 
756
753
  // Own signals of Bamf-3.Bamf.View
757
754
 
@@ -866,7 +863,7 @@ interface Window {
866
863
  get_monitor(): number
867
864
  get_pid(): number
868
865
  get_transient(): Window
869
- get_utf8_prop(prop: string | null): string | null
866
+ get_utf8_prop(prop: string): string | null
870
867
  get_window_type(): WindowType
871
868
  get_xid(): number
872
869
  last_active(): number
@@ -877,7 +874,7 @@ interface Window {
877
874
  vfunc_get_monitor(): number
878
875
  vfunc_get_pid(): number
879
876
  vfunc_get_transient(): Window
880
- vfunc_get_utf8_prop(prop: string | null): string | null
877
+ vfunc_get_utf8_prop(prop: string): string | null
881
878
  vfunc_get_window_type(): WindowType
882
879
  vfunc_get_xid(): number
883
880
  vfunc_last_active(): number
@@ -1010,8 +1007,8 @@ interface TabClass {
1010
1007
  // Own fields of Bamf-3.Bamf.TabClass
1011
1008
 
1012
1009
  parent_class: ViewClass
1013
- get_desktop_name: (self: Tab) => string | null
1014
- get_location: (self: Tab) => string | null
1010
+ get_desktop_name: (self: Tab) => string
1011
+ get_location: (self: Tab) => string
1015
1012
  get_xid: (self: Tab) => number
1016
1013
  get_is_foreground_tab: (self: Tab) => boolean
1017
1014
  }
@@ -1045,8 +1042,8 @@ interface ViewClass {
1045
1042
  is_user_visible: (view: View) => boolean
1046
1043
  get_name: (view: View) => string | null
1047
1044
  get_icon: (view: View) => string | null
1048
- view_type: (view: View) => string | null
1049
- set_path: (view: View, path: string | null) => void
1045
+ view_type: (view: View) => string
1046
+ set_path: (view: View, path: string) => void
1050
1047
  set_sticky: (view: View, value: boolean) => void
1051
1048
  click_behavior: (view: View) => ClickBehavior
1052
1049
  active_changed: (view: View, active: boolean) => void
@@ -1090,7 +1087,7 @@ interface WindowClass {
1090
1087
  get_xid: (self: Window) => number
1091
1088
  get_pid: (self: Window) => number
1092
1089
  get_monitor: (self: Window) => number
1093
- get_utf8_prop: (self: Window, prop: string | null) => string | null
1090
+ get_utf8_prop: (self: Window, prop: string) => string | null
1094
1091
  maximized: (self: Window) => WindowMaximizationType
1095
1092
  last_active: (self: Window) => number
1096
1093
  monitor_changed: (window: Window, old_value: number, new_value: number) => void
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/bamf-3",
3
- "version": "3.0.0-3.2.6",
3
+ "version": "3.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "bamf-3.js",
7
7
  "main": "bamf-3.js",
8
8
  "exports": {
9
- "./ambient": "./bamf-3-ambient.d.ts",
10
- "./import": "./bamf-3-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./bamf-3-ambient.d.ts",
11
+ "default": "./bamf-3-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./bamf-3-import.d.ts",
15
+ "default": "./bamf-3-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./bamf-3.d.ts",
@@ -25,9 +31,9 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit bamf-3.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gjs": "^3.2.6",
29
- "@girs/glib-2.0": "^2.78.0-3.2.6",
30
- "@girs/gobject-2.0": "^2.78.0-3.2.6"
34
+ "@girs/gjs": "^3.2.8",
35
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
36
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
31
37
  },
32
38
  "devDependencies": {
33
39
  "typescript": "*"
@@ -44,7 +50,7 @@
44
50
  "license": "MIT",
45
51
  "repository": {
46
52
  "type": "git",
47
- "url": "git+https://github.com/gjsify/types.git"
53
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
48
54
  },
49
55
  "bugs": {
50
56
  "url": "https://github.com/gjsify/ts-for-gir/issues"