@girs/cloudproviders-0.3 4.3.0 → 4.4.0
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.d.ts +71 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for CloudProviders-0.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.
|
|
8
|
+
GJS TypeScript type definitions for CloudProviders-0.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/cloudproviders-0.3.d.ts
CHANGED
|
@@ -714,6 +714,7 @@ export namespace CloudProviders {
|
|
|
714
714
|
* any interface methods.
|
|
715
715
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
716
716
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
717
|
+
* @since 2.22
|
|
717
718
|
*/
|
|
718
719
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
719
720
|
|
|
@@ -757,6 +758,7 @@ export namespace CloudProviders {
|
|
|
757
758
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
758
759
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
759
760
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
761
|
+
* @since 2.22
|
|
760
762
|
*/
|
|
761
763
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
762
764
|
|
|
@@ -800,6 +802,7 @@ export namespace CloudProviders {
|
|
|
800
802
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
801
803
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
802
804
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
805
|
+
* @since 2.22
|
|
803
806
|
*/
|
|
804
807
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
805
808
|
|
|
@@ -808,6 +811,7 @@ export namespace CloudProviders {
|
|
|
808
811
|
* See `g_async_initable_init_async()`.
|
|
809
812
|
* @param res a {@link Gio.AsyncResult}.
|
|
810
813
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
814
|
+
* @since 2.22
|
|
811
815
|
*/
|
|
812
816
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
813
817
|
|
|
@@ -816,6 +820,7 @@ export namespace CloudProviders {
|
|
|
816
820
|
* calls, returning the created object or `null` on error.
|
|
817
821
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
818
822
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
823
|
+
* @since 2.22
|
|
819
824
|
*/
|
|
820
825
|
new_finish(res: Gio.AsyncResult): DbusAccountProxy;
|
|
821
826
|
|
|
@@ -865,6 +870,7 @@ export namespace CloudProviders {
|
|
|
865
870
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
866
871
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
867
872
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
873
|
+
* @since 2.22
|
|
868
874
|
* @virtual
|
|
869
875
|
*/
|
|
870
876
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -873,6 +879,7 @@ export namespace CloudProviders {
|
|
|
873
879
|
* Finishes asynchronous initialization and returns the result.
|
|
874
880
|
* See `g_async_initable_init_async()`.
|
|
875
881
|
* @param res a {@link Gio.AsyncResult}.
|
|
882
|
+
* @since 2.22
|
|
876
883
|
* @virtual
|
|
877
884
|
*/
|
|
878
885
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -880,6 +887,7 @@ export namespace CloudProviders {
|
|
|
880
887
|
/**
|
|
881
888
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
882
889
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
890
|
+
* @since 2.32
|
|
883
891
|
*/
|
|
884
892
|
get_object(): Gio.DBusObject | null;
|
|
885
893
|
|
|
@@ -892,6 +900,7 @@ export namespace CloudProviders {
|
|
|
892
900
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
893
901
|
* {@link Gio.DBusInterfaceInfo}.
|
|
894
902
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
903
|
+
* @since 2.30
|
|
895
904
|
*/
|
|
896
905
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
897
906
|
|
|
@@ -900,11 +909,13 @@ export namespace CloudProviders {
|
|
|
900
909
|
*
|
|
901
910
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
902
911
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
912
|
+
* @since 2.30
|
|
903
913
|
*/
|
|
904
914
|
set_object(object: Gio.DBusObject | null): void;
|
|
905
915
|
|
|
906
916
|
/**
|
|
907
917
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
918
|
+
* @since 2.32
|
|
908
919
|
* @virtual
|
|
909
920
|
*/
|
|
910
921
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -917,6 +928,7 @@ export namespace CloudProviders {
|
|
|
917
928
|
* construction of `interface_` and is also not made available otherwise.
|
|
918
929
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
919
930
|
* {@link Gio.DBusInterfaceInfo}.
|
|
931
|
+
* @since 2.30
|
|
920
932
|
* @virtual
|
|
921
933
|
*/
|
|
922
934
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -926,6 +938,7 @@ export namespace CloudProviders {
|
|
|
926
938
|
*
|
|
927
939
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
928
940
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
941
|
+
* @since 2.30
|
|
929
942
|
* @virtual
|
|
930
943
|
*/
|
|
931
944
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -971,6 +984,7 @@ export namespace CloudProviders {
|
|
|
971
984
|
* instance.
|
|
972
985
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
973
986
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
987
|
+
* @since 2.22
|
|
974
988
|
*/
|
|
975
989
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
976
990
|
|
|
@@ -1014,6 +1028,7 @@ export namespace CloudProviders {
|
|
|
1014
1028
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
1015
1029
|
* instance.
|
|
1016
1030
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1031
|
+
* @since 2.22
|
|
1017
1032
|
* @virtual
|
|
1018
1033
|
*/
|
|
1019
1034
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -1134,6 +1149,7 @@ export namespace CloudProviders {
|
|
|
1134
1149
|
/**
|
|
1135
1150
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1136
1151
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
1152
|
+
* @since 2.32
|
|
1137
1153
|
*/
|
|
1138
1154
|
get_object(): Gio.DBusObject | null;
|
|
1139
1155
|
|
|
@@ -1146,6 +1162,7 @@ export namespace CloudProviders {
|
|
|
1146
1162
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
1147
1163
|
* {@link Gio.DBusInterfaceInfo}.
|
|
1148
1164
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
1165
|
+
* @since 2.30
|
|
1149
1166
|
*/
|
|
1150
1167
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
1151
1168
|
|
|
@@ -1160,11 +1177,13 @@ export namespace CloudProviders {
|
|
|
1160
1177
|
*
|
|
1161
1178
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
1162
1179
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1180
|
+
* @since 2.30
|
|
1163
1181
|
*/
|
|
1164
1182
|
set_object(object: Gio.DBusObject | null): void;
|
|
1165
1183
|
|
|
1166
1184
|
/**
|
|
1167
1185
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1186
|
+
* @since 2.32
|
|
1168
1187
|
* @virtual
|
|
1169
1188
|
*/
|
|
1170
1189
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -1177,6 +1196,7 @@ export namespace CloudProviders {
|
|
|
1177
1196
|
* construction of `interface_` and is also not made available otherwise.
|
|
1178
1197
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
1179
1198
|
* {@link Gio.DBusInterfaceInfo}.
|
|
1199
|
+
* @since 2.30
|
|
1180
1200
|
* @virtual
|
|
1181
1201
|
*/
|
|
1182
1202
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -1193,6 +1213,7 @@ export namespace CloudProviders {
|
|
|
1193
1213
|
*
|
|
1194
1214
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
1195
1215
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1216
|
+
* @since 2.30
|
|
1196
1217
|
* @virtual
|
|
1197
1218
|
*/
|
|
1198
1219
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -1361,6 +1382,7 @@ export namespace CloudProviders {
|
|
|
1361
1382
|
* any interface methods.
|
|
1362
1383
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1363
1384
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1385
|
+
* @since 2.22
|
|
1364
1386
|
*/
|
|
1365
1387
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
1366
1388
|
|
|
@@ -1404,6 +1426,7 @@ export namespace CloudProviders {
|
|
|
1404
1426
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1405
1427
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1406
1428
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1429
|
+
* @since 2.22
|
|
1407
1430
|
*/
|
|
1408
1431
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
1409
1432
|
|
|
@@ -1447,6 +1470,7 @@ export namespace CloudProviders {
|
|
|
1447
1470
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1448
1471
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1449
1472
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1473
|
+
* @since 2.22
|
|
1450
1474
|
*/
|
|
1451
1475
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
1452
1476
|
|
|
@@ -1455,6 +1479,7 @@ export namespace CloudProviders {
|
|
|
1455
1479
|
* See `g_async_initable_init_async()`.
|
|
1456
1480
|
* @param res a {@link Gio.AsyncResult}.
|
|
1457
1481
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
1482
|
+
* @since 2.22
|
|
1458
1483
|
*/
|
|
1459
1484
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
1460
1485
|
|
|
@@ -1463,6 +1488,7 @@ export namespace CloudProviders {
|
|
|
1463
1488
|
* calls, returning the created object or `null` on error.
|
|
1464
1489
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
1465
1490
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
1491
|
+
* @since 2.22
|
|
1466
1492
|
*/
|
|
1467
1493
|
new_finish(res: Gio.AsyncResult): DbusObjectManagerClient;
|
|
1468
1494
|
|
|
@@ -1512,6 +1538,7 @@ export namespace CloudProviders {
|
|
|
1512
1538
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1513
1539
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1514
1540
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1541
|
+
* @since 2.22
|
|
1515
1542
|
* @virtual
|
|
1516
1543
|
*/
|
|
1517
1544
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -1520,6 +1547,7 @@ export namespace CloudProviders {
|
|
|
1520
1547
|
* Finishes asynchronous initialization and returns the result.
|
|
1521
1548
|
* See `g_async_initable_init_async()`.
|
|
1522
1549
|
* @param res a {@link Gio.AsyncResult}.
|
|
1550
|
+
* @since 2.22
|
|
1523
1551
|
* @virtual
|
|
1524
1552
|
*/
|
|
1525
1553
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -1530,6 +1558,7 @@ export namespace CloudProviders {
|
|
|
1530
1558
|
* @param object_path Object path to look up.
|
|
1531
1559
|
* @param interface_name D-Bus interface name to look up.
|
|
1532
1560
|
* @returns A {@link Gio.DBusInterface} instance or `null`. Free with `g_object_unref()`.
|
|
1561
|
+
* @since 2.30
|
|
1533
1562
|
*/
|
|
1534
1563
|
get_interface(object_path: string, interface_name: string): Gio.DBusInterface | null;
|
|
1535
1564
|
|
|
@@ -1537,18 +1566,21 @@ export namespace CloudProviders {
|
|
|
1537
1566
|
* Gets the {@link Gio.DBusObject} at `object_path`, if any.
|
|
1538
1567
|
* @param object_path Object path to look up.
|
|
1539
1568
|
* @returns A {@link Gio.DBusObject} or `null`. Free with `g_object_unref()`.
|
|
1569
|
+
* @since 2.30
|
|
1540
1570
|
*/
|
|
1541
1571
|
get_object(object_path: string): Gio.DBusObject | null;
|
|
1542
1572
|
|
|
1543
1573
|
/**
|
|
1544
1574
|
* Gets the object path that `manager` is for.
|
|
1545
1575
|
* @returns A string owned by `manager`. Do not free.
|
|
1576
|
+
* @since 2.30
|
|
1546
1577
|
*/
|
|
1547
1578
|
get_object_path(): string;
|
|
1548
1579
|
|
|
1549
1580
|
/**
|
|
1550
1581
|
* Gets all {@link Gio.DBusObject} objects known to `manager`.
|
|
1551
1582
|
* @returns A list of {@link Gio.DBusObject} objects. The returned list should be freed with `g_list_free()` after each element has been freed with `g_object_unref()`.
|
|
1583
|
+
* @since 2.30
|
|
1552
1584
|
*/
|
|
1553
1585
|
get_objects(): Gio.DBusObject[];
|
|
1554
1586
|
|
|
@@ -1557,6 +1589,7 @@ export namespace CloudProviders {
|
|
|
1557
1589
|
* any.
|
|
1558
1590
|
* @param object_path Object path to look up.
|
|
1559
1591
|
* @param interface_name D-Bus interface name to look up.
|
|
1592
|
+
* @since 2.30
|
|
1560
1593
|
* @virtual
|
|
1561
1594
|
*/
|
|
1562
1595
|
vfunc_get_interface(object_path: string, interface_name: string): Gio.DBusInterface | null;
|
|
@@ -1564,18 +1597,21 @@ export namespace CloudProviders {
|
|
|
1564
1597
|
/**
|
|
1565
1598
|
* Gets the {@link Gio.DBusObject} at `object_path`, if any.
|
|
1566
1599
|
* @param object_path Object path to look up.
|
|
1600
|
+
* @since 2.30
|
|
1567
1601
|
* @virtual
|
|
1568
1602
|
*/
|
|
1569
1603
|
vfunc_get_object(object_path: string): Gio.DBusObject | null;
|
|
1570
1604
|
|
|
1571
1605
|
/**
|
|
1572
1606
|
* Gets the object path that `manager` is for.
|
|
1607
|
+
* @since 2.30
|
|
1573
1608
|
* @virtual
|
|
1574
1609
|
*/
|
|
1575
1610
|
vfunc_get_object_path(): string;
|
|
1576
1611
|
|
|
1577
1612
|
/**
|
|
1578
1613
|
* Gets all {@link Gio.DBusObject} objects known to `manager`.
|
|
1614
|
+
* @since 2.30
|
|
1579
1615
|
* @virtual
|
|
1580
1616
|
*/
|
|
1581
1617
|
vfunc_get_objects(): Gio.DBusObject[];
|
|
@@ -1651,6 +1687,7 @@ export namespace CloudProviders {
|
|
|
1651
1687
|
* instance.
|
|
1652
1688
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1653
1689
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
1690
|
+
* @since 2.22
|
|
1654
1691
|
*/
|
|
1655
1692
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
1656
1693
|
|
|
@@ -1694,6 +1731,7 @@ export namespace CloudProviders {
|
|
|
1694
1731
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
1695
1732
|
* instance.
|
|
1696
1733
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1734
|
+
* @since 2.22
|
|
1697
1735
|
* @virtual
|
|
1698
1736
|
*/
|
|
1699
1737
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -1784,18 +1822,21 @@ export namespace CloudProviders {
|
|
|
1784
1822
|
* `object`, if any.
|
|
1785
1823
|
* @param interface_name A D-Bus interface name.
|
|
1786
1824
|
* @returns `null` if not found, otherwise a {@link Gio.DBusInterface} that must be freed with `g_object_unref()`.
|
|
1825
|
+
* @since 2.30
|
|
1787
1826
|
*/
|
|
1788
1827
|
get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1789
1828
|
|
|
1790
1829
|
/**
|
|
1791
1830
|
* Gets the D-Bus interfaces associated with `object`.
|
|
1792
1831
|
* @returns A list of {@link Gio.DBusInterface} instances. The returned list must be freed by `g_list_free()` after each element has been freed with `g_object_unref()`.
|
|
1832
|
+
* @since 2.30
|
|
1793
1833
|
*/
|
|
1794
1834
|
get_interfaces(): Gio.DBusInterface[];
|
|
1795
1835
|
|
|
1796
1836
|
/**
|
|
1797
1837
|
* Gets the object path for `object`.
|
|
1798
1838
|
* @returns A string owned by `object`. Do not free.
|
|
1839
|
+
* @since 2.30
|
|
1799
1840
|
*/
|
|
1800
1841
|
get_object_path(): string;
|
|
1801
1842
|
|
|
@@ -1803,18 +1844,21 @@ export namespace CloudProviders {
|
|
|
1803
1844
|
* Gets the D-Bus interface with name `interface_name` associated with
|
|
1804
1845
|
* `object`, if any.
|
|
1805
1846
|
* @param interface_name A D-Bus interface name.
|
|
1847
|
+
* @since 2.30
|
|
1806
1848
|
* @virtual
|
|
1807
1849
|
*/
|
|
1808
1850
|
vfunc_get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1809
1851
|
|
|
1810
1852
|
/**
|
|
1811
1853
|
* Gets the D-Bus interfaces associated with `object`.
|
|
1854
|
+
* @since 2.30
|
|
1812
1855
|
* @virtual
|
|
1813
1856
|
*/
|
|
1814
1857
|
vfunc_get_interfaces(): Gio.DBusInterface[];
|
|
1815
1858
|
|
|
1816
1859
|
/**
|
|
1817
1860
|
* Gets the object path for `object`.
|
|
1861
|
+
* @since 2.30
|
|
1818
1862
|
* @virtual
|
|
1819
1863
|
*/
|
|
1820
1864
|
vfunc_get_object_path(): string;
|
|
@@ -1931,18 +1975,21 @@ export namespace CloudProviders {
|
|
|
1931
1975
|
* `object`, if any.
|
|
1932
1976
|
* @param interface_name A D-Bus interface name.
|
|
1933
1977
|
* @returns `null` if not found, otherwise a {@link Gio.DBusInterface} that must be freed with `g_object_unref()`.
|
|
1978
|
+
* @since 2.30
|
|
1934
1979
|
*/
|
|
1935
1980
|
get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1936
1981
|
|
|
1937
1982
|
/**
|
|
1938
1983
|
* Gets the D-Bus interfaces associated with `object`.
|
|
1939
1984
|
* @returns A list of {@link Gio.DBusInterface} instances. The returned list must be freed by `g_list_free()` after each element has been freed with `g_object_unref()`.
|
|
1985
|
+
* @since 2.30
|
|
1940
1986
|
*/
|
|
1941
1987
|
get_interfaces(): Gio.DBusInterface[];
|
|
1942
1988
|
|
|
1943
1989
|
/**
|
|
1944
1990
|
* Gets the object path for `object`.
|
|
1945
1991
|
* @returns A string owned by `object`. Do not free.
|
|
1992
|
+
* @since 2.30
|
|
1946
1993
|
*/
|
|
1947
1994
|
get_object_path(): string;
|
|
1948
1995
|
|
|
@@ -1950,18 +1997,21 @@ export namespace CloudProviders {
|
|
|
1950
1997
|
* Gets the D-Bus interface with name `interface_name` associated with
|
|
1951
1998
|
* `object`, if any.
|
|
1952
1999
|
* @param interface_name A D-Bus interface name.
|
|
2000
|
+
* @since 2.30
|
|
1953
2001
|
* @virtual
|
|
1954
2002
|
*/
|
|
1955
2003
|
vfunc_get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1956
2004
|
|
|
1957
2005
|
/**
|
|
1958
2006
|
* Gets the D-Bus interfaces associated with `object`.
|
|
2007
|
+
* @since 2.30
|
|
1959
2008
|
* @virtual
|
|
1960
2009
|
*/
|
|
1961
2010
|
vfunc_get_interfaces(): Gio.DBusInterface[];
|
|
1962
2011
|
|
|
1963
2012
|
/**
|
|
1964
2013
|
* Gets the object path for `object`.
|
|
2014
|
+
* @since 2.30
|
|
1965
2015
|
* @virtual
|
|
1966
2016
|
*/
|
|
1967
2017
|
vfunc_get_object_path(): string;
|
|
@@ -2146,6 +2196,7 @@ export namespace CloudProviders {
|
|
|
2146
2196
|
* any interface methods.
|
|
2147
2197
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2148
2198
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2199
|
+
* @since 2.22
|
|
2149
2200
|
*/
|
|
2150
2201
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
2151
2202
|
|
|
@@ -2189,6 +2240,7 @@ export namespace CloudProviders {
|
|
|
2189
2240
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2190
2241
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2191
2242
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2243
|
+
* @since 2.22
|
|
2192
2244
|
*/
|
|
2193
2245
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
2194
2246
|
|
|
@@ -2232,6 +2284,7 @@ export namespace CloudProviders {
|
|
|
2232
2284
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2233
2285
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2234
2286
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2287
|
+
* @since 2.22
|
|
2235
2288
|
*/
|
|
2236
2289
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
2237
2290
|
|
|
@@ -2240,6 +2293,7 @@ export namespace CloudProviders {
|
|
|
2240
2293
|
* See `g_async_initable_init_async()`.
|
|
2241
2294
|
* @param res a {@link Gio.AsyncResult}.
|
|
2242
2295
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2296
|
+
* @since 2.22
|
|
2243
2297
|
*/
|
|
2244
2298
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
2245
2299
|
|
|
@@ -2248,6 +2302,7 @@ export namespace CloudProviders {
|
|
|
2248
2302
|
* calls, returning the created object or `null` on error.
|
|
2249
2303
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
2250
2304
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
2305
|
+
* @since 2.22
|
|
2251
2306
|
*/
|
|
2252
2307
|
new_finish(res: Gio.AsyncResult): DbusProviderProxy;
|
|
2253
2308
|
|
|
@@ -2297,6 +2352,7 @@ export namespace CloudProviders {
|
|
|
2297
2352
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2298
2353
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2299
2354
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2355
|
+
* @since 2.22
|
|
2300
2356
|
* @virtual
|
|
2301
2357
|
*/
|
|
2302
2358
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -2305,6 +2361,7 @@ export namespace CloudProviders {
|
|
|
2305
2361
|
* Finishes asynchronous initialization and returns the result.
|
|
2306
2362
|
* See `g_async_initable_init_async()`.
|
|
2307
2363
|
* @param res a {@link Gio.AsyncResult}.
|
|
2364
|
+
* @since 2.22
|
|
2308
2365
|
* @virtual
|
|
2309
2366
|
*/
|
|
2310
2367
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -2312,6 +2369,7 @@ export namespace CloudProviders {
|
|
|
2312
2369
|
/**
|
|
2313
2370
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2314
2371
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2372
|
+
* @since 2.32
|
|
2315
2373
|
*/
|
|
2316
2374
|
get_object(): Gio.DBusObject | null;
|
|
2317
2375
|
|
|
@@ -2324,6 +2382,7 @@ export namespace CloudProviders {
|
|
|
2324
2382
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2325
2383
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2326
2384
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
2385
|
+
* @since 2.30
|
|
2327
2386
|
*/
|
|
2328
2387
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
2329
2388
|
|
|
@@ -2332,11 +2391,13 @@ export namespace CloudProviders {
|
|
|
2332
2391
|
*
|
|
2333
2392
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2334
2393
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2394
|
+
* @since 2.30
|
|
2335
2395
|
*/
|
|
2336
2396
|
set_object(object: Gio.DBusObject | null): void;
|
|
2337
2397
|
|
|
2338
2398
|
/**
|
|
2339
2399
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2400
|
+
* @since 2.32
|
|
2340
2401
|
* @virtual
|
|
2341
2402
|
*/
|
|
2342
2403
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -2349,6 +2410,7 @@ export namespace CloudProviders {
|
|
|
2349
2410
|
* construction of `interface_` and is also not made available otherwise.
|
|
2350
2411
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2351
2412
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2413
|
+
* @since 2.30
|
|
2352
2414
|
* @virtual
|
|
2353
2415
|
*/
|
|
2354
2416
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -2358,6 +2420,7 @@ export namespace CloudProviders {
|
|
|
2358
2420
|
*
|
|
2359
2421
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2360
2422
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2423
|
+
* @since 2.30
|
|
2361
2424
|
* @virtual
|
|
2362
2425
|
*/
|
|
2363
2426
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -2403,6 +2466,7 @@ export namespace CloudProviders {
|
|
|
2403
2466
|
* instance.
|
|
2404
2467
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2405
2468
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2469
|
+
* @since 2.22
|
|
2406
2470
|
*/
|
|
2407
2471
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2408
2472
|
|
|
@@ -2446,6 +2510,7 @@ export namespace CloudProviders {
|
|
|
2446
2510
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2447
2511
|
* instance.
|
|
2448
2512
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2513
|
+
* @since 2.22
|
|
2449
2514
|
* @virtual
|
|
2450
2515
|
*/
|
|
2451
2516
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2512,6 +2577,7 @@ export namespace CloudProviders {
|
|
|
2512
2577
|
/**
|
|
2513
2578
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2514
2579
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2580
|
+
* @since 2.32
|
|
2515
2581
|
*/
|
|
2516
2582
|
get_object(): Gio.DBusObject | null;
|
|
2517
2583
|
|
|
@@ -2524,6 +2590,7 @@ export namespace CloudProviders {
|
|
|
2524
2590
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2525
2591
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2526
2592
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
2593
|
+
* @since 2.30
|
|
2527
2594
|
*/
|
|
2528
2595
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
2529
2596
|
|
|
@@ -2538,11 +2605,13 @@ export namespace CloudProviders {
|
|
|
2538
2605
|
*
|
|
2539
2606
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2540
2607
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2608
|
+
* @since 2.30
|
|
2541
2609
|
*/
|
|
2542
2610
|
set_object(object: Gio.DBusObject | null): void;
|
|
2543
2611
|
|
|
2544
2612
|
/**
|
|
2545
2613
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2614
|
+
* @since 2.32
|
|
2546
2615
|
* @virtual
|
|
2547
2616
|
*/
|
|
2548
2617
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -2555,6 +2624,7 @@ export namespace CloudProviders {
|
|
|
2555
2624
|
* construction of `interface_` and is also not made available otherwise.
|
|
2556
2625
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2557
2626
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2627
|
+
* @since 2.30
|
|
2558
2628
|
* @virtual
|
|
2559
2629
|
*/
|
|
2560
2630
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -2571,6 +2641,7 @@ export namespace CloudProviders {
|
|
|
2571
2641
|
*
|
|
2572
2642
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2573
2643
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2644
|
+
* @since 2.30
|
|
2574
2645
|
* @virtual
|
|
2575
2646
|
*/
|
|
2576
2647
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/cloudproviders-0.3",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for CloudProviders-0.3",
|
|
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.
|
|
35
|
-
"@girs/gio-2.0": "^4.
|
|
36
|
-
"@girs/gobject-2.0": "^4.
|
|
37
|
-
"@girs/glib-2.0": "^4.
|
|
38
|
-
"@girs/gmodule-2.0": "^4.
|
|
34
|
+
"@girs/gjs": "^4.4.0",
|
|
35
|
+
"@girs/gio-2.0": "^4.4.0",
|
|
36
|
+
"@girs/gobject-2.0": "^4.4.0",
|
|
37
|
+
"@girs/glib-2.0": "^4.4.0",
|
|
38
|
+
"@girs/gmodule-2.0": "^4.4.0" },
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "*"
|
|
41
41
|
},
|