@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.44 → 0.3.0-4.0.0-rc.2

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.44.
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-rc.2.
9
9
 
10
10
  ## Install
11
11
 
@@ -85,12 +85,10 @@ export namespace CloudProviders {
85
85
  }
86
86
 
87
87
  /**
88
- * Base object for representing a single account for clients.
89
- *
90
- * CloudProvidersAccount is the basic object used to construct the integrator UI
88
+ * {@link CloudProviders.Account} is the basic object used to construct the integrator UI
91
89
  * and actions that a provider will present to the user, from the client side.
92
90
  * Integrators of the cloud providers can use this object to poll the
93
- * {@link Provider} menus, status and actions.
91
+ * {@link CloudProviders.Provider} menus, status and actions.
94
92
  * @gir-type Class
95
93
  */
96
94
  class Account extends GObject.Object {
@@ -99,47 +97,38 @@ export namespace CloudProviders {
99
97
  // Properties
100
98
 
101
99
  /**
102
- * The action group associated with the account and menu model.
103
100
  * @read-only
104
101
  */
105
102
  get action_group(): Gio.ActionGroup;
106
103
  /**
107
- * The action group associated with the account and menu model.
108
104
  * @read-only
109
105
  */
110
106
  get actionGroup(): Gio.ActionGroup;
111
107
  /**
112
- * The icon representing the account.
113
108
  * @read-only
114
109
  */
115
110
  get icon(): Gio.Icon;
116
111
  /**
117
- * The menu model associated with the account.
118
112
  * @read-only
119
113
  */
120
114
  get menu_model(): Gio.MenuModel;
121
115
  /**
122
- * The menu model associated with the account.
123
116
  * @read-only
124
117
  */
125
118
  get menuModel(): Gio.MenuModel;
126
119
  /**
127
- * The name of the account.
128
120
  * @read-only
129
121
  */
130
122
  get name(): string;
131
123
  /**
132
- * The path of the directory where files are located.
133
124
  * @read-only
134
125
  */
135
126
  get path(): string;
136
127
  /**
137
- * The details of the account status.
138
128
  * @read-only
139
129
  */
140
130
  get status_details(): string;
141
131
  /**
142
- * The details of the account status.
143
132
  * @read-only
144
133
  */
145
134
  get statusDetails(): string;
@@ -186,7 +175,7 @@ export namespace CloudProviders {
186
175
 
187
176
  /**
188
177
  * Get the action group exported in addition to the {@link Gio.MenuModel} from
189
- * {@link Account.get_menu_model}.
178
+ * `cloud_providers_account_get_menu_model()`
190
179
  * @returns The action group exported by the cloud provider account
191
180
  */
192
181
  get_action_group(): Gio.ActionGroup;
@@ -254,7 +243,6 @@ export namespace CloudProviders {
254
243
  }
255
244
 
256
245
  /**
257
- * Base object for representing a cloud providers account
258
246
  * @gir-type Class
259
247
  */
260
248
  class AccountExporter extends GObject.Object {
@@ -262,64 +250,34 @@ export namespace CloudProviders {
262
250
 
263
251
  // Properties
264
252
 
265
- /**
266
- * The action group associated with the account and menu model.
267
- */
268
253
  get action_group(): Gio.ActionGroup;
269
254
  set action_group(val: Gio.ActionGroup);
270
- /**
271
- * The action group associated with the account and menu model.
272
- */
273
255
  get actionGroup(): Gio.ActionGroup;
274
256
  set actionGroup(val: Gio.ActionGroup);
275
257
  /**
276
- * The bus name of the account.
277
258
  * @construct-only
278
259
  */
279
260
  get bus_name(): string;
280
261
  /**
281
- * The bus name of the account.
282
262
  * @construct-only
283
263
  */
284
264
  get busName(): string;
285
- /**
286
- * The icon representing the account.
287
- */
288
265
  get icon(): Gio.Icon;
289
266
  set icon(val: Gio.Icon);
290
- /**
291
- * The menu model associated with the account.
292
- */
293
267
  get menu_model(): Gio.MenuModel;
294
268
  set menu_model(val: Gio.MenuModel);
295
- /**
296
- * The menu model associated with the account.
297
- */
298
269
  get menuModel(): Gio.MenuModel;
299
270
  set menuModel(val: Gio.MenuModel);
300
- /**
301
- * The name of the account.
302
- */
303
271
  get name(): string;
304
272
  set name(val: string);
305
- /**
306
- * The path of the directory where files are located.
307
- */
308
273
  get path(): string;
309
274
  set path(val: string);
310
275
  /**
311
- * The provider associated with the account.
312
276
  * @construct-only
313
277
  */
314
278
  get provider(): ProviderExporter;
315
- /**
316
- * The details of the account status.
317
- */
318
279
  get status_details(): string;
319
280
  set status_details(val: string);
320
- /**
321
- * The details of the account status.
322
- */
323
281
  get statusDetails(): string;
324
282
  set statusDetails(val: string);
325
283
 
@@ -364,9 +322,10 @@ export namespace CloudProviders {
364
322
  // Methods
365
323
 
366
324
  /**
367
- * In order for a menu to receive events that will eventually call your callbacks, it needs the
368
- * corresponding {@link Gio.ActionGroup}. Use this function to export it.
369
- * @param action_group The action group to be used to render the menu
325
+ * In order for a menu exported with cloud_providers_account_exporter_export_menu to receive events
326
+ * that will eventually call your callbacks, it needs the corresponding GActionGroup.
327
+ * Use this function to export it.
328
+ * @param action_group The GActionGroup to be used by the menu exported by cloud_providers_account_exporter_export_menu
370
329
  */
371
330
  set_action_group(action_group: Gio.ActionGroup): void;
372
331
  /**
@@ -375,7 +334,7 @@ export namespace CloudProviders {
375
334
  set_icon(icon: Gio.Icon): void;
376
335
  /**
377
336
  * One of the benefits of the integration is to display a menu with available
378
- * options for an account. Use this function to export a {@link Gio.MenuModel} menu to be
337
+ * options for an account. Use this function to export a GMenuModel menu to be
379
338
  * displayed by the chosen integration by the desktop environment or application.
380
339
  * @param menu_model The menu model to export
381
340
  */
@@ -414,11 +373,10 @@ export namespace CloudProviders {
414
373
  }
415
374
 
416
375
  /**
417
- * Singleton for tracking all providers.
418
- *
419
- * This is a singleton to track all the changes in all providers.
420
- * Using this class, you can implement integration for all of them at once and represent them in the
421
- * UI, track new providers added or removed and their status.
376
+ * {@link CloudProviders.Collector} is a singleton to track all the changes in all providers.
377
+ * Using a {@link CloudProviders.Collector} you can implement integration for all of them at once
378
+ * and represent them in the UI, track new providers added or removed and their
379
+ * status.
422
380
  * @gir-type Class
423
381
  */
424
382
  class Collector extends GObject.Object {
@@ -470,8 +428,7 @@ export namespace CloudProviders {
470
428
  // Methods
471
429
 
472
430
  /**
473
- * Get the list of currently managed providers.
474
- * @returns A list of {@link Provider} objects.
431
+ * @returns A GList* of {@link CloudProviders.Provider} objects.
475
432
  */
476
433
  get_providers(): Provider[];
477
434
  update(): void;
@@ -900,14 +857,9 @@ export namespace CloudProviders {
900
857
  /**
901
858
  * Gets D-Bus introspection information for the D-Bus interface
902
859
  * implemented by `interface_`.
903
- *
904
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
905
- * construction of `interface_` and is also not made available otherwise.
906
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
907
- * {@link Gio.DBusInterfaceInfo}.
908
860
  * @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
909
861
  */
910
- get_info(): Gio.DBusInterfaceInfo | null;
862
+ get_info(): Gio.DBusInterfaceInfo;
911
863
  /**
912
864
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
913
865
  *
@@ -923,14 +875,9 @@ export namespace CloudProviders {
923
875
  /**
924
876
  * Gets D-Bus introspection information for the D-Bus interface
925
877
  * implemented by `interface_`.
926
- *
927
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
928
- * construction of `interface_` and is also not made available otherwise.
929
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
930
- * {@link Gio.DBusInterfaceInfo}.
931
878
  * @virtual
932
879
  */
933
- vfunc_get_info(): Gio.DBusInterfaceInfo | null;
880
+ vfunc_get_info(): Gio.DBusInterfaceInfo;
934
881
  /**
935
882
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
936
883
  *
@@ -1122,7 +1069,7 @@ export namespace CloudProviders {
1122
1069
  bind_property_full(...args: never[]): any;
1123
1070
  /**
1124
1071
  * This function is intended for {@link GObject.Object} implementations to re-enforce
1125
- * a [floating](floating-refs.html) object reference. Doing this is seldom
1072
+ * a [floating][floating-ref] object reference. Doing this is seldom
1126
1073
  * required: all `GInitiallyUnowneds` are created with a floating reference
1127
1074
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
1128
1075
  */
@@ -1177,7 +1124,7 @@ export namespace CloudProviders {
1177
1124
  */
1178
1125
  getv(names: string[], values: (GObject.Value | any)[]): void;
1179
1126
  /**
1180
- * Checks whether `object` has a [floating](floating-refs.html) reference.
1127
+ * Checks whether `object` has a [floating][floating-ref] reference.
1181
1128
  * @returns `true` if `object` has a floating reference
1182
1129
  */
1183
1130
  is_floating(): boolean;
@@ -1252,7 +1199,7 @@ export namespace CloudProviders {
1252
1199
  ref(): GObject.Object;
1253
1200
  /**
1254
1201
  * Increase the reference count of `object`, and possibly remove the
1255
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
1202
+ * [floating][floating-ref] reference, if `object` has a floating reference.
1256
1203
  *
1257
1204
  * In other words, if the object is floating, then this call "assumes
1258
1205
  * ownership" of the floating reference, converting it to a normal
@@ -1421,7 +1368,7 @@ export namespace CloudProviders {
1421
1368
  * @param pspec
1422
1369
  * @virtual
1423
1370
  */
1424
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1371
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1425
1372
  /**
1426
1373
  * Emits a "notify" signal for the property `property_name` on `object`.
1427
1374
  *
@@ -1448,7 +1395,7 @@ export namespace CloudProviders {
1448
1395
  * @param pspec
1449
1396
  * @virtual
1450
1397
  */
1451
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1398
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1452
1399
  /**
1453
1400
  * 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.
1454
1401
  * @param id Handler ID of the handler to be disconnected
@@ -1598,19 +1545,9 @@ export namespace CloudProviders {
1598
1545
  /**
1599
1546
  * Gets D-Bus introspection information for the D-Bus interface
1600
1547
  * implemented by `interface_`.
1601
- *
1602
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
1603
- * construction of `interface_` and is also not made available otherwise.
1604
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
1605
- * {@link Gio.DBusInterfaceInfo}.
1606
1548
  * @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
1607
1549
  */
1608
- get_info(): Gio.DBusInterfaceInfo | null;
1609
- /**
1610
- * @param args
1611
- */
1612
- // Conflicted with Gio.DBusInterfaceSkeleton.get_info
1613
- get_info(...args: never[]): any;
1550
+ get_info(): Gio.DBusInterfaceInfo;
1614
1551
  /**
1615
1552
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
1616
1553
  *
@@ -1626,20 +1563,9 @@ export namespace CloudProviders {
1626
1563
  /**
1627
1564
  * Gets D-Bus introspection information for the D-Bus interface
1628
1565
  * implemented by `interface_`.
1629
- *
1630
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
1631
- * construction of `interface_` and is also not made available otherwise.
1632
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
1633
- * {@link Gio.DBusInterfaceInfo}.
1634
1566
  * @virtual
1635
1567
  */
1636
- vfunc_get_info(): Gio.DBusInterfaceInfo | null;
1637
- /**
1638
- * @param args
1639
- * @virtual
1640
- */
1641
- // Conflicted with Gio.DBusInterfaceSkeleton.vfunc_get_info
1642
- vfunc_get_info(...args: never[]): any;
1568
+ vfunc_get_info(): Gio.DBusInterfaceInfo;
1643
1569
  /**
1644
1570
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
1645
1571
  *
@@ -1745,7 +1671,7 @@ export namespace CloudProviders {
1745
1671
  bind_property_full(...args: never[]): any;
1746
1672
  /**
1747
1673
  * This function is intended for {@link GObject.Object} implementations to re-enforce
1748
- * a [floating](floating-refs.html) object reference. Doing this is seldom
1674
+ * a [floating][floating-ref] object reference. Doing this is seldom
1749
1675
  * required: all `GInitiallyUnowneds` are created with a floating reference
1750
1676
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
1751
1677
  */
@@ -1800,7 +1726,7 @@ export namespace CloudProviders {
1800
1726
  */
1801
1727
  getv(names: string[], values: (GObject.Value | any)[]): void;
1802
1728
  /**
1803
- * Checks whether `object` has a [floating](floating-refs.html) reference.
1729
+ * Checks whether `object` has a [floating][floating-ref] reference.
1804
1730
  * @returns `true` if `object` has a floating reference
1805
1731
  */
1806
1732
  is_floating(): boolean;
@@ -1875,7 +1801,7 @@ export namespace CloudProviders {
1875
1801
  ref(): GObject.Object;
1876
1802
  /**
1877
1803
  * Increase the reference count of `object`, and possibly remove the
1878
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
1804
+ * [floating][floating-ref] reference, if `object` has a floating reference.
1879
1805
  *
1880
1806
  * In other words, if the object is floating, then this call "assumes
1881
1807
  * ownership" of the floating reference, converting it to a normal
@@ -2044,7 +1970,7 @@ export namespace CloudProviders {
2044
1970
  * @param pspec
2045
1971
  * @virtual
2046
1972
  */
2047
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1973
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2048
1974
  /**
2049
1975
  * Emits a "notify" signal for the property `property_name` on `object`.
2050
1976
  *
@@ -2071,7 +1997,7 @@ export namespace CloudProviders {
2071
1997
  * @param pspec
2072
1998
  * @virtual
2073
1999
  */
2074
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2000
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2075
2001
  /**
2076
2002
  * 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.
2077
2003
  * @param id Handler ID of the handler to be disconnected
@@ -2732,7 +2658,7 @@ export namespace CloudProviders {
2732
2658
  bind_property_full(...args: never[]): any;
2733
2659
  /**
2734
2660
  * This function is intended for {@link GObject.Object} implementations to re-enforce
2735
- * a [floating](floating-refs.html) object reference. Doing this is seldom
2661
+ * a [floating][floating-ref] object reference. Doing this is seldom
2736
2662
  * required: all `GInitiallyUnowneds` are created with a floating reference
2737
2663
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
2738
2664
  */
@@ -2787,7 +2713,7 @@ export namespace CloudProviders {
2787
2713
  */
2788
2714
  getv(names: string[], values: (GObject.Value | any)[]): void;
2789
2715
  /**
2790
- * Checks whether `object` has a [floating](floating-refs.html) reference.
2716
+ * Checks whether `object` has a [floating][floating-ref] reference.
2791
2717
  * @returns `true` if `object` has a floating reference
2792
2718
  */
2793
2719
  is_floating(): boolean;
@@ -2862,7 +2788,7 @@ export namespace CloudProviders {
2862
2788
  ref(): GObject.Object;
2863
2789
  /**
2864
2790
  * Increase the reference count of `object`, and possibly remove the
2865
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
2791
+ * [floating][floating-ref] reference, if `object` has a floating reference.
2866
2792
  *
2867
2793
  * In other words, if the object is floating, then this call "assumes
2868
2794
  * ownership" of the floating reference, converting it to a normal
@@ -3031,7 +2957,7 @@ export namespace CloudProviders {
3031
2957
  * @param pspec
3032
2958
  * @virtual
3033
2959
  */
3034
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2960
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
3035
2961
  /**
3036
2962
  * Emits a "notify" signal for the property `property_name` on `object`.
3037
2963
  *
@@ -3058,7 +2984,7 @@ export namespace CloudProviders {
3058
2984
  * @param pspec
3059
2985
  * @virtual
3060
2986
  */
3061
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2987
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
3062
2988
  /**
3063
2989
  * 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.
3064
2990
  * @param id Handler ID of the handler to be disconnected
@@ -3317,7 +3243,7 @@ export namespace CloudProviders {
3317
3243
  bind_property_full(...args: never[]): any;
3318
3244
  /**
3319
3245
  * This function is intended for {@link GObject.Object} implementations to re-enforce
3320
- * a [floating](floating-refs.html) object reference. Doing this is seldom
3246
+ * a [floating][floating-ref] object reference. Doing this is seldom
3321
3247
  * required: all `GInitiallyUnowneds` are created with a floating reference
3322
3248
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
3323
3249
  */
@@ -3372,7 +3298,7 @@ export namespace CloudProviders {
3372
3298
  */
3373
3299
  getv(names: string[], values: (GObject.Value | any)[]): void;
3374
3300
  /**
3375
- * Checks whether `object` has a [floating](floating-refs.html) reference.
3301
+ * Checks whether `object` has a [floating][floating-ref] reference.
3376
3302
  * @returns `true` if `object` has a floating reference
3377
3303
  */
3378
3304
  is_floating(): boolean;
@@ -3447,7 +3373,7 @@ export namespace CloudProviders {
3447
3373
  ref(): GObject.Object;
3448
3374
  /**
3449
3375
  * Increase the reference count of `object`, and possibly remove the
3450
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
3376
+ * [floating][floating-ref] reference, if `object` has a floating reference.
3451
3377
  *
3452
3378
  * In other words, if the object is floating, then this call "assumes
3453
3379
  * ownership" of the floating reference, converting it to a normal
@@ -3616,7 +3542,7 @@ export namespace CloudProviders {
3616
3542
  * @param pspec
3617
3543
  * @virtual
3618
3544
  */
3619
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3545
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
3620
3546
  /**
3621
3547
  * Emits a "notify" signal for the property `property_name` on `object`.
3622
3548
  *
@@ -3643,7 +3569,7 @@ export namespace CloudProviders {
3643
3569
  * @param pspec
3644
3570
  * @virtual
3645
3571
  */
3646
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3572
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
3647
3573
  /**
3648
3574
  * 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.
3649
3575
  * @param id Handler ID of the handler to be disconnected
@@ -3914,7 +3840,7 @@ export namespace CloudProviders {
3914
3840
  bind_property_full(...args: never[]): any;
3915
3841
  /**
3916
3842
  * This function is intended for {@link GObject.Object} implementations to re-enforce
3917
- * a [floating](floating-refs.html) object reference. Doing this is seldom
3843
+ * a [floating][floating-ref] object reference. Doing this is seldom
3918
3844
  * required: all `GInitiallyUnowneds` are created with a floating reference
3919
3845
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
3920
3846
  */
@@ -3969,7 +3895,7 @@ export namespace CloudProviders {
3969
3895
  */
3970
3896
  getv(names: string[], values: (GObject.Value | any)[]): void;
3971
3897
  /**
3972
- * Checks whether `object` has a [floating](floating-refs.html) reference.
3898
+ * Checks whether `object` has a [floating][floating-ref] reference.
3973
3899
  * @returns `true` if `object` has a floating reference
3974
3900
  */
3975
3901
  is_floating(): boolean;
@@ -4044,7 +3970,7 @@ export namespace CloudProviders {
4044
3970
  ref(): GObject.Object;
4045
3971
  /**
4046
3972
  * Increase the reference count of `object`, and possibly remove the
4047
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
3973
+ * [floating][floating-ref] reference, if `object` has a floating reference.
4048
3974
  *
4049
3975
  * In other words, if the object is floating, then this call "assumes
4050
3976
  * ownership" of the floating reference, converting it to a normal
@@ -4213,7 +4139,7 @@ export namespace CloudProviders {
4213
4139
  * @param pspec
4214
4140
  * @virtual
4215
4141
  */
4216
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4142
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
4217
4143
  /**
4218
4144
  * Emits a "notify" signal for the property `property_name` on `object`.
4219
4145
  *
@@ -4240,7 +4166,7 @@ export namespace CloudProviders {
4240
4166
  * @param pspec
4241
4167
  * @virtual
4242
4168
  */
4243
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4169
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
4244
4170
  /**
4245
4171
  * 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.
4246
4172
  * @param id Handler ID of the handler to be disconnected
@@ -4647,14 +4573,9 @@ export namespace CloudProviders {
4647
4573
  /**
4648
4574
  * Gets D-Bus introspection information for the D-Bus interface
4649
4575
  * implemented by `interface_`.
4650
- *
4651
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
4652
- * construction of `interface_` and is also not made available otherwise.
4653
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
4654
- * {@link Gio.DBusInterfaceInfo}.
4655
4576
  * @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
4656
4577
  */
4657
- get_info(): Gio.DBusInterfaceInfo | null;
4578
+ get_info(): Gio.DBusInterfaceInfo;
4658
4579
  /**
4659
4580
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
4660
4581
  *
@@ -4670,14 +4591,9 @@ export namespace CloudProviders {
4670
4591
  /**
4671
4592
  * Gets D-Bus introspection information for the D-Bus interface
4672
4593
  * implemented by `interface_`.
4673
- *
4674
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
4675
- * construction of `interface_` and is also not made available otherwise.
4676
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
4677
- * {@link Gio.DBusInterfaceInfo}.
4678
4594
  * @virtual
4679
4595
  */
4680
- vfunc_get_info(): Gio.DBusInterfaceInfo | null;
4596
+ vfunc_get_info(): Gio.DBusInterfaceInfo;
4681
4597
  /**
4682
4598
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
4683
4599
  *
@@ -4869,7 +4785,7 @@ export namespace CloudProviders {
4869
4785
  bind_property_full(...args: never[]): any;
4870
4786
  /**
4871
4787
  * This function is intended for {@link GObject.Object} implementations to re-enforce
4872
- * a [floating](floating-refs.html) object reference. Doing this is seldom
4788
+ * a [floating][floating-ref] object reference. Doing this is seldom
4873
4789
  * required: all `GInitiallyUnowneds` are created with a floating reference
4874
4790
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
4875
4791
  */
@@ -4924,7 +4840,7 @@ export namespace CloudProviders {
4924
4840
  */
4925
4841
  getv(names: string[], values: (GObject.Value | any)[]): void;
4926
4842
  /**
4927
- * Checks whether `object` has a [floating](floating-refs.html) reference.
4843
+ * Checks whether `object` has a [floating][floating-ref] reference.
4928
4844
  * @returns `true` if `object` has a floating reference
4929
4845
  */
4930
4846
  is_floating(): boolean;
@@ -4999,7 +4915,7 @@ export namespace CloudProviders {
4999
4915
  ref(): GObject.Object;
5000
4916
  /**
5001
4917
  * Increase the reference count of `object`, and possibly remove the
5002
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
4918
+ * [floating][floating-ref] reference, if `object` has a floating reference.
5003
4919
  *
5004
4920
  * In other words, if the object is floating, then this call "assumes
5005
4921
  * ownership" of the floating reference, converting it to a normal
@@ -5168,7 +5084,7 @@ export namespace CloudProviders {
5168
5084
  * @param pspec
5169
5085
  * @virtual
5170
5086
  */
5171
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5087
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
5172
5088
  /**
5173
5089
  * Emits a "notify" signal for the property `property_name` on `object`.
5174
5090
  *
@@ -5195,7 +5111,7 @@ export namespace CloudProviders {
5195
5111
  * @param pspec
5196
5112
  * @virtual
5197
5113
  */
5198
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5114
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
5199
5115
  /**
5200
5116
  * 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.
5201
5117
  * @param id Handler ID of the handler to be disconnected
@@ -5301,19 +5217,9 @@ export namespace CloudProviders {
5301
5217
  /**
5302
5218
  * Gets D-Bus introspection information for the D-Bus interface
5303
5219
  * implemented by `interface_`.
5304
- *
5305
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
5306
- * construction of `interface_` and is also not made available otherwise.
5307
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
5308
- * {@link Gio.DBusInterfaceInfo}.
5309
5220
  * @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
5310
5221
  */
5311
- get_info(): Gio.DBusInterfaceInfo | null;
5312
- /**
5313
- * @param args
5314
- */
5315
- // Conflicted with Gio.DBusInterfaceSkeleton.get_info
5316
- get_info(...args: never[]): any;
5222
+ get_info(): Gio.DBusInterfaceInfo;
5317
5223
  /**
5318
5224
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
5319
5225
  *
@@ -5329,20 +5235,9 @@ export namespace CloudProviders {
5329
5235
  /**
5330
5236
  * Gets D-Bus introspection information for the D-Bus interface
5331
5237
  * implemented by `interface_`.
5332
- *
5333
- * This can return `null` if no {@link Gio.DBusInterfaceInfo} was provided during
5334
- * construction of `interface_` and is also not made available otherwise.
5335
- * For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
5336
- * {@link Gio.DBusInterfaceInfo}.
5337
- * @virtual
5338
- */
5339
- vfunc_get_info(): Gio.DBusInterfaceInfo | null;
5340
- /**
5341
- * @param args
5342
5238
  * @virtual
5343
5239
  */
5344
- // Conflicted with Gio.DBusInterfaceSkeleton.vfunc_get_info
5345
- vfunc_get_info(...args: never[]): any;
5240
+ vfunc_get_info(): Gio.DBusInterfaceInfo;
5346
5241
  /**
5347
5242
  * Sets the {@link Gio.DBusObject} for `interface_` to `object`.
5348
5243
  *
@@ -5448,7 +5343,7 @@ export namespace CloudProviders {
5448
5343
  bind_property_full(...args: never[]): any;
5449
5344
  /**
5450
5345
  * This function is intended for {@link GObject.Object} implementations to re-enforce
5451
- * a [floating](floating-refs.html) object reference. Doing this is seldom
5346
+ * a [floating][floating-ref] object reference. Doing this is seldom
5452
5347
  * required: all `GInitiallyUnowneds` are created with a floating reference
5453
5348
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
5454
5349
  */
@@ -5503,7 +5398,7 @@ export namespace CloudProviders {
5503
5398
  */
5504
5399
  getv(names: string[], values: (GObject.Value | any)[]): void;
5505
5400
  /**
5506
- * Checks whether `object` has a [floating](floating-refs.html) reference.
5401
+ * Checks whether `object` has a [floating][floating-ref] reference.
5507
5402
  * @returns `true` if `object` has a floating reference
5508
5403
  */
5509
5404
  is_floating(): boolean;
@@ -5578,7 +5473,7 @@ export namespace CloudProviders {
5578
5473
  ref(): GObject.Object;
5579
5474
  /**
5580
5475
  * Increase the reference count of `object`, and possibly remove the
5581
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
5476
+ * [floating][floating-ref] reference, if `object` has a floating reference.
5582
5477
  *
5583
5478
  * In other words, if the object is floating, then this call "assumes
5584
5479
  * ownership" of the floating reference, converting it to a normal
@@ -5747,7 +5642,7 @@ export namespace CloudProviders {
5747
5642
  * @param pspec
5748
5643
  * @virtual
5749
5644
  */
5750
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5645
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
5751
5646
  /**
5752
5647
  * Emits a "notify" signal for the property `property_name` on `object`.
5753
5648
  *
@@ -5774,7 +5669,7 @@ export namespace CloudProviders {
5774
5669
  * @param pspec
5775
5670
  * @virtual
5776
5671
  */
5777
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5672
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
5778
5673
  /**
5779
5674
  * 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.
5780
5675
  * @param id Handler ID of the handler to be disconnected
@@ -5826,10 +5721,9 @@ export namespace CloudProviders {
5826
5721
  }
5827
5722
 
5828
5723
  /**
5829
- * Base object for representing a single provider for clients.
5830
- *
5831
- * This is the basic object object for client implementers that contains the properties of the
5832
- * provider such as name, and the accounts associated with it.
5724
+ * {@link CloudProviders.Provider} is the basic object object for client implementers
5725
+ * that contains the properties of the provider such as name, and the accounts
5726
+ * associated with it.
5833
5727
  * @gir-type Class
5834
5728
  */
5835
5729
  class Provider extends GObject.Object {
@@ -5838,7 +5732,6 @@ export namespace CloudProviders {
5838
5732
  // Properties
5839
5733
 
5840
5734
  /**
5841
- * The name of the cloud provider.
5842
5735
  * @read-only
5843
5736
  */
5844
5737
  get name(): string;
@@ -5884,8 +5777,7 @@ export namespace CloudProviders {
5884
5777
  // Methods
5885
5778
 
5886
5779
  /**
5887
- * Get the list of accounts from this provider.
5888
- * @returns A list of {@link Account} objects.
5780
+ * @returns A GList* of {@link CloudProviders.Provider} objects.
5889
5781
  */
5890
5782
  get_accounts(): Account[];
5891
5783
  get_name(): string;
@@ -5913,7 +5805,9 @@ export namespace CloudProviders {
5913
5805
  }
5914
5806
 
5915
5807
  /**
5916
- * Base object for representing a single single provider.
5808
+ * {@link CloudProviders.ProviderExporter} is the base object representing a single cloud provider.
5809
+ * Multiple {@link CloudProviders.AccountExporter} objects can be added with `cloud_providers_provider_exporter_add_account()`
5810
+ * After adding the initial set of accounts `cloud_providers_provider_exporter_export_objects()` must be called.
5917
5811
  * @gir-type Class
5918
5812
  */
5919
5813
  class ProviderExporter extends GObject.Object {
@@ -5922,33 +5816,25 @@ export namespace CloudProviders {
5922
5816
  // Properties
5923
5817
 
5924
5818
  /**
5925
- * The bus connection object for the provider.
5926
5819
  * @construct-only
5927
5820
  */
5928
5821
  get bus(): Gio.DBusConnection;
5929
5822
  /**
5930
- * The bus name of the provider.
5931
5823
  * @construct-only
5932
5824
  */
5933
5825
  get bus_name(): string;
5934
5826
  /**
5935
- * The bus name of the provider.
5936
5827
  * @construct-only
5937
5828
  */
5938
5829
  get busName(): string;
5939
5830
  /**
5940
- * The bus path of the provider.
5941
5831
  * @construct-only
5942
5832
  */
5943
5833
  get bus_path(): string;
5944
5834
  /**
5945
- * The bus path of the provider.
5946
5835
  * @construct-only
5947
5836
  */
5948
5837
  get busPath(): string;
5949
- /**
5950
- * The name of the cloud provider.
5951
- */
5952
5838
  get name(): string;
5953
5839
  set name(val: string);
5954
5840
 
@@ -5995,7 +5881,7 @@ export namespace CloudProviders {
5995
5881
  get_name(): string;
5996
5882
  /**
5997
5883
  * Each cloud provider can have a variety of account associated with it. Use this
5998
- * function to remove the accounts that were added when created by {@link AccountExporter.new}.
5884
+ * function to remove the accounts that were added when created by `cloud_providers_account_exporter_new()`.
5999
5885
  * @param account The account object
6000
5886
  */
6001
5887
  remove_account(account: AccountExporter): 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.44",
3
+ "version": "0.3.0-4.0.0-rc.2",
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/gjs": "4.0.0-beta.44",
35
- "@girs/gio-2.0": "2.88.0-4.0.0-beta.44",
36
- "@girs/gobject-2.0": "2.88.0-4.0.0-beta.44",
37
- "@girs/glib-2.0": "2.88.0-4.0.0-beta.44",
38
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.44" },
34
+ "@girs/gjs": "4.0.0-rc.2",
35
+ "@girs/gio-2.0": "2.88.0-4.0.0-rc.2",
36
+ "@girs/gobject-2.0": "2.88.0-4.0.0-rc.2",
37
+ "@girs/glib-2.0": "2.88.0-4.0.0-rc.2",
38
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-rc.2" },
39
39
  "devDependencies": {
40
40
  "typescript": "*"
41
41
  },