@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.23 → 0.3.0-4.0.0-beta.24

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/cloudproviders-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
8
+ GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
9
9
 
10
10
 
11
11
  ## Install
@@ -59,6 +59,16 @@ export namespace CloudProviders {
59
59
  */
60
60
  function dbus_provider_override_properties(klass: typeof GObject.Object, property_id_begin: number): number;
61
61
  namespace Account {
62
+ // Signal signatures
63
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
64
+ 'notify::action-group': (pspec: GObject.ParamSpec) => void;
65
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
66
+ 'notify::menu-model': (pspec: GObject.ParamSpec) => void;
67
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
68
+ 'notify::path': (pspec: GObject.ParamSpec) => void;
69
+ 'notify::status-details': (pspec: GObject.ParamSpec) => void;
70
+ }
71
+
62
72
  // Constructor properties interface
63
73
 
64
74
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -95,6 +105,15 @@ export namespace CloudProviders {
95
105
  get status_details(): string;
96
106
  get statusDetails(): string;
97
107
 
108
+ /**
109
+ * Compile-time signal type information.
110
+ *
111
+ * This instance property is generated only for TypeScript type checking.
112
+ * It is not defined at runtime and should not be accessed in JS code.
113
+ * @internal
114
+ */
115
+ $signals: Account.SignalSignatures;
116
+
98
117
  // Constructors
99
118
 
100
119
  constructor(properties?: Partial<Account.ConstructorProps>, ...args: any[]);
@@ -103,6 +122,24 @@ export namespace CloudProviders {
103
122
 
104
123
  static ['new'](proxy: Gio.DBusProxy): Account;
105
124
 
125
+ // Signals
126
+
127
+ connect<K extends keyof Account.SignalSignatures>(
128
+ signal: K,
129
+ callback: GObject.SignalCallback<this, Account.SignalSignatures[K]>,
130
+ ): number;
131
+ connect(signal: string, callback: (...args: any[]) => any): number;
132
+ connect_after<K extends keyof Account.SignalSignatures>(
133
+ signal: K,
134
+ callback: GObject.SignalCallback<this, Account.SignalSignatures[K]>,
135
+ ): number;
136
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
137
+ emit<K extends keyof Account.SignalSignatures>(
138
+ signal: K,
139
+ ...args: GObject.GjsParameters<Account.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
140
+ ): void;
141
+ emit(signal: string, ...args: any[]): void;
142
+
106
143
  // Methods
107
144
 
108
145
  /**
@@ -144,6 +181,18 @@ export namespace CloudProviders {
144
181
  }
145
182
 
146
183
  namespace AccountExporter {
184
+ // Signal signatures
185
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
186
+ 'notify::action-group': (pspec: GObject.ParamSpec) => void;
187
+ 'notify::bus-name': (pspec: GObject.ParamSpec) => void;
188
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
189
+ 'notify::menu-model': (pspec: GObject.ParamSpec) => void;
190
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
191
+ 'notify::path': (pspec: GObject.ParamSpec) => void;
192
+ 'notify::provider': (pspec: GObject.ParamSpec) => void;
193
+ 'notify::status-details': (pspec: GObject.ParamSpec) => void;
194
+ }
195
+
147
196
  // Constructor properties interface
148
197
 
149
198
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -189,6 +238,15 @@ export namespace CloudProviders {
189
238
  get statusDetails(): string;
190
239
  set statusDetails(val: string);
191
240
 
241
+ /**
242
+ * Compile-time signal type information.
243
+ *
244
+ * This instance property is generated only for TypeScript type checking.
245
+ * It is not defined at runtime and should not be accessed in JS code.
246
+ * @internal
247
+ */
248
+ $signals: AccountExporter.SignalSignatures;
249
+
192
250
  // Constructors
193
251
 
194
252
  constructor(properties?: Partial<AccountExporter.ConstructorProps>, ...args: any[]);
@@ -197,6 +255,24 @@ export namespace CloudProviders {
197
255
 
198
256
  static ['new'](provider: ProviderExporter, bus_name: string): AccountExporter;
199
257
 
258
+ // Signals
259
+
260
+ connect<K extends keyof AccountExporter.SignalSignatures>(
261
+ signal: K,
262
+ callback: GObject.SignalCallback<this, AccountExporter.SignalSignatures[K]>,
263
+ ): number;
264
+ connect(signal: string, callback: (...args: any[]) => any): number;
265
+ connect_after<K extends keyof AccountExporter.SignalSignatures>(
266
+ signal: K,
267
+ callback: GObject.SignalCallback<this, AccountExporter.SignalSignatures[K]>,
268
+ ): number;
269
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
270
+ emit<K extends keyof AccountExporter.SignalSignatures>(
271
+ signal: K,
272
+ ...args: GObject.GjsParameters<AccountExporter.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
273
+ ): void;
274
+ emit(signal: string, ...args: any[]): void;
275
+
200
276
  // Methods
201
277
 
202
278
  /**
@@ -221,10 +297,9 @@ export namespace CloudProviders {
221
297
  }
222
298
 
223
299
  namespace Collector {
224
- // Signal callback interfaces
225
-
226
- interface ProvidersChanged {
227
- (): void;
300
+ // Signal signatures
301
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
302
+ 'providers-changed': () => void;
228
303
  }
229
304
 
230
305
  // Constructor properties interface
@@ -241,6 +316,15 @@ export namespace CloudProviders {
241
316
  class Collector extends GObject.Object {
242
317
  static $gtype: GObject.GType<Collector>;
243
318
 
319
+ /**
320
+ * Compile-time signal type information.
321
+ *
322
+ * This instance property is generated only for TypeScript type checking.
323
+ * It is not defined at runtime and should not be accessed in JS code.
324
+ * @internal
325
+ */
326
+ $signals: Collector.SignalSignatures;
327
+
244
328
  // Constructors
245
329
 
246
330
  constructor(properties?: Partial<Collector.ConstructorProps>, ...args: any[]);
@@ -249,12 +333,21 @@ export namespace CloudProviders {
249
333
 
250
334
  // Signals
251
335
 
252
- connect(id: string, callback: (...args: any[]) => any): number;
253
- connect_after(id: string, callback: (...args: any[]) => any): number;
254
- emit(id: string, ...args: any[]): void;
255
- connect(signal: 'providers-changed', callback: (_source: this) => void): number;
256
- connect_after(signal: 'providers-changed', callback: (_source: this) => void): number;
257
- emit(signal: 'providers-changed'): void;
336
+ connect<K extends keyof Collector.SignalSignatures>(
337
+ signal: K,
338
+ callback: GObject.SignalCallback<this, Collector.SignalSignatures[K]>,
339
+ ): number;
340
+ connect(signal: string, callback: (...args: any[]) => any): number;
341
+ connect_after<K extends keyof Collector.SignalSignatures>(
342
+ signal: K,
343
+ callback: GObject.SignalCallback<this, Collector.SignalSignatures[K]>,
344
+ ): number;
345
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
346
+ emit<K extends keyof Collector.SignalSignatures>(
347
+ signal: K,
348
+ ...args: GObject.GjsParameters<Collector.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
349
+ ): void;
350
+ emit(signal: string, ...args: any[]): void;
258
351
 
259
352
  // Static methods
260
353
 
@@ -270,6 +363,24 @@ export namespace CloudProviders {
270
363
  }
271
364
 
272
365
  namespace DbusAccountProxy {
366
+ // Signal signatures
367
+ interface SignalSignatures extends Gio.DBusProxy.SignalSignatures {
368
+ 'notify::g-bus-type': (pspec: GObject.ParamSpec) => void;
369
+ 'notify::g-connection': (pspec: GObject.ParamSpec) => void;
370
+ 'notify::g-default-timeout': (pspec: GObject.ParamSpec) => void;
371
+ 'notify::g-flags': (pspec: GObject.ParamSpec) => void;
372
+ 'notify::g-interface-info': (pspec: GObject.ParamSpec) => void;
373
+ 'notify::g-interface-name': (pspec: GObject.ParamSpec) => void;
374
+ 'notify::g-name': (pspec: GObject.ParamSpec) => void;
375
+ 'notify::g-name-owner': (pspec: GObject.ParamSpec) => void;
376
+ 'notify::g-object-path': (pspec: GObject.ParamSpec) => void;
377
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
378
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
379
+ 'notify::path': (pspec: GObject.ParamSpec) => void;
380
+ 'notify::status': (pspec: GObject.ParamSpec) => void;
381
+ 'notify::status-details': (pspec: GObject.ParamSpec) => void;
382
+ }
383
+
273
384
  // Constructor properties interface
274
385
 
275
386
  interface ConstructorProps
@@ -289,6 +400,15 @@ export namespace CloudProviders {
289
400
  {
290
401
  static $gtype: GObject.GType<DbusAccountProxy>;
291
402
 
403
+ /**
404
+ * Compile-time signal type information.
405
+ *
406
+ * This instance property is generated only for TypeScript type checking.
407
+ * It is not defined at runtime and should not be accessed in JS code.
408
+ * @internal
409
+ */
410
+ $signals: DbusAccountProxy.SignalSignatures;
411
+
292
412
  // Constructors
293
413
 
294
414
  constructor(properties?: Partial<DbusAccountProxy.ConstructorProps>, ...args: any[]);
@@ -324,6 +444,24 @@ export namespace CloudProviders {
324
444
 
325
445
  static new_sync(...args: never[]): any;
326
446
 
447
+ // Signals
448
+
449
+ connect<K extends keyof DbusAccountProxy.SignalSignatures>(
450
+ signal: K,
451
+ callback: GObject.SignalCallback<this, DbusAccountProxy.SignalSignatures[K]>,
452
+ ): number;
453
+ connect(signal: string, callback: (...args: any[]) => any): number;
454
+ connect_after<K extends keyof DbusAccountProxy.SignalSignatures>(
455
+ signal: K,
456
+ callback: GObject.SignalCallback<this, DbusAccountProxy.SignalSignatures[K]>,
457
+ ): number;
458
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
459
+ emit<K extends keyof DbusAccountProxy.SignalSignatures>(
460
+ signal: K,
461
+ ...args: GObject.GjsParameters<DbusAccountProxy.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
462
+ ): void;
463
+ emit(signal: string, ...args: any[]): void;
464
+
327
465
  // Static methods
328
466
 
329
467
  /**
@@ -1182,6 +1320,16 @@ export namespace CloudProviders {
1182
1320
  }
1183
1321
 
1184
1322
  namespace DbusAccountSkeleton {
1323
+ // Signal signatures
1324
+ interface SignalSignatures extends Gio.DBusInterfaceSkeleton.SignalSignatures {
1325
+ 'notify::g-flags': (pspec: GObject.ParamSpec) => void;
1326
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
1327
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1328
+ 'notify::path': (pspec: GObject.ParamSpec) => void;
1329
+ 'notify::status': (pspec: GObject.ParamSpec) => void;
1330
+ 'notify::status-details': (pspec: GObject.ParamSpec) => void;
1331
+ }
1332
+
1185
1333
  // Constructor properties interface
1186
1334
 
1187
1335
  interface ConstructorProps
@@ -1196,6 +1344,15 @@ export namespace CloudProviders {
1196
1344
  class DbusAccountSkeleton extends Gio.DBusInterfaceSkeleton implements DbusAccount, Gio.DBusInterface {
1197
1345
  static $gtype: GObject.GType<DbusAccountSkeleton>;
1198
1346
 
1347
+ /**
1348
+ * Compile-time signal type information.
1349
+ *
1350
+ * This instance property is generated only for TypeScript type checking.
1351
+ * It is not defined at runtime and should not be accessed in JS code.
1352
+ * @internal
1353
+ */
1354
+ $signals: DbusAccountSkeleton.SignalSignatures;
1355
+
1199
1356
  // Constructors
1200
1357
 
1201
1358
  constructor(properties?: Partial<DbusAccountSkeleton.ConstructorProps>, ...args: any[]);
@@ -1204,6 +1361,26 @@ export namespace CloudProviders {
1204
1361
 
1205
1362
  static ['new'](): DbusAccountSkeleton;
1206
1363
 
1364
+ // Signals
1365
+
1366
+ connect<K extends keyof DbusAccountSkeleton.SignalSignatures>(
1367
+ signal: K,
1368
+ callback: GObject.SignalCallback<this, DbusAccountSkeleton.SignalSignatures[K]>,
1369
+ ): number;
1370
+ connect(signal: string, callback: (...args: any[]) => any): number;
1371
+ connect_after<K extends keyof DbusAccountSkeleton.SignalSignatures>(
1372
+ signal: K,
1373
+ callback: GObject.SignalCallback<this, DbusAccountSkeleton.SignalSignatures[K]>,
1374
+ ): number;
1375
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1376
+ emit<K extends keyof DbusAccountSkeleton.SignalSignatures>(
1377
+ signal: K,
1378
+ ...args: GObject.GjsParameters<DbusAccountSkeleton.SignalSignatures[K]> extends [any, ...infer Q]
1379
+ ? Q
1380
+ : never
1381
+ ): void;
1382
+ emit(signal: string, ...args: any[]): void;
1383
+
1207
1384
  // Inherited properties
1208
1385
  /**
1209
1386
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Icon">"Icon"</link>.
@@ -1725,6 +1902,19 @@ export namespace CloudProviders {
1725
1902
  }
1726
1903
 
1727
1904
  namespace DbusObjectManagerClient {
1905
+ // Signal signatures
1906
+ interface SignalSignatures extends Gio.DBusObjectManagerClient.SignalSignatures {
1907
+ 'notify::bus-type': (pspec: GObject.ParamSpec) => void;
1908
+ 'notify::connection': (pspec: GObject.ParamSpec) => void;
1909
+ 'notify::flags': (pspec: GObject.ParamSpec) => void;
1910
+ 'notify::get-proxy-type-destroy-notify': (pspec: GObject.ParamSpec) => void;
1911
+ 'notify::get-proxy-type-func': (pspec: GObject.ParamSpec) => void;
1912
+ 'notify::get-proxy-type-user-data': (pspec: GObject.ParamSpec) => void;
1913
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1914
+ 'notify::name-owner': (pspec: GObject.ParamSpec) => void;
1915
+ 'notify::object-path': (pspec: GObject.ParamSpec) => void;
1916
+ }
1917
+
1728
1918
  // Constructor properties interface
1729
1919
 
1730
1920
  interface ConstructorProps
@@ -1743,6 +1933,15 @@ export namespace CloudProviders {
1743
1933
  {
1744
1934
  static $gtype: GObject.GType<DbusObjectManagerClient>;
1745
1935
 
1936
+ /**
1937
+ * Compile-time signal type information.
1938
+ *
1939
+ * This instance property is generated only for TypeScript type checking.
1940
+ * It is not defined at runtime and should not be accessed in JS code.
1941
+ * @internal
1942
+ */
1943
+ $signals: DbusObjectManagerClient.SignalSignatures;
1944
+
1746
1945
  // Constructors
1747
1946
 
1748
1947
  constructor(properties?: Partial<DbusObjectManagerClient.ConstructorProps>, ...args: any[]);
@@ -1778,6 +1977,26 @@ export namespace CloudProviders {
1778
1977
 
1779
1978
  static new_sync(...args: never[]): any;
1780
1979
 
1980
+ // Signals
1981
+
1982
+ connect<K extends keyof DbusObjectManagerClient.SignalSignatures>(
1983
+ signal: K,
1984
+ callback: GObject.SignalCallback<this, DbusObjectManagerClient.SignalSignatures[K]>,
1985
+ ): number;
1986
+ connect(signal: string, callback: (...args: any[]) => any): number;
1987
+ connect_after<K extends keyof DbusObjectManagerClient.SignalSignatures>(
1988
+ signal: K,
1989
+ callback: GObject.SignalCallback<this, DbusObjectManagerClient.SignalSignatures[K]>,
1990
+ ): number;
1991
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1992
+ emit<K extends keyof DbusObjectManagerClient.SignalSignatures>(
1993
+ signal: K,
1994
+ ...args: GObject.GjsParameters<DbusObjectManagerClient.SignalSignatures[K]> extends [any, ...infer Q]
1995
+ ? Q
1996
+ : never
1997
+ ): void;
1998
+ emit(signal: string, ...args: any[]): void;
1999
+
1781
2000
  // Static methods
1782
2001
 
1783
2002
  /**
@@ -2637,6 +2856,14 @@ export namespace CloudProviders {
2637
2856
  }
2638
2857
 
2639
2858
  namespace DbusObjectProxy {
2859
+ // Signal signatures
2860
+ interface SignalSignatures extends Gio.DBusObjectProxy.SignalSignatures {
2861
+ 'notify::g-connection': (pspec: GObject.ParamSpec) => void;
2862
+ 'notify::g-object-path': (pspec: GObject.ParamSpec) => void;
2863
+ 'notify::account': (pspec: GObject.ParamSpec) => void;
2864
+ 'notify::provider': (pspec: GObject.ParamSpec) => void;
2865
+ }
2866
+
2640
2867
  // Constructor properties interface
2641
2868
 
2642
2869
  interface ConstructorProps
@@ -2651,6 +2878,15 @@ export namespace CloudProviders {
2651
2878
  class DbusObjectProxy extends Gio.DBusObjectProxy implements DbusObject, Gio.DBusObject {
2652
2879
  static $gtype: GObject.GType<DbusObjectProxy>;
2653
2880
 
2881
+ /**
2882
+ * Compile-time signal type information.
2883
+ *
2884
+ * This instance property is generated only for TypeScript type checking.
2885
+ * It is not defined at runtime and should not be accessed in JS code.
2886
+ * @internal
2887
+ */
2888
+ $signals: DbusObjectProxy.SignalSignatures;
2889
+
2654
2890
  // Constructors
2655
2891
 
2656
2892
  constructor(properties?: Partial<DbusObjectProxy.ConstructorProps>, ...args: any[]);
@@ -2659,6 +2895,24 @@ export namespace CloudProviders {
2659
2895
 
2660
2896
  static ['new'](connection: Gio.DBusConnection, object_path: string): DbusObjectProxy;
2661
2897
 
2898
+ // Signals
2899
+
2900
+ connect<K extends keyof DbusObjectProxy.SignalSignatures>(
2901
+ signal: K,
2902
+ callback: GObject.SignalCallback<this, DbusObjectProxy.SignalSignatures[K]>,
2903
+ ): number;
2904
+ connect(signal: string, callback: (...args: any[]) => any): number;
2905
+ connect_after<K extends keyof DbusObjectProxy.SignalSignatures>(
2906
+ signal: K,
2907
+ callback: GObject.SignalCallback<this, DbusObjectProxy.SignalSignatures[K]>,
2908
+ ): number;
2909
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2910
+ emit<K extends keyof DbusObjectProxy.SignalSignatures>(
2911
+ signal: K,
2912
+ ...args: GObject.GjsParameters<DbusObjectProxy.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2913
+ ): void;
2914
+ emit(signal: string, ...args: any[]): void;
2915
+
2662
2916
  // Inherited properties
2663
2917
  /**
2664
2918
  * The #CloudProvidersDbusAccount instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>, if any.
@@ -3169,6 +3423,13 @@ export namespace CloudProviders {
3169
3423
  }
3170
3424
 
3171
3425
  namespace DbusObjectSkeleton {
3426
+ // Signal signatures
3427
+ interface SignalSignatures extends Gio.DBusObjectSkeleton.SignalSignatures {
3428
+ 'notify::g-object-path': (pspec: GObject.ParamSpec) => void;
3429
+ 'notify::account': (pspec: GObject.ParamSpec) => void;
3430
+ 'notify::provider': (pspec: GObject.ParamSpec) => void;
3431
+ }
3432
+
3172
3433
  // Constructor properties interface
3173
3434
 
3174
3435
  interface ConstructorProps
@@ -3183,6 +3444,15 @@ export namespace CloudProviders {
3183
3444
  class DbusObjectSkeleton extends Gio.DBusObjectSkeleton implements DbusObject, Gio.DBusObject {
3184
3445
  static $gtype: GObject.GType<DbusObjectSkeleton>;
3185
3446
 
3447
+ /**
3448
+ * Compile-time signal type information.
3449
+ *
3450
+ * This instance property is generated only for TypeScript type checking.
3451
+ * It is not defined at runtime and should not be accessed in JS code.
3452
+ * @internal
3453
+ */
3454
+ $signals: DbusObjectSkeleton.SignalSignatures;
3455
+
3186
3456
  // Constructors
3187
3457
 
3188
3458
  constructor(properties?: Partial<DbusObjectSkeleton.ConstructorProps>, ...args: any[]);
@@ -3191,6 +3461,24 @@ export namespace CloudProviders {
3191
3461
 
3192
3462
  static ['new'](object_path: string): DbusObjectSkeleton;
3193
3463
 
3464
+ // Signals
3465
+
3466
+ connect<K extends keyof DbusObjectSkeleton.SignalSignatures>(
3467
+ signal: K,
3468
+ callback: GObject.SignalCallback<this, DbusObjectSkeleton.SignalSignatures[K]>,
3469
+ ): number;
3470
+ connect(signal: string, callback: (...args: any[]) => any): number;
3471
+ connect_after<K extends keyof DbusObjectSkeleton.SignalSignatures>(
3472
+ signal: K,
3473
+ callback: GObject.SignalCallback<this, DbusObjectSkeleton.SignalSignatures[K]>,
3474
+ ): number;
3475
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
3476
+ emit<K extends keyof DbusObjectSkeleton.SignalSignatures>(
3477
+ signal: K,
3478
+ ...args: GObject.GjsParameters<DbusObjectSkeleton.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
3479
+ ): void;
3480
+ emit(signal: string, ...args: any[]): void;
3481
+
3194
3482
  // Methods
3195
3483
 
3196
3484
  /**
@@ -3714,6 +4002,20 @@ export namespace CloudProviders {
3714
4002
  }
3715
4003
 
3716
4004
  namespace DbusProviderProxy {
4005
+ // Signal signatures
4006
+ interface SignalSignatures extends Gio.DBusProxy.SignalSignatures {
4007
+ 'notify::g-bus-type': (pspec: GObject.ParamSpec) => void;
4008
+ 'notify::g-connection': (pspec: GObject.ParamSpec) => void;
4009
+ 'notify::g-default-timeout': (pspec: GObject.ParamSpec) => void;
4010
+ 'notify::g-flags': (pspec: GObject.ParamSpec) => void;
4011
+ 'notify::g-interface-info': (pspec: GObject.ParamSpec) => void;
4012
+ 'notify::g-interface-name': (pspec: GObject.ParamSpec) => void;
4013
+ 'notify::g-name': (pspec: GObject.ParamSpec) => void;
4014
+ 'notify::g-name-owner': (pspec: GObject.ParamSpec) => void;
4015
+ 'notify::g-object-path': (pspec: GObject.ParamSpec) => void;
4016
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
4017
+ }
4018
+
3717
4019
  // Constructor properties interface
3718
4020
 
3719
4021
  interface ConstructorProps
@@ -3733,6 +4035,15 @@ export namespace CloudProviders {
3733
4035
  {
3734
4036
  static $gtype: GObject.GType<DbusProviderProxy>;
3735
4037
 
4038
+ /**
4039
+ * Compile-time signal type information.
4040
+ *
4041
+ * This instance property is generated only for TypeScript type checking.
4042
+ * It is not defined at runtime and should not be accessed in JS code.
4043
+ * @internal
4044
+ */
4045
+ $signals: DbusProviderProxy.SignalSignatures;
4046
+
3736
4047
  // Constructors
3737
4048
 
3738
4049
  constructor(properties?: Partial<DbusProviderProxy.ConstructorProps>, ...args: any[]);
@@ -3768,6 +4079,24 @@ export namespace CloudProviders {
3768
4079
 
3769
4080
  static new_sync(...args: never[]): any;
3770
4081
 
4082
+ // Signals
4083
+
4084
+ connect<K extends keyof DbusProviderProxy.SignalSignatures>(
4085
+ signal: K,
4086
+ callback: GObject.SignalCallback<this, DbusProviderProxy.SignalSignatures[K]>,
4087
+ ): number;
4088
+ connect(signal: string, callback: (...args: any[]) => any): number;
4089
+ connect_after<K extends keyof DbusProviderProxy.SignalSignatures>(
4090
+ signal: K,
4091
+ callback: GObject.SignalCallback<this, DbusProviderProxy.SignalSignatures[K]>,
4092
+ ): number;
4093
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
4094
+ emit<K extends keyof DbusProviderProxy.SignalSignatures>(
4095
+ signal: K,
4096
+ ...args: GObject.GjsParameters<DbusProviderProxy.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
4097
+ ): void;
4098
+ emit(signal: string, ...args: any[]): void;
4099
+
3771
4100
  // Static methods
3772
4101
 
3773
4102
  /**
@@ -4591,6 +4920,12 @@ export namespace CloudProviders {
4591
4920
  }
4592
4921
 
4593
4922
  namespace DbusProviderSkeleton {
4923
+ // Signal signatures
4924
+ interface SignalSignatures extends Gio.DBusInterfaceSkeleton.SignalSignatures {
4925
+ 'notify::g-flags': (pspec: GObject.ParamSpec) => void;
4926
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
4927
+ }
4928
+
4594
4929
  // Constructor properties interface
4595
4930
 
4596
4931
  interface ConstructorProps
@@ -4605,6 +4940,15 @@ export namespace CloudProviders {
4605
4940
  class DbusProviderSkeleton extends Gio.DBusInterfaceSkeleton implements DbusProvider, Gio.DBusInterface {
4606
4941
  static $gtype: GObject.GType<DbusProviderSkeleton>;
4607
4942
 
4943
+ /**
4944
+ * Compile-time signal type information.
4945
+ *
4946
+ * This instance property is generated only for TypeScript type checking.
4947
+ * It is not defined at runtime and should not be accessed in JS code.
4948
+ * @internal
4949
+ */
4950
+ $signals: DbusProviderSkeleton.SignalSignatures;
4951
+
4608
4952
  // Constructors
4609
4953
 
4610
4954
  constructor(properties?: Partial<DbusProviderSkeleton.ConstructorProps>, ...args: any[]);
@@ -4613,6 +4957,26 @@ export namespace CloudProviders {
4613
4957
 
4614
4958
  static ['new'](): DbusProviderSkeleton;
4615
4959
 
4960
+ // Signals
4961
+
4962
+ connect<K extends keyof DbusProviderSkeleton.SignalSignatures>(
4963
+ signal: K,
4964
+ callback: GObject.SignalCallback<this, DbusProviderSkeleton.SignalSignatures[K]>,
4965
+ ): number;
4966
+ connect(signal: string, callback: (...args: any[]) => any): number;
4967
+ connect_after<K extends keyof DbusProviderSkeleton.SignalSignatures>(
4968
+ signal: K,
4969
+ callback: GObject.SignalCallback<this, DbusProviderSkeleton.SignalSignatures[K]>,
4970
+ ): number;
4971
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
4972
+ emit<K extends keyof DbusProviderSkeleton.SignalSignatures>(
4973
+ signal: K,
4974
+ ...args: GObject.GjsParameters<DbusProviderSkeleton.SignalSignatures[K]> extends [any, ...infer Q]
4975
+ ? Q
4976
+ : never
4977
+ ): void;
4978
+ emit(signal: string, ...args: any[]): void;
4979
+
4616
4980
  // Inherited properties
4617
4981
  /**
4618
4982
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Provider.Name">"Name"</link>.
@@ -5099,14 +5463,11 @@ export namespace CloudProviders {
5099
5463
  }
5100
5464
 
5101
5465
  namespace Provider {
5102
- // Signal callback interfaces
5103
-
5104
- interface AccountsChanged {
5105
- (): void;
5106
- }
5107
-
5108
- interface Removed {
5109
- (): void;
5466
+ // Signal signatures
5467
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
5468
+ 'accounts-changed': () => void;
5469
+ removed: () => void;
5470
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
5110
5471
  }
5111
5472
 
5112
5473
  // Constructor properties interface
@@ -5128,6 +5489,15 @@ export namespace CloudProviders {
5128
5489
 
5129
5490
  get name(): string;
5130
5491
 
5492
+ /**
5493
+ * Compile-time signal type information.
5494
+ *
5495
+ * This instance property is generated only for TypeScript type checking.
5496
+ * It is not defined at runtime and should not be accessed in JS code.
5497
+ * @internal
5498
+ */
5499
+ $signals: Provider.SignalSignatures;
5500
+
5131
5501
  // Constructors
5132
5502
 
5133
5503
  constructor(properties?: Partial<Provider.ConstructorProps>, ...args: any[]);
@@ -5138,15 +5508,21 @@ export namespace CloudProviders {
5138
5508
 
5139
5509
  // Signals
5140
5510
 
5141
- connect(id: string, callback: (...args: any[]) => any): number;
5142
- connect_after(id: string, callback: (...args: any[]) => any): number;
5143
- emit(id: string, ...args: any[]): void;
5144
- connect(signal: 'accounts-changed', callback: (_source: this) => void): number;
5145
- connect_after(signal: 'accounts-changed', callback: (_source: this) => void): number;
5146
- emit(signal: 'accounts-changed'): void;
5147
- connect(signal: 'removed', callback: (_source: this) => void): number;
5148
- connect_after(signal: 'removed', callback: (_source: this) => void): number;
5149
- emit(signal: 'removed'): void;
5511
+ connect<K extends keyof Provider.SignalSignatures>(
5512
+ signal: K,
5513
+ callback: GObject.SignalCallback<this, Provider.SignalSignatures[K]>,
5514
+ ): number;
5515
+ connect(signal: string, callback: (...args: any[]) => any): number;
5516
+ connect_after<K extends keyof Provider.SignalSignatures>(
5517
+ signal: K,
5518
+ callback: GObject.SignalCallback<this, Provider.SignalSignatures[K]>,
5519
+ ): number;
5520
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
5521
+ emit<K extends keyof Provider.SignalSignatures>(
5522
+ signal: K,
5523
+ ...args: GObject.GjsParameters<Provider.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
5524
+ ): void;
5525
+ emit(signal: string, ...args: any[]): void;
5150
5526
 
5151
5527
  // Methods
5152
5528
 
@@ -5155,6 +5531,14 @@ export namespace CloudProviders {
5155
5531
  }
5156
5532
 
5157
5533
  namespace ProviderExporter {
5534
+ // Signal signatures
5535
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
5536
+ 'notify::bus': (pspec: GObject.ParamSpec) => void;
5537
+ 'notify::bus-name': (pspec: GObject.ParamSpec) => void;
5538
+ 'notify::bus-path': (pspec: GObject.ParamSpec) => void;
5539
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
5540
+ }
5541
+
5158
5542
  // Constructor properties interface
5159
5543
 
5160
5544
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -5185,6 +5569,15 @@ export namespace CloudProviders {
5185
5569
  get name(): string;
5186
5570
  set name(val: string);
5187
5571
 
5572
+ /**
5573
+ * Compile-time signal type information.
5574
+ *
5575
+ * This instance property is generated only for TypeScript type checking.
5576
+ * It is not defined at runtime and should not be accessed in JS code.
5577
+ * @internal
5578
+ */
5579
+ $signals: ProviderExporter.SignalSignatures;
5580
+
5188
5581
  // Constructors
5189
5582
 
5190
5583
  constructor(properties?: Partial<ProviderExporter.ConstructorProps>, ...args: any[]);
@@ -5193,6 +5586,24 @@ export namespace CloudProviders {
5193
5586
 
5194
5587
  static ['new'](bus: Gio.DBusConnection, bus_name: string, bus_path: string): ProviderExporter;
5195
5588
 
5589
+ // Signals
5590
+
5591
+ connect<K extends keyof ProviderExporter.SignalSignatures>(
5592
+ signal: K,
5593
+ callback: GObject.SignalCallback<this, ProviderExporter.SignalSignatures[K]>,
5594
+ ): number;
5595
+ connect(signal: string, callback: (...args: any[]) => any): number;
5596
+ connect_after<K extends keyof ProviderExporter.SignalSignatures>(
5597
+ signal: K,
5598
+ callback: GObject.SignalCallback<this, ProviderExporter.SignalSignatures[K]>,
5599
+ ): number;
5600
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
5601
+ emit<K extends keyof ProviderExporter.SignalSignatures>(
5602
+ signal: K,
5603
+ ...args: GObject.GjsParameters<ProviderExporter.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
5604
+ ): void;
5605
+ emit(signal: string, ...args: any[]): void;
5606
+
5196
5607
  // Methods
5197
5608
 
5198
5609
  get_name(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cloudproviders-0.3",
3
- "version": "0.3.0-4.0.0-beta.23",
3
+ "version": "0.3.0-4.0.0-beta.24",
4
4
  "description": "GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0",
5
5
  "type": "module",
6
6
  "module": "cloudproviders-0.3.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
35
- "@girs/gjs": "^4.0.0-beta.23",
36
- "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
38
- "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
34
+ "@girs/gio-2.0": "^2.84.2-4.0.0-beta.24",
35
+ "@girs/gjs": "^4.0.0-beta.24",
36
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.24",
38
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24"
39
39
  },
40
40
  "devDependencies": {
41
41
  "typescript": "*"