@girs/unityextras-7.0 7.0.0-3.2.6 → 7.0.0-3.2.7

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/unityextras-7.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for UnityExtras-7.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for UnityExtras-7.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/unityextras-7.0",
3
- "version": "7.0.0-3.2.6",
3
+ "version": "7.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for UnityExtras-7.0, generated from library version 7.0.0",
5
5
  "type": "module",
6
6
  "module": "unityextras-7.0.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit unityextras-7.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/unity-7.0": "^7.0.0-3.2.6"
28
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
29
+ "@girs/gjs": "^3.2.7",
30
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
31
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
32
+ "@girs/unity-7.0": "^7.0.0-3.2.7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"
@@ -17,10 +17,10 @@ import type Gio from '@girs/gio-2.0';
17
17
  import type GObject from '@girs/gobject-2.0';
18
18
  import type Unity from '@girs/unity-7.0';
19
19
 
20
- export function show_in_folder<Z = unknown>(uri: string | null, _callback_?: Gio.AsyncReadyCallback<Z> | null): void
20
+ export function show_in_folder<Z = unknown>(uri: string, _callback_?: Gio.AsyncReadyCallback<Z> | null): void
21
21
  export function show_in_folder_finish(_res_: Gio.AsyncResult): void
22
- export function dbus_name_has_owner(name: string | null): boolean
23
- export function dbus_own_name(name: string | null, scope_creation_cb: CreateScopeCallback): Gio.Application | null
22
+ export function dbus_name_has_owner(name: string): boolean
23
+ export function dbus_own_name(name: string, scope_creation_cb: CreateScopeCallback): Gio.Application | null
24
24
  export interface CreateScopeCallback {
25
25
  (): void
26
26
  }
@@ -32,7 +32,7 @@ export module PreviewPlayer {
32
32
  * Signal callback interface for `progress`
33
33
  */
34
34
  export interface ProgressSignalCallback {
35
- ($obj: PreviewPlayer, uri: string | null, state: Unity.MusicPreviewTrackState, progress: number): void
35
+ ($obj: PreviewPlayer, uri: string, state: Unity.MusicPreviewTrackState, progress: number): void
36
36
  }
37
37
 
38
38
 
@@ -47,7 +47,7 @@ export interface PreviewPlayer {
47
47
 
48
48
  // Owm methods of UnityExtras-7.0.UnityExtras.PreviewPlayer
49
49
 
50
- play(uri: string | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
50
+ play(uri: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
51
51
  play_finish(_res_: Gio.AsyncResult): void
52
52
  pause(_callback_?: Gio.AsyncReadyCallback<this> | null): void
53
53
  pause_finish(_res_: Gio.AsyncResult): void
@@ -59,14 +59,14 @@ export interface PreviewPlayer {
59
59
  stop_finish(_res_: Gio.AsyncResult): void
60
60
  close(_callback_?: Gio.AsyncReadyCallback<this> | null): void
61
61
  close_finish(_res_: Gio.AsyncResult): void
62
- video_properties(uri: string | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
62
+ video_properties(uri: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
63
63
  video_properties_finish(_res_: Gio.AsyncResult): GLib.HashTable
64
64
 
65
65
  // Own signals of UnityExtras-7.0.UnityExtras.PreviewPlayer
66
66
 
67
67
  connect(sigName: "progress", callback: PreviewPlayer.ProgressSignalCallback): number
68
68
  connect_after(sigName: "progress", callback: PreviewPlayer.ProgressSignalCallback): number
69
- emit(sigName: "progress", uri: string | null, state: Unity.MusicPreviewTrackState, progress: number, ...args: any[]): void
69
+ emit(sigName: "progress", uri: string, state: Unity.MusicPreviewTrackState, progress: number, ...args: any[]): void
70
70
 
71
71
  // Class property signals of UnityExtras-7.0.UnityExtras.PreviewPlayer
72
72
 
@@ -19,10 +19,10 @@ import type Unity from '@girs/unity-7.0';
19
19
 
20
20
  export namespace UnityExtras {
21
21
 
22
- function show_in_folder<Z = unknown>(uri: string | null, _callback_?: Gio.AsyncReadyCallback<Z> | null): void
22
+ function show_in_folder<Z = unknown>(uri: string, _callback_?: Gio.AsyncReadyCallback<Z> | null): void
23
23
  function show_in_folder_finish(_res_: Gio.AsyncResult): void
24
- function dbus_name_has_owner(name: string | null): boolean
25
- function dbus_own_name(name: string | null, scope_creation_cb: CreateScopeCallback): Gio.Application | null
24
+ function dbus_name_has_owner(name: string): boolean
25
+ function dbus_own_name(name: string, scope_creation_cb: CreateScopeCallback): Gio.Application | null
26
26
  interface CreateScopeCallback {
27
27
  (): void
28
28
  }
@@ -34,7 +34,7 @@ module PreviewPlayer {
34
34
  * Signal callback interface for `progress`
35
35
  */
36
36
  interface ProgressSignalCallback {
37
- ($obj: PreviewPlayer, uri: string | null, state: Unity.MusicPreviewTrackState, progress: number): void
37
+ ($obj: PreviewPlayer, uri: string, state: Unity.MusicPreviewTrackState, progress: number): void
38
38
  }
39
39
 
40
40
 
@@ -49,7 +49,7 @@ interface PreviewPlayer {
49
49
 
50
50
  // Owm methods of UnityExtras-7.0.UnityExtras.PreviewPlayer
51
51
 
52
- play(uri: string | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
52
+ play(uri: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
53
53
  play_finish(_res_: Gio.AsyncResult): void
54
54
  pause(_callback_?: Gio.AsyncReadyCallback<this> | null): void
55
55
  pause_finish(_res_: Gio.AsyncResult): void
@@ -61,14 +61,14 @@ interface PreviewPlayer {
61
61
  stop_finish(_res_: Gio.AsyncResult): void
62
62
  close(_callback_?: Gio.AsyncReadyCallback<this> | null): void
63
63
  close_finish(_res_: Gio.AsyncResult): void
64
- video_properties(uri: string | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
64
+ video_properties(uri: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
65
65
  video_properties_finish(_res_: Gio.AsyncResult): GLib.HashTable
66
66
 
67
67
  // Own signals of UnityExtras-7.0.UnityExtras.PreviewPlayer
68
68
 
69
69
  connect(sigName: "progress", callback: PreviewPlayer.ProgressSignalCallback): number
70
70
  connect_after(sigName: "progress", callback: PreviewPlayer.ProgressSignalCallback): number
71
- emit(sigName: "progress", uri: string | null, state: Unity.MusicPreviewTrackState, progress: number, ...args: any[]): void
71
+ emit(sigName: "progress", uri: string, state: Unity.MusicPreviewTrackState, progress: number, ...args: any[]): void
72
72
 
73
73
  // Class property signals of UnityExtras-7.0.UnityExtras.PreviewPlayer
74
74