@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 +1 -1
- package/package.json +6 -6
- package/unityextras-7.0.d.cts +7 -7
- package/unityextras-7.0.d.ts +7 -7
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
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.
|
|
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.
|
|
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.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
32
|
-
"@girs/unity-7.0": "^7.0.0-3.2.
|
|
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": "*"
|
package/unityextras-7.0.d.cts
CHANGED
|
@@ -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
|
|
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
|
|
23
|
-
export function dbus_own_name(name: string
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
package/unityextras-7.0.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
25
|
-
function dbus_own_name(name: string
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|