@girs/appstreamcompose-1.0 1.0.0-4.0.0-beta.23 → 1.0.0-4.0.0-beta.25

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/appstreamcompose-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
8
+ GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.25.
9
9
 
10
10
 
11
11
  ## Install
@@ -411,6 +411,9 @@ export namespace AppStreamCompose {
411
411
  BLUR,
412
412
  }
413
413
  namespace Canvas {
414
+ // Signal signatures
415
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
416
+
414
417
  // Constructor properties interface
415
418
 
416
419
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -419,6 +422,15 @@ export namespace AppStreamCompose {
419
422
  class Canvas extends GObject.Object {
420
423
  static $gtype: GObject.GType<Canvas>;
421
424
 
425
+ /**
426
+ * Compile-time signal type information.
427
+ *
428
+ * This instance property is generated only for TypeScript type checking.
429
+ * It is not defined at runtime and should not be accessed in JS code.
430
+ * @internal
431
+ */
432
+ $signals: Canvas.SignalSignatures;
433
+
422
434
  // Constructors
423
435
 
424
436
  constructor(properties?: Partial<Canvas.ConstructorProps>, ...args: any[]);
@@ -427,6 +439,24 @@ export namespace AppStreamCompose {
427
439
 
428
440
  static ['new'](width: number, height: number): Canvas;
429
441
 
442
+ // Signals
443
+
444
+ connect<K extends keyof Canvas.SignalSignatures>(
445
+ signal: K,
446
+ callback: GObject.SignalCallback<this, Canvas.SignalSignatures[K]>,
447
+ ): number;
448
+ connect(signal: string, callback: (...args: any[]) => any): number;
449
+ connect_after<K extends keyof Canvas.SignalSignatures>(
450
+ signal: K,
451
+ callback: GObject.SignalCallback<this, Canvas.SignalSignatures[K]>,
452
+ ): number;
453
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
454
+ emit<K extends keyof Canvas.SignalSignatures>(
455
+ signal: K,
456
+ ...args: GObject.GjsParameters<Canvas.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
457
+ ): void;
458
+ emit(signal: string, ...args: any[]): void;
459
+
430
460
  // Methods
431
461
 
432
462
  /**
@@ -450,6 +480,9 @@ export namespace AppStreamCompose {
450
480
  }
451
481
 
452
482
  namespace Compose {
483
+ // Signal signatures
484
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
485
+
453
486
  // Constructor properties interface
454
487
 
455
488
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -458,6 +491,15 @@ export namespace AppStreamCompose {
458
491
  class Compose extends GObject.Object {
459
492
  static $gtype: GObject.GType<Compose>;
460
493
 
494
+ /**
495
+ * Compile-time signal type information.
496
+ *
497
+ * This instance property is generated only for TypeScript type checking.
498
+ * It is not defined at runtime and should not be accessed in JS code.
499
+ * @internal
500
+ */
501
+ $signals: Compose.SignalSignatures;
502
+
461
503
  // Constructors
462
504
 
463
505
  constructor(properties?: Partial<Compose.ConstructorProps>, ...args: any[]);
@@ -466,6 +508,24 @@ export namespace AppStreamCompose {
466
508
 
467
509
  static ['new'](): Compose;
468
510
 
511
+ // Signals
512
+
513
+ connect<K extends keyof Compose.SignalSignatures>(
514
+ signal: K,
515
+ callback: GObject.SignalCallback<this, Compose.SignalSignatures[K]>,
516
+ ): number;
517
+ connect(signal: string, callback: (...args: any[]) => any): number;
518
+ connect_after<K extends keyof Compose.SignalSignatures>(
519
+ signal: K,
520
+ callback: GObject.SignalCallback<this, Compose.SignalSignatures[K]>,
521
+ ): number;
522
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
523
+ emit<K extends keyof Compose.SignalSignatures>(
524
+ signal: K,
525
+ ...args: GObject.GjsParameters<Compose.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
526
+ ): void;
527
+ emit(signal: string, ...args: any[]): void;
528
+
469
529
  // Methods
470
530
 
471
531
  /**
@@ -685,6 +745,9 @@ export namespace AppStreamCompose {
685
745
  }
686
746
 
687
747
  namespace DirectoryUnit {
748
+ // Signal signatures
749
+ interface SignalSignatures extends Unit.SignalSignatures {}
750
+
688
751
  // Constructor properties interface
689
752
 
690
753
  interface ConstructorProps extends Unit.ConstructorProps {}
@@ -693,6 +756,15 @@ export namespace AppStreamCompose {
693
756
  class DirectoryUnit extends Unit {
694
757
  static $gtype: GObject.GType<DirectoryUnit>;
695
758
 
759
+ /**
760
+ * Compile-time signal type information.
761
+ *
762
+ * This instance property is generated only for TypeScript type checking.
763
+ * It is not defined at runtime and should not be accessed in JS code.
764
+ * @internal
765
+ */
766
+ $signals: DirectoryUnit.SignalSignatures;
767
+
696
768
  // Constructors
697
769
 
698
770
  constructor(properties?: Partial<DirectoryUnit.ConstructorProps>, ...args: any[]);
@@ -704,6 +776,24 @@ export namespace AppStreamCompose {
704
776
 
705
777
  static ['new'](...args: never[]): any;
706
778
 
779
+ // Signals
780
+
781
+ connect<K extends keyof DirectoryUnit.SignalSignatures>(
782
+ signal: K,
783
+ callback: GObject.SignalCallback<this, DirectoryUnit.SignalSignatures[K]>,
784
+ ): number;
785
+ connect(signal: string, callback: (...args: any[]) => any): number;
786
+ connect_after<K extends keyof DirectoryUnit.SignalSignatures>(
787
+ signal: K,
788
+ callback: GObject.SignalCallback<this, DirectoryUnit.SignalSignatures[K]>,
789
+ ): number;
790
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
791
+ emit<K extends keyof DirectoryUnit.SignalSignatures>(
792
+ signal: K,
793
+ ...args: GObject.GjsParameters<DirectoryUnit.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
794
+ ): void;
795
+ emit(signal: string, ...args: any[]): void;
796
+
707
797
  // Methods
708
798
 
709
799
  /**
@@ -718,6 +808,9 @@ export namespace AppStreamCompose {
718
808
  }
719
809
 
720
810
  namespace Hint {
811
+ // Signal signatures
812
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
813
+
721
814
  // Constructor properties interface
722
815
 
723
816
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -726,6 +819,15 @@ export namespace AppStreamCompose {
726
819
  class Hint extends GObject.Object {
727
820
  static $gtype: GObject.GType<Hint>;
728
821
 
822
+ /**
823
+ * Compile-time signal type information.
824
+ *
825
+ * This instance property is generated only for TypeScript type checking.
826
+ * It is not defined at runtime and should not be accessed in JS code.
827
+ * @internal
828
+ */
829
+ $signals: Hint.SignalSignatures;
830
+
729
831
  // Constructors
730
832
 
731
833
  constructor(properties?: Partial<Hint.ConstructorProps>, ...args: any[]);
@@ -736,6 +838,24 @@ export namespace AppStreamCompose {
736
838
 
737
839
  static new_for_tag(tag: string): Hint;
738
840
 
841
+ // Signals
842
+
843
+ connect<K extends keyof Hint.SignalSignatures>(
844
+ signal: K,
845
+ callback: GObject.SignalCallback<this, Hint.SignalSignatures[K]>,
846
+ ): number;
847
+ connect(signal: string, callback: (...args: any[]) => any): number;
848
+ connect_after<K extends keyof Hint.SignalSignatures>(
849
+ signal: K,
850
+ callback: GObject.SignalCallback<this, Hint.SignalSignatures[K]>,
851
+ ): number;
852
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
853
+ emit<K extends keyof Hint.SignalSignatures>(
854
+ signal: K,
855
+ ...args: GObject.GjsParameters<Hint.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
856
+ ): void;
857
+ emit(signal: string, ...args: any[]): void;
858
+
739
859
  // Methods
740
860
 
741
861
  /**
@@ -793,6 +913,9 @@ export namespace AppStreamCompose {
793
913
  }
794
914
 
795
915
  namespace IconPolicy {
916
+ // Signal signatures
917
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
918
+
796
919
  // Constructor properties interface
797
920
 
798
921
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -801,6 +924,15 @@ export namespace AppStreamCompose {
801
924
  class IconPolicy extends GObject.Object {
802
925
  static $gtype: GObject.GType<IconPolicy>;
803
926
 
927
+ /**
928
+ * Compile-time signal type information.
929
+ *
930
+ * This instance property is generated only for TypeScript type checking.
931
+ * It is not defined at runtime and should not be accessed in JS code.
932
+ * @internal
933
+ */
934
+ $signals: IconPolicy.SignalSignatures;
935
+
804
936
  // Constructors
805
937
 
806
938
  constructor(properties?: Partial<IconPolicy.ConstructorProps>, ...args: any[]);
@@ -809,6 +941,24 @@ export namespace AppStreamCompose {
809
941
 
810
942
  static ['new'](): IconPolicy;
811
943
 
944
+ // Signals
945
+
946
+ connect<K extends keyof IconPolicy.SignalSignatures>(
947
+ signal: K,
948
+ callback: GObject.SignalCallback<this, IconPolicy.SignalSignatures[K]>,
949
+ ): number;
950
+ connect(signal: string, callback: (...args: any[]) => any): number;
951
+ connect_after<K extends keyof IconPolicy.SignalSignatures>(
952
+ signal: K,
953
+ callback: GObject.SignalCallback<this, IconPolicy.SignalSignatures[K]>,
954
+ ): number;
955
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
956
+ emit<K extends keyof IconPolicy.SignalSignatures>(
957
+ signal: K,
958
+ ...args: GObject.GjsParameters<IconPolicy.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
959
+ ): void;
960
+ emit(signal: string, ...args: any[]): void;
961
+
812
962
  // Methods
813
963
 
814
964
  /**
@@ -831,6 +981,9 @@ export namespace AppStreamCompose {
831
981
  }
832
982
 
833
983
  namespace Image {
984
+ // Signal signatures
985
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
986
+
834
987
  // Constructor properties interface
835
988
 
836
989
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -839,6 +992,15 @@ export namespace AppStreamCompose {
839
992
  class Image extends GObject.Object {
840
993
  static $gtype: GObject.GType<Image>;
841
994
 
995
+ /**
996
+ * Compile-time signal type information.
997
+ *
998
+ * This instance property is generated only for TypeScript type checking.
999
+ * It is not defined at runtime and should not be accessed in JS code.
1000
+ * @internal
1001
+ */
1002
+ $signals: Image.SignalSignatures;
1003
+
842
1004
  // Constructors
843
1005
 
844
1006
  constructor(properties?: Partial<Image.ConstructorProps>, ...args: any[]);
@@ -857,6 +1019,24 @@ export namespace AppStreamCompose {
857
1019
 
858
1020
  static new_from_file(fname: string, dest_size: number, flags: ImageLoadFlags): Image;
859
1021
 
1022
+ // Signals
1023
+
1024
+ connect<K extends keyof Image.SignalSignatures>(
1025
+ signal: K,
1026
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
1027
+ ): number;
1028
+ connect(signal: string, callback: (...args: any[]) => any): number;
1029
+ connect_after<K extends keyof Image.SignalSignatures>(
1030
+ signal: K,
1031
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
1032
+ ): number;
1033
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1034
+ emit<K extends keyof Image.SignalSignatures>(
1035
+ signal: K,
1036
+ ...args: GObject.GjsParameters<Image.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1037
+ ): void;
1038
+ emit(signal: string, ...args: any[]): void;
1039
+
860
1040
  // Static methods
861
1041
 
862
1042
  /**
@@ -938,6 +1118,9 @@ export namespace AppStreamCompose {
938
1118
  }
939
1119
 
940
1120
  namespace Result {
1121
+ // Signal signatures
1122
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1123
+
941
1124
  // Constructor properties interface
942
1125
 
943
1126
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -946,6 +1129,15 @@ export namespace AppStreamCompose {
946
1129
  class Result extends GObject.Object {
947
1130
  static $gtype: GObject.GType<Result>;
948
1131
 
1132
+ /**
1133
+ * Compile-time signal type information.
1134
+ *
1135
+ * This instance property is generated only for TypeScript type checking.
1136
+ * It is not defined at runtime and should not be accessed in JS code.
1137
+ * @internal
1138
+ */
1139
+ $signals: Result.SignalSignatures;
1140
+
949
1141
  // Constructors
950
1142
 
951
1143
  constructor(properties?: Partial<Result.ConstructorProps>, ...args: any[]);
@@ -954,6 +1146,24 @@ export namespace AppStreamCompose {
954
1146
 
955
1147
  static ['new'](): Result;
956
1148
 
1149
+ // Signals
1150
+
1151
+ connect<K extends keyof Result.SignalSignatures>(
1152
+ signal: K,
1153
+ callback: GObject.SignalCallback<this, Result.SignalSignatures[K]>,
1154
+ ): number;
1155
+ connect(signal: string, callback: (...args: any[]) => any): number;
1156
+ connect_after<K extends keyof Result.SignalSignatures>(
1157
+ signal: K,
1158
+ callback: GObject.SignalCallback<this, Result.SignalSignatures[K]>,
1159
+ ): number;
1160
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1161
+ emit<K extends keyof Result.SignalSignatures>(
1162
+ signal: K,
1163
+ ...args: GObject.GjsParameters<Result.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1164
+ ): void;
1165
+ emit(signal: string, ...args: any[]): void;
1166
+
957
1167
  // Methods
958
1168
 
959
1169
  /**
@@ -1104,6 +1314,9 @@ export namespace AppStreamCompose {
1104
1314
  }
1105
1315
 
1106
1316
  namespace Unit {
1317
+ // Signal signatures
1318
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1319
+
1107
1320
  // Constructor properties interface
1108
1321
 
1109
1322
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1112,6 +1325,15 @@ export namespace AppStreamCompose {
1112
1325
  class Unit extends GObject.Object {
1113
1326
  static $gtype: GObject.GType<Unit>;
1114
1327
 
1328
+ /**
1329
+ * Compile-time signal type information.
1330
+ *
1331
+ * This instance property is generated only for TypeScript type checking.
1332
+ * It is not defined at runtime and should not be accessed in JS code.
1333
+ * @internal
1334
+ */
1335
+ $signals: Unit.SignalSignatures;
1336
+
1115
1337
  // Constructors
1116
1338
 
1117
1339
  constructor(properties?: Partial<Unit.ConstructorProps>, ...args: any[]);
@@ -1120,6 +1342,24 @@ export namespace AppStreamCompose {
1120
1342
 
1121
1343
  static ['new'](): Unit;
1122
1344
 
1345
+ // Signals
1346
+
1347
+ connect<K extends keyof Unit.SignalSignatures>(
1348
+ signal: K,
1349
+ callback: GObject.SignalCallback<this, Unit.SignalSignatures[K]>,
1350
+ ): number;
1351
+ connect(signal: string, callback: (...args: any[]) => any): number;
1352
+ connect_after<K extends keyof Unit.SignalSignatures>(
1353
+ signal: K,
1354
+ callback: GObject.SignalCallback<this, Unit.SignalSignatures[K]>,
1355
+ ): number;
1356
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1357
+ emit<K extends keyof Unit.SignalSignatures>(
1358
+ signal: K,
1359
+ ...args: GObject.GjsParameters<Unit.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1360
+ ): void;
1361
+ emit(signal: string, ...args: any[]): void;
1362
+
1123
1363
  // Virtual methods
1124
1364
 
1125
1365
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/appstreamcompose-1.0",
3
- "version": "1.0.0-4.0.0-beta.23",
3
+ "version": "1.0.0-4.0.0-beta.25",
4
4
  "description": "GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "appstreamcompose-1.0.js",
@@ -31,13 +31,13 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/appstream-1.0": "^1.0.4-4.0.0-beta.23",
35
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.23",
36
- "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
37
- "@girs/gjs": "^4.0.0-beta.23",
38
- "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
39
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
40
- "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
34
+ "@girs/appstream-1.0": "^1.0.4-4.0.0-beta.25",
35
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.25",
36
+ "@girs/gio-2.0": "^2.84.2-4.0.0-beta.25",
37
+ "@girs/gjs": "^4.0.0-beta.25",
38
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.25",
39
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.25",
40
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.25"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "*"