@girs/msg-0 0.0.0-4.0.0-beta.23 → 0.0.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/msg-0.d.ts +496 -0
  3. package/package.json +9 -9
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/msg-0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
8
+ GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
9
9
 
10
10
 
11
11
  ## Install
package/msg-0.d.ts CHANGED
@@ -89,6 +89,9 @@ export namespace Msg {
89
89
  function error_quark(): GLib.Quark;
90
90
  function json_object_get_string(object: Json.Object, name: string): string;
91
91
  namespace Contact {
92
+ // Signal signatures
93
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
94
+
92
95
  // Constructor properties interface
93
96
 
94
97
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -102,6 +105,15 @@ export namespace Msg {
102
105
  class Contact extends GObject.Object {
103
106
  static $gtype: GObject.GType<Contact>;
104
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: Contact.SignalSignatures;
116
+
105
117
  // Constructors
106
118
 
107
119
  constructor(properties?: Partial<Contact.ConstructorProps>, ...args: any[]);
@@ -112,6 +124,24 @@ export namespace Msg {
112
124
 
113
125
  static new_from_json(json_object: Json.Object): Contact;
114
126
 
127
+ // Signals
128
+
129
+ connect<K extends keyof Contact.SignalSignatures>(
130
+ signal: K,
131
+ callback: GObject.SignalCallback<this, Contact.SignalSignatures[K]>,
132
+ ): number;
133
+ connect(signal: string, callback: (...args: any[]) => any): number;
134
+ connect_after<K extends keyof Contact.SignalSignatures>(
135
+ signal: K,
136
+ callback: GObject.SignalCallback<this, Contact.SignalSignatures[K]>,
137
+ ): number;
138
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
139
+ emit<K extends keyof Contact.SignalSignatures>(
140
+ signal: K,
141
+ ...args: GObject.GjsParameters<Contact.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
142
+ ): void;
143
+ emit(signal: string, ...args: any[]): void;
144
+
115
145
  // Methods
116
146
 
117
147
  /**
@@ -143,6 +173,11 @@ export namespace Msg {
143
173
  }
144
174
 
145
175
  namespace ContactService {
176
+ // Signal signatures
177
+ interface SignalSignatures extends Service.SignalSignatures {
178
+ 'notify::authorizer': (pspec: GObject.ParamSpec) => void;
179
+ }
180
+
146
181
  // Constructor properties interface
147
182
 
148
183
  interface ConstructorProps extends Service.ConstructorProps {}
@@ -151,6 +186,15 @@ export namespace Msg {
151
186
  class ContactService extends Service {
152
187
  static $gtype: GObject.GType<ContactService>;
153
188
 
189
+ /**
190
+ * Compile-time signal type information.
191
+ *
192
+ * This instance property is generated only for TypeScript type checking.
193
+ * It is not defined at runtime and should not be accessed in JS code.
194
+ * @internal
195
+ */
196
+ $signals: ContactService.SignalSignatures;
197
+
154
198
  // Constructors
155
199
 
156
200
  constructor(properties?: Partial<ContactService.ConstructorProps>, ...args: any[]);
@@ -159,6 +203,24 @@ export namespace Msg {
159
203
 
160
204
  static ['new'](authorizer: Authorizer): ContactService;
161
205
 
206
+ // Signals
207
+
208
+ connect<K extends keyof ContactService.SignalSignatures>(
209
+ signal: K,
210
+ callback: GObject.SignalCallback<this, ContactService.SignalSignatures[K]>,
211
+ ): number;
212
+ connect(signal: string, callback: (...args: any[]) => any): number;
213
+ connect_after<K extends keyof ContactService.SignalSignatures>(
214
+ signal: K,
215
+ callback: GObject.SignalCallback<this, ContactService.SignalSignatures[K]>,
216
+ ): number;
217
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
218
+ emit<K extends keyof ContactService.SignalSignatures>(
219
+ signal: K,
220
+ ...args: GObject.GjsParameters<ContactService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
221
+ ): void;
222
+ emit(signal: string, ...args: any[]): void;
223
+
162
224
  // Methods
163
225
 
164
226
  /**
@@ -184,6 +246,9 @@ export namespace Msg {
184
246
  }
185
247
 
186
248
  namespace Drive {
249
+ // Signal signatures
250
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
251
+
187
252
  // Constructor properties interface
188
253
 
189
254
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -197,6 +262,15 @@ export namespace Msg {
197
262
  class Drive extends GObject.Object {
198
263
  static $gtype: GObject.GType<Drive>;
199
264
 
265
+ /**
266
+ * Compile-time signal type information.
267
+ *
268
+ * This instance property is generated only for TypeScript type checking.
269
+ * It is not defined at runtime and should not be accessed in JS code.
270
+ * @internal
271
+ */
272
+ $signals: Drive.SignalSignatures;
273
+
200
274
  // Constructors
201
275
 
202
276
  constructor(properties?: Partial<Drive.ConstructorProps>, ...args: any[]);
@@ -207,6 +281,24 @@ export namespace Msg {
207
281
 
208
282
  static new_from_json(object: Json.Object): Drive;
209
283
 
284
+ // Signals
285
+
286
+ connect<K extends keyof Drive.SignalSignatures>(
287
+ signal: K,
288
+ callback: GObject.SignalCallback<this, Drive.SignalSignatures[K]>,
289
+ ): number;
290
+ connect(signal: string, callback: (...args: any[]) => any): number;
291
+ connect_after<K extends keyof Drive.SignalSignatures>(
292
+ signal: K,
293
+ callback: GObject.SignalCallback<this, Drive.SignalSignatures[K]>,
294
+ ): number;
295
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
296
+ emit<K extends keyof Drive.SignalSignatures>(
297
+ signal: K,
298
+ ...args: GObject.GjsParameters<Drive.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
299
+ ): void;
300
+ emit(signal: string, ...args: any[]): void;
301
+
210
302
  // Methods
211
303
 
212
304
  /**
@@ -252,6 +344,9 @@ export namespace Msg {
252
344
  }
253
345
 
254
346
  namespace DriveItem {
347
+ // Signal signatures
348
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
349
+
255
350
  // Constructor properties interface
256
351
 
257
352
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -260,6 +355,15 @@ export namespace Msg {
260
355
  class DriveItem extends GObject.Object {
261
356
  static $gtype: GObject.GType<DriveItem>;
262
357
 
358
+ /**
359
+ * Compile-time signal type information.
360
+ *
361
+ * This instance property is generated only for TypeScript type checking.
362
+ * It is not defined at runtime and should not be accessed in JS code.
363
+ * @internal
364
+ */
365
+ $signals: DriveItem.SignalSignatures;
366
+
263
367
  // Constructors
264
368
 
265
369
  constructor(properties?: Partial<DriveItem.ConstructorProps>, ...args: any[]);
@@ -268,6 +372,24 @@ export namespace Msg {
268
372
 
269
373
  static new_from_json(object: Json.Object): DriveItem;
270
374
 
375
+ // Signals
376
+
377
+ connect<K extends keyof DriveItem.SignalSignatures>(
378
+ signal: K,
379
+ callback: GObject.SignalCallback<this, DriveItem.SignalSignatures[K]>,
380
+ ): number;
381
+ connect(signal: string, callback: (...args: any[]) => any): number;
382
+ connect_after<K extends keyof DriveItem.SignalSignatures>(
383
+ signal: K,
384
+ callback: GObject.SignalCallback<this, DriveItem.SignalSignatures[K]>,
385
+ ): number;
386
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
387
+ emit<K extends keyof DriveItem.SignalSignatures>(
388
+ signal: K,
389
+ ...args: GObject.GjsParameters<DriveItem.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
390
+ ): void;
391
+ emit(signal: string, ...args: any[]): void;
392
+
271
393
  // Methods
272
394
 
273
395
  /**
@@ -338,6 +460,9 @@ export namespace Msg {
338
460
  }
339
461
 
340
462
  namespace DriveItemFile {
463
+ // Signal signatures
464
+ interface SignalSignatures extends DriveItem.SignalSignatures {}
465
+
341
466
  // Constructor properties interface
342
467
 
343
468
  interface ConstructorProps extends DriveItem.ConstructorProps {}
@@ -346,6 +471,15 @@ export namespace Msg {
346
471
  class DriveItemFile extends DriveItem {
347
472
  static $gtype: GObject.GType<DriveItemFile>;
348
473
 
474
+ /**
475
+ * Compile-time signal type information.
476
+ *
477
+ * This instance property is generated only for TypeScript type checking.
478
+ * It is not defined at runtime and should not be accessed in JS code.
479
+ * @internal
480
+ */
481
+ $signals: DriveItemFile.SignalSignatures;
482
+
349
483
  // Constructors
350
484
 
351
485
  constructor(properties?: Partial<DriveItemFile.ConstructorProps>, ...args: any[]);
@@ -356,6 +490,24 @@ export namespace Msg {
356
490
 
357
491
  static new_from_json(object: Json.Object): DriveItemFile;
358
492
 
493
+ // Signals
494
+
495
+ connect<K extends keyof DriveItemFile.SignalSignatures>(
496
+ signal: K,
497
+ callback: GObject.SignalCallback<this, DriveItemFile.SignalSignatures[K]>,
498
+ ): number;
499
+ connect(signal: string, callback: (...args: any[]) => any): number;
500
+ connect_after<K extends keyof DriveItemFile.SignalSignatures>(
501
+ signal: K,
502
+ callback: GObject.SignalCallback<this, DriveItemFile.SignalSignatures[K]>,
503
+ ): number;
504
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
505
+ emit<K extends keyof DriveItemFile.SignalSignatures>(
506
+ signal: K,
507
+ ...args: GObject.GjsParameters<DriveItemFile.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
508
+ ): void;
509
+ emit(signal: string, ...args: any[]): void;
510
+
359
511
  // Methods
360
512
 
361
513
  /**
@@ -371,6 +523,9 @@ export namespace Msg {
371
523
  }
372
524
 
373
525
  namespace DriveItemFolder {
526
+ // Signal signatures
527
+ interface SignalSignatures extends DriveItem.SignalSignatures {}
528
+
374
529
  // Constructor properties interface
375
530
 
376
531
  interface ConstructorProps extends DriveItem.ConstructorProps {}
@@ -379,6 +534,15 @@ export namespace Msg {
379
534
  class DriveItemFolder extends DriveItem {
380
535
  static $gtype: GObject.GType<DriveItemFolder>;
381
536
 
537
+ /**
538
+ * Compile-time signal type information.
539
+ *
540
+ * This instance property is generated only for TypeScript type checking.
541
+ * It is not defined at runtime and should not be accessed in JS code.
542
+ * @internal
543
+ */
544
+ $signals: DriveItemFolder.SignalSignatures;
545
+
382
546
  // Constructors
383
547
 
384
548
  constructor(properties?: Partial<DriveItemFolder.ConstructorProps>, ...args: any[]);
@@ -388,9 +552,32 @@ export namespace Msg {
388
552
  static ['new'](): DriveItemFolder;
389
553
 
390
554
  static new_from_json(object: Json.Object): DriveItemFolder;
555
+
556
+ // Signals
557
+
558
+ connect<K extends keyof DriveItemFolder.SignalSignatures>(
559
+ signal: K,
560
+ callback: GObject.SignalCallback<this, DriveItemFolder.SignalSignatures[K]>,
561
+ ): number;
562
+ connect(signal: string, callback: (...args: any[]) => any): number;
563
+ connect_after<K extends keyof DriveItemFolder.SignalSignatures>(
564
+ signal: K,
565
+ callback: GObject.SignalCallback<this, DriveItemFolder.SignalSignatures[K]>,
566
+ ): number;
567
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
568
+ emit<K extends keyof DriveItemFolder.SignalSignatures>(
569
+ signal: K,
570
+ ...args: GObject.GjsParameters<DriveItemFolder.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
571
+ ): void;
572
+ emit(signal: string, ...args: any[]): void;
391
573
  }
392
574
 
393
575
  namespace DriveService {
576
+ // Signal signatures
577
+ interface SignalSignatures extends Service.SignalSignatures {
578
+ 'notify::authorizer': (pspec: GObject.ParamSpec) => void;
579
+ }
580
+
394
581
  // Constructor properties interface
395
582
 
396
583
  interface ConstructorProps extends Service.ConstructorProps {}
@@ -399,6 +586,15 @@ export namespace Msg {
399
586
  class DriveService extends Service {
400
587
  static $gtype: GObject.GType<DriveService>;
401
588
 
589
+ /**
590
+ * Compile-time signal type information.
591
+ *
592
+ * This instance property is generated only for TypeScript type checking.
593
+ * It is not defined at runtime and should not be accessed in JS code.
594
+ * @internal
595
+ */
596
+ $signals: DriveService.SignalSignatures;
597
+
402
598
  // Constructors
403
599
 
404
600
  constructor(properties?: Partial<DriveService.ConstructorProps>, ...args: any[]);
@@ -407,6 +603,24 @@ export namespace Msg {
407
603
 
408
604
  static ['new'](authorizer: Authorizer): DriveService;
409
605
 
606
+ // Signals
607
+
608
+ connect<K extends keyof DriveService.SignalSignatures>(
609
+ signal: K,
610
+ callback: GObject.SignalCallback<this, DriveService.SignalSignatures[K]>,
611
+ ): number;
612
+ connect(signal: string, callback: (...args: any[]) => any): number;
613
+ connect_after<K extends keyof DriveService.SignalSignatures>(
614
+ signal: K,
615
+ callback: GObject.SignalCallback<this, DriveService.SignalSignatures[K]>,
616
+ ): number;
617
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
618
+ emit<K extends keyof DriveService.SignalSignatures>(
619
+ signal: K,
620
+ ...args: GObject.GjsParameters<DriveService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
621
+ ): void;
622
+ emit(signal: string, ...args: any[]): void;
623
+
410
624
  // Methods
411
625
 
412
626
  /**
@@ -514,6 +728,11 @@ export namespace Msg {
514
728
  }
515
729
 
516
730
  namespace GoaAuthorizer {
731
+ // Signal signatures
732
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
733
+ 'notify::goa-object': (pspec: GObject.ParamSpec) => void;
734
+ }
735
+
517
736
  // Constructor properties interface
518
737
 
519
738
  interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
@@ -534,6 +753,15 @@ export namespace Msg {
534
753
  get goa_object(): Goa.Object;
535
754
  get goaObject(): Goa.Object;
536
755
 
756
+ /**
757
+ * Compile-time signal type information.
758
+ *
759
+ * This instance property is generated only for TypeScript type checking.
760
+ * It is not defined at runtime and should not be accessed in JS code.
761
+ * @internal
762
+ */
763
+ $signals: GoaAuthorizer.SignalSignatures;
764
+
537
765
  // Constructors
538
766
 
539
767
  constructor(properties?: Partial<GoaAuthorizer.ConstructorProps>, ...args: any[]);
@@ -542,6 +770,24 @@ export namespace Msg {
542
770
 
543
771
  static ['new'](goa_object: Goa.Object): GoaAuthorizer;
544
772
 
773
+ // Signals
774
+
775
+ connect<K extends keyof GoaAuthorizer.SignalSignatures>(
776
+ signal: K,
777
+ callback: GObject.SignalCallback<this, GoaAuthorizer.SignalSignatures[K]>,
778
+ ): number;
779
+ connect(signal: string, callback: (...args: any[]) => any): number;
780
+ connect_after<K extends keyof GoaAuthorizer.SignalSignatures>(
781
+ signal: K,
782
+ callback: GObject.SignalCallback<this, GoaAuthorizer.SignalSignatures[K]>,
783
+ ): number;
784
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
785
+ emit<K extends keyof GoaAuthorizer.SignalSignatures>(
786
+ signal: K,
787
+ ...args: GObject.GjsParameters<GoaAuthorizer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
788
+ ): void;
789
+ emit(signal: string, ...args: any[]): void;
790
+
545
791
  // Methods
546
792
 
547
793
  /**
@@ -1028,6 +1274,9 @@ export namespace Msg {
1028
1274
  }
1029
1275
 
1030
1276
  namespace InputStream {
1277
+ // Signal signatures
1278
+ interface SignalSignatures extends Gio.InputStream.SignalSignatures {}
1279
+
1031
1280
  // Constructor properties interface
1032
1281
 
1033
1282
  interface ConstructorProps extends Gio.InputStream.ConstructorProps, Gio.Seekable.ConstructorProps {}
@@ -1036,6 +1285,15 @@ export namespace Msg {
1036
1285
  class InputStream extends Gio.InputStream implements Gio.Seekable {
1037
1286
  static $gtype: GObject.GType<InputStream>;
1038
1287
 
1288
+ /**
1289
+ * Compile-time signal type information.
1290
+ *
1291
+ * This instance property is generated only for TypeScript type checking.
1292
+ * It is not defined at runtime and should not be accessed in JS code.
1293
+ * @internal
1294
+ */
1295
+ $signals: InputStream.SignalSignatures;
1296
+
1039
1297
  // Constructors
1040
1298
 
1041
1299
  constructor(properties?: Partial<InputStream.ConstructorProps>, ...args: any[]);
@@ -1044,6 +1302,24 @@ export namespace Msg {
1044
1302
 
1045
1303
  static ['new'](service: Service, uri: string): InputStream;
1046
1304
 
1305
+ // Signals
1306
+
1307
+ connect<K extends keyof InputStream.SignalSignatures>(
1308
+ signal: K,
1309
+ callback: GObject.SignalCallback<this, InputStream.SignalSignatures[K]>,
1310
+ ): number;
1311
+ connect(signal: string, callback: (...args: any[]) => any): number;
1312
+ connect_after<K extends keyof InputStream.SignalSignatures>(
1313
+ signal: K,
1314
+ callback: GObject.SignalCallback<this, InputStream.SignalSignatures[K]>,
1315
+ ): number;
1316
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1317
+ emit<K extends keyof InputStream.SignalSignatures>(
1318
+ signal: K,
1319
+ ...args: GObject.GjsParameters<InputStream.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1320
+ ): void;
1321
+ emit(signal: string, ...args: any[]): void;
1322
+
1047
1323
  // Static methods
1048
1324
 
1049
1325
  /**
@@ -1601,6 +1877,9 @@ export namespace Msg {
1601
1877
  }
1602
1878
 
1603
1879
  namespace MailFolder {
1880
+ // Signal signatures
1881
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1882
+
1604
1883
  // Constructor properties interface
1605
1884
 
1606
1885
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1612,6 +1891,15 @@ export namespace Msg {
1612
1891
  class MailFolder extends GObject.Object {
1613
1892
  static $gtype: GObject.GType<MailFolder>;
1614
1893
 
1894
+ /**
1895
+ * Compile-time signal type information.
1896
+ *
1897
+ * This instance property is generated only for TypeScript type checking.
1898
+ * It is not defined at runtime and should not be accessed in JS code.
1899
+ * @internal
1900
+ */
1901
+ $signals: MailFolder.SignalSignatures;
1902
+
1615
1903
  // Constructors
1616
1904
 
1617
1905
  constructor(properties?: Partial<MailFolder.ConstructorProps>, ...args: any[]);
@@ -1622,6 +1910,24 @@ export namespace Msg {
1622
1910
 
1623
1911
  static new_from_json(json_object: Json.Object): MailFolder;
1624
1912
 
1913
+ // Signals
1914
+
1915
+ connect<K extends keyof MailFolder.SignalSignatures>(
1916
+ signal: K,
1917
+ callback: GObject.SignalCallback<this, MailFolder.SignalSignatures[K]>,
1918
+ ): number;
1919
+ connect(signal: string, callback: (...args: any[]) => any): number;
1920
+ connect_after<K extends keyof MailFolder.SignalSignatures>(
1921
+ signal: K,
1922
+ callback: GObject.SignalCallback<this, MailFolder.SignalSignatures[K]>,
1923
+ ): number;
1924
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1925
+ emit<K extends keyof MailFolder.SignalSignatures>(
1926
+ signal: K,
1927
+ ...args: GObject.GjsParameters<MailFolder.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1928
+ ): void;
1929
+ emit(signal: string, ...args: any[]): void;
1930
+
1625
1931
  // Methods
1626
1932
 
1627
1933
  get_display_name(): string;
@@ -1630,6 +1936,9 @@ export namespace Msg {
1630
1936
  }
1631
1937
 
1632
1938
  namespace Message {
1939
+ // Signal signatures
1940
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1941
+
1633
1942
  // Constructor properties interface
1634
1943
 
1635
1944
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1643,6 +1952,15 @@ export namespace Msg {
1643
1952
  class Message extends GObject.Object {
1644
1953
  static $gtype: GObject.GType<Message>;
1645
1954
 
1955
+ /**
1956
+ * Compile-time signal type information.
1957
+ *
1958
+ * This instance property is generated only for TypeScript type checking.
1959
+ * It is not defined at runtime and should not be accessed in JS code.
1960
+ * @internal
1961
+ */
1962
+ $signals: Message.SignalSignatures;
1963
+
1646
1964
  // Constructors
1647
1965
 
1648
1966
  constructor(properties?: Partial<Message.ConstructorProps>, ...args: any[]);
@@ -1653,6 +1971,24 @@ export namespace Msg {
1653
1971
 
1654
1972
  static new_from_json(json_object: Json.Object): Message;
1655
1973
 
1974
+ // Signals
1975
+
1976
+ connect<K extends keyof Message.SignalSignatures>(
1977
+ signal: K,
1978
+ callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>,
1979
+ ): number;
1980
+ connect(signal: string, callback: (...args: any[]) => any): number;
1981
+ connect_after<K extends keyof Message.SignalSignatures>(
1982
+ signal: K,
1983
+ callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>,
1984
+ ): number;
1985
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1986
+ emit<K extends keyof Message.SignalSignatures>(
1987
+ signal: K,
1988
+ ...args: GObject.GjsParameters<Message.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1989
+ ): void;
1990
+ emit(signal: string, ...args: any[]): void;
1991
+
1656
1992
  // Methods
1657
1993
 
1658
1994
  get_body_preview(): string;
@@ -1663,6 +1999,11 @@ export namespace Msg {
1663
1999
  }
1664
2000
 
1665
2001
  namespace MessageService {
2002
+ // Signal signatures
2003
+ interface SignalSignatures extends Service.SignalSignatures {
2004
+ 'notify::authorizer': (pspec: GObject.ParamSpec) => void;
2005
+ }
2006
+
1666
2007
  // Constructor properties interface
1667
2008
 
1668
2009
  interface ConstructorProps extends Service.ConstructorProps {}
@@ -1671,6 +2012,15 @@ export namespace Msg {
1671
2012
  class MessageService extends Service {
1672
2013
  static $gtype: GObject.GType<MessageService>;
1673
2014
 
2015
+ /**
2016
+ * Compile-time signal type information.
2017
+ *
2018
+ * This instance property is generated only for TypeScript type checking.
2019
+ * It is not defined at runtime and should not be accessed in JS code.
2020
+ * @internal
2021
+ */
2022
+ $signals: MessageService.SignalSignatures;
2023
+
1674
2024
  // Constructors
1675
2025
 
1676
2026
  constructor(properties?: Partial<MessageService.ConstructorProps>, ...args: any[]);
@@ -1679,6 +2029,24 @@ export namespace Msg {
1679
2029
 
1680
2030
  static ['new'](authorizer: Authorizer): MessageService;
1681
2031
 
2032
+ // Signals
2033
+
2034
+ connect<K extends keyof MessageService.SignalSignatures>(
2035
+ signal: K,
2036
+ callback: GObject.SignalCallback<this, MessageService.SignalSignatures[K]>,
2037
+ ): number;
2038
+ connect(signal: string, callback: (...args: any[]) => any): number;
2039
+ connect_after<K extends keyof MessageService.SignalSignatures>(
2040
+ signal: K,
2041
+ callback: GObject.SignalCallback<this, MessageService.SignalSignatures[K]>,
2042
+ ): number;
2043
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2044
+ emit<K extends keyof MessageService.SignalSignatures>(
2045
+ signal: K,
2046
+ ...args: GObject.GjsParameters<MessageService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2047
+ ): void;
2048
+ emit(signal: string, ...args: any[]): void;
2049
+
1682
2050
  // Methods
1683
2051
 
1684
2052
  /**
@@ -1717,6 +2085,13 @@ export namespace Msg {
1717
2085
  }
1718
2086
 
1719
2087
  namespace OAuth2Authorizer {
2088
+ // Signal signatures
2089
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2090
+ 'notify::client-id': (pspec: GObject.ParamSpec) => void;
2091
+ 'notify::redirect-uri': (pspec: GObject.ParamSpec) => void;
2092
+ 'notify::refresh-token': (pspec: GObject.ParamSpec) => void;
2093
+ }
2094
+
1720
2095
  // Constructor properties interface
1721
2096
 
1722
2097
  interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
@@ -1743,6 +2118,15 @@ export namespace Msg {
1743
2118
  get refreshToken(): string;
1744
2119
  set refreshToken(val: string);
1745
2120
 
2121
+ /**
2122
+ * Compile-time signal type information.
2123
+ *
2124
+ * This instance property is generated only for TypeScript type checking.
2125
+ * It is not defined at runtime and should not be accessed in JS code.
2126
+ * @internal
2127
+ */
2128
+ $signals: OAuth2Authorizer.SignalSignatures;
2129
+
1746
2130
  // Constructors
1747
2131
 
1748
2132
  constructor(properties?: Partial<OAuth2Authorizer.ConstructorProps>, ...args: any[]);
@@ -1751,6 +2135,24 @@ export namespace Msg {
1751
2135
 
1752
2136
  static ['new'](client_id: string, redirect_uri: string): OAuth2Authorizer;
1753
2137
 
2138
+ // Signals
2139
+
2140
+ connect<K extends keyof OAuth2Authorizer.SignalSignatures>(
2141
+ signal: K,
2142
+ callback: GObject.SignalCallback<this, OAuth2Authorizer.SignalSignatures[K]>,
2143
+ ): number;
2144
+ connect(signal: string, callback: (...args: any[]) => any): number;
2145
+ connect_after<K extends keyof OAuth2Authorizer.SignalSignatures>(
2146
+ signal: K,
2147
+ callback: GObject.SignalCallback<this, OAuth2Authorizer.SignalSignatures[K]>,
2148
+ ): number;
2149
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2150
+ emit<K extends keyof OAuth2Authorizer.SignalSignatures>(
2151
+ signal: K,
2152
+ ...args: GObject.GjsParameters<OAuth2Authorizer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2153
+ ): void;
2154
+ emit(signal: string, ...args: any[]): void;
2155
+
1754
2156
  // Static methods
1755
2157
 
1756
2158
  static test_load_credentials(self: Authorizer): boolean;
@@ -2239,6 +2641,11 @@ export namespace Msg {
2239
2641
  }
2240
2642
 
2241
2643
  namespace Service {
2644
+ // Signal signatures
2645
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2646
+ 'notify::authorizer': (pspec: GObject.ParamSpec) => void;
2647
+ }
2648
+
2242
2649
  // Constructor properties interface
2243
2650
 
2244
2651
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2253,12 +2660,39 @@ export namespace Msg {
2253
2660
 
2254
2661
  set authorizer(val: Authorizer);
2255
2662
 
2663
+ /**
2664
+ * Compile-time signal type information.
2665
+ *
2666
+ * This instance property is generated only for TypeScript type checking.
2667
+ * It is not defined at runtime and should not be accessed in JS code.
2668
+ * @internal
2669
+ */
2670
+ $signals: Service.SignalSignatures;
2671
+
2256
2672
  // Constructors
2257
2673
 
2258
2674
  constructor(properties?: Partial<Service.ConstructorProps>, ...args: any[]);
2259
2675
 
2260
2676
  _init(...args: any[]): void;
2261
2677
 
2678
+ // Signals
2679
+
2680
+ connect<K extends keyof Service.SignalSignatures>(
2681
+ signal: K,
2682
+ callback: GObject.SignalCallback<this, Service.SignalSignatures[K]>,
2683
+ ): number;
2684
+ connect(signal: string, callback: (...args: any[]) => any): number;
2685
+ connect_after<K extends keyof Service.SignalSignatures>(
2686
+ signal: K,
2687
+ callback: GObject.SignalCallback<this, Service.SignalSignatures[K]>,
2688
+ ): number;
2689
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2690
+ emit<K extends keyof Service.SignalSignatures>(
2691
+ signal: K,
2692
+ ...args: GObject.GjsParameters<Service.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2693
+ ): void;
2694
+ emit(signal: string, ...args: any[]): void;
2695
+
2262
2696
  // Static methods
2263
2697
 
2264
2698
  static accept_certificate_cb(
@@ -2332,6 +2766,9 @@ export namespace Msg {
2332
2766
  }
2333
2767
 
2334
2768
  namespace User {
2769
+ // Signal signatures
2770
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2771
+
2335
2772
  // Constructor properties interface
2336
2773
 
2337
2774
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2343,6 +2780,15 @@ export namespace Msg {
2343
2780
  class User extends GObject.Object {
2344
2781
  static $gtype: GObject.GType<User>;
2345
2782
 
2783
+ /**
2784
+ * Compile-time signal type information.
2785
+ *
2786
+ * This instance property is generated only for TypeScript type checking.
2787
+ * It is not defined at runtime and should not be accessed in JS code.
2788
+ * @internal
2789
+ */
2790
+ $signals: User.SignalSignatures;
2791
+
2346
2792
  // Constructors
2347
2793
 
2348
2794
  constructor(properties?: Partial<User.ConstructorProps>, ...args: any[]);
@@ -2353,12 +2799,35 @@ export namespace Msg {
2353
2799
 
2354
2800
  static new_from_json(json_object: Json.Object): User;
2355
2801
 
2802
+ // Signals
2803
+
2804
+ connect<K extends keyof User.SignalSignatures>(
2805
+ signal: K,
2806
+ callback: GObject.SignalCallback<this, User.SignalSignatures[K]>,
2807
+ ): number;
2808
+ connect(signal: string, callback: (...args: any[]) => any): number;
2809
+ connect_after<K extends keyof User.SignalSignatures>(
2810
+ signal: K,
2811
+ callback: GObject.SignalCallback<this, User.SignalSignatures[K]>,
2812
+ ): number;
2813
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2814
+ emit<K extends keyof User.SignalSignatures>(
2815
+ signal: K,
2816
+ ...args: GObject.GjsParameters<User.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2817
+ ): void;
2818
+ emit(signal: string, ...args: any[]): void;
2819
+
2356
2820
  // Methods
2357
2821
 
2358
2822
  get_mail(): string;
2359
2823
  }
2360
2824
 
2361
2825
  namespace UserService {
2826
+ // Signal signatures
2827
+ interface SignalSignatures extends Service.SignalSignatures {
2828
+ 'notify::authorizer': (pspec: GObject.ParamSpec) => void;
2829
+ }
2830
+
2362
2831
  // Constructor properties interface
2363
2832
 
2364
2833
  interface ConstructorProps extends Service.ConstructorProps {}
@@ -2367,6 +2836,15 @@ export namespace Msg {
2367
2836
  class UserService extends Service {
2368
2837
  static $gtype: GObject.GType<UserService>;
2369
2838
 
2839
+ /**
2840
+ * Compile-time signal type information.
2841
+ *
2842
+ * This instance property is generated only for TypeScript type checking.
2843
+ * It is not defined at runtime and should not be accessed in JS code.
2844
+ * @internal
2845
+ */
2846
+ $signals: UserService.SignalSignatures;
2847
+
2370
2848
  // Constructors
2371
2849
 
2372
2850
  constructor(properties?: Partial<UserService.ConstructorProps>, ...args: any[]);
@@ -2375,6 +2853,24 @@ export namespace Msg {
2375
2853
 
2376
2854
  static ['new'](authorizer: Authorizer): UserService;
2377
2855
 
2856
+ // Signals
2857
+
2858
+ connect<K extends keyof UserService.SignalSignatures>(
2859
+ signal: K,
2860
+ callback: GObject.SignalCallback<this, UserService.SignalSignatures[K]>,
2861
+ ): number;
2862
+ connect(signal: string, callback: (...args: any[]) => any): number;
2863
+ connect_after<K extends keyof UserService.SignalSignatures>(
2864
+ signal: K,
2865
+ callback: GObject.SignalCallback<this, UserService.SignalSignatures[K]>,
2866
+ ): number;
2867
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2868
+ emit<K extends keyof UserService.SignalSignatures>(
2869
+ signal: K,
2870
+ ...args: GObject.GjsParameters<UserService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2871
+ ): void;
2872
+ emit(signal: string, ...args: any[]): void;
2873
+
2378
2874
  // Methods
2379
2875
 
2380
2876
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/msg-0",
3
- "version": "0.0.0-4.0.0-beta.23",
3
+ "version": "0.0.0-4.0.0-beta.24",
4
4
  "description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
5
5
  "type": "module",
6
6
  "module": "msg-0.js",
@@ -31,14 +31,14 @@
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/goa-1.0": "^3.52.0-4.0.0-beta.23",
39
- "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
40
- "@girs/json-1.0": "^1.10.7-4.0.0-beta.23",
41
- "@girs/soup-3.0": "^3.6.4-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/goa-1.0": "^3.52.0-4.0.0-beta.24",
39
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24",
40
+ "@girs/json-1.0": "^1.10.7-4.0.0-beta.24",
41
+ "@girs/soup-3.0": "^3.6.5-4.0.0-beta.24"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "*"