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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/cloudproviders-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
9
9
 
10
10
 
11
11
  ## Install
@@ -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 Gio from '@girs/gio-2.0';
12
14
  import type GObject from '@girs/gobject-2.0';
@@ -672,7 +674,7 @@ export namespace CloudProviders {
672
674
  * If the object is not initialized, or initialization returns with an
673
675
  * error, then all operations on the object except g_object_ref() and
674
676
  * g_object_unref() are considered to be invalid, and have undefined
675
- * behaviour. See the [introduction][ginitable] for more details.
677
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
676
678
  *
677
679
  * Callers should not assume that a class which implements #GInitable can be
678
680
  * initialized multiple times, unless the class explicitly documents itself as
@@ -715,7 +717,7 @@ export namespace CloudProviders {
715
717
  * If the object is not initialized, or initialization returns with an
716
718
  * error, then all operations on the object except g_object_ref() and
717
719
  * g_object_unref() are considered to be invalid, and have undefined
718
- * behaviour. See the [introduction][ginitable] for more details.
720
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
719
721
  *
720
722
  * Callers should not assume that a class which implements #GInitable can be
721
723
  * initialized multiple times, unless the class explicitly documents itself as
@@ -855,7 +857,21 @@ export namespace CloudProviders {
855
857
  * @returns the data if found, or %NULL if no such data exists.
856
858
  */
857
859
  get_data(key: string): any | null;
858
- get_property(property_name: string): any;
860
+ /**
861
+ * Gets a property of an object.
862
+ *
863
+ * The value can be:
864
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
865
+ * - a GObject.Value initialized with the expected type of the property
866
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
867
+ *
868
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
869
+ *
870
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
871
+ * @param property_name The name of the property to get
872
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
873
+ */
874
+ get_property(property_name: string, value: GObject.Value | any): any;
859
875
  /**
860
876
  * This function gets back user data pointers stored via
861
877
  * g_object_set_qdata().
@@ -983,7 +999,12 @@ export namespace CloudProviders {
983
999
  * @param data data to associate with that key
984
1000
  */
985
1001
  set_data(key: string, data?: any | null): void;
986
- set_property(property_name: string, value: any): void;
1002
+ /**
1003
+ * Sets a property on an object.
1004
+ * @param property_name The name of the property to set
1005
+ * @param value The value to set the property to
1006
+ */
1007
+ set_property(property_name: string, value: GObject.Value | any): void;
987
1008
  /**
988
1009
  * Remove a specified datum from the object's data associations,
989
1010
  * without invoking the association's destroy handler.
@@ -1133,11 +1154,31 @@ export namespace CloudProviders {
1133
1154
  * @param pspec
1134
1155
  */
1135
1156
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1157
+ /**
1158
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
1159
+ * @param id Handler ID of the handler to be disconnected
1160
+ */
1136
1161
  disconnect(id: number): void;
1162
+ /**
1163
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
1164
+ * @param properties Object containing the properties to set
1165
+ */
1137
1166
  set(properties: { [key: string]: any }): void;
1138
- block_signal_handler(id: number): any;
1139
- unblock_signal_handler(id: number): any;
1140
- stop_emission_by_name(detailedName: string): any;
1167
+ /**
1168
+ * Blocks a handler of an instance so it will not be called during any signal emissions
1169
+ * @param id Handler ID of the handler to be blocked
1170
+ */
1171
+ block_signal_handler(id: number): void;
1172
+ /**
1173
+ * Unblocks a handler so it will be called again during any signal emissions
1174
+ * @param id Handler ID of the handler to be unblocked
1175
+ */
1176
+ unblock_signal_handler(id: number): void;
1177
+ /**
1178
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
1179
+ * @param detailedName Name of the signal to stop emission of
1180
+ */
1181
+ stop_emission_by_name(detailedName: string): void;
1141
1182
  }
1142
1183
 
1143
1184
  namespace DbusAccountSkeleton {
@@ -1359,7 +1400,21 @@ export namespace CloudProviders {
1359
1400
  * @returns the data if found, or %NULL if no such data exists.
1360
1401
  */
1361
1402
  get_data(key: string): any | null;
1362
- get_property(property_name: string): any;
1403
+ /**
1404
+ * Gets a property of an object.
1405
+ *
1406
+ * The value can be:
1407
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
1408
+ * - a GObject.Value initialized with the expected type of the property
1409
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
1410
+ *
1411
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
1412
+ *
1413
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
1414
+ * @param property_name The name of the property to get
1415
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
1416
+ */
1417
+ get_property(property_name: string, value: GObject.Value | any): any;
1363
1418
  /**
1364
1419
  * This function gets back user data pointers stored via
1365
1420
  * g_object_set_qdata().
@@ -1487,7 +1542,12 @@ export namespace CloudProviders {
1487
1542
  * @param data data to associate with that key
1488
1543
  */
1489
1544
  set_data(key: string, data?: any | null): void;
1490
- set_property(property_name: string, value: any): void;
1545
+ /**
1546
+ * Sets a property on an object.
1547
+ * @param property_name The name of the property to set
1548
+ * @param value The value to set the property to
1549
+ */
1550
+ set_property(property_name: string, value: GObject.Value | any): void;
1491
1551
  /**
1492
1552
  * Remove a specified datum from the object's data associations,
1493
1553
  * without invoking the association's destroy handler.
@@ -1637,11 +1697,31 @@ export namespace CloudProviders {
1637
1697
  * @param pspec
1638
1698
  */
1639
1699
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1700
+ /**
1701
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
1702
+ * @param id Handler ID of the handler to be disconnected
1703
+ */
1640
1704
  disconnect(id: number): void;
1705
+ /**
1706
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
1707
+ * @param properties Object containing the properties to set
1708
+ */
1641
1709
  set(properties: { [key: string]: any }): void;
1642
- block_signal_handler(id: number): any;
1643
- unblock_signal_handler(id: number): any;
1644
- stop_emission_by_name(detailedName: string): any;
1710
+ /**
1711
+ * Blocks a handler of an instance so it will not be called during any signal emissions
1712
+ * @param id Handler ID of the handler to be blocked
1713
+ */
1714
+ block_signal_handler(id: number): void;
1715
+ /**
1716
+ * Unblocks a handler so it will be called again during any signal emissions
1717
+ * @param id Handler ID of the handler to be unblocked
1718
+ */
1719
+ unblock_signal_handler(id: number): void;
1720
+ /**
1721
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
1722
+ * @param detailedName Name of the signal to stop emission of
1723
+ */
1724
+ stop_emission_by_name(detailedName: string): void;
1645
1725
  }
1646
1726
 
1647
1727
  namespace DbusObjectManagerClient {
@@ -2049,7 +2129,7 @@ export namespace CloudProviders {
2049
2129
  * If the object is not initialized, or initialization returns with an
2050
2130
  * error, then all operations on the object except g_object_ref() and
2051
2131
  * g_object_unref() are considered to be invalid, and have undefined
2052
- * behaviour. See the [introduction][ginitable] for more details.
2132
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2053
2133
  *
2054
2134
  * Callers should not assume that a class which implements #GInitable can be
2055
2135
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2092,7 +2172,7 @@ export namespace CloudProviders {
2092
2172
  * If the object is not initialized, or initialization returns with an
2093
2173
  * error, then all operations on the object except g_object_ref() and
2094
2174
  * g_object_unref() are considered to be invalid, and have undefined
2095
- * behaviour. See the [introduction][ginitable] for more details.
2175
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2096
2176
  *
2097
2177
  * Callers should not assume that a class which implements #GInitable can be
2098
2178
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2232,7 +2312,21 @@ export namespace CloudProviders {
2232
2312
  * @returns the data if found, or %NULL if no such data exists.
2233
2313
  */
2234
2314
  get_data(key: string): any | null;
2235
- get_property(property_name: string): any;
2315
+ /**
2316
+ * Gets a property of an object.
2317
+ *
2318
+ * The value can be:
2319
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
2320
+ * - a GObject.Value initialized with the expected type of the property
2321
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2322
+ *
2323
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2324
+ *
2325
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2326
+ * @param property_name The name of the property to get
2327
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
2328
+ */
2329
+ get_property(property_name: string, value: GObject.Value | any): any;
2236
2330
  /**
2237
2331
  * This function gets back user data pointers stored via
2238
2332
  * g_object_set_qdata().
@@ -2360,7 +2454,12 @@ export namespace CloudProviders {
2360
2454
  * @param data data to associate with that key
2361
2455
  */
2362
2456
  set_data(key: string, data?: any | null): void;
2363
- set_property(property_name: string, value: any): void;
2457
+ /**
2458
+ * Sets a property on an object.
2459
+ * @param property_name The name of the property to set
2460
+ * @param value The value to set the property to
2461
+ */
2462
+ set_property(property_name: string, value: GObject.Value | any): void;
2364
2463
  /**
2365
2464
  * Remove a specified datum from the object's data associations,
2366
2465
  * without invoking the association's destroy handler.
@@ -2510,11 +2609,31 @@ export namespace CloudProviders {
2510
2609
  * @param pspec
2511
2610
  */
2512
2611
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2612
+ /**
2613
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
2614
+ * @param id Handler ID of the handler to be disconnected
2615
+ */
2513
2616
  disconnect(id: number): void;
2617
+ /**
2618
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2619
+ * @param properties Object containing the properties to set
2620
+ */
2514
2621
  set(properties: { [key: string]: any }): void;
2515
- block_signal_handler(id: number): any;
2516
- unblock_signal_handler(id: number): any;
2517
- stop_emission_by_name(detailedName: string): any;
2622
+ /**
2623
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2624
+ * @param id Handler ID of the handler to be blocked
2625
+ */
2626
+ block_signal_handler(id: number): void;
2627
+ /**
2628
+ * Unblocks a handler so it will be called again during any signal emissions
2629
+ * @param id Handler ID of the handler to be unblocked
2630
+ */
2631
+ unblock_signal_handler(id: number): void;
2632
+ /**
2633
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2634
+ * @param detailedName Name of the signal to stop emission of
2635
+ */
2636
+ stop_emission_by_name(detailedName: string): void;
2518
2637
  }
2519
2638
 
2520
2639
  namespace DbusObjectProxy {
@@ -2725,7 +2844,21 @@ export namespace CloudProviders {
2725
2844
  * @returns the data if found, or %NULL if no such data exists.
2726
2845
  */
2727
2846
  get_data(key: string): any | null;
2728
- get_property(property_name: string): any;
2847
+ /**
2848
+ * Gets a property of an object.
2849
+ *
2850
+ * The value can be:
2851
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
2852
+ * - a GObject.Value initialized with the expected type of the property
2853
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2854
+ *
2855
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2856
+ *
2857
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2858
+ * @param property_name The name of the property to get
2859
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
2860
+ */
2861
+ get_property(property_name: string, value: GObject.Value | any): any;
2729
2862
  /**
2730
2863
  * This function gets back user data pointers stored via
2731
2864
  * g_object_set_qdata().
@@ -2853,7 +2986,12 @@ export namespace CloudProviders {
2853
2986
  * @param data data to associate with that key
2854
2987
  */
2855
2988
  set_data(key: string, data?: any | null): void;
2856
- set_property(property_name: string, value: any): void;
2989
+ /**
2990
+ * Sets a property on an object.
2991
+ * @param property_name The name of the property to set
2992
+ * @param value The value to set the property to
2993
+ */
2994
+ set_property(property_name: string, value: GObject.Value | any): void;
2857
2995
  /**
2858
2996
  * Remove a specified datum from the object's data associations,
2859
2997
  * without invoking the association's destroy handler.
@@ -3003,11 +3141,31 @@ export namespace CloudProviders {
3003
3141
  * @param pspec
3004
3142
  */
3005
3143
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3144
+ /**
3145
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
3146
+ * @param id Handler ID of the handler to be disconnected
3147
+ */
3006
3148
  disconnect(id: number): void;
3149
+ /**
3150
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3151
+ * @param properties Object containing the properties to set
3152
+ */
3007
3153
  set(properties: { [key: string]: any }): void;
3008
- block_signal_handler(id: number): any;
3009
- unblock_signal_handler(id: number): any;
3010
- stop_emission_by_name(detailedName: string): any;
3154
+ /**
3155
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3156
+ * @param id Handler ID of the handler to be blocked
3157
+ */
3158
+ block_signal_handler(id: number): void;
3159
+ /**
3160
+ * Unblocks a handler so it will be called again during any signal emissions
3161
+ * @param id Handler ID of the handler to be unblocked
3162
+ */
3163
+ unblock_signal_handler(id: number): void;
3164
+ /**
3165
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3166
+ * @param detailedName Name of the signal to stop emission of
3167
+ */
3168
+ stop_emission_by_name(detailedName: string): void;
3011
3169
  }
3012
3170
 
3013
3171
  namespace DbusObjectSkeleton {
@@ -3231,7 +3389,21 @@ export namespace CloudProviders {
3231
3389
  * @returns the data if found, or %NULL if no such data exists.
3232
3390
  */
3233
3391
  get_data(key: string): any | null;
3234
- get_property(property_name: string): any;
3392
+ /**
3393
+ * Gets a property of an object.
3394
+ *
3395
+ * The value can be:
3396
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
3397
+ * - a GObject.Value initialized with the expected type of the property
3398
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3399
+ *
3400
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3401
+ *
3402
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3403
+ * @param property_name The name of the property to get
3404
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
3405
+ */
3406
+ get_property(property_name: string, value: GObject.Value | any): any;
3235
3407
  /**
3236
3408
  * This function gets back user data pointers stored via
3237
3409
  * g_object_set_qdata().
@@ -3359,7 +3531,12 @@ export namespace CloudProviders {
3359
3531
  * @param data data to associate with that key
3360
3532
  */
3361
3533
  set_data(key: string, data?: any | null): void;
3362
- set_property(property_name: string, value: any): void;
3534
+ /**
3535
+ * Sets a property on an object.
3536
+ * @param property_name The name of the property to set
3537
+ * @param value The value to set the property to
3538
+ */
3539
+ set_property(property_name: string, value: GObject.Value | any): void;
3363
3540
  /**
3364
3541
  * Remove a specified datum from the object's data associations,
3365
3542
  * without invoking the association's destroy handler.
@@ -3509,11 +3686,31 @@ export namespace CloudProviders {
3509
3686
  * @param pspec
3510
3687
  */
3511
3688
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3689
+ /**
3690
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
3691
+ * @param id Handler ID of the handler to be disconnected
3692
+ */
3512
3693
  disconnect(id: number): void;
3694
+ /**
3695
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3696
+ * @param properties Object containing the properties to set
3697
+ */
3513
3698
  set(properties: { [key: string]: any }): void;
3514
- block_signal_handler(id: number): any;
3515
- unblock_signal_handler(id: number): any;
3516
- stop_emission_by_name(detailedName: string): any;
3699
+ /**
3700
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3701
+ * @param id Handler ID of the handler to be blocked
3702
+ */
3703
+ block_signal_handler(id: number): void;
3704
+ /**
3705
+ * Unblocks a handler so it will be called again during any signal emissions
3706
+ * @param id Handler ID of the handler to be unblocked
3707
+ */
3708
+ unblock_signal_handler(id: number): void;
3709
+ /**
3710
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3711
+ * @param detailedName Name of the signal to stop emission of
3712
+ */
3713
+ stop_emission_by_name(detailedName: string): void;
3517
3714
  }
3518
3715
 
3519
3716
  namespace DbusProviderProxy {
@@ -3886,7 +4083,7 @@ export namespace CloudProviders {
3886
4083
  * If the object is not initialized, or initialization returns with an
3887
4084
  * error, then all operations on the object except g_object_ref() and
3888
4085
  * g_object_unref() are considered to be invalid, and have undefined
3889
- * behaviour. See the [introduction][ginitable] for more details.
4086
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3890
4087
  *
3891
4088
  * Callers should not assume that a class which implements #GInitable can be
3892
4089
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3929,7 +4126,7 @@ export namespace CloudProviders {
3929
4126
  * If the object is not initialized, or initialization returns with an
3930
4127
  * error, then all operations on the object except g_object_ref() and
3931
4128
  * g_object_unref() are considered to be invalid, and have undefined
3932
- * behaviour. See the [introduction][ginitable] for more details.
4129
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3933
4130
  *
3934
4131
  * Callers should not assume that a class which implements #GInitable can be
3935
4132
  * initialized multiple times, unless the class explicitly documents itself as
@@ -4069,7 +4266,21 @@ export namespace CloudProviders {
4069
4266
  * @returns the data if found, or %NULL if no such data exists.
4070
4267
  */
4071
4268
  get_data(key: string): any | null;
4072
- get_property(property_name: string): any;
4269
+ /**
4270
+ * Gets a property of an object.
4271
+ *
4272
+ * The value can be:
4273
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
4274
+ * - a GObject.Value initialized with the expected type of the property
4275
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4276
+ *
4277
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4278
+ *
4279
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4280
+ * @param property_name The name of the property to get
4281
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
4282
+ */
4283
+ get_property(property_name: string, value: GObject.Value | any): any;
4073
4284
  /**
4074
4285
  * This function gets back user data pointers stored via
4075
4286
  * g_object_set_qdata().
@@ -4197,7 +4408,12 @@ export namespace CloudProviders {
4197
4408
  * @param data data to associate with that key
4198
4409
  */
4199
4410
  set_data(key: string, data?: any | null): void;
4200
- set_property(property_name: string, value: any): void;
4411
+ /**
4412
+ * Sets a property on an object.
4413
+ * @param property_name The name of the property to set
4414
+ * @param value The value to set the property to
4415
+ */
4416
+ set_property(property_name: string, value: GObject.Value | any): void;
4201
4417
  /**
4202
4418
  * Remove a specified datum from the object's data associations,
4203
4419
  * without invoking the association's destroy handler.
@@ -4347,11 +4563,31 @@ export namespace CloudProviders {
4347
4563
  * @param pspec
4348
4564
  */
4349
4565
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4566
+ /**
4567
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
4568
+ * @param id Handler ID of the handler to be disconnected
4569
+ */
4350
4570
  disconnect(id: number): void;
4571
+ /**
4572
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4573
+ * @param properties Object containing the properties to set
4574
+ */
4351
4575
  set(properties: { [key: string]: any }): void;
4352
- block_signal_handler(id: number): any;
4353
- unblock_signal_handler(id: number): any;
4354
- stop_emission_by_name(detailedName: string): any;
4576
+ /**
4577
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4578
+ * @param id Handler ID of the handler to be blocked
4579
+ */
4580
+ block_signal_handler(id: number): void;
4581
+ /**
4582
+ * Unblocks a handler so it will be called again during any signal emissions
4583
+ * @param id Handler ID of the handler to be unblocked
4584
+ */
4585
+ unblock_signal_handler(id: number): void;
4586
+ /**
4587
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4588
+ * @param detailedName Name of the signal to stop emission of
4589
+ */
4590
+ stop_emission_by_name(detailedName: string): void;
4355
4591
  }
4356
4592
 
4357
4593
  namespace DbusProviderSkeleton {
@@ -4538,7 +4774,21 @@ export namespace CloudProviders {
4538
4774
  * @returns the data if found, or %NULL if no such data exists.
4539
4775
  */
4540
4776
  get_data(key: string): any | null;
4541
- get_property(property_name: string): any;
4777
+ /**
4778
+ * Gets a property of an object.
4779
+ *
4780
+ * The value can be:
4781
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
4782
+ * - a GObject.Value initialized with the expected type of the property
4783
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4784
+ *
4785
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4786
+ *
4787
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4788
+ * @param property_name The name of the property to get
4789
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
4790
+ */
4791
+ get_property(property_name: string, value: GObject.Value | any): any;
4542
4792
  /**
4543
4793
  * This function gets back user data pointers stored via
4544
4794
  * g_object_set_qdata().
@@ -4666,7 +4916,12 @@ export namespace CloudProviders {
4666
4916
  * @param data data to associate with that key
4667
4917
  */
4668
4918
  set_data(key: string, data?: any | null): void;
4669
- set_property(property_name: string, value: any): void;
4919
+ /**
4920
+ * Sets a property on an object.
4921
+ * @param property_name The name of the property to set
4922
+ * @param value The value to set the property to
4923
+ */
4924
+ set_property(property_name: string, value: GObject.Value | any): void;
4670
4925
  /**
4671
4926
  * Remove a specified datum from the object's data associations,
4672
4927
  * without invoking the association's destroy handler.
@@ -4816,11 +5071,31 @@ export namespace CloudProviders {
4816
5071
  * @param pspec
4817
5072
  */
4818
5073
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5074
+ /**
5075
+ * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
5076
+ * @param id Handler ID of the handler to be disconnected
5077
+ */
4819
5078
  disconnect(id: number): void;
5079
+ /**
5080
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5081
+ * @param properties Object containing the properties to set
5082
+ */
4820
5083
  set(properties: { [key: string]: any }): void;
4821
- block_signal_handler(id: number): any;
4822
- unblock_signal_handler(id: number): any;
4823
- stop_emission_by_name(detailedName: string): any;
5084
+ /**
5085
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5086
+ * @param id Handler ID of the handler to be blocked
5087
+ */
5088
+ block_signal_handler(id: number): void;
5089
+ /**
5090
+ * Unblocks a handler so it will be called again during any signal emissions
5091
+ * @param id Handler ID of the handler to be unblocked
5092
+ */
5093
+ unblock_signal_handler(id: number): void;
5094
+ /**
5095
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5096
+ * @param detailedName Name of the signal to stop emission of
5097
+ */
5098
+ stop_emission_by_name(detailedName: string): void;
4824
5099
  }
4825
5100
 
4826
5101
  namespace Provider {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cloudproviders-0.3",
3
- "version": "0.3.0-4.0.0-beta.21",
3
+ "version": "0.3.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0",
5
5
  "type": "module",
6
6
  "module": "cloudproviders-0.3.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
35
- "@girs/gjs": "^4.0.0-beta.21",
36
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
38
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
34
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
35
+ "@girs/gjs": "^4.0.0-beta.23",
36
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
38
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
39
39
  },
40
40
  "devDependencies": {
41
41
  "typescript": "*"