@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.20 → 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.20.
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,10 +7,13 @@
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';
13
15
  import type GLib from '@girs/glib-2.0';
16
+ import type GModule from '@girs/gmodule-2.0';
14
17
 
15
18
  export namespace CloudProviders {
16
19
  /**
@@ -454,7 +457,7 @@ export namespace CloudProviders {
454
457
  * in a thread, so if you want to support asynchronous initialization via
455
458
  * threads, just implement the #GAsyncInitable interface without overriding
456
459
  * any interface methods.
457
- * @param io_priority the [I/O priority][io-priority] of the operation
460
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
458
461
  * @param cancellable optional #GCancellable object, %NULL to ignore.
459
462
  */
460
463
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -495,7 +498,7 @@ export namespace CloudProviders {
495
498
  * in a thread, so if you want to support asynchronous initialization via
496
499
  * threads, just implement the #GAsyncInitable interface without overriding
497
500
  * any interface methods.
498
- * @param io_priority the [I/O priority][io-priority] of the operation
501
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
499
502
  * @param cancellable optional #GCancellable object, %NULL to ignore.
500
503
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
501
504
  */
@@ -541,7 +544,7 @@ export namespace CloudProviders {
541
544
  * in a thread, so if you want to support asynchronous initialization via
542
545
  * threads, just implement the #GAsyncInitable interface without overriding
543
546
  * any interface methods.
544
- * @param io_priority the [I/O priority][io-priority] of the operation
547
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
545
548
  * @param cancellable optional #GCancellable object, %NULL to ignore.
546
549
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
547
550
  */
@@ -603,7 +606,7 @@ export namespace CloudProviders {
603
606
  * in a thread, so if you want to support asynchronous initialization via
604
607
  * threads, just implement the #GAsyncInitable interface without overriding
605
608
  * any interface methods.
606
- * @param io_priority the [I/O priority][io-priority] of the operation
609
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
607
610
  * @param cancellable optional #GCancellable object, %NULL to ignore.
608
611
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
609
612
  */
@@ -671,7 +674,7 @@ export namespace CloudProviders {
671
674
  * If the object is not initialized, or initialization returns with an
672
675
  * error, then all operations on the object except g_object_ref() and
673
676
  * g_object_unref() are considered to be invalid, and have undefined
674
- * behaviour. See the [introduction][ginitable] for more details.
677
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
675
678
  *
676
679
  * Callers should not assume that a class which implements #GInitable can be
677
680
  * initialized multiple times, unless the class explicitly documents itself as
@@ -714,7 +717,7 @@ export namespace CloudProviders {
714
717
  * If the object is not initialized, or initialization returns with an
715
718
  * error, then all operations on the object except g_object_ref() and
716
719
  * g_object_unref() are considered to be invalid, and have undefined
717
- * behaviour. See the [introduction][ginitable] for more details.
720
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
718
721
  *
719
722
  * Callers should not assume that a class which implements #GInitable can be
720
723
  * initialized multiple times, unless the class explicitly documents itself as
@@ -854,7 +857,21 @@ export namespace CloudProviders {
854
857
  * @returns the data if found, or %NULL if no such data exists.
855
858
  */
856
859
  get_data(key: string): any | null;
857
- 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;
858
875
  /**
859
876
  * This function gets back user data pointers stored via
860
877
  * g_object_set_qdata().
@@ -982,7 +999,12 @@ export namespace CloudProviders {
982
999
  * @param data data to associate with that key
983
1000
  */
984
1001
  set_data(key: string, data?: any | null): void;
985
- 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;
986
1008
  /**
987
1009
  * Remove a specified datum from the object's data associations,
988
1010
  * without invoking the association's destroy handler.
@@ -1132,11 +1154,31 @@ export namespace CloudProviders {
1132
1154
  * @param pspec
1133
1155
  */
1134
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
+ */
1135
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
+ */
1136
1166
  set(properties: { [key: string]: any }): void;
1137
- block_signal_handler(id: number): any;
1138
- unblock_signal_handler(id: number): any;
1139
- 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;
1140
1182
  }
1141
1183
 
1142
1184
  namespace DbusAccountSkeleton {
@@ -1358,7 +1400,21 @@ export namespace CloudProviders {
1358
1400
  * @returns the data if found, or %NULL if no such data exists.
1359
1401
  */
1360
1402
  get_data(key: string): any | null;
1361
- 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;
1362
1418
  /**
1363
1419
  * This function gets back user data pointers stored via
1364
1420
  * g_object_set_qdata().
@@ -1486,7 +1542,12 @@ export namespace CloudProviders {
1486
1542
  * @param data data to associate with that key
1487
1543
  */
1488
1544
  set_data(key: string, data?: any | null): void;
1489
- 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;
1490
1551
  /**
1491
1552
  * Remove a specified datum from the object's data associations,
1492
1553
  * without invoking the association's destroy handler.
@@ -1636,11 +1697,31 @@ export namespace CloudProviders {
1636
1697
  * @param pspec
1637
1698
  */
1638
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
+ */
1639
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
+ */
1640
1709
  set(properties: { [key: string]: any }): void;
1641
- block_signal_handler(id: number): any;
1642
- unblock_signal_handler(id: number): any;
1643
- 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;
1644
1725
  }
1645
1726
 
1646
1727
  namespace DbusObjectManagerClient {
@@ -1799,7 +1880,7 @@ export namespace CloudProviders {
1799
1880
  * in a thread, so if you want to support asynchronous initialization via
1800
1881
  * threads, just implement the #GAsyncInitable interface without overriding
1801
1882
  * any interface methods.
1802
- * @param io_priority the [I/O priority][io-priority] of the operation
1883
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1803
1884
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1804
1885
  */
1805
1886
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -1840,7 +1921,7 @@ export namespace CloudProviders {
1840
1921
  * in a thread, so if you want to support asynchronous initialization via
1841
1922
  * threads, just implement the #GAsyncInitable interface without overriding
1842
1923
  * any interface methods.
1843
- * @param io_priority the [I/O priority][io-priority] of the operation
1924
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1844
1925
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1845
1926
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1846
1927
  */
@@ -1886,7 +1967,7 @@ export namespace CloudProviders {
1886
1967
  * in a thread, so if you want to support asynchronous initialization via
1887
1968
  * threads, just implement the #GAsyncInitable interface without overriding
1888
1969
  * any interface methods.
1889
- * @param io_priority the [I/O priority][io-priority] of the operation
1970
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1890
1971
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1891
1972
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1892
1973
  */
@@ -1948,7 +2029,7 @@ export namespace CloudProviders {
1948
2029
  * in a thread, so if you want to support asynchronous initialization via
1949
2030
  * threads, just implement the #GAsyncInitable interface without overriding
1950
2031
  * any interface methods.
1951
- * @param io_priority the [I/O priority][io-priority] of the operation
2032
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1952
2033
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1953
2034
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1954
2035
  */
@@ -2048,7 +2129,7 @@ export namespace CloudProviders {
2048
2129
  * If the object is not initialized, or initialization returns with an
2049
2130
  * error, then all operations on the object except g_object_ref() and
2050
2131
  * g_object_unref() are considered to be invalid, and have undefined
2051
- * behaviour. See the [introduction][ginitable] for more details.
2132
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2052
2133
  *
2053
2134
  * Callers should not assume that a class which implements #GInitable can be
2054
2135
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2091,7 +2172,7 @@ export namespace CloudProviders {
2091
2172
  * If the object is not initialized, or initialization returns with an
2092
2173
  * error, then all operations on the object except g_object_ref() and
2093
2174
  * g_object_unref() are considered to be invalid, and have undefined
2094
- * behaviour. See the [introduction][ginitable] for more details.
2175
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2095
2176
  *
2096
2177
  * Callers should not assume that a class which implements #GInitable can be
2097
2178
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2231,7 +2312,21 @@ export namespace CloudProviders {
2231
2312
  * @returns the data if found, or %NULL if no such data exists.
2232
2313
  */
2233
2314
  get_data(key: string): any | null;
2234
- 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;
2235
2330
  /**
2236
2331
  * This function gets back user data pointers stored via
2237
2332
  * g_object_set_qdata().
@@ -2359,7 +2454,12 @@ export namespace CloudProviders {
2359
2454
  * @param data data to associate with that key
2360
2455
  */
2361
2456
  set_data(key: string, data?: any | null): void;
2362
- 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;
2363
2463
  /**
2364
2464
  * Remove a specified datum from the object's data associations,
2365
2465
  * without invoking the association's destroy handler.
@@ -2509,11 +2609,31 @@ export namespace CloudProviders {
2509
2609
  * @param pspec
2510
2610
  */
2511
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
+ */
2512
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
+ */
2513
2621
  set(properties: { [key: string]: any }): void;
2514
- block_signal_handler(id: number): any;
2515
- unblock_signal_handler(id: number): any;
2516
- 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;
2517
2637
  }
2518
2638
 
2519
2639
  namespace DbusObjectProxy {
@@ -2724,7 +2844,21 @@ export namespace CloudProviders {
2724
2844
  * @returns the data if found, or %NULL if no such data exists.
2725
2845
  */
2726
2846
  get_data(key: string): any | null;
2727
- 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;
2728
2862
  /**
2729
2863
  * This function gets back user data pointers stored via
2730
2864
  * g_object_set_qdata().
@@ -2852,7 +2986,12 @@ export namespace CloudProviders {
2852
2986
  * @param data data to associate with that key
2853
2987
  */
2854
2988
  set_data(key: string, data?: any | null): void;
2855
- 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;
2856
2995
  /**
2857
2996
  * Remove a specified datum from the object's data associations,
2858
2997
  * without invoking the association's destroy handler.
@@ -3002,11 +3141,31 @@ export namespace CloudProviders {
3002
3141
  * @param pspec
3003
3142
  */
3004
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
+ */
3005
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
+ */
3006
3153
  set(properties: { [key: string]: any }): void;
3007
- block_signal_handler(id: number): any;
3008
- unblock_signal_handler(id: number): any;
3009
- 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;
3010
3169
  }
3011
3170
 
3012
3171
  namespace DbusObjectSkeleton {
@@ -3230,7 +3389,21 @@ export namespace CloudProviders {
3230
3389
  * @returns the data if found, or %NULL if no such data exists.
3231
3390
  */
3232
3391
  get_data(key: string): any | null;
3233
- 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;
3234
3407
  /**
3235
3408
  * This function gets back user data pointers stored via
3236
3409
  * g_object_set_qdata().
@@ -3358,7 +3531,12 @@ export namespace CloudProviders {
3358
3531
  * @param data data to associate with that key
3359
3532
  */
3360
3533
  set_data(key: string, data?: any | null): void;
3361
- 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;
3362
3540
  /**
3363
3541
  * Remove a specified datum from the object's data associations,
3364
3542
  * without invoking the association's destroy handler.
@@ -3508,11 +3686,31 @@ export namespace CloudProviders {
3508
3686
  * @param pspec
3509
3687
  */
3510
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
+ */
3511
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
+ */
3512
3698
  set(properties: { [key: string]: any }): void;
3513
- block_signal_handler(id: number): any;
3514
- unblock_signal_handler(id: number): any;
3515
- 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;
3516
3714
  }
3517
3715
 
3518
3716
  namespace DbusProviderProxy {
@@ -3668,7 +3866,7 @@ export namespace CloudProviders {
3668
3866
  * in a thread, so if you want to support asynchronous initialization via
3669
3867
  * threads, just implement the #GAsyncInitable interface without overriding
3670
3868
  * any interface methods.
3671
- * @param io_priority the [I/O priority][io-priority] of the operation
3869
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3672
3870
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3673
3871
  */
3674
3872
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -3709,7 +3907,7 @@ export namespace CloudProviders {
3709
3907
  * in a thread, so if you want to support asynchronous initialization via
3710
3908
  * threads, just implement the #GAsyncInitable interface without overriding
3711
3909
  * any interface methods.
3712
- * @param io_priority the [I/O priority][io-priority] of the operation
3910
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3713
3911
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3714
3912
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3715
3913
  */
@@ -3755,7 +3953,7 @@ export namespace CloudProviders {
3755
3953
  * in a thread, so if you want to support asynchronous initialization via
3756
3954
  * threads, just implement the #GAsyncInitable interface without overriding
3757
3955
  * any interface methods.
3758
- * @param io_priority the [I/O priority][io-priority] of the operation
3956
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3759
3957
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3760
3958
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3761
3959
  */
@@ -3817,7 +4015,7 @@ export namespace CloudProviders {
3817
4015
  * in a thread, so if you want to support asynchronous initialization via
3818
4016
  * threads, just implement the #GAsyncInitable interface without overriding
3819
4017
  * any interface methods.
3820
- * @param io_priority the [I/O priority][io-priority] of the operation
4018
+ * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3821
4019
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3822
4020
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3823
4021
  */
@@ -3885,7 +4083,7 @@ export namespace CloudProviders {
3885
4083
  * If the object is not initialized, or initialization returns with an
3886
4084
  * error, then all operations on the object except g_object_ref() and
3887
4085
  * g_object_unref() are considered to be invalid, and have undefined
3888
- * behaviour. See the [introduction][ginitable] for more details.
4086
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3889
4087
  *
3890
4088
  * Callers should not assume that a class which implements #GInitable can be
3891
4089
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3928,7 +4126,7 @@ export namespace CloudProviders {
3928
4126
  * If the object is not initialized, or initialization returns with an
3929
4127
  * error, then all operations on the object except g_object_ref() and
3930
4128
  * g_object_unref() are considered to be invalid, and have undefined
3931
- * behaviour. See the [introduction][ginitable] for more details.
4129
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3932
4130
  *
3933
4131
  * Callers should not assume that a class which implements #GInitable can be
3934
4132
  * initialized multiple times, unless the class explicitly documents itself as
@@ -4068,7 +4266,21 @@ export namespace CloudProviders {
4068
4266
  * @returns the data if found, or %NULL if no such data exists.
4069
4267
  */
4070
4268
  get_data(key: string): any | null;
4071
- 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;
4072
4284
  /**
4073
4285
  * This function gets back user data pointers stored via
4074
4286
  * g_object_set_qdata().
@@ -4196,7 +4408,12 @@ export namespace CloudProviders {
4196
4408
  * @param data data to associate with that key
4197
4409
  */
4198
4410
  set_data(key: string, data?: any | null): void;
4199
- 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;
4200
4417
  /**
4201
4418
  * Remove a specified datum from the object's data associations,
4202
4419
  * without invoking the association's destroy handler.
@@ -4346,11 +4563,31 @@ export namespace CloudProviders {
4346
4563
  * @param pspec
4347
4564
  */
4348
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
+ */
4349
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
+ */
4350
4575
  set(properties: { [key: string]: any }): void;
4351
- block_signal_handler(id: number): any;
4352
- unblock_signal_handler(id: number): any;
4353
- 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;
4354
4591
  }
4355
4592
 
4356
4593
  namespace DbusProviderSkeleton {
@@ -4537,7 +4774,21 @@ export namespace CloudProviders {
4537
4774
  * @returns the data if found, or %NULL if no such data exists.
4538
4775
  */
4539
4776
  get_data(key: string): any | null;
4540
- 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;
4541
4792
  /**
4542
4793
  * This function gets back user data pointers stored via
4543
4794
  * g_object_set_qdata().
@@ -4665,7 +4916,12 @@ export namespace CloudProviders {
4665
4916
  * @param data data to associate with that key
4666
4917
  */
4667
4918
  set_data(key: string, data?: any | null): void;
4668
- 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;
4669
4925
  /**
4670
4926
  * Remove a specified datum from the object's data associations,
4671
4927
  * without invoking the association's destroy handler.
@@ -4815,11 +5071,31 @@ export namespace CloudProviders {
4815
5071
  * @param pspec
4816
5072
  */
4817
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
+ */
4818
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
+ */
4819
5083
  set(properties: { [key: string]: any }): void;
4820
- block_signal_handler(id: number): any;
4821
- unblock_signal_handler(id: number): any;
4822
- 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;
4823
5099
  }
4824
5100
 
4825
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.20",
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,10 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.82.4-4.0.0-beta.20",
35
- "@girs/gjs": "^4.0.0-beta.20",
36
- "@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
37
- "@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20"
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"
38
39
  },
39
40
  "devDependencies": {
40
41
  "typescript": "*"