@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.5 → 0.3.0-4.0.0-beta.6

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.5.
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.6.
9
9
 
10
10
 
11
11
  ## Install
@@ -14,6 +14,7 @@ import './cloudproviders-0.3-ambient.d.ts';
14
14
  import type Gio from '@girs/gio-2.0';
15
15
  import type GObject from '@girs/gobject-2.0';
16
16
  import type GLib from '@girs/glib-2.0';
17
+ import type GModule from '@girs/gmodule-2.0';
17
18
 
18
19
  export namespace CloudProviders {
19
20
  enum AccountStatus {
@@ -822,7 +823,7 @@ export namespace CloudProviders {
822
823
  * static void
823
824
  * my_object_class_init (MyObjectClass *klass)
824
825
  * {
825
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
826
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
826
827
  * 0, 100,
827
828
  * 50,
828
829
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -975,10 +976,45 @@ export namespace CloudProviders {
975
976
  * @param closure #GClosure to watch
976
977
  */
977
978
  watch_closure(closure: GObject.Closure): void;
979
+ /**
980
+ * the `constructed` function is called by g_object_new() as the
981
+ * final step of the object creation process. At the point of the call, all
982
+ * construction properties have been set on the object. The purpose of this
983
+ * call is to allow for object initialisation steps that can only be performed
984
+ * after construction properties have been set. `constructed` implementors
985
+ * should chain up to the `constructed` call of their parent class to allow it
986
+ * to complete its initialisation.
987
+ */
978
988
  vfunc_constructed(): void;
989
+ /**
990
+ * emits property change notification for a bunch
991
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
992
+ * needed.
993
+ * @param n_pspecs
994
+ * @param pspecs
995
+ */
979
996
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
997
+ /**
998
+ * the `dispose` function is supposed to drop all references to other
999
+ * objects, but keep the instance otherwise intact, so that client method
1000
+ * invocations still work. It may be run multiple times (due to reference
1001
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
1002
+ * of the parent class.
1003
+ */
980
1004
  vfunc_dispose(): void;
1005
+ /**
1006
+ * instance finalization function, should finish the finalization of
1007
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
1008
+ * parent class.
1009
+ */
981
1010
  vfunc_finalize(): void;
1011
+ /**
1012
+ * the generic getter for all properties of this type. Should be
1013
+ * overridden for every type with properties.
1014
+ * @param property_id
1015
+ * @param value
1016
+ * @param pspec
1017
+ */
982
1018
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
983
1019
  /**
984
1020
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -994,6 +1030,16 @@ export namespace CloudProviders {
994
1030
  * @param pspec
995
1031
  */
996
1032
  vfunc_notify(pspec: GObject.ParamSpec): void;
1033
+ /**
1034
+ * the generic setter for all properties of this type. Should be
1035
+ * overridden for every type with properties. If implementations of
1036
+ * `set_property` don't emit property change notification explicitly, this will
1037
+ * be done implicitly by the type system. However, if the notify signal is
1038
+ * emitted explicitly, the type system will not emit it a second time.
1039
+ * @param property_id
1040
+ * @param value
1041
+ * @param pspec
1042
+ */
997
1043
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
998
1044
  disconnect(id: number): void;
999
1045
  set(properties: { [key: string]: any }): void;
@@ -1281,7 +1327,7 @@ export namespace CloudProviders {
1281
1327
  * static void
1282
1328
  * my_object_class_init (MyObjectClass *klass)
1283
1329
  * {
1284
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
1330
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
1285
1331
  * 0, 100,
1286
1332
  * 50,
1287
1333
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -1434,10 +1480,45 @@ export namespace CloudProviders {
1434
1480
  * @param closure #GClosure to watch
1435
1481
  */
1436
1482
  watch_closure(closure: GObject.Closure): void;
1483
+ /**
1484
+ * the `constructed` function is called by g_object_new() as the
1485
+ * final step of the object creation process. At the point of the call, all
1486
+ * construction properties have been set on the object. The purpose of this
1487
+ * call is to allow for object initialisation steps that can only be performed
1488
+ * after construction properties have been set. `constructed` implementors
1489
+ * should chain up to the `constructed` call of their parent class to allow it
1490
+ * to complete its initialisation.
1491
+ */
1437
1492
  vfunc_constructed(): void;
1493
+ /**
1494
+ * emits property change notification for a bunch
1495
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
1496
+ * needed.
1497
+ * @param n_pspecs
1498
+ * @param pspecs
1499
+ */
1438
1500
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1501
+ /**
1502
+ * the `dispose` function is supposed to drop all references to other
1503
+ * objects, but keep the instance otherwise intact, so that client method
1504
+ * invocations still work. It may be run multiple times (due to reference
1505
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
1506
+ * of the parent class.
1507
+ */
1439
1508
  vfunc_dispose(): void;
1509
+ /**
1510
+ * instance finalization function, should finish the finalization of
1511
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
1512
+ * parent class.
1513
+ */
1440
1514
  vfunc_finalize(): void;
1515
+ /**
1516
+ * the generic getter for all properties of this type. Should be
1517
+ * overridden for every type with properties.
1518
+ * @param property_id
1519
+ * @param value
1520
+ * @param pspec
1521
+ */
1441
1522
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1442
1523
  /**
1443
1524
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -1453,6 +1534,16 @@ export namespace CloudProviders {
1453
1534
  * @param pspec
1454
1535
  */
1455
1536
  vfunc_notify(pspec: GObject.ParamSpec): void;
1537
+ /**
1538
+ * the generic setter for all properties of this type. Should be
1539
+ * overridden for every type with properties. If implementations of
1540
+ * `set_property` don't emit property change notification explicitly, this will
1541
+ * be done implicitly by the type system. However, if the notify signal is
1542
+ * emitted explicitly, the type system will not emit it a second time.
1543
+ * @param property_id
1544
+ * @param value
1545
+ * @param pspec
1546
+ */
1456
1547
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1457
1548
  disconnect(id: number): void;
1458
1549
  set(properties: { [key: string]: any }): void;
@@ -1738,9 +1829,27 @@ export namespace CloudProviders {
1738
1829
  * Gets all #GDBusObject objects known to `manager`.
1739
1830
  */
1740
1831
  vfunc_get_objects(): Gio.DBusObject[];
1832
+ /**
1833
+ * Signal handler for the #GDBusObjectManager::interface-added signal.
1834
+ * @param object
1835
+ * @param interface_
1836
+ */
1741
1837
  vfunc_interface_added(object: Gio.DBusObject, interface_: Gio.DBusInterface): void;
1838
+ /**
1839
+ * Signal handler for the #GDBusObjectManager::interface-removed signal.
1840
+ * @param object
1841
+ * @param interface_
1842
+ */
1742
1843
  vfunc_interface_removed(object: Gio.DBusObject, interface_: Gio.DBusInterface): void;
1844
+ /**
1845
+ * Signal handler for the #GDBusObjectManager::object-added signal.
1846
+ * @param object
1847
+ */
1743
1848
  vfunc_object_added(object: Gio.DBusObject): void;
1849
+ /**
1850
+ * Signal handler for the #GDBusObjectManager::object-removed signal.
1851
+ * @param object
1852
+ */
1744
1853
  vfunc_object_removed(object: Gio.DBusObject): void;
1745
1854
  /**
1746
1855
  * Initializes the object implementing the interface.
@@ -2004,7 +2113,7 @@ export namespace CloudProviders {
2004
2113
  * static void
2005
2114
  * my_object_class_init (MyObjectClass *klass)
2006
2115
  * {
2007
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
2116
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
2008
2117
  * 0, 100,
2009
2118
  * 50,
2010
2119
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -2157,10 +2266,45 @@ export namespace CloudProviders {
2157
2266
  * @param closure #GClosure to watch
2158
2267
  */
2159
2268
  watch_closure(closure: GObject.Closure): void;
2269
+ /**
2270
+ * the `constructed` function is called by g_object_new() as the
2271
+ * final step of the object creation process. At the point of the call, all
2272
+ * construction properties have been set on the object. The purpose of this
2273
+ * call is to allow for object initialisation steps that can only be performed
2274
+ * after construction properties have been set. `constructed` implementors
2275
+ * should chain up to the `constructed` call of their parent class to allow it
2276
+ * to complete its initialisation.
2277
+ */
2160
2278
  vfunc_constructed(): void;
2279
+ /**
2280
+ * emits property change notification for a bunch
2281
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
2282
+ * needed.
2283
+ * @param n_pspecs
2284
+ * @param pspecs
2285
+ */
2161
2286
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2287
+ /**
2288
+ * the `dispose` function is supposed to drop all references to other
2289
+ * objects, but keep the instance otherwise intact, so that client method
2290
+ * invocations still work. It may be run multiple times (due to reference
2291
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
2292
+ * of the parent class.
2293
+ */
2162
2294
  vfunc_dispose(): void;
2295
+ /**
2296
+ * instance finalization function, should finish the finalization of
2297
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
2298
+ * parent class.
2299
+ */
2163
2300
  vfunc_finalize(): void;
2301
+ /**
2302
+ * the generic getter for all properties of this type. Should be
2303
+ * overridden for every type with properties.
2304
+ * @param property_id
2305
+ * @param value
2306
+ * @param pspec
2307
+ */
2164
2308
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2165
2309
  /**
2166
2310
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -2176,6 +2320,16 @@ export namespace CloudProviders {
2176
2320
  * @param pspec
2177
2321
  */
2178
2322
  vfunc_notify(pspec: GObject.ParamSpec): void;
2323
+ /**
2324
+ * the generic setter for all properties of this type. Should be
2325
+ * overridden for every type with properties. If implementations of
2326
+ * `set_property` don't emit property change notification explicitly, this will
2327
+ * be done implicitly by the type system. However, if the notify signal is
2328
+ * emitted explicitly, the type system will not emit it a second time.
2329
+ * @param property_id
2330
+ * @param value
2331
+ * @param pspec
2332
+ */
2179
2333
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2180
2334
  disconnect(id: number): void;
2181
2335
  set(properties: { [key: string]: any }): void;
@@ -2265,7 +2419,15 @@ export namespace CloudProviders {
2265
2419
  * Gets the object path for `object`.
2266
2420
  */
2267
2421
  vfunc_get_object_path(): string;
2422
+ /**
2423
+ * Signal handler for the #GDBusObject::interface-added signal.
2424
+ * @param interface_
2425
+ */
2268
2426
  vfunc_interface_added(interface_: Gio.DBusInterface): void;
2427
+ /**
2428
+ * Signal handler for the #GDBusObject::interface-removed signal.
2429
+ * @param interface_
2430
+ */
2269
2431
  vfunc_interface_removed(interface_: Gio.DBusInterface): void;
2270
2432
  /**
2271
2433
  * Creates a binding between `source_property` on `source` and `target_property`
@@ -2444,7 +2606,7 @@ export namespace CloudProviders {
2444
2606
  * static void
2445
2607
  * my_object_class_init (MyObjectClass *klass)
2446
2608
  * {
2447
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
2609
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
2448
2610
  * 0, 100,
2449
2611
  * 50,
2450
2612
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -2597,10 +2759,45 @@ export namespace CloudProviders {
2597
2759
  * @param closure #GClosure to watch
2598
2760
  */
2599
2761
  watch_closure(closure: GObject.Closure): void;
2762
+ /**
2763
+ * the `constructed` function is called by g_object_new() as the
2764
+ * final step of the object creation process. At the point of the call, all
2765
+ * construction properties have been set on the object. The purpose of this
2766
+ * call is to allow for object initialisation steps that can only be performed
2767
+ * after construction properties have been set. `constructed` implementors
2768
+ * should chain up to the `constructed` call of their parent class to allow it
2769
+ * to complete its initialisation.
2770
+ */
2600
2771
  vfunc_constructed(): void;
2772
+ /**
2773
+ * emits property change notification for a bunch
2774
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
2775
+ * needed.
2776
+ * @param n_pspecs
2777
+ * @param pspecs
2778
+ */
2601
2779
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2780
+ /**
2781
+ * the `dispose` function is supposed to drop all references to other
2782
+ * objects, but keep the instance otherwise intact, so that client method
2783
+ * invocations still work. It may be run multiple times (due to reference
2784
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
2785
+ * of the parent class.
2786
+ */
2602
2787
  vfunc_dispose(): void;
2788
+ /**
2789
+ * instance finalization function, should finish the finalization of
2790
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
2791
+ * parent class.
2792
+ */
2603
2793
  vfunc_finalize(): void;
2794
+ /**
2795
+ * the generic getter for all properties of this type. Should be
2796
+ * overridden for every type with properties.
2797
+ * @param property_id
2798
+ * @param value
2799
+ * @param pspec
2800
+ */
2604
2801
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2605
2802
  /**
2606
2803
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -2616,6 +2813,16 @@ export namespace CloudProviders {
2616
2813
  * @param pspec
2617
2814
  */
2618
2815
  vfunc_notify(pspec: GObject.ParamSpec): void;
2816
+ /**
2817
+ * the generic setter for all properties of this type. Should be
2818
+ * overridden for every type with properties. If implementations of
2819
+ * `set_property` don't emit property change notification explicitly, this will
2820
+ * be done implicitly by the type system. However, if the notify signal is
2821
+ * emitted explicitly, the type system will not emit it a second time.
2822
+ * @param property_id
2823
+ * @param value
2824
+ * @param pspec
2825
+ */
2619
2826
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2620
2827
  disconnect(id: number): void;
2621
2828
  set(properties: { [key: string]: any }): void;
@@ -2718,7 +2925,15 @@ export namespace CloudProviders {
2718
2925
  * Gets the object path for `object`.
2719
2926
  */
2720
2927
  vfunc_get_object_path(): string;
2928
+ /**
2929
+ * Signal handler for the #GDBusObject::interface-added signal.
2930
+ * @param interface_
2931
+ */
2721
2932
  vfunc_interface_added(interface_: Gio.DBusInterface): void;
2933
+ /**
2934
+ * Signal handler for the #GDBusObject::interface-removed signal.
2935
+ * @param interface_
2936
+ */
2722
2937
  vfunc_interface_removed(interface_: Gio.DBusInterface): void;
2723
2938
  /**
2724
2939
  * Creates a binding between `source_property` on `source` and `target_property`
@@ -2897,7 +3112,7 @@ export namespace CloudProviders {
2897
3112
  * static void
2898
3113
  * my_object_class_init (MyObjectClass *klass)
2899
3114
  * {
2900
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
3115
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
2901
3116
  * 0, 100,
2902
3117
  * 50,
2903
3118
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -3050,10 +3265,45 @@ export namespace CloudProviders {
3050
3265
  * @param closure #GClosure to watch
3051
3266
  */
3052
3267
  watch_closure(closure: GObject.Closure): void;
3268
+ /**
3269
+ * the `constructed` function is called by g_object_new() as the
3270
+ * final step of the object creation process. At the point of the call, all
3271
+ * construction properties have been set on the object. The purpose of this
3272
+ * call is to allow for object initialisation steps that can only be performed
3273
+ * after construction properties have been set. `constructed` implementors
3274
+ * should chain up to the `constructed` call of their parent class to allow it
3275
+ * to complete its initialisation.
3276
+ */
3053
3277
  vfunc_constructed(): void;
3278
+ /**
3279
+ * emits property change notification for a bunch
3280
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
3281
+ * needed.
3282
+ * @param n_pspecs
3283
+ * @param pspecs
3284
+ */
3054
3285
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
3286
+ /**
3287
+ * the `dispose` function is supposed to drop all references to other
3288
+ * objects, but keep the instance otherwise intact, so that client method
3289
+ * invocations still work. It may be run multiple times (due to reference
3290
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
3291
+ * of the parent class.
3292
+ */
3055
3293
  vfunc_dispose(): void;
3294
+ /**
3295
+ * instance finalization function, should finish the finalization of
3296
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
3297
+ * parent class.
3298
+ */
3056
3299
  vfunc_finalize(): void;
3300
+ /**
3301
+ * the generic getter for all properties of this type. Should be
3302
+ * overridden for every type with properties.
3303
+ * @param property_id
3304
+ * @param value
3305
+ * @param pspec
3306
+ */
3057
3307
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3058
3308
  /**
3059
3309
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -3069,6 +3319,16 @@ export namespace CloudProviders {
3069
3319
  * @param pspec
3070
3320
  */
3071
3321
  vfunc_notify(pspec: GObject.ParamSpec): void;
3322
+ /**
3323
+ * the generic setter for all properties of this type. Should be
3324
+ * overridden for every type with properties. If implementations of
3325
+ * `set_property` don't emit property change notification explicitly, this will
3326
+ * be done implicitly by the type system. However, if the notify signal is
3327
+ * emitted explicitly, the type system will not emit it a second time.
3328
+ * @param property_id
3329
+ * @param value
3330
+ * @param pspec
3331
+ */
3072
3332
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3073
3333
  disconnect(id: number): void;
3074
3334
  set(properties: { [key: string]: any }): void;
@@ -3603,7 +3863,7 @@ export namespace CloudProviders {
3603
3863
  * static void
3604
3864
  * my_object_class_init (MyObjectClass *klass)
3605
3865
  * {
3606
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
3866
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
3607
3867
  * 0, 100,
3608
3868
  * 50,
3609
3869
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -3756,10 +4016,45 @@ export namespace CloudProviders {
3756
4016
  * @param closure #GClosure to watch
3757
4017
  */
3758
4018
  watch_closure(closure: GObject.Closure): void;
4019
+ /**
4020
+ * the `constructed` function is called by g_object_new() as the
4021
+ * final step of the object creation process. At the point of the call, all
4022
+ * construction properties have been set on the object. The purpose of this
4023
+ * call is to allow for object initialisation steps that can only be performed
4024
+ * after construction properties have been set. `constructed` implementors
4025
+ * should chain up to the `constructed` call of their parent class to allow it
4026
+ * to complete its initialisation.
4027
+ */
3759
4028
  vfunc_constructed(): void;
4029
+ /**
4030
+ * emits property change notification for a bunch
4031
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
4032
+ * needed.
4033
+ * @param n_pspecs
4034
+ * @param pspecs
4035
+ */
3760
4036
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
4037
+ /**
4038
+ * the `dispose` function is supposed to drop all references to other
4039
+ * objects, but keep the instance otherwise intact, so that client method
4040
+ * invocations still work. It may be run multiple times (due to reference
4041
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
4042
+ * of the parent class.
4043
+ */
3761
4044
  vfunc_dispose(): void;
4045
+ /**
4046
+ * instance finalization function, should finish the finalization of
4047
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
4048
+ * parent class.
4049
+ */
3762
4050
  vfunc_finalize(): void;
4051
+ /**
4052
+ * the generic getter for all properties of this type. Should be
4053
+ * overridden for every type with properties.
4054
+ * @param property_id
4055
+ * @param value
4056
+ * @param pspec
4057
+ */
3763
4058
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3764
4059
  /**
3765
4060
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -3775,6 +4070,16 @@ export namespace CloudProviders {
3775
4070
  * @param pspec
3776
4071
  */
3777
4072
  vfunc_notify(pspec: GObject.ParamSpec): void;
4073
+ /**
4074
+ * the generic setter for all properties of this type. Should be
4075
+ * overridden for every type with properties. If implementations of
4076
+ * `set_property` don't emit property change notification explicitly, this will
4077
+ * be done implicitly by the type system. However, if the notify signal is
4078
+ * emitted explicitly, the type system will not emit it a second time.
4079
+ * @param property_id
4080
+ * @param value
4081
+ * @param pspec
4082
+ */
3778
4083
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3779
4084
  disconnect(id: number): void;
3780
4085
  set(properties: { [key: string]: any }): void;
@@ -4027,7 +4332,7 @@ export namespace CloudProviders {
4027
4332
  * static void
4028
4333
  * my_object_class_init (MyObjectClass *klass)
4029
4334
  * {
4030
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
4335
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
4031
4336
  * 0, 100,
4032
4337
  * 50,
4033
4338
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -4180,10 +4485,45 @@ export namespace CloudProviders {
4180
4485
  * @param closure #GClosure to watch
4181
4486
  */
4182
4487
  watch_closure(closure: GObject.Closure): void;
4488
+ /**
4489
+ * the `constructed` function is called by g_object_new() as the
4490
+ * final step of the object creation process. At the point of the call, all
4491
+ * construction properties have been set on the object. The purpose of this
4492
+ * call is to allow for object initialisation steps that can only be performed
4493
+ * after construction properties have been set. `constructed` implementors
4494
+ * should chain up to the `constructed` call of their parent class to allow it
4495
+ * to complete its initialisation.
4496
+ */
4183
4497
  vfunc_constructed(): void;
4498
+ /**
4499
+ * emits property change notification for a bunch
4500
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
4501
+ * needed.
4502
+ * @param n_pspecs
4503
+ * @param pspecs
4504
+ */
4184
4505
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
4506
+ /**
4507
+ * the `dispose` function is supposed to drop all references to other
4508
+ * objects, but keep the instance otherwise intact, so that client method
4509
+ * invocations still work. It may be run multiple times (due to reference
4510
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
4511
+ * of the parent class.
4512
+ */
4185
4513
  vfunc_dispose(): void;
4514
+ /**
4515
+ * instance finalization function, should finish the finalization of
4516
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
4517
+ * parent class.
4518
+ */
4186
4519
  vfunc_finalize(): void;
4520
+ /**
4521
+ * the generic getter for all properties of this type. Should be
4522
+ * overridden for every type with properties.
4523
+ * @param property_id
4524
+ * @param value
4525
+ * @param pspec
4526
+ */
4187
4527
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4188
4528
  /**
4189
4529
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -4199,6 +4539,16 @@ export namespace CloudProviders {
4199
4539
  * @param pspec
4200
4540
  */
4201
4541
  vfunc_notify(pspec: GObject.ParamSpec): void;
4542
+ /**
4543
+ * the generic setter for all properties of this type. Should be
4544
+ * overridden for every type with properties. If implementations of
4545
+ * `set_property` don't emit property change notification explicitly, this will
4546
+ * be done implicitly by the type system. However, if the notify signal is
4547
+ * emitted explicitly, the type system will not emit it a second time.
4548
+ * @param property_id
4549
+ * @param value
4550
+ * @param pspec
4551
+ */
4202
4552
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4203
4553
  disconnect(id: number): void;
4204
4554
  set(properties: { [key: string]: any }): void;
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.5",
3
+ "version": "0.3.0-4.0.0-beta.6",
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",
@@ -23,13 +23,14 @@
23
23
  }
24
24
  },
25
25
  "scripts": {
26
- "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit cloudproviders-0.3.d.ts"
26
+ "test": "tsc --project tsconfig.json"
27
27
  },
28
28
  "dependencies": {
29
- "@girs/gio-2.0": "^2.80.0-4.0.0-beta.5",
30
- "@girs/gjs": "^4.0.0-beta.5",
31
- "@girs/glib-2.0": "^2.80.0-4.0.0-beta.5",
32
- "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.5"
29
+ "@girs/gio-2.0": "^2.80.3-4.0.0-beta.6",
30
+ "@girs/gjs": "^4.0.0-beta.6",
31
+ "@girs/glib-2.0": "^2.80.3-4.0.0-beta.6",
32
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.6",
33
+ "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6"
33
34
  },
34
35
  "devDependencies": {
35
36
  "typescript": "*"