@girs/modulemd-2.0 2.0.0-4.0.0-beta.23 → 2.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/modulemd-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
8
+ GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.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
package/modulemd-2.0.d.ts CHANGED
@@ -429,6 +429,9 @@ export namespace Modulemd {
429
429
  (data: any, size: number): number;
430
430
  }
431
431
  namespace BuildConfig {
432
+ // Signal signatures
433
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
434
+
432
435
  // Constructor properties interface
433
436
 
434
437
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -437,6 +440,15 @@ export namespace Modulemd {
437
440
  class BuildConfig extends GObject.Object {
438
441
  static $gtype: GObject.GType<BuildConfig>;
439
442
 
443
+ /**
444
+ * Compile-time signal type information.
445
+ *
446
+ * This instance property is generated only for TypeScript type checking.
447
+ * It is not defined at runtime and should not be accessed in JS code.
448
+ * @internal
449
+ */
450
+ $signals: BuildConfig.SignalSignatures;
451
+
440
452
  // Constructors
441
453
 
442
454
  constructor(properties?: Partial<BuildConfig.ConstructorProps>, ...args: any[]);
@@ -445,6 +457,24 @@ export namespace Modulemd {
445
457
 
446
458
  static ['new'](): BuildConfig;
447
459
 
460
+ // Signals
461
+
462
+ connect<K extends keyof BuildConfig.SignalSignatures>(
463
+ signal: K,
464
+ callback: GObject.SignalCallback<this, BuildConfig.SignalSignatures[K]>,
465
+ ): number;
466
+ connect(signal: string, callback: (...args: any[]) => any): number;
467
+ connect_after<K extends keyof BuildConfig.SignalSignatures>(
468
+ signal: K,
469
+ callback: GObject.SignalCallback<this, BuildConfig.SignalSignatures[K]>,
470
+ ): number;
471
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
472
+ emit<K extends keyof BuildConfig.SignalSignatures>(
473
+ signal: K,
474
+ ...args: GObject.GjsParameters<BuildConfig.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
475
+ ): void;
476
+ emit(signal: string, ...args: any[]): void;
477
+
448
478
  // Methods
449
479
 
450
480
  /**
@@ -527,6 +557,11 @@ export namespace Modulemd {
527
557
  }
528
558
 
529
559
  namespace Buildopts {
560
+ // Signal signatures
561
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
562
+ 'notify::rpm-macros': (pspec: GObject.ParamSpec) => void;
563
+ }
564
+
530
565
  // Constructor properties interface
531
566
 
532
567
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -545,6 +580,15 @@ export namespace Modulemd {
545
580
  get rpmMacros(): string;
546
581
  set rpmMacros(val: string);
547
582
 
583
+ /**
584
+ * Compile-time signal type information.
585
+ *
586
+ * This instance property is generated only for TypeScript type checking.
587
+ * It is not defined at runtime and should not be accessed in JS code.
588
+ * @internal
589
+ */
590
+ $signals: Buildopts.SignalSignatures;
591
+
548
592
  // Constructors
549
593
 
550
594
  constructor(properties?: Partial<Buildopts.ConstructorProps>, ...args: any[]);
@@ -553,6 +597,24 @@ export namespace Modulemd {
553
597
 
554
598
  static ['new'](): Buildopts;
555
599
 
600
+ // Signals
601
+
602
+ connect<K extends keyof Buildopts.SignalSignatures>(
603
+ signal: K,
604
+ callback: GObject.SignalCallback<this, Buildopts.SignalSignatures[K]>,
605
+ ): number;
606
+ connect(signal: string, callback: (...args: any[]) => any): number;
607
+ connect_after<K extends keyof Buildopts.SignalSignatures>(
608
+ signal: K,
609
+ callback: GObject.SignalCallback<this, Buildopts.SignalSignatures[K]>,
610
+ ): number;
611
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
612
+ emit<K extends keyof Buildopts.SignalSignatures>(
613
+ signal: K,
614
+ ...args: GObject.GjsParameters<Buildopts.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
615
+ ): void;
616
+ emit(signal: string, ...args: any[]): void;
617
+
556
618
  // Methods
557
619
 
558
620
  /**
@@ -591,6 +653,14 @@ export namespace Modulemd {
591
653
  }
592
654
 
593
655
  namespace Component {
656
+ // Signal signatures
657
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
658
+ 'notify::buildonly': (pspec: GObject.ParamSpec) => void;
659
+ 'notify::buildorder': (pspec: GObject.ParamSpec) => void;
660
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
661
+ 'notify::rationale': (pspec: GObject.ParamSpec) => void;
662
+ }
663
+
594
664
  // Constructor properties interface
595
665
 
596
666
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -614,12 +684,39 @@ export namespace Modulemd {
614
684
  get rationale(): string;
615
685
  set rationale(val: string);
616
686
 
687
+ /**
688
+ * Compile-time signal type information.
689
+ *
690
+ * This instance property is generated only for TypeScript type checking.
691
+ * It is not defined at runtime and should not be accessed in JS code.
692
+ * @internal
693
+ */
694
+ $signals: Component.SignalSignatures;
695
+
617
696
  // Constructors
618
697
 
619
698
  constructor(properties?: Partial<Component.ConstructorProps>, ...args: any[]);
620
699
 
621
700
  _init(...args: any[]): void;
622
701
 
702
+ // Signals
703
+
704
+ connect<K extends keyof Component.SignalSignatures>(
705
+ signal: K,
706
+ callback: GObject.SignalCallback<this, Component.SignalSignatures[K]>,
707
+ ): number;
708
+ connect(signal: string, callback: (...args: any[]) => any): number;
709
+ connect_after<K extends keyof Component.SignalSignatures>(
710
+ signal: K,
711
+ callback: GObject.SignalCallback<this, Component.SignalSignatures[K]>,
712
+ ): number;
713
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
714
+ emit<K extends keyof Component.SignalSignatures>(
715
+ signal: K,
716
+ ...args: GObject.GjsParameters<Component.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
717
+ ): void;
718
+ emit(signal: string, ...args: any[]): void;
719
+
623
720
  // Virtual methods
624
721
 
625
722
  vfunc_copy(key?: string | null): Component;
@@ -666,6 +763,16 @@ export namespace Modulemd {
666
763
  }
667
764
 
668
765
  namespace ComponentModule {
766
+ // Signal signatures
767
+ interface SignalSignatures extends Component.SignalSignatures {
768
+ 'notify::ref': (pspec: GObject.ParamSpec) => void;
769
+ 'notify::repository': (pspec: GObject.ParamSpec) => void;
770
+ 'notify::buildonly': (pspec: GObject.ParamSpec) => void;
771
+ 'notify::buildorder': (pspec: GObject.ParamSpec) => void;
772
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
773
+ 'notify::rationale': (pspec: GObject.ParamSpec) => void;
774
+ }
775
+
669
776
  // Constructor properties interface
670
777
 
671
778
  interface ConstructorProps extends Component.ConstructorProps {
@@ -684,6 +791,15 @@ export namespace Modulemd {
684
791
  get repository(): string;
685
792
  set repository(val: string);
686
793
 
794
+ /**
795
+ * Compile-time signal type information.
796
+ *
797
+ * This instance property is generated only for TypeScript type checking.
798
+ * It is not defined at runtime and should not be accessed in JS code.
799
+ * @internal
800
+ */
801
+ $signals: ComponentModule.SignalSignatures;
802
+
687
803
  // Constructors
688
804
 
689
805
  constructor(properties?: Partial<ComponentModule.ConstructorProps>, ...args: any[]);
@@ -692,6 +808,24 @@ export namespace Modulemd {
692
808
 
693
809
  static ['new'](key: string): ComponentModule;
694
810
 
811
+ // Signals
812
+
813
+ connect<K extends keyof ComponentModule.SignalSignatures>(
814
+ signal: K,
815
+ callback: GObject.SignalCallback<this, ComponentModule.SignalSignatures[K]>,
816
+ ): number;
817
+ connect(signal: string, callback: (...args: any[]) => any): number;
818
+ connect_after<K extends keyof ComponentModule.SignalSignatures>(
819
+ signal: K,
820
+ callback: GObject.SignalCallback<this, ComponentModule.SignalSignatures[K]>,
821
+ ): number;
822
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
823
+ emit<K extends keyof ComponentModule.SignalSignatures>(
824
+ signal: K,
825
+ ...args: GObject.GjsParameters<ComponentModule.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
826
+ ): void;
827
+ emit(signal: string, ...args: any[]): void;
828
+
695
829
  // Methods
696
830
 
697
831
  get_ref(): string;
@@ -701,6 +835,19 @@ export namespace Modulemd {
701
835
  }
702
836
 
703
837
  namespace ComponentRpm {
838
+ // Signal signatures
839
+ interface SignalSignatures extends Component.SignalSignatures {
840
+ 'notify::buildroot': (pspec: GObject.ParamSpec) => void;
841
+ 'notify::cache': (pspec: GObject.ParamSpec) => void;
842
+ 'notify::ref': (pspec: GObject.ParamSpec) => void;
843
+ 'notify::repository': (pspec: GObject.ParamSpec) => void;
844
+ 'notify::srpm-buildroot': (pspec: GObject.ParamSpec) => void;
845
+ 'notify::buildonly': (pspec: GObject.ParamSpec) => void;
846
+ 'notify::buildorder': (pspec: GObject.ParamSpec) => void;
847
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
848
+ 'notify::rationale': (pspec: GObject.ParamSpec) => void;
849
+ }
850
+
704
851
  // Constructor properties interface
705
852
 
706
853
  interface ConstructorProps extends Component.ConstructorProps {
@@ -731,6 +878,15 @@ export namespace Modulemd {
731
878
  get srpmBuildroot(): boolean;
732
879
  set srpmBuildroot(val: boolean);
733
880
 
881
+ /**
882
+ * Compile-time signal type information.
883
+ *
884
+ * This instance property is generated only for TypeScript type checking.
885
+ * It is not defined at runtime and should not be accessed in JS code.
886
+ * @internal
887
+ */
888
+ $signals: ComponentRpm.SignalSignatures;
889
+
734
890
  // Constructors
735
891
 
736
892
  constructor(properties?: Partial<ComponentRpm.ConstructorProps>, ...args: any[]);
@@ -739,6 +895,24 @@ export namespace Modulemd {
739
895
 
740
896
  static ['new'](key: string): ComponentRpm;
741
897
 
898
+ // Signals
899
+
900
+ connect<K extends keyof ComponentRpm.SignalSignatures>(
901
+ signal: K,
902
+ callback: GObject.SignalCallback<this, ComponentRpm.SignalSignatures[K]>,
903
+ ): number;
904
+ connect(signal: string, callback: (...args: any[]) => any): number;
905
+ connect_after<K extends keyof ComponentRpm.SignalSignatures>(
906
+ signal: K,
907
+ callback: GObject.SignalCallback<this, ComponentRpm.SignalSignatures[K]>,
908
+ ): number;
909
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
910
+ emit<K extends keyof ComponentRpm.SignalSignatures>(
911
+ signal: K,
912
+ ...args: GObject.GjsParameters<ComponentRpm.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
913
+ ): void;
914
+ emit(signal: string, ...args: any[]): void;
915
+
742
916
  // Methods
743
917
 
744
918
  /**
@@ -787,6 +961,12 @@ export namespace Modulemd {
787
961
  }
788
962
 
789
963
  namespace Defaults {
964
+ // Signal signatures
965
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
966
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
967
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
968
+ }
969
+
790
970
  // Constructor properties interface
791
971
 
792
972
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -805,6 +985,15 @@ export namespace Modulemd {
805
985
  get module_name(): string;
806
986
  get moduleName(): string;
807
987
 
988
+ /**
989
+ * Compile-time signal type information.
990
+ *
991
+ * This instance property is generated only for TypeScript type checking.
992
+ * It is not defined at runtime and should not be accessed in JS code.
993
+ * @internal
994
+ */
995
+ $signals: Defaults.SignalSignatures;
996
+
808
997
  // Constructors
809
998
 
810
999
  constructor(properties?: Partial<Defaults.ConstructorProps>, ...args: any[]);
@@ -813,6 +1002,24 @@ export namespace Modulemd {
813
1002
 
814
1003
  static ['new'](version: number, module_name: string): Defaults;
815
1004
 
1005
+ // Signals
1006
+
1007
+ connect<K extends keyof Defaults.SignalSignatures>(
1008
+ signal: K,
1009
+ callback: GObject.SignalCallback<this, Defaults.SignalSignatures[K]>,
1010
+ ): number;
1011
+ connect(signal: string, callback: (...args: any[]) => any): number;
1012
+ connect_after<K extends keyof Defaults.SignalSignatures>(
1013
+ signal: K,
1014
+ callback: GObject.SignalCallback<this, Defaults.SignalSignatures[K]>,
1015
+ ): number;
1016
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1017
+ emit<K extends keyof Defaults.SignalSignatures>(
1018
+ signal: K,
1019
+ ...args: GObject.GjsParameters<Defaults.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1020
+ ): void;
1021
+ emit(signal: string, ...args: any[]): void;
1022
+
816
1023
  // Virtual methods
817
1024
 
818
1025
  vfunc_copy(): Defaults;
@@ -833,6 +1040,12 @@ export namespace Modulemd {
833
1040
  }
834
1041
 
835
1042
  namespace DefaultsV1 {
1043
+ // Signal signatures
1044
+ interface SignalSignatures extends Defaults.SignalSignatures {
1045
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
1046
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
1047
+ }
1048
+
836
1049
  // Constructor properties interface
837
1050
 
838
1051
  interface ConstructorProps extends Defaults.ConstructorProps {}
@@ -841,6 +1054,15 @@ export namespace Modulemd {
841
1054
  class DefaultsV1 extends Defaults {
842
1055
  static $gtype: GObject.GType<DefaultsV1>;
843
1056
 
1057
+ /**
1058
+ * Compile-time signal type information.
1059
+ *
1060
+ * This instance property is generated only for TypeScript type checking.
1061
+ * It is not defined at runtime and should not be accessed in JS code.
1062
+ * @internal
1063
+ */
1064
+ $signals: DefaultsV1.SignalSignatures;
1065
+
844
1066
  // Constructors
845
1067
 
846
1068
  constructor(properties?: Partial<DefaultsV1.ConstructorProps>, ...args: any[]);
@@ -852,6 +1074,24 @@ export namespace Modulemd {
852
1074
 
853
1075
  static ['new'](...args: never[]): any;
854
1076
 
1077
+ // Signals
1078
+
1079
+ connect<K extends keyof DefaultsV1.SignalSignatures>(
1080
+ signal: K,
1081
+ callback: GObject.SignalCallback<this, DefaultsV1.SignalSignatures[K]>,
1082
+ ): number;
1083
+ connect(signal: string, callback: (...args: any[]) => any): number;
1084
+ connect_after<K extends keyof DefaultsV1.SignalSignatures>(
1085
+ signal: K,
1086
+ callback: GObject.SignalCallback<this, DefaultsV1.SignalSignatures[K]>,
1087
+ ): number;
1088
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1089
+ emit<K extends keyof DefaultsV1.SignalSignatures>(
1090
+ signal: K,
1091
+ ...args: GObject.GjsParameters<DefaultsV1.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1092
+ ): void;
1093
+ emit(signal: string, ...args: any[]): void;
1094
+
855
1095
  // Methods
856
1096
 
857
1097
  /**
@@ -889,6 +1129,9 @@ export namespace Modulemd {
889
1129
  }
890
1130
 
891
1131
  namespace Dependencies {
1132
+ // Signal signatures
1133
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1134
+
892
1135
  // Constructor properties interface
893
1136
 
894
1137
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -897,6 +1140,15 @@ export namespace Modulemd {
897
1140
  class Dependencies extends GObject.Object {
898
1141
  static $gtype: GObject.GType<Dependencies>;
899
1142
 
1143
+ /**
1144
+ * Compile-time signal type information.
1145
+ *
1146
+ * This instance property is generated only for TypeScript type checking.
1147
+ * It is not defined at runtime and should not be accessed in JS code.
1148
+ * @internal
1149
+ */
1150
+ $signals: Dependencies.SignalSignatures;
1151
+
900
1152
  // Constructors
901
1153
 
902
1154
  constructor(properties?: Partial<Dependencies.ConstructorProps>, ...args: any[]);
@@ -905,6 +1157,24 @@ export namespace Modulemd {
905
1157
 
906
1158
  static ['new'](): Dependencies;
907
1159
 
1160
+ // Signals
1161
+
1162
+ connect<K extends keyof Dependencies.SignalSignatures>(
1163
+ signal: K,
1164
+ callback: GObject.SignalCallback<this, Dependencies.SignalSignatures[K]>,
1165
+ ): number;
1166
+ connect(signal: string, callback: (...args: any[]) => any): number;
1167
+ connect_after<K extends keyof Dependencies.SignalSignatures>(
1168
+ signal: K,
1169
+ callback: GObject.SignalCallback<this, Dependencies.SignalSignatures[K]>,
1170
+ ): number;
1171
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1172
+ emit<K extends keyof Dependencies.SignalSignatures>(
1173
+ signal: K,
1174
+ ...args: GObject.GjsParameters<Dependencies.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1175
+ ): void;
1176
+ emit(signal: string, ...args: any[]): void;
1177
+
908
1178
  // Methods
909
1179
 
910
1180
  /**
@@ -961,6 +1231,11 @@ export namespace Modulemd {
961
1231
  }
962
1232
 
963
1233
  namespace Module {
1234
+ // Signal signatures
1235
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1236
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
1237
+ }
1238
+
964
1239
  // Constructor properties interface
965
1240
 
966
1241
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -977,12 +1252,39 @@ export namespace Modulemd {
977
1252
  get module_name(): string;
978
1253
  get moduleName(): string;
979
1254
 
1255
+ /**
1256
+ * Compile-time signal type information.
1257
+ *
1258
+ * This instance property is generated only for TypeScript type checking.
1259
+ * It is not defined at runtime and should not be accessed in JS code.
1260
+ * @internal
1261
+ */
1262
+ $signals: Module.SignalSignatures;
1263
+
980
1264
  // Constructors
981
1265
 
982
1266
  constructor(properties?: Partial<Module.ConstructorProps>, ...args: any[]);
983
1267
 
984
1268
  _init(...args: any[]): void;
985
1269
 
1270
+ // Signals
1271
+
1272
+ connect<K extends keyof Module.SignalSignatures>(
1273
+ signal: K,
1274
+ callback: GObject.SignalCallback<this, Module.SignalSignatures[K]>,
1275
+ ): number;
1276
+ connect(signal: string, callback: (...args: any[]) => any): number;
1277
+ connect_after<K extends keyof Module.SignalSignatures>(
1278
+ signal: K,
1279
+ callback: GObject.SignalCallback<this, Module.SignalSignatures[K]>,
1280
+ ): number;
1281
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1282
+ emit<K extends keyof Module.SignalSignatures>(
1283
+ signal: K,
1284
+ ...args: GObject.GjsParameters<Module.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1285
+ ): void;
1286
+ emit(signal: string, ...args: any[]): void;
1287
+
986
1288
  // Methods
987
1289
 
988
1290
  /**
@@ -1048,6 +1350,9 @@ export namespace Modulemd {
1048
1350
  }
1049
1351
 
1050
1352
  namespace ModuleIndex {
1353
+ // Signal signatures
1354
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1355
+
1051
1356
  // Constructor properties interface
1052
1357
 
1053
1358
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1056,6 +1361,15 @@ export namespace Modulemd {
1056
1361
  class ModuleIndex extends GObject.Object {
1057
1362
  static $gtype: GObject.GType<ModuleIndex>;
1058
1363
 
1364
+ /**
1365
+ * Compile-time signal type information.
1366
+ *
1367
+ * This instance property is generated only for TypeScript type checking.
1368
+ * It is not defined at runtime and should not be accessed in JS code.
1369
+ * @internal
1370
+ */
1371
+ $signals: ModuleIndex.SignalSignatures;
1372
+
1059
1373
  // Constructors
1060
1374
 
1061
1375
  constructor(properties?: Partial<ModuleIndex.ConstructorProps>, ...args: any[]);
@@ -1064,6 +1378,24 @@ export namespace Modulemd {
1064
1378
 
1065
1379
  static ['new'](): ModuleIndex;
1066
1380
 
1381
+ // Signals
1382
+
1383
+ connect<K extends keyof ModuleIndex.SignalSignatures>(
1384
+ signal: K,
1385
+ callback: GObject.SignalCallback<this, ModuleIndex.SignalSignatures[K]>,
1386
+ ): number;
1387
+ connect(signal: string, callback: (...args: any[]) => any): number;
1388
+ connect_after<K extends keyof ModuleIndex.SignalSignatures>(
1389
+ signal: K,
1390
+ callback: GObject.SignalCallback<this, ModuleIndex.SignalSignatures[K]>,
1391
+ ): number;
1392
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1393
+ emit<K extends keyof ModuleIndex.SignalSignatures>(
1394
+ signal: K,
1395
+ ...args: GObject.GjsParameters<ModuleIndex.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1396
+ ): void;
1397
+ emit(signal: string, ...args: any[]): void;
1398
+
1067
1399
  // Methods
1068
1400
 
1069
1401
  add_defaults(defaults: Defaults): boolean;
@@ -1169,6 +1501,9 @@ export namespace Modulemd {
1169
1501
  }
1170
1502
 
1171
1503
  namespace ModuleIndexMerger {
1504
+ // Signal signatures
1505
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1506
+
1172
1507
  // Constructor properties interface
1173
1508
 
1174
1509
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1177,6 +1512,15 @@ export namespace Modulemd {
1177
1512
  class ModuleIndexMerger extends GObject.Object {
1178
1513
  static $gtype: GObject.GType<ModuleIndexMerger>;
1179
1514
 
1515
+ /**
1516
+ * Compile-time signal type information.
1517
+ *
1518
+ * This instance property is generated only for TypeScript type checking.
1519
+ * It is not defined at runtime and should not be accessed in JS code.
1520
+ * @internal
1521
+ */
1522
+ $signals: ModuleIndexMerger.SignalSignatures;
1523
+
1180
1524
  // Constructors
1181
1525
 
1182
1526
  constructor(properties?: Partial<ModuleIndexMerger.ConstructorProps>, ...args: any[]);
@@ -1185,6 +1529,24 @@ export namespace Modulemd {
1185
1529
 
1186
1530
  static ['new'](): ModuleIndexMerger;
1187
1531
 
1532
+ // Signals
1533
+
1534
+ connect<K extends keyof ModuleIndexMerger.SignalSignatures>(
1535
+ signal: K,
1536
+ callback: GObject.SignalCallback<this, ModuleIndexMerger.SignalSignatures[K]>,
1537
+ ): number;
1538
+ connect(signal: string, callback: (...args: any[]) => any): number;
1539
+ connect_after<K extends keyof ModuleIndexMerger.SignalSignatures>(
1540
+ signal: K,
1541
+ callback: GObject.SignalCallback<this, ModuleIndexMerger.SignalSignatures[K]>,
1542
+ ): number;
1543
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1544
+ emit<K extends keyof ModuleIndexMerger.SignalSignatures>(
1545
+ signal: K,
1546
+ ...args: GObject.GjsParameters<ModuleIndexMerger.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1547
+ ): void;
1548
+ emit(signal: string, ...args: any[]): void;
1549
+
1188
1550
  // Methods
1189
1551
 
1190
1552
  /**
@@ -1228,6 +1590,16 @@ export namespace Modulemd {
1228
1590
  }
1229
1591
 
1230
1592
  namespace ModuleStream {
1593
+ // Signal signatures
1594
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1595
+ 'notify::arch': (pspec: GObject.ParamSpec) => void;
1596
+ 'notify::context': (pspec: GObject.ParamSpec) => void;
1597
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
1598
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
1599
+ 'notify::stream-name': (pspec: GObject.ParamSpec) => void;
1600
+ 'notify::version': (pspec: GObject.ParamSpec) => void;
1601
+ }
1602
+
1231
1603
  // Constructor properties interface
1232
1604
 
1233
1605
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1259,6 +1631,15 @@ export namespace Modulemd {
1259
1631
  get version(): number;
1260
1632
  set version(val: number);
1261
1633
 
1634
+ /**
1635
+ * Compile-time signal type information.
1636
+ *
1637
+ * This instance property is generated only for TypeScript type checking.
1638
+ * It is not defined at runtime and should not be accessed in JS code.
1639
+ * @internal
1640
+ */
1641
+ $signals: ModuleStream.SignalSignatures;
1642
+
1262
1643
  // Constructors
1263
1644
 
1264
1645
  constructor(properties?: Partial<ModuleStream.ConstructorProps>, ...args: any[]);
@@ -1267,6 +1648,24 @@ export namespace Modulemd {
1267
1648
 
1268
1649
  static ['new'](mdversion: number, module_name?: string | null, module_stream?: string | null): ModuleStream;
1269
1650
 
1651
+ // Signals
1652
+
1653
+ connect<K extends keyof ModuleStream.SignalSignatures>(
1654
+ signal: K,
1655
+ callback: GObject.SignalCallback<this, ModuleStream.SignalSignatures[K]>,
1656
+ ): number;
1657
+ connect(signal: string, callback: (...args: any[]) => any): number;
1658
+ connect_after<K extends keyof ModuleStream.SignalSignatures>(
1659
+ signal: K,
1660
+ callback: GObject.SignalCallback<this, ModuleStream.SignalSignatures[K]>,
1661
+ ): number;
1662
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1663
+ emit<K extends keyof ModuleStream.SignalSignatures>(
1664
+ signal: K,
1665
+ ...args: GObject.GjsParameters<ModuleStream.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1666
+ ): void;
1667
+ emit(signal: string, ...args: any[]): void;
1668
+
1270
1669
  // Static methods
1271
1670
 
1272
1671
  /**
@@ -1393,6 +1792,20 @@ export namespace Modulemd {
1393
1792
  }
1394
1793
 
1395
1794
  namespace ModuleStreamV1 {
1795
+ // Signal signatures
1796
+ interface SignalSignatures extends ModuleStream.SignalSignatures {
1797
+ 'notify::arch': (pspec: GObject.ParamSpec) => void;
1798
+ 'notify::buildopts': (pspec: GObject.ParamSpec) => void;
1799
+ 'notify::community': (pspec: GObject.ParamSpec) => void;
1800
+ 'notify::documentation': (pspec: GObject.ParamSpec) => void;
1801
+ 'notify::tracker': (pspec: GObject.ParamSpec) => void;
1802
+ 'notify::context': (pspec: GObject.ParamSpec) => void;
1803
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
1804
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
1805
+ 'notify::stream-name': (pspec: GObject.ParamSpec) => void;
1806
+ 'notify::version': (pspec: GObject.ParamSpec) => void;
1807
+ }
1808
+
1396
1809
  // Constructor properties interface
1397
1810
 
1398
1811
  interface ConstructorProps extends ModuleStream.ConstructorProps {
@@ -1420,6 +1833,15 @@ export namespace Modulemd {
1420
1833
  get tracker(): string;
1421
1834
  set tracker(val: string);
1422
1835
 
1836
+ /**
1837
+ * Compile-time signal type information.
1838
+ *
1839
+ * This instance property is generated only for TypeScript type checking.
1840
+ * It is not defined at runtime and should not be accessed in JS code.
1841
+ * @internal
1842
+ */
1843
+ $signals: ModuleStreamV1.SignalSignatures;
1844
+
1423
1845
  // Constructors
1424
1846
 
1425
1847
  constructor(properties?: Partial<ModuleStreamV1.ConstructorProps>, ...args: any[]);
@@ -1431,6 +1853,24 @@ export namespace Modulemd {
1431
1853
 
1432
1854
  static ['new'](...args: never[]): any;
1433
1855
 
1856
+ // Signals
1857
+
1858
+ connect<K extends keyof ModuleStreamV1.SignalSignatures>(
1859
+ signal: K,
1860
+ callback: GObject.SignalCallback<this, ModuleStreamV1.SignalSignatures[K]>,
1861
+ ): number;
1862
+ connect(signal: string, callback: (...args: any[]) => any): number;
1863
+ connect_after<K extends keyof ModuleStreamV1.SignalSignatures>(
1864
+ signal: K,
1865
+ callback: GObject.SignalCallback<this, ModuleStreamV1.SignalSignatures[K]>,
1866
+ ): number;
1867
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1868
+ emit<K extends keyof ModuleStreamV1.SignalSignatures>(
1869
+ signal: K,
1870
+ ...args: GObject.GjsParameters<ModuleStreamV1.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1871
+ ): void;
1872
+ emit(signal: string, ...args: any[]): void;
1873
+
1434
1874
  // Methods
1435
1875
 
1436
1876
  /**
@@ -1621,6 +2061,21 @@ export namespace Modulemd {
1621
2061
  }
1622
2062
 
1623
2063
  namespace ModuleStreamV2 {
2064
+ // Signal signatures
2065
+ interface SignalSignatures extends ModuleStream.SignalSignatures {
2066
+ 'notify::arch': (pspec: GObject.ParamSpec) => void;
2067
+ 'notify::buildopts': (pspec: GObject.ParamSpec) => void;
2068
+ 'notify::community': (pspec: GObject.ParamSpec) => void;
2069
+ 'notify::documentation': (pspec: GObject.ParamSpec) => void;
2070
+ 'notify::static-context': (pspec: GObject.ParamSpec) => void;
2071
+ 'notify::tracker': (pspec: GObject.ParamSpec) => void;
2072
+ 'notify::context': (pspec: GObject.ParamSpec) => void;
2073
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
2074
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
2075
+ 'notify::stream-name': (pspec: GObject.ParamSpec) => void;
2076
+ 'notify::version': (pspec: GObject.ParamSpec) => void;
2077
+ }
2078
+
1624
2079
  // Constructor properties interface
1625
2080
 
1626
2081
  interface ConstructorProps extends ModuleStream.ConstructorProps {
@@ -1654,6 +2109,15 @@ export namespace Modulemd {
1654
2109
  get tracker(): string;
1655
2110
  set tracker(val: string);
1656
2111
 
2112
+ /**
2113
+ * Compile-time signal type information.
2114
+ *
2115
+ * This instance property is generated only for TypeScript type checking.
2116
+ * It is not defined at runtime and should not be accessed in JS code.
2117
+ * @internal
2118
+ */
2119
+ $signals: ModuleStreamV2.SignalSignatures;
2120
+
1657
2121
  // Constructors
1658
2122
 
1659
2123
  constructor(properties?: Partial<ModuleStreamV2.ConstructorProps>, ...args: any[]);
@@ -1665,6 +2129,24 @@ export namespace Modulemd {
1665
2129
 
1666
2130
  static ['new'](...args: never[]): any;
1667
2131
 
2132
+ // Signals
2133
+
2134
+ connect<K extends keyof ModuleStreamV2.SignalSignatures>(
2135
+ signal: K,
2136
+ callback: GObject.SignalCallback<this, ModuleStreamV2.SignalSignatures[K]>,
2137
+ ): number;
2138
+ connect(signal: string, callback: (...args: any[]) => any): number;
2139
+ connect_after<K extends keyof ModuleStreamV2.SignalSignatures>(
2140
+ signal: K,
2141
+ callback: GObject.SignalCallback<this, ModuleStreamV2.SignalSignatures[K]>,
2142
+ ): number;
2143
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2144
+ emit<K extends keyof ModuleStreamV2.SignalSignatures>(
2145
+ signal: K,
2146
+ ...args: GObject.GjsParameters<ModuleStreamV2.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2147
+ ): void;
2148
+ emit(signal: string, ...args: any[]): void;
2149
+
1668
2150
  // Methods
1669
2151
 
1670
2152
  /**
@@ -1864,6 +2346,20 @@ export namespace Modulemd {
1864
2346
  }
1865
2347
 
1866
2348
  namespace Obsoletes {
2349
+ // Signal signatures
2350
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2351
+ 'notify::eol-date': (pspec: GObject.ParamSpec) => void;
2352
+ 'notify::mdversion': (pspec: GObject.ParamSpec) => void;
2353
+ 'notify::message': (pspec: GObject.ParamSpec) => void;
2354
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
2355
+ 'notify::module-context': (pspec: GObject.ParamSpec) => void;
2356
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
2357
+ 'notify::module-stream': (pspec: GObject.ParamSpec) => void;
2358
+ 'notify::obsoleted-by-module-name': (pspec: GObject.ParamSpec) => void;
2359
+ 'notify::obsoleted-by-module-stream': (pspec: GObject.ParamSpec) => void;
2360
+ 'notify::override-previous': (pspec: GObject.ParamSpec) => void;
2361
+ }
2362
+
1867
2363
  // Constructor properties interface
1868
2364
 
1869
2365
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1921,6 +2417,15 @@ export namespace Modulemd {
1921
2417
  get overridePrevious(): boolean;
1922
2418
  set overridePrevious(val: boolean);
1923
2419
 
2420
+ /**
2421
+ * Compile-time signal type information.
2422
+ *
2423
+ * This instance property is generated only for TypeScript type checking.
2424
+ * It is not defined at runtime and should not be accessed in JS code.
2425
+ * @internal
2426
+ */
2427
+ $signals: Obsoletes.SignalSignatures;
2428
+
1924
2429
  // Constructors
1925
2430
 
1926
2431
  constructor(properties?: Partial<Obsoletes.ConstructorProps>, ...args: any[]);
@@ -1935,6 +2440,24 @@ export namespace Modulemd {
1935
2440
  message: string,
1936
2441
  ): Obsoletes;
1937
2442
 
2443
+ // Signals
2444
+
2445
+ connect<K extends keyof Obsoletes.SignalSignatures>(
2446
+ signal: K,
2447
+ callback: GObject.SignalCallback<this, Obsoletes.SignalSignatures[K]>,
2448
+ ): number;
2449
+ connect(signal: string, callback: (...args: any[]) => any): number;
2450
+ connect_after<K extends keyof Obsoletes.SignalSignatures>(
2451
+ signal: K,
2452
+ callback: GObject.SignalCallback<this, Obsoletes.SignalSignatures[K]>,
2453
+ ): number;
2454
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2455
+ emit<K extends keyof Obsoletes.SignalSignatures>(
2456
+ signal: K,
2457
+ ...args: GObject.GjsParameters<Obsoletes.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2458
+ ): void;
2459
+ emit(signal: string, ...args: any[]): void;
2460
+
1938
2461
  // Methods
1939
2462
 
1940
2463
  /**
@@ -1976,6 +2499,9 @@ export namespace Modulemd {
1976
2499
  }
1977
2500
 
1978
2501
  namespace PackagerV3 {
2502
+ // Signal signatures
2503
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2504
+
1979
2505
  // Constructor properties interface
1980
2506
 
1981
2507
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1984,6 +2510,15 @@ export namespace Modulemd {
1984
2510
  class PackagerV3 extends GObject.Object {
1985
2511
  static $gtype: GObject.GType<PackagerV3>;
1986
2512
 
2513
+ /**
2514
+ * Compile-time signal type information.
2515
+ *
2516
+ * This instance property is generated only for TypeScript type checking.
2517
+ * It is not defined at runtime and should not be accessed in JS code.
2518
+ * @internal
2519
+ */
2520
+ $signals: PackagerV3.SignalSignatures;
2521
+
1987
2522
  // Constructors
1988
2523
 
1989
2524
  constructor(properties?: Partial<PackagerV3.ConstructorProps>, ...args: any[]);
@@ -1992,6 +2527,24 @@ export namespace Modulemd {
1992
2527
 
1993
2528
  static ['new'](): PackagerV3;
1994
2529
 
2530
+ // Signals
2531
+
2532
+ connect<K extends keyof PackagerV3.SignalSignatures>(
2533
+ signal: K,
2534
+ callback: GObject.SignalCallback<this, PackagerV3.SignalSignatures[K]>,
2535
+ ): number;
2536
+ connect(signal: string, callback: (...args: any[]) => any): number;
2537
+ connect_after<K extends keyof PackagerV3.SignalSignatures>(
2538
+ signal: K,
2539
+ callback: GObject.SignalCallback<this, PackagerV3.SignalSignatures[K]>,
2540
+ ): number;
2541
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2542
+ emit<K extends keyof PackagerV3.SignalSignatures>(
2543
+ signal: K,
2544
+ ...args: GObject.GjsParameters<PackagerV3.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2545
+ ): void;
2546
+ emit(signal: string, ...args: any[]): void;
2547
+
1995
2548
  // Methods
1996
2549
 
1997
2550
  add_build_config(buildconfig: BuildConfig): void;
@@ -2152,6 +2705,11 @@ export namespace Modulemd {
2152
2705
  }
2153
2706
 
2154
2707
  namespace Profile {
2708
+ // Signal signatures
2709
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2710
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2711
+ }
2712
+
2155
2713
  // Constructor properties interface
2156
2714
 
2157
2715
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2166,6 +2724,15 @@ export namespace Modulemd {
2166
2724
 
2167
2725
  get name(): string;
2168
2726
 
2727
+ /**
2728
+ * Compile-time signal type information.
2729
+ *
2730
+ * This instance property is generated only for TypeScript type checking.
2731
+ * It is not defined at runtime and should not be accessed in JS code.
2732
+ * @internal
2733
+ */
2734
+ $signals: Profile.SignalSignatures;
2735
+
2169
2736
  // Constructors
2170
2737
 
2171
2738
  constructor(properties?: Partial<Profile.ConstructorProps>, ...args: any[]);
@@ -2174,6 +2741,24 @@ export namespace Modulemd {
2174
2741
 
2175
2742
  static ['new'](name: string): Profile;
2176
2743
 
2744
+ // Signals
2745
+
2746
+ connect<K extends keyof Profile.SignalSignatures>(
2747
+ signal: K,
2748
+ callback: GObject.SignalCallback<this, Profile.SignalSignatures[K]>,
2749
+ ): number;
2750
+ connect(signal: string, callback: (...args: any[]) => any): number;
2751
+ connect_after<K extends keyof Profile.SignalSignatures>(
2752
+ signal: K,
2753
+ callback: GObject.SignalCallback<this, Profile.SignalSignatures[K]>,
2754
+ ): number;
2755
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2756
+ emit<K extends keyof Profile.SignalSignatures>(
2757
+ signal: K,
2758
+ ...args: GObject.GjsParameters<Profile.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2759
+ ): void;
2760
+ emit(signal: string, ...args: any[]): void;
2761
+
2177
2762
  // Methods
2178
2763
 
2179
2764
  add_rpm(rpm: string): void;
@@ -2208,6 +2793,16 @@ export namespace Modulemd {
2208
2793
  }
2209
2794
 
2210
2795
  namespace RpmMapEntry {
2796
+ // Signal signatures
2797
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2798
+ 'notify::arch': (pspec: GObject.ParamSpec) => void;
2799
+ 'notify::epoch': (pspec: GObject.ParamSpec) => void;
2800
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2801
+ 'notify::nevra': (pspec: GObject.ParamSpec) => void;
2802
+ 'notify::release': (pspec: GObject.ParamSpec) => void;
2803
+ 'notify::version': (pspec: GObject.ParamSpec) => void;
2804
+ }
2805
+
2211
2806
  // Constructor properties interface
2212
2807
 
2213
2808
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2237,6 +2832,15 @@ export namespace Modulemd {
2237
2832
  get version(): string;
2238
2833
  set version(val: string);
2239
2834
 
2835
+ /**
2836
+ * Compile-time signal type information.
2837
+ *
2838
+ * This instance property is generated only for TypeScript type checking.
2839
+ * It is not defined at runtime and should not be accessed in JS code.
2840
+ * @internal
2841
+ */
2842
+ $signals: RpmMapEntry.SignalSignatures;
2843
+
2240
2844
  // Constructors
2241
2845
 
2242
2846
  constructor(properties?: Partial<RpmMapEntry.ConstructorProps>, ...args: any[]);
@@ -2245,6 +2849,24 @@ export namespace Modulemd {
2245
2849
 
2246
2850
  static ['new'](name: string, epoch: number, version: string, release: string, arch: string): RpmMapEntry;
2247
2851
 
2852
+ // Signals
2853
+
2854
+ connect<K extends keyof RpmMapEntry.SignalSignatures>(
2855
+ signal: K,
2856
+ callback: GObject.SignalCallback<this, RpmMapEntry.SignalSignatures[K]>,
2857
+ ): number;
2858
+ connect(signal: string, callback: (...args: any[]) => any): number;
2859
+ connect_after<K extends keyof RpmMapEntry.SignalSignatures>(
2860
+ signal: K,
2861
+ callback: GObject.SignalCallback<this, RpmMapEntry.SignalSignatures[K]>,
2862
+ ): number;
2863
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2864
+ emit<K extends keyof RpmMapEntry.SignalSignatures>(
2865
+ signal: K,
2866
+ ...args: GObject.GjsParameters<RpmMapEntry.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2867
+ ): void;
2868
+ emit(signal: string, ...args: any[]): void;
2869
+
2248
2870
  // Methods
2249
2871
 
2250
2872
  copy(): RpmMapEntry;
@@ -2264,6 +2886,11 @@ export namespace Modulemd {
2264
2886
  }
2265
2887
 
2266
2888
  namespace ServiceLevel {
2889
+ // Signal signatures
2890
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2891
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2892
+ }
2893
+
2267
2894
  // Constructor properties interface
2268
2895
 
2269
2896
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2278,6 +2905,15 @@ export namespace Modulemd {
2278
2905
 
2279
2906
  get name(): string;
2280
2907
 
2908
+ /**
2909
+ * Compile-time signal type information.
2910
+ *
2911
+ * This instance property is generated only for TypeScript type checking.
2912
+ * It is not defined at runtime and should not be accessed in JS code.
2913
+ * @internal
2914
+ */
2915
+ $signals: ServiceLevel.SignalSignatures;
2916
+
2281
2917
  // Constructors
2282
2918
 
2283
2919
  constructor(properties?: Partial<ServiceLevel.ConstructorProps>, ...args: any[]);
@@ -2286,6 +2922,24 @@ export namespace Modulemd {
2286
2922
 
2287
2923
  static ['new'](name: string): ServiceLevel;
2288
2924
 
2925
+ // Signals
2926
+
2927
+ connect<K extends keyof ServiceLevel.SignalSignatures>(
2928
+ signal: K,
2929
+ callback: GObject.SignalCallback<this, ServiceLevel.SignalSignatures[K]>,
2930
+ ): number;
2931
+ connect(signal: string, callback: (...args: any[]) => any): number;
2932
+ connect_after<K extends keyof ServiceLevel.SignalSignatures>(
2933
+ signal: K,
2934
+ callback: GObject.SignalCallback<this, ServiceLevel.SignalSignatures[K]>,
2935
+ ): number;
2936
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2937
+ emit<K extends keyof ServiceLevel.SignalSignatures>(
2938
+ signal: K,
2939
+ ...args: GObject.GjsParameters<ServiceLevel.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2940
+ ): void;
2941
+ emit(signal: string, ...args: any[]): void;
2942
+
2289
2943
  // Methods
2290
2944
 
2291
2945
  /**
@@ -2315,6 +2969,9 @@ export namespace Modulemd {
2315
2969
  }
2316
2970
 
2317
2971
  namespace SubdocumentInfo {
2972
+ // Signal signatures
2973
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2974
+
2318
2975
  // Constructor properties interface
2319
2976
 
2320
2977
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2323,12 +2980,39 @@ export namespace Modulemd {
2323
2980
  class SubdocumentInfo extends GObject.Object {
2324
2981
  static $gtype: GObject.GType<SubdocumentInfo>;
2325
2982
 
2983
+ /**
2984
+ * Compile-time signal type information.
2985
+ *
2986
+ * This instance property is generated only for TypeScript type checking.
2987
+ * It is not defined at runtime and should not be accessed in JS code.
2988
+ * @internal
2989
+ */
2990
+ $signals: SubdocumentInfo.SignalSignatures;
2991
+
2326
2992
  // Constructors
2327
2993
 
2328
2994
  constructor(properties?: Partial<SubdocumentInfo.ConstructorProps>, ...args: any[]);
2329
2995
 
2330
2996
  _init(...args: any[]): void;
2331
2997
 
2998
+ // Signals
2999
+
3000
+ connect<K extends keyof SubdocumentInfo.SignalSignatures>(
3001
+ signal: K,
3002
+ callback: GObject.SignalCallback<this, SubdocumentInfo.SignalSignatures[K]>,
3003
+ ): number;
3004
+ connect(signal: string, callback: (...args: any[]) => any): number;
3005
+ connect_after<K extends keyof SubdocumentInfo.SignalSignatures>(
3006
+ signal: K,
3007
+ callback: GObject.SignalCallback<this, SubdocumentInfo.SignalSignatures[K]>,
3008
+ ): number;
3009
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
3010
+ emit<K extends keyof SubdocumentInfo.SignalSignatures>(
3011
+ signal: K,
3012
+ ...args: GObject.GjsParameters<SubdocumentInfo.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
3013
+ ): void;
3014
+ emit(signal: string, ...args: any[]): void;
3015
+
2332
3016
  // Methods
2333
3017
 
2334
3018
  get_gerror(): GLib.Error;
@@ -2336,6 +3020,14 @@ export namespace Modulemd {
2336
3020
  }
2337
3021
 
2338
3022
  namespace Translation {
3023
+ // Signal signatures
3024
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
3025
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
3026
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
3027
+ 'notify::module-stream': (pspec: GObject.ParamSpec) => void;
3028
+ 'notify::version': (pspec: GObject.ParamSpec) => void;
3029
+ }
3030
+
2339
3031
  // Constructor properties interface
2340
3032
 
2341
3033
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2361,6 +3053,15 @@ export namespace Modulemd {
2361
3053
  get moduleStream(): string;
2362
3054
  get version(): number;
2363
3055
 
3056
+ /**
3057
+ * Compile-time signal type information.
3058
+ *
3059
+ * This instance property is generated only for TypeScript type checking.
3060
+ * It is not defined at runtime and should not be accessed in JS code.
3061
+ * @internal
3062
+ */
3063
+ $signals: Translation.SignalSignatures;
3064
+
2364
3065
  // Constructors
2365
3066
 
2366
3067
  constructor(properties?: Partial<Translation.ConstructorProps>, ...args: any[]);
@@ -2369,6 +3070,24 @@ export namespace Modulemd {
2369
3070
 
2370
3071
  static ['new'](version: number, module_name: string, module_stream: string, modified: number): Translation;
2371
3072
 
3073
+ // Signals
3074
+
3075
+ connect<K extends keyof Translation.SignalSignatures>(
3076
+ signal: K,
3077
+ callback: GObject.SignalCallback<this, Translation.SignalSignatures[K]>,
3078
+ ): number;
3079
+ connect(signal: string, callback: (...args: any[]) => any): number;
3080
+ connect_after<K extends keyof Translation.SignalSignatures>(
3081
+ signal: K,
3082
+ callback: GObject.SignalCallback<this, Translation.SignalSignatures[K]>,
3083
+ ): number;
3084
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
3085
+ emit<K extends keyof Translation.SignalSignatures>(
3086
+ signal: K,
3087
+ ...args: GObject.GjsParameters<Translation.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
3088
+ ): void;
3089
+ emit(signal: string, ...args: any[]): void;
3090
+
2372
3091
  // Methods
2373
3092
 
2374
3093
  /**
@@ -2390,6 +3109,13 @@ export namespace Modulemd {
2390
3109
  }
2391
3110
 
2392
3111
  namespace TranslationEntry {
3112
+ // Signal signatures
3113
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
3114
+ 'notify::description': (pspec: GObject.ParamSpec) => void;
3115
+ 'notify::locale': (pspec: GObject.ParamSpec) => void;
3116
+ 'notify::summary': (pspec: GObject.ParamSpec) => void;
3117
+ }
3118
+
2393
3119
  // Constructor properties interface
2394
3120
 
2395
3121
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2410,6 +3136,15 @@ export namespace Modulemd {
2410
3136
  get summary(): string;
2411
3137
  set summary(val: string);
2412
3138
 
3139
+ /**
3140
+ * Compile-time signal type information.
3141
+ *
3142
+ * This instance property is generated only for TypeScript type checking.
3143
+ * It is not defined at runtime and should not be accessed in JS code.
3144
+ * @internal
3145
+ */
3146
+ $signals: TranslationEntry.SignalSignatures;
3147
+
2413
3148
  // Constructors
2414
3149
 
2415
3150
  constructor(properties?: Partial<TranslationEntry.ConstructorProps>, ...args: any[]);
@@ -2418,6 +3153,24 @@ export namespace Modulemd {
2418
3153
 
2419
3154
  static ['new'](locale: string): TranslationEntry;
2420
3155
 
3156
+ // Signals
3157
+
3158
+ connect<K extends keyof TranslationEntry.SignalSignatures>(
3159
+ signal: K,
3160
+ callback: GObject.SignalCallback<this, TranslationEntry.SignalSignatures[K]>,
3161
+ ): number;
3162
+ connect(signal: string, callback: (...args: any[]) => any): number;
3163
+ connect_after<K extends keyof TranslationEntry.SignalSignatures>(
3164
+ signal: K,
3165
+ callback: GObject.SignalCallback<this, TranslationEntry.SignalSignatures[K]>,
3166
+ ): number;
3167
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
3168
+ emit<K extends keyof TranslationEntry.SignalSignatures>(
3169
+ signal: K,
3170
+ ...args: GObject.GjsParameters<TranslationEntry.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
3171
+ ): void;
3172
+ emit(signal: string, ...args: any[]): void;
3173
+
2421
3174
  // Methods
2422
3175
 
2423
3176
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/modulemd-2.0",
3
- "version": "2.0.0-4.0.0-beta.23",
3
+ "version": "2.0.0-4.0.0-beta.25",
4
4
  "description": "GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "modulemd-2.0.js",
@@ -31,9 +31,9 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.0.0-beta.23",
35
- "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
36
- "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
34
+ "@girs/gjs": "^4.0.0-beta.25",
35
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.25",
36
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.25"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "*"