@girs/gnomebluetooth-3.0 3.0.0-3.2.7 → 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 +1 -1
- package/gnomebluetooth-3.0-ambient.js +2 -0
- package/gnomebluetooth-3.0-import.js +3 -0
- package/gnomebluetooth-3.0.d.cts +4 -49
- package/gnomebluetooth-3.0.d.ts +4 -49
- package/package.json +14 -8
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GnomeBluetooth-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GnomeBluetooth-3.0, 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
|
package/gnomebluetooth-3.0.d.cts
CHANGED
|
@@ -220,14 +220,6 @@ export module Client {
|
|
|
220
220
|
|
|
221
221
|
// Own constructor properties of GnomeBluetooth-3.0.GnomeBluetooth.Client
|
|
222
222
|
|
|
223
|
-
/**
|
|
224
|
-
* %TRUE if the default Bluetooth adapter is powered.
|
|
225
|
-
*/
|
|
226
|
-
default_adapter_powered?: boolean | null
|
|
227
|
-
/**
|
|
228
|
-
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
229
|
-
*/
|
|
230
|
-
default_adapter_setup_mode?: boolean | null
|
|
231
223
|
/**
|
|
232
224
|
* %TRUE if the default Bluetooth adapter is powered.
|
|
233
225
|
*/
|
|
@@ -244,60 +236,31 @@ export interface Client {
|
|
|
244
236
|
|
|
245
237
|
// Own properties of GnomeBluetooth-3.0.GnomeBluetooth.Client
|
|
246
238
|
|
|
247
|
-
/**
|
|
248
|
-
* The D-Bus path of the default Bluetooth adapter or %NULL.
|
|
249
|
-
*/
|
|
250
|
-
readonly default_adapter: string | null
|
|
251
239
|
/**
|
|
252
240
|
* The D-Bus path of the default Bluetooth adapter or %NULL.
|
|
253
241
|
*/
|
|
254
242
|
readonly defaultAdapter: string | null
|
|
255
|
-
/**
|
|
256
|
-
* The address of the default Bluetooth adapter or %NULL.
|
|
257
|
-
*/
|
|
258
|
-
readonly default_adapter_address: string | null
|
|
259
243
|
/**
|
|
260
244
|
* The address of the default Bluetooth adapter or %NULL.
|
|
261
245
|
*/
|
|
262
246
|
readonly defaultAdapterAddress: string | null
|
|
263
|
-
/**
|
|
264
|
-
* The name of the default Bluetooth adapter or %NULL.
|
|
265
|
-
*/
|
|
266
|
-
readonly default_adapter_name: string | null
|
|
267
247
|
/**
|
|
268
248
|
* The name of the default Bluetooth adapter or %NULL.
|
|
269
249
|
*/
|
|
270
250
|
readonly defaultAdapterName: string | null
|
|
271
|
-
/**
|
|
272
|
-
* %TRUE if the default Bluetooth adapter is powered.
|
|
273
|
-
*/
|
|
274
|
-
default_adapter_powered: boolean
|
|
275
251
|
/**
|
|
276
252
|
* %TRUE if the default Bluetooth adapter is powered.
|
|
277
253
|
*/
|
|
278
254
|
defaultAdapterPowered: boolean
|
|
279
|
-
/**
|
|
280
|
-
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
281
|
-
*/
|
|
282
|
-
default_adapter_setup_mode: boolean
|
|
283
255
|
/**
|
|
284
256
|
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
285
257
|
*/
|
|
286
258
|
defaultAdapterSetupMode: boolean
|
|
287
|
-
/**
|
|
288
|
-
* The #BluetoothAdapterState of the default Bluetooth adapter. More precise than
|
|
289
|
-
* #BluetoothClient:default-adapter-powered.
|
|
290
|
-
*/
|
|
291
|
-
readonly default_adapter_state: AdapterState
|
|
292
259
|
/**
|
|
293
260
|
* The #BluetoothAdapterState of the default Bluetooth adapter. More precise than
|
|
294
261
|
* #BluetoothClient:default-adapter-powered.
|
|
295
262
|
*/
|
|
296
263
|
readonly defaultAdapterState: AdapterState
|
|
297
|
-
/**
|
|
298
|
-
* The number of detected Bluetooth adapters.
|
|
299
|
-
*/
|
|
300
|
-
readonly num_adapters: number
|
|
301
264
|
/**
|
|
302
265
|
* The number of detected Bluetooth adapters.
|
|
303
266
|
*/
|
|
@@ -416,22 +379,18 @@ export module Device {
|
|
|
416
379
|
|
|
417
380
|
address?: string | null
|
|
418
381
|
alias?: string | null
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
382
|
+
batteryLevel?: number | null
|
|
383
|
+
batteryPercentage?: number | null
|
|
384
|
+
batteryType?: BatteryType | null
|
|
422
385
|
connected?: boolean | null
|
|
423
386
|
icon?: string | null
|
|
424
|
-
|
|
387
|
+
legacyPairing?: boolean | null
|
|
425
388
|
name?: string | null
|
|
426
389
|
paired?: boolean | null
|
|
427
390
|
proxy?: Gio.DBusProxy | null
|
|
428
391
|
trusted?: boolean | null
|
|
429
392
|
type?: Type | null
|
|
430
393
|
uuids?: string[] | null
|
|
431
|
-
batteryLevel?: number | null
|
|
432
|
-
batteryPercentage?: number | null
|
|
433
|
-
batteryType?: BatteryType | null
|
|
434
|
-
legacyPairing?: boolean | null
|
|
435
394
|
}
|
|
436
395
|
|
|
437
396
|
}
|
|
@@ -442,16 +401,12 @@ export interface Device {
|
|
|
442
401
|
|
|
443
402
|
address: string | null
|
|
444
403
|
alias: string | null
|
|
445
|
-
battery_level: number
|
|
446
404
|
batteryLevel: number
|
|
447
|
-
battery_percentage: number
|
|
448
405
|
batteryPercentage: number
|
|
449
|
-
battery_type: BatteryType
|
|
450
406
|
batteryType: BatteryType
|
|
451
407
|
readonly connectable: boolean
|
|
452
408
|
connected: boolean
|
|
453
409
|
icon: string | null
|
|
454
|
-
legacy_pairing: boolean
|
|
455
410
|
legacyPairing: boolean
|
|
456
411
|
name: string | null
|
|
457
412
|
paired: boolean
|
package/gnomebluetooth-3.0.d.ts
CHANGED
|
@@ -222,14 +222,6 @@ module Client {
|
|
|
222
222
|
|
|
223
223
|
// Own constructor properties of GnomeBluetooth-3.0.GnomeBluetooth.Client
|
|
224
224
|
|
|
225
|
-
/**
|
|
226
|
-
* %TRUE if the default Bluetooth adapter is powered.
|
|
227
|
-
*/
|
|
228
|
-
default_adapter_powered?: boolean | null
|
|
229
|
-
/**
|
|
230
|
-
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
231
|
-
*/
|
|
232
|
-
default_adapter_setup_mode?: boolean | null
|
|
233
225
|
/**
|
|
234
226
|
* %TRUE if the default Bluetooth adapter is powered.
|
|
235
227
|
*/
|
|
@@ -246,60 +238,31 @@ interface Client {
|
|
|
246
238
|
|
|
247
239
|
// Own properties of GnomeBluetooth-3.0.GnomeBluetooth.Client
|
|
248
240
|
|
|
249
|
-
/**
|
|
250
|
-
* The D-Bus path of the default Bluetooth adapter or %NULL.
|
|
251
|
-
*/
|
|
252
|
-
readonly default_adapter: string | null
|
|
253
241
|
/**
|
|
254
242
|
* The D-Bus path of the default Bluetooth adapter or %NULL.
|
|
255
243
|
*/
|
|
256
244
|
readonly defaultAdapter: string | null
|
|
257
|
-
/**
|
|
258
|
-
* The address of the default Bluetooth adapter or %NULL.
|
|
259
|
-
*/
|
|
260
|
-
readonly default_adapter_address: string | null
|
|
261
245
|
/**
|
|
262
246
|
* The address of the default Bluetooth adapter or %NULL.
|
|
263
247
|
*/
|
|
264
248
|
readonly defaultAdapterAddress: string | null
|
|
265
|
-
/**
|
|
266
|
-
* The name of the default Bluetooth adapter or %NULL.
|
|
267
|
-
*/
|
|
268
|
-
readonly default_adapter_name: string | null
|
|
269
249
|
/**
|
|
270
250
|
* The name of the default Bluetooth adapter or %NULL.
|
|
271
251
|
*/
|
|
272
252
|
readonly defaultAdapterName: string | null
|
|
273
|
-
/**
|
|
274
|
-
* %TRUE if the default Bluetooth adapter is powered.
|
|
275
|
-
*/
|
|
276
|
-
default_adapter_powered: boolean
|
|
277
253
|
/**
|
|
278
254
|
* %TRUE if the default Bluetooth adapter is powered.
|
|
279
255
|
*/
|
|
280
256
|
defaultAdapterPowered: boolean
|
|
281
|
-
/**
|
|
282
|
-
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
283
|
-
*/
|
|
284
|
-
default_adapter_setup_mode: boolean
|
|
285
257
|
/**
|
|
286
258
|
* %TRUE if the default Bluetooth adapter is in setup mode (discoverable, and discovering).
|
|
287
259
|
*/
|
|
288
260
|
defaultAdapterSetupMode: boolean
|
|
289
|
-
/**
|
|
290
|
-
* The #BluetoothAdapterState of the default Bluetooth adapter. More precise than
|
|
291
|
-
* #BluetoothClient:default-adapter-powered.
|
|
292
|
-
*/
|
|
293
|
-
readonly default_adapter_state: AdapterState
|
|
294
261
|
/**
|
|
295
262
|
* The #BluetoothAdapterState of the default Bluetooth adapter. More precise than
|
|
296
263
|
* #BluetoothClient:default-adapter-powered.
|
|
297
264
|
*/
|
|
298
265
|
readonly defaultAdapterState: AdapterState
|
|
299
|
-
/**
|
|
300
|
-
* The number of detected Bluetooth adapters.
|
|
301
|
-
*/
|
|
302
|
-
readonly num_adapters: number
|
|
303
266
|
/**
|
|
304
267
|
* The number of detected Bluetooth adapters.
|
|
305
268
|
*/
|
|
@@ -418,22 +381,18 @@ module Device {
|
|
|
418
381
|
|
|
419
382
|
address?: string | null
|
|
420
383
|
alias?: string | null
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
384
|
+
batteryLevel?: number | null
|
|
385
|
+
batteryPercentage?: number | null
|
|
386
|
+
batteryType?: BatteryType | null
|
|
424
387
|
connected?: boolean | null
|
|
425
388
|
icon?: string | null
|
|
426
|
-
|
|
389
|
+
legacyPairing?: boolean | null
|
|
427
390
|
name?: string | null
|
|
428
391
|
paired?: boolean | null
|
|
429
392
|
proxy?: Gio.DBusProxy | null
|
|
430
393
|
trusted?: boolean | null
|
|
431
394
|
type?: Type | null
|
|
432
395
|
uuids?: string[] | null
|
|
433
|
-
batteryLevel?: number | null
|
|
434
|
-
batteryPercentage?: number | null
|
|
435
|
-
batteryType?: BatteryType | null
|
|
436
|
-
legacyPairing?: boolean | null
|
|
437
396
|
}
|
|
438
397
|
|
|
439
398
|
}
|
|
@@ -444,16 +403,12 @@ interface Device {
|
|
|
444
403
|
|
|
445
404
|
address: string | null
|
|
446
405
|
alias: string | null
|
|
447
|
-
battery_level: number
|
|
448
406
|
batteryLevel: number
|
|
449
|
-
battery_percentage: number
|
|
450
407
|
batteryPercentage: number
|
|
451
|
-
battery_type: BatteryType
|
|
452
408
|
batteryType: BatteryType
|
|
453
409
|
readonly connectable: boolean
|
|
454
410
|
connected: boolean
|
|
455
411
|
icon: string | null
|
|
456
|
-
legacy_pairing: boolean
|
|
457
412
|
legacyPairing: boolean
|
|
458
413
|
name: string | null
|
|
459
414
|
paired: boolean
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gnomebluetooth-3.0",
|
|
3
|
-
"version": "3.0.0-3.2.
|
|
3
|
+
"version": "3.0.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GnomeBluetooth-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gnomebluetooth-3.0.js",
|
|
7
7
|
"main": "gnomebluetooth-3.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gnomebluetooth-3.0-ambient.d.ts",
|
|
11
|
+
"default": "./gnomebluetooth-3.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gnomebluetooth-3.0-import.d.ts",
|
|
15
|
+
"default": "./gnomebluetooth-3.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gnomebluetooth-3.0.d.ts",
|
|
@@ -25,10 +31,10 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gnomebluetooth-3.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.
|
|
34
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
35
|
+
"@girs/gjs": "^3.2.8",
|
|
36
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
37
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8"
|
|
32
38
|
},
|
|
33
39
|
"devDependencies": {
|
|
34
40
|
"typescript": "*"
|
|
@@ -45,7 +51,7 @@
|
|
|
45
51
|
"license": "MIT",
|
|
46
52
|
"repository": {
|
|
47
53
|
"type": "git",
|
|
48
|
-
"url": "git+https://github.com/gjsify/
|
|
54
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
49
55
|
},
|
|
50
56
|
"bugs": {
|
|
51
57
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|