@girs/modulemd-2.0 2.0.0-4.0.0-beta.21 → 2.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.
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.21.
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.24.
9
9
 
10
10
 
11
11
  ## Install
package/modulemd-2.0.d.ts CHANGED
@@ -7,6 +7,8 @@
7
7
  * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
8
  */
9
9
 
10
+ import '@girs/gjs';
11
+
10
12
  // Module dependencies
11
13
  import type GObject from '@girs/gobject-2.0';
12
14
  import type GLib from '@girs/glib-2.0';
@@ -427,6 +429,9 @@ export namespace Modulemd {
427
429
  (data: any, size: number): number;
428
430
  }
429
431
  namespace BuildConfig {
432
+ // Signal signatures
433
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
434
+
430
435
  // Constructor properties interface
431
436
 
432
437
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -435,6 +440,15 @@ export namespace Modulemd {
435
440
  class BuildConfig extends GObject.Object {
436
441
  static $gtype: GObject.GType<BuildConfig>;
437
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
+
438
452
  // Constructors
439
453
 
440
454
  constructor(properties?: Partial<BuildConfig.ConstructorProps>, ...args: any[]);
@@ -443,6 +457,24 @@ export namespace Modulemd {
443
457
 
444
458
  static ['new'](): BuildConfig;
445
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
+
446
478
  // Methods
447
479
 
448
480
  /**
@@ -525,6 +557,11 @@ export namespace Modulemd {
525
557
  }
526
558
 
527
559
  namespace Buildopts {
560
+ // Signal signatures
561
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
562
+ 'notify::rpm-macros': (pspec: GObject.ParamSpec) => void;
563
+ }
564
+
528
565
  // Constructor properties interface
529
566
 
530
567
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -543,6 +580,15 @@ export namespace Modulemd {
543
580
  get rpmMacros(): string;
544
581
  set rpmMacros(val: string);
545
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
+
546
592
  // Constructors
547
593
 
548
594
  constructor(properties?: Partial<Buildopts.ConstructorProps>, ...args: any[]);
@@ -551,6 +597,24 @@ export namespace Modulemd {
551
597
 
552
598
  static ['new'](): Buildopts;
553
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
+
554
618
  // Methods
555
619
 
556
620
  /**
@@ -589,6 +653,14 @@ export namespace Modulemd {
589
653
  }
590
654
 
591
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
+
592
664
  // Constructor properties interface
593
665
 
594
666
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -612,12 +684,39 @@ export namespace Modulemd {
612
684
  get rationale(): string;
613
685
  set rationale(val: string);
614
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
+
615
696
  // Constructors
616
697
 
617
698
  constructor(properties?: Partial<Component.ConstructorProps>, ...args: any[]);
618
699
 
619
700
  _init(...args: any[]): void;
620
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
+
621
720
  // Virtual methods
622
721
 
623
722
  vfunc_copy(key?: string | null): Component;
@@ -664,6 +763,16 @@ export namespace Modulemd {
664
763
  }
665
764
 
666
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
+
667
776
  // Constructor properties interface
668
777
 
669
778
  interface ConstructorProps extends Component.ConstructorProps {
@@ -682,6 +791,15 @@ export namespace Modulemd {
682
791
  get repository(): string;
683
792
  set repository(val: string);
684
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
+
685
803
  // Constructors
686
804
 
687
805
  constructor(properties?: Partial<ComponentModule.ConstructorProps>, ...args: any[]);
@@ -690,6 +808,24 @@ export namespace Modulemd {
690
808
 
691
809
  static ['new'](key: string): ComponentModule;
692
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
+
693
829
  // Methods
694
830
 
695
831
  get_ref(): string;
@@ -699,6 +835,19 @@ export namespace Modulemd {
699
835
  }
700
836
 
701
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
+
702
851
  // Constructor properties interface
703
852
 
704
853
  interface ConstructorProps extends Component.ConstructorProps {
@@ -729,6 +878,15 @@ export namespace Modulemd {
729
878
  get srpmBuildroot(): boolean;
730
879
  set srpmBuildroot(val: boolean);
731
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
+
732
890
  // Constructors
733
891
 
734
892
  constructor(properties?: Partial<ComponentRpm.ConstructorProps>, ...args: any[]);
@@ -737,6 +895,24 @@ export namespace Modulemd {
737
895
 
738
896
  static ['new'](key: string): ComponentRpm;
739
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
+
740
916
  // Methods
741
917
 
742
918
  /**
@@ -785,6 +961,12 @@ export namespace Modulemd {
785
961
  }
786
962
 
787
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
+
788
970
  // Constructor properties interface
789
971
 
790
972
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -803,6 +985,15 @@ export namespace Modulemd {
803
985
  get module_name(): string;
804
986
  get moduleName(): string;
805
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
+
806
997
  // Constructors
807
998
 
808
999
  constructor(properties?: Partial<Defaults.ConstructorProps>, ...args: any[]);
@@ -811,6 +1002,24 @@ export namespace Modulemd {
811
1002
 
812
1003
  static ['new'](version: number, module_name: string): Defaults;
813
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
+
814
1023
  // Virtual methods
815
1024
 
816
1025
  vfunc_copy(): Defaults;
@@ -831,6 +1040,12 @@ export namespace Modulemd {
831
1040
  }
832
1041
 
833
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
+
834
1049
  // Constructor properties interface
835
1050
 
836
1051
  interface ConstructorProps extends Defaults.ConstructorProps {}
@@ -839,6 +1054,15 @@ export namespace Modulemd {
839
1054
  class DefaultsV1 extends Defaults {
840
1055
  static $gtype: GObject.GType<DefaultsV1>;
841
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
+
842
1066
  // Constructors
843
1067
 
844
1068
  constructor(properties?: Partial<DefaultsV1.ConstructorProps>, ...args: any[]);
@@ -850,6 +1074,24 @@ export namespace Modulemd {
850
1074
 
851
1075
  static ['new'](...args: never[]): any;
852
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
+
853
1095
  // Methods
854
1096
 
855
1097
  /**
@@ -887,6 +1129,9 @@ export namespace Modulemd {
887
1129
  }
888
1130
 
889
1131
  namespace Dependencies {
1132
+ // Signal signatures
1133
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1134
+
890
1135
  // Constructor properties interface
891
1136
 
892
1137
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -895,6 +1140,15 @@ export namespace Modulemd {
895
1140
  class Dependencies extends GObject.Object {
896
1141
  static $gtype: GObject.GType<Dependencies>;
897
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
+
898
1152
  // Constructors
899
1153
 
900
1154
  constructor(properties?: Partial<Dependencies.ConstructorProps>, ...args: any[]);
@@ -903,6 +1157,24 @@ export namespace Modulemd {
903
1157
 
904
1158
  static ['new'](): Dependencies;
905
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
+
906
1178
  // Methods
907
1179
 
908
1180
  /**
@@ -959,6 +1231,11 @@ export namespace Modulemd {
959
1231
  }
960
1232
 
961
1233
  namespace Module {
1234
+ // Signal signatures
1235
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1236
+ 'notify::module-name': (pspec: GObject.ParamSpec) => void;
1237
+ }
1238
+
962
1239
  // Constructor properties interface
963
1240
 
964
1241
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -975,12 +1252,39 @@ export namespace Modulemd {
975
1252
  get module_name(): string;
976
1253
  get moduleName(): string;
977
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
+
978
1264
  // Constructors
979
1265
 
980
1266
  constructor(properties?: Partial<Module.ConstructorProps>, ...args: any[]);
981
1267
 
982
1268
  _init(...args: any[]): void;
983
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
+
984
1288
  // Methods
985
1289
 
986
1290
  /**
@@ -1046,6 +1350,9 @@ export namespace Modulemd {
1046
1350
  }
1047
1351
 
1048
1352
  namespace ModuleIndex {
1353
+ // Signal signatures
1354
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1355
+
1049
1356
  // Constructor properties interface
1050
1357
 
1051
1358
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1054,6 +1361,15 @@ export namespace Modulemd {
1054
1361
  class ModuleIndex extends GObject.Object {
1055
1362
  static $gtype: GObject.GType<ModuleIndex>;
1056
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
+
1057
1373
  // Constructors
1058
1374
 
1059
1375
  constructor(properties?: Partial<ModuleIndex.ConstructorProps>, ...args: any[]);
@@ -1062,6 +1378,24 @@ export namespace Modulemd {
1062
1378
 
1063
1379
  static ['new'](): ModuleIndex;
1064
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
+
1065
1399
  // Methods
1066
1400
 
1067
1401
  add_defaults(defaults: Defaults): boolean;
@@ -1167,6 +1501,9 @@ export namespace Modulemd {
1167
1501
  }
1168
1502
 
1169
1503
  namespace ModuleIndexMerger {
1504
+ // Signal signatures
1505
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1506
+
1170
1507
  // Constructor properties interface
1171
1508
 
1172
1509
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1175,6 +1512,15 @@ export namespace Modulemd {
1175
1512
  class ModuleIndexMerger extends GObject.Object {
1176
1513
  static $gtype: GObject.GType<ModuleIndexMerger>;
1177
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
+
1178
1524
  // Constructors
1179
1525
 
1180
1526
  constructor(properties?: Partial<ModuleIndexMerger.ConstructorProps>, ...args: any[]);
@@ -1183,6 +1529,24 @@ export namespace Modulemd {
1183
1529
 
1184
1530
  static ['new'](): ModuleIndexMerger;
1185
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
+
1186
1550
  // Methods
1187
1551
 
1188
1552
  /**
@@ -1226,6 +1590,16 @@ export namespace Modulemd {
1226
1590
  }
1227
1591
 
1228
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
+
1229
1603
  // Constructor properties interface
1230
1604
 
1231
1605
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1257,6 +1631,15 @@ export namespace Modulemd {
1257
1631
  get version(): number;
1258
1632
  set version(val: number);
1259
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
+
1260
1643
  // Constructors
1261
1644
 
1262
1645
  constructor(properties?: Partial<ModuleStream.ConstructorProps>, ...args: any[]);
@@ -1265,6 +1648,24 @@ export namespace Modulemd {
1265
1648
 
1266
1649
  static ['new'](mdversion: number, module_name?: string | null, module_stream?: string | null): ModuleStream;
1267
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
+
1268
1669
  // Static methods
1269
1670
 
1270
1671
  /**
@@ -1391,6 +1792,20 @@ export namespace Modulemd {
1391
1792
  }
1392
1793
 
1393
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
+
1394
1809
  // Constructor properties interface
1395
1810
 
1396
1811
  interface ConstructorProps extends ModuleStream.ConstructorProps {
@@ -1418,6 +1833,15 @@ export namespace Modulemd {
1418
1833
  get tracker(): string;
1419
1834
  set tracker(val: string);
1420
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
+
1421
1845
  // Constructors
1422
1846
 
1423
1847
  constructor(properties?: Partial<ModuleStreamV1.ConstructorProps>, ...args: any[]);
@@ -1429,6 +1853,24 @@ export namespace Modulemd {
1429
1853
 
1430
1854
  static ['new'](...args: never[]): any;
1431
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
+
1432
1874
  // Methods
1433
1875
 
1434
1876
  /**
@@ -1619,6 +2061,21 @@ export namespace Modulemd {
1619
2061
  }
1620
2062
 
1621
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
+
1622
2079
  // Constructor properties interface
1623
2080
 
1624
2081
  interface ConstructorProps extends ModuleStream.ConstructorProps {
@@ -1652,6 +2109,15 @@ export namespace Modulemd {
1652
2109
  get tracker(): string;
1653
2110
  set tracker(val: string);
1654
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
+
1655
2121
  // Constructors
1656
2122
 
1657
2123
  constructor(properties?: Partial<ModuleStreamV2.ConstructorProps>, ...args: any[]);
@@ -1663,6 +2129,24 @@ export namespace Modulemd {
1663
2129
 
1664
2130
  static ['new'](...args: never[]): any;
1665
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
+
1666
2150
  // Methods
1667
2151
 
1668
2152
  /**
@@ -1862,6 +2346,20 @@ export namespace Modulemd {
1862
2346
  }
1863
2347
 
1864
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
+
1865
2363
  // Constructor properties interface
1866
2364
 
1867
2365
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1919,6 +2417,15 @@ export namespace Modulemd {
1919
2417
  get overridePrevious(): boolean;
1920
2418
  set overridePrevious(val: boolean);
1921
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
+
1922
2429
  // Constructors
1923
2430
 
1924
2431
  constructor(properties?: Partial<Obsoletes.ConstructorProps>, ...args: any[]);
@@ -1933,6 +2440,24 @@ export namespace Modulemd {
1933
2440
  message: string,
1934
2441
  ): Obsoletes;
1935
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
+
1936
2461
  // Methods
1937
2462
 
1938
2463
  /**
@@ -1974,6 +2499,9 @@ export namespace Modulemd {
1974
2499
  }
1975
2500
 
1976
2501
  namespace PackagerV3 {
2502
+ // Signal signatures
2503
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2504
+
1977
2505
  // Constructor properties interface
1978
2506
 
1979
2507
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1982,6 +2510,15 @@ export namespace Modulemd {
1982
2510
  class PackagerV3 extends GObject.Object {
1983
2511
  static $gtype: GObject.GType<PackagerV3>;
1984
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
+
1985
2522
  // Constructors
1986
2523
 
1987
2524
  constructor(properties?: Partial<PackagerV3.ConstructorProps>, ...args: any[]);
@@ -1990,6 +2527,24 @@ export namespace Modulemd {
1990
2527
 
1991
2528
  static ['new'](): PackagerV3;
1992
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
+
1993
2548
  // Methods
1994
2549
 
1995
2550
  add_build_config(buildconfig: BuildConfig): void;
@@ -2150,6 +2705,11 @@ export namespace Modulemd {
2150
2705
  }
2151
2706
 
2152
2707
  namespace Profile {
2708
+ // Signal signatures
2709
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2710
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2711
+ }
2712
+
2153
2713
  // Constructor properties interface
2154
2714
 
2155
2715
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2164,6 +2724,15 @@ export namespace Modulemd {
2164
2724
 
2165
2725
  get name(): string;
2166
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
+
2167
2736
  // Constructors
2168
2737
 
2169
2738
  constructor(properties?: Partial<Profile.ConstructorProps>, ...args: any[]);
@@ -2172,6 +2741,24 @@ export namespace Modulemd {
2172
2741
 
2173
2742
  static ['new'](name: string): Profile;
2174
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
+
2175
2762
  // Methods
2176
2763
 
2177
2764
  add_rpm(rpm: string): void;
@@ -2206,6 +2793,16 @@ export namespace Modulemd {
2206
2793
  }
2207
2794
 
2208
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
+
2209
2806
  // Constructor properties interface
2210
2807
 
2211
2808
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2235,6 +2832,15 @@ export namespace Modulemd {
2235
2832
  get version(): string;
2236
2833
  set version(val: string);
2237
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
+
2238
2844
  // Constructors
2239
2845
 
2240
2846
  constructor(properties?: Partial<RpmMapEntry.ConstructorProps>, ...args: any[]);
@@ -2243,6 +2849,24 @@ export namespace Modulemd {
2243
2849
 
2244
2850
  static ['new'](name: string, epoch: number, version: string, release: string, arch: string): RpmMapEntry;
2245
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
+
2246
2870
  // Methods
2247
2871
 
2248
2872
  copy(): RpmMapEntry;
@@ -2262,6 +2886,11 @@ export namespace Modulemd {
2262
2886
  }
2263
2887
 
2264
2888
  namespace ServiceLevel {
2889
+ // Signal signatures
2890
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2891
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2892
+ }
2893
+
2265
2894
  // Constructor properties interface
2266
2895
 
2267
2896
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2276,6 +2905,15 @@ export namespace Modulemd {
2276
2905
 
2277
2906
  get name(): string;
2278
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
+
2279
2917
  // Constructors
2280
2918
 
2281
2919
  constructor(properties?: Partial<ServiceLevel.ConstructorProps>, ...args: any[]);
@@ -2284,6 +2922,24 @@ export namespace Modulemd {
2284
2922
 
2285
2923
  static ['new'](name: string): ServiceLevel;
2286
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
+
2287
2943
  // Methods
2288
2944
 
2289
2945
  /**
@@ -2313,6 +2969,9 @@ export namespace Modulemd {
2313
2969
  }
2314
2970
 
2315
2971
  namespace SubdocumentInfo {
2972
+ // Signal signatures
2973
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2974
+
2316
2975
  // Constructor properties interface
2317
2976
 
2318
2977
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2321,12 +2980,39 @@ export namespace Modulemd {
2321
2980
  class SubdocumentInfo extends GObject.Object {
2322
2981
  static $gtype: GObject.GType<SubdocumentInfo>;
2323
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
+
2324
2992
  // Constructors
2325
2993
 
2326
2994
  constructor(properties?: Partial<SubdocumentInfo.ConstructorProps>, ...args: any[]);
2327
2995
 
2328
2996
  _init(...args: any[]): void;
2329
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
+
2330
3016
  // Methods
2331
3017
 
2332
3018
  get_gerror(): GLib.Error;
@@ -2334,6 +3020,14 @@ export namespace Modulemd {
2334
3020
  }
2335
3021
 
2336
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
+
2337
3031
  // Constructor properties interface
2338
3032
 
2339
3033
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2359,6 +3053,15 @@ export namespace Modulemd {
2359
3053
  get moduleStream(): string;
2360
3054
  get version(): number;
2361
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
+
2362
3065
  // Constructors
2363
3066
 
2364
3067
  constructor(properties?: Partial<Translation.ConstructorProps>, ...args: any[]);
@@ -2367,6 +3070,24 @@ export namespace Modulemd {
2367
3070
 
2368
3071
  static ['new'](version: number, module_name: string, module_stream: string, modified: number): Translation;
2369
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
+
2370
3091
  // Methods
2371
3092
 
2372
3093
  /**
@@ -2388,6 +3109,13 @@ export namespace Modulemd {
2388
3109
  }
2389
3110
 
2390
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
+
2391
3119
  // Constructor properties interface
2392
3120
 
2393
3121
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2408,6 +3136,15 @@ export namespace Modulemd {
2408
3136
  get summary(): string;
2409
3137
  set summary(val: string);
2410
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
+
2411
3148
  // Constructors
2412
3149
 
2413
3150
  constructor(properties?: Partial<TranslationEntry.ConstructorProps>, ...args: any[]);
@@ -2416,6 +3153,24 @@ export namespace Modulemd {
2416
3153
 
2417
3154
  static ['new'](locale: string): TranslationEntry;
2418
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
+
2419
3174
  // Methods
2420
3175
 
2421
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.21",
3
+ "version": "2.0.0-4.0.0-beta.24",
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.21",
35
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
36
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
34
+ "@girs/gjs": "^4.0.0-beta.24",
35
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
36
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "*"