@girs/unique-3.0 3.0.0-3.2.7 → 3.0.0-3.2.9

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/unique-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Unique-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Unique-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/unique-3.0",
3
- "version": "3.0.0-3.2.7",
3
+ "version": "3.0.0-3.2.9",
4
4
  "description": "GJS TypeScript type definitions for Unique-3.0, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "unique-3.0.js",
7
7
  "main": "unique-3.0.js",
8
8
  "exports": {
9
- "./ambient": "./unique-3.0-ambient.d.ts",
10
- "./import": "./unique-3.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./unique-3.0-ambient.d.ts",
11
+ "default": "./unique-3.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./unique-3.0-import.d.ts",
15
+ "default": "./unique-3.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./unique-3.0.d.ts",
@@ -25,20 +31,20 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit unique-3.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.7",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.7",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.7",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
33
- "@girs/gio-2.0": "^2.78.0-3.2.7",
34
- "@girs/gjs": "^3.2.7",
35
- "@girs/glib-2.0": "^2.78.0-3.2.7",
36
- "@girs/gmodule-2.0": "^2.0.0-3.2.7",
37
- "@girs/gobject-2.0": "^2.78.0-3.2.7",
38
- "@girs/gtk-3.0": "^3.24.38-3.2.7",
39
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
40
- "@girs/pango-1.0": "^1.51.0-3.2.7",
41
- "@girs/xlib-2.0": "^2.0.0-3.2.7"
34
+ "@girs/atk-1.0": "^2.50.1-3.2.9",
35
+ "@girs/cairo-1.0": "^1.0.0-3.2.9",
36
+ "@girs/freetype2-2.0": "^2.0.0-3.2.9",
37
+ "@girs/gdk-3.0": "^3.24.41-3.2.9",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.9",
39
+ "@girs/gio-2.0": "^2.78.0-3.2.9",
40
+ "@girs/gjs": "^3.2.9",
41
+ "@girs/glib-2.0": "^2.78.0-3.2.9",
42
+ "@girs/gmodule-2.0": "^2.0.0-3.2.9",
43
+ "@girs/gobject-2.0": "^2.78.0-3.2.9",
44
+ "@girs/gtk-3.0": "^3.24.41-3.2.9",
45
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.9",
46
+ "@girs/pango-1.0": "^1.51.0-3.2.9",
47
+ "@girs/xlib-2.0": "^2.0.0-3.2.9"
42
48
  },
43
49
  "devDependencies": {
44
50
  "typescript": "*"
@@ -55,7 +61,7 @@
55
61
  "license": "MIT",
56
62
  "repository": {
57
63
  "type": "git",
58
- "url": "git+https://github.com/gjsify/types.git"
64
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
59
65
  },
60
66
  "bugs": {
61
67
  "url": "https://github.com/gjsify/ts-for-gir/issues"
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/unique-3.0.d.cts CHANGED
@@ -76,12 +76,6 @@ export module App {
76
76
  * The #GdkScreen of the application.
77
77
  */
78
78
  screen?: Gdk.Screen | null
79
- /**
80
- * The startup notification id, needed to complete the startup
81
- * notification sequence. If not set, a default id will be
82
- * automatically given.
83
- */
84
- startup_id?: string | null
85
79
  /**
86
80
  * The startup notification id, needed to complete the startup
87
81
  * notification sequence. If not set, a default id will be
@@ -96,10 +90,6 @@ export interface App {
96
90
 
97
91
  // Own properties of Unique-3.0.Unique.App
98
92
 
99
- /**
100
- * Whether another instance of the application is running.
101
- */
102
- readonly is_running: boolean
103
93
  /**
104
94
  * Whether another instance of the application is running.
105
95
  */
@@ -113,12 +103,6 @@ export interface App {
113
103
  * The #GdkScreen of the application.
114
104
  */
115
105
  screen: Gdk.Screen
116
- /**
117
- * The startup notification id, needed to complete the startup
118
- * notification sequence. If not set, a default id will be
119
- * automatically given.
120
- */
121
- readonly startup_id: string
122
106
  /**
123
107
  * The startup notification id, needed to complete the startup
124
108
  * notification sequence. If not set, a default id will be
@@ -140,6 +124,11 @@ export interface App {
140
124
  * @param command_id command logical id
141
125
  */
142
126
  add_command(command_name: string | null, command_id: number): void
127
+ /**
128
+ * Checks whether another instance of `app` is running.
129
+ * @returns %TRUE if there already is an instance running
130
+ */
131
+ is_running(): boolean
143
132
  /**
144
133
  * Sends `command` to a running instance of `app`. If you need to pass data
145
134
  * to the instance, you should create a #UniqueMessageData object using
package/unique-3.0.d.ts CHANGED
@@ -78,12 +78,6 @@ module App {
78
78
  * The #GdkScreen of the application.
79
79
  */
80
80
  screen?: Gdk.Screen | null
81
- /**
82
- * The startup notification id, needed to complete the startup
83
- * notification sequence. If not set, a default id will be
84
- * automatically given.
85
- */
86
- startup_id?: string | null
87
81
  /**
88
82
  * The startup notification id, needed to complete the startup
89
83
  * notification sequence. If not set, a default id will be
@@ -98,10 +92,6 @@ interface App {
98
92
 
99
93
  // Own properties of Unique-3.0.Unique.App
100
94
 
101
- /**
102
- * Whether another instance of the application is running.
103
- */
104
- readonly is_running: boolean
105
95
  /**
106
96
  * Whether another instance of the application is running.
107
97
  */
@@ -115,12 +105,6 @@ interface App {
115
105
  * The #GdkScreen of the application.
116
106
  */
117
107
  screen: Gdk.Screen
118
- /**
119
- * The startup notification id, needed to complete the startup
120
- * notification sequence. If not set, a default id will be
121
- * automatically given.
122
- */
123
- readonly startup_id: string
124
108
  /**
125
109
  * The startup notification id, needed to complete the startup
126
110
  * notification sequence. If not set, a default id will be
@@ -142,6 +126,11 @@ interface App {
142
126
  * @param command_id command logical id
143
127
  */
144
128
  add_command(command_name: string | null, command_id: number): void
129
+ /**
130
+ * Checks whether another instance of `app` is running.
131
+ * @returns %TRUE if there already is an instance running
132
+ */
133
+ is_running(): boolean
145
134
  /**
146
135
  * Sends `command` to a running instance of `app`. If you need to pass data
147
136
  * to the instance, you should create a #UniqueMessageData object using