@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.5 → 0.3.0-4.0.0-beta.7
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 +1 -1
- package/cloudproviders-0.3-ambient.d.ts +2 -5
- package/cloudproviders-0.3-import.d.ts +0 -3
- package/cloudproviders-0.3.d.ts +366 -14
- package/cloudproviders-0.3.js +3 -4
- package/index.d.ts +15 -0
- package/index.js +5 -0
- package/package.json +13 -7
- package/tsconfig.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

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