@girs/cloudproviders-0.3 0.3.0-4.0.0-rc.15 → 0.3.0-4.0.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 +127 -143
- 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, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0
|
|
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.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/cloudproviders-0.3.d.ts
CHANGED
|
@@ -405,9 +405,7 @@ export namespace CloudProviders {
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
// Constructor properties interface
|
|
408
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
409
|
-
|
|
410
|
-
}
|
|
408
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
411
409
|
}
|
|
412
410
|
|
|
413
411
|
/**
|
|
@@ -483,9 +481,7 @@ export namespace CloudProviders {
|
|
|
483
481
|
}
|
|
484
482
|
|
|
485
483
|
// Constructor properties interface
|
|
486
|
-
interface ConstructorProps extends Gio.DBusProxy.ConstructorProps, DbusAccount.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusInterface.ConstructorProps, Gio.Initable.ConstructorProps {
|
|
487
|
-
|
|
488
|
-
}
|
|
484
|
+
interface ConstructorProps extends Gio.DBusProxy.ConstructorProps, DbusAccount.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusInterface.ConstructorProps, Gio.Initable.ConstructorProps {}
|
|
489
485
|
}
|
|
490
486
|
|
|
491
487
|
/**
|
|
@@ -516,12 +512,12 @@ export namespace CloudProviders {
|
|
|
516
512
|
|
|
517
513
|
static new_for_bus_finish(res: Gio.AsyncResult): DbusAccountProxy;
|
|
518
514
|
|
|
519
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable:
|
|
515
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy;
|
|
520
516
|
|
|
521
517
|
// Conflicted with Gio.DBusProxy.new_for_bus_sync
|
|
522
518
|
static new_for_bus_sync(...args: never[]): any;
|
|
523
519
|
|
|
524
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name:
|
|
520
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy;
|
|
525
521
|
|
|
526
522
|
// Conflicted with Gio.DBusProxy.new_sync
|
|
527
523
|
static new_sync(...args: never[]): any;
|
|
@@ -554,7 +550,7 @@ export namespace CloudProviders {
|
|
|
554
550
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
555
551
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
556
552
|
*/
|
|
557
|
-
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name:
|
|
553
|
+
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void;
|
|
558
554
|
|
|
559
555
|
/**
|
|
560
556
|
* @param args
|
|
@@ -576,7 +572,7 @@ export namespace CloudProviders {
|
|
|
576
572
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
577
573
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
578
574
|
*/
|
|
579
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable:
|
|
575
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void;
|
|
580
576
|
|
|
581
577
|
/**
|
|
582
578
|
* @param args
|
|
@@ -591,8 +587,8 @@ export namespace CloudProviders {
|
|
|
591
587
|
* @default null
|
|
592
588
|
* @category Inherited from CloudProviders.DbusAccount
|
|
593
589
|
*/
|
|
594
|
-
get icon():
|
|
595
|
-
set icon(val:
|
|
590
|
+
get icon(): string | null;
|
|
591
|
+
set icon(val: string | null);
|
|
596
592
|
|
|
597
593
|
/**
|
|
598
594
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Name">"Name"</link>.
|
|
@@ -601,8 +597,8 @@ export namespace CloudProviders {
|
|
|
601
597
|
* @default null
|
|
602
598
|
* @category Inherited from CloudProviders.DbusAccount
|
|
603
599
|
*/
|
|
604
|
-
get name():
|
|
605
|
-
set name(val:
|
|
600
|
+
get name(): string | null;
|
|
601
|
+
set name(val: string | null);
|
|
606
602
|
|
|
607
603
|
/**
|
|
608
604
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Path">"Path"</link>.
|
|
@@ -611,8 +607,8 @@ export namespace CloudProviders {
|
|
|
611
607
|
* @default null
|
|
612
608
|
* @category Inherited from CloudProviders.DbusAccount
|
|
613
609
|
*/
|
|
614
|
-
get path():
|
|
615
|
-
set path(val:
|
|
610
|
+
get path(): string | null;
|
|
611
|
+
set path(val: string | null);
|
|
616
612
|
|
|
617
613
|
/**
|
|
618
614
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Status">"Status"</link>.
|
|
@@ -631,8 +627,8 @@ export namespace CloudProviders {
|
|
|
631
627
|
* @default null
|
|
632
628
|
* @category Inherited from CloudProviders.DbusAccount
|
|
633
629
|
*/
|
|
634
|
-
get status_details():
|
|
635
|
-
set status_details(val:
|
|
630
|
+
get status_details(): string | null;
|
|
631
|
+
set status_details(val: string | null);
|
|
636
632
|
|
|
637
633
|
/**
|
|
638
634
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
@@ -641,8 +637,8 @@ export namespace CloudProviders {
|
|
|
641
637
|
* @default null
|
|
642
638
|
* @category Inherited from CloudProviders.DbusAccount
|
|
643
639
|
*/
|
|
644
|
-
get statusDetails():
|
|
645
|
-
set statusDetails(val:
|
|
640
|
+
get statusDetails(): string | null;
|
|
641
|
+
set statusDetails(val: string | null);
|
|
646
642
|
|
|
647
643
|
/**
|
|
648
644
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -684,7 +680,7 @@ export namespace CloudProviders {
|
|
|
684
680
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
685
681
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
686
682
|
*/
|
|
687
|
-
init_async(io_priority: number, cancellable:
|
|
683
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
688
684
|
|
|
689
685
|
/**
|
|
690
686
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -727,7 +723,7 @@ export namespace CloudProviders {
|
|
|
727
723
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
728
724
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
729
725
|
*/
|
|
730
|
-
init_async(io_priority: number, cancellable:
|
|
726
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
731
727
|
|
|
732
728
|
/**
|
|
733
729
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -770,7 +766,7 @@ export namespace CloudProviders {
|
|
|
770
766
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
771
767
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
772
768
|
*/
|
|
773
|
-
init_async(io_priority: number, cancellable:
|
|
769
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
774
770
|
|
|
775
771
|
/**
|
|
776
772
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -836,7 +832,7 @@ export namespace CloudProviders {
|
|
|
836
832
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
837
833
|
* @virtual
|
|
838
834
|
*/
|
|
839
|
-
vfunc_init_async(io_priority: number, cancellable:
|
|
835
|
+
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
840
836
|
|
|
841
837
|
/**
|
|
842
838
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -850,7 +846,7 @@ export namespace CloudProviders {
|
|
|
850
846
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
851
847
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
852
848
|
*/
|
|
853
|
-
get_object():
|
|
849
|
+
get_object(): Gio.DBusObject | null;
|
|
854
850
|
|
|
855
851
|
/**
|
|
856
852
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -865,13 +861,13 @@ export namespace CloudProviders {
|
|
|
865
861
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
866
862
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
867
863
|
*/
|
|
868
|
-
set_object(object:
|
|
864
|
+
set_object(object: Gio.DBusObject | null): void;
|
|
869
865
|
|
|
870
866
|
/**
|
|
871
867
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
872
868
|
* @virtual
|
|
873
869
|
*/
|
|
874
|
-
vfunc_dup_object():
|
|
870
|
+
vfunc_dup_object(): Gio.DBusObject | null;
|
|
875
871
|
|
|
876
872
|
/**
|
|
877
873
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -887,7 +883,7 @@ export namespace CloudProviders {
|
|
|
887
883
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
888
884
|
* @virtual
|
|
889
885
|
*/
|
|
890
|
-
vfunc_set_object(object:
|
|
886
|
+
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
891
887
|
|
|
892
888
|
/**
|
|
893
889
|
* Initializes the object implementing the interface.
|
|
@@ -931,7 +927,7 @@ export namespace CloudProviders {
|
|
|
931
927
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
932
928
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
933
929
|
*/
|
|
934
|
-
init(cancellable:
|
|
930
|
+
init(cancellable: Gio.Cancellable | null): boolean;
|
|
935
931
|
|
|
936
932
|
/**
|
|
937
933
|
* Initializes the object implementing the interface.
|
|
@@ -975,7 +971,7 @@ export namespace CloudProviders {
|
|
|
975
971
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
976
972
|
* @virtual
|
|
977
973
|
*/
|
|
978
|
-
vfunc_init(cancellable:
|
|
974
|
+
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
979
975
|
}
|
|
980
976
|
|
|
981
977
|
|
|
@@ -991,9 +987,7 @@ export namespace CloudProviders {
|
|
|
991
987
|
}
|
|
992
988
|
|
|
993
989
|
// Constructor properties interface
|
|
994
|
-
interface ConstructorProps extends Gio.DBusInterfaceSkeleton.ConstructorProps, DbusAccount.ConstructorProps, Gio.DBusInterface.ConstructorProps {
|
|
995
|
-
|
|
996
|
-
}
|
|
990
|
+
interface ConstructorProps extends Gio.DBusInterfaceSkeleton.ConstructorProps, DbusAccount.ConstructorProps, Gio.DBusInterface.ConstructorProps {}
|
|
997
991
|
}
|
|
998
992
|
|
|
999
993
|
/**
|
|
@@ -1039,8 +1033,8 @@ export namespace CloudProviders {
|
|
|
1039
1033
|
* @default null
|
|
1040
1034
|
* @category Inherited from CloudProviders.DbusAccount
|
|
1041
1035
|
*/
|
|
1042
|
-
get icon():
|
|
1043
|
-
set icon(val:
|
|
1036
|
+
get icon(): string | null;
|
|
1037
|
+
set icon(val: string | null);
|
|
1044
1038
|
|
|
1045
1039
|
/**
|
|
1046
1040
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Name">"Name"</link>.
|
|
@@ -1049,8 +1043,8 @@ export namespace CloudProviders {
|
|
|
1049
1043
|
* @default null
|
|
1050
1044
|
* @category Inherited from CloudProviders.DbusAccount
|
|
1051
1045
|
*/
|
|
1052
|
-
get name():
|
|
1053
|
-
set name(val:
|
|
1046
|
+
get name(): string | null;
|
|
1047
|
+
set name(val: string | null);
|
|
1054
1048
|
|
|
1055
1049
|
/**
|
|
1056
1050
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Path">"Path"</link>.
|
|
@@ -1059,8 +1053,8 @@ export namespace CloudProviders {
|
|
|
1059
1053
|
* @default null
|
|
1060
1054
|
* @category Inherited from CloudProviders.DbusAccount
|
|
1061
1055
|
*/
|
|
1062
|
-
get path():
|
|
1063
|
-
set path(val:
|
|
1056
|
+
get path(): string | null;
|
|
1057
|
+
set path(val: string | null);
|
|
1064
1058
|
|
|
1065
1059
|
/**
|
|
1066
1060
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Status">"Status"</link>.
|
|
@@ -1079,8 +1073,8 @@ export namespace CloudProviders {
|
|
|
1079
1073
|
* @default null
|
|
1080
1074
|
* @category Inherited from CloudProviders.DbusAccount
|
|
1081
1075
|
*/
|
|
1082
|
-
get status_details():
|
|
1083
|
-
set status_details(val:
|
|
1076
|
+
get status_details(): string | null;
|
|
1077
|
+
set status_details(val: string | null);
|
|
1084
1078
|
|
|
1085
1079
|
/**
|
|
1086
1080
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
@@ -1089,14 +1083,14 @@ export namespace CloudProviders {
|
|
|
1089
1083
|
* @default null
|
|
1090
1084
|
* @category Inherited from CloudProviders.DbusAccount
|
|
1091
1085
|
*/
|
|
1092
|
-
get statusDetails():
|
|
1093
|
-
set statusDetails(val:
|
|
1086
|
+
get statusDetails(): string | null;
|
|
1087
|
+
set statusDetails(val: string | null);
|
|
1094
1088
|
|
|
1095
1089
|
/**
|
|
1096
1090
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1097
1091
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
1098
1092
|
*/
|
|
1099
|
-
get_object():
|
|
1093
|
+
get_object(): Gio.DBusObject | null;
|
|
1100
1094
|
|
|
1101
1095
|
/**
|
|
1102
1096
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -1111,13 +1105,13 @@ export namespace CloudProviders {
|
|
|
1111
1105
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
1112
1106
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1113
1107
|
*/
|
|
1114
|
-
set_object(object:
|
|
1108
|
+
set_object(object: Gio.DBusObject | null): void;
|
|
1115
1109
|
|
|
1116
1110
|
/**
|
|
1117
1111
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1118
1112
|
* @virtual
|
|
1119
1113
|
*/
|
|
1120
|
-
vfunc_dup_object():
|
|
1114
|
+
vfunc_dup_object(): Gio.DBusObject | null;
|
|
1121
1115
|
|
|
1122
1116
|
/**
|
|
1123
1117
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -1133,7 +1127,7 @@ export namespace CloudProviders {
|
|
|
1133
1127
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1134
1128
|
* @virtual
|
|
1135
1129
|
*/
|
|
1136
|
-
vfunc_set_object(object:
|
|
1130
|
+
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
1137
1131
|
}
|
|
1138
1132
|
|
|
1139
1133
|
|
|
@@ -1152,9 +1146,7 @@ export namespace CloudProviders {
|
|
|
1152
1146
|
}
|
|
1153
1147
|
|
|
1154
1148
|
// Constructor properties interface
|
|
1155
|
-
interface ConstructorProps extends Gio.DBusObjectManagerClient.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusObjectManager.ConstructorProps, Gio.Initable.ConstructorProps {
|
|
1156
|
-
|
|
1157
|
-
}
|
|
1149
|
+
interface ConstructorProps extends Gio.DBusObjectManagerClient.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusObjectManager.ConstructorProps, Gio.Initable.ConstructorProps {}
|
|
1158
1150
|
}
|
|
1159
1151
|
|
|
1160
1152
|
/**
|
|
@@ -1185,12 +1177,12 @@ export namespace CloudProviders {
|
|
|
1185
1177
|
|
|
1186
1178
|
static new_for_bus_finish(res: Gio.AsyncResult): DbusObjectManagerClient;
|
|
1187
1179
|
|
|
1188
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable:
|
|
1180
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient;
|
|
1189
1181
|
|
|
1190
1182
|
// Conflicted with Gio.DBusObjectManagerClient.new_for_bus_sync
|
|
1191
1183
|
static new_for_bus_sync(...args: never[]): any;
|
|
1192
1184
|
|
|
1193
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name:
|
|
1185
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient;
|
|
1194
1186
|
|
|
1195
1187
|
// Conflicted with Gio.DBusObjectManagerClient.new_sync
|
|
1196
1188
|
static new_sync(...args: never[]): any;
|
|
@@ -1216,7 +1208,7 @@ export namespace CloudProviders {
|
|
|
1216
1208
|
* @param interface_name Interface name of the remote object or `null` to get the object proxy {@link GObject.GType}.
|
|
1217
1209
|
* @param user_data User data (unused).
|
|
1218
1210
|
*/
|
|
1219
|
-
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name:
|
|
1211
|
+
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name: string | null, user_data: null): GObject.GType;
|
|
1220
1212
|
|
|
1221
1213
|
/**
|
|
1222
1214
|
* Asynchronously creates {@link Gio.DBusObjectManagerClient} using `cloud_providers_dbus_object_manager_client_get_proxy_type()` as the {@link Gio.DBusProxyTypeFunc}. See `g_dbus_object_manager_client_new()` for more details.
|
|
@@ -1232,7 +1224,7 @@ export namespace CloudProviders {
|
|
|
1232
1224
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
1233
1225
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
1234
1226
|
*/
|
|
1235
|
-
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name:
|
|
1227
|
+
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void;
|
|
1236
1228
|
|
|
1237
1229
|
/**
|
|
1238
1230
|
* @param args
|
|
@@ -1254,7 +1246,7 @@ export namespace CloudProviders {
|
|
|
1254
1246
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
1255
1247
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
1256
1248
|
*/
|
|
1257
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable:
|
|
1249
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void;
|
|
1258
1250
|
|
|
1259
1251
|
/**
|
|
1260
1252
|
* @param args
|
|
@@ -1302,7 +1294,7 @@ export namespace CloudProviders {
|
|
|
1302
1294
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1303
1295
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1304
1296
|
*/
|
|
1305
|
-
init_async(io_priority: number, cancellable:
|
|
1297
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
1306
1298
|
|
|
1307
1299
|
/**
|
|
1308
1300
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -1345,7 +1337,7 @@ export namespace CloudProviders {
|
|
|
1345
1337
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1346
1338
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1347
1339
|
*/
|
|
1348
|
-
init_async(io_priority: number, cancellable:
|
|
1340
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
1349
1341
|
|
|
1350
1342
|
/**
|
|
1351
1343
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -1388,7 +1380,7 @@ export namespace CloudProviders {
|
|
|
1388
1380
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1389
1381
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1390
1382
|
*/
|
|
1391
|
-
init_async(io_priority: number, cancellable:
|
|
1383
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
1392
1384
|
|
|
1393
1385
|
/**
|
|
1394
1386
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -1454,7 +1446,7 @@ export namespace CloudProviders {
|
|
|
1454
1446
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1455
1447
|
* @virtual
|
|
1456
1448
|
*/
|
|
1457
|
-
vfunc_init_async(io_priority: number, cancellable:
|
|
1449
|
+
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
1458
1450
|
|
|
1459
1451
|
/**
|
|
1460
1452
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -1471,14 +1463,14 @@ export namespace CloudProviders {
|
|
|
1471
1463
|
* @param interface_name D-Bus interface name to look up.
|
|
1472
1464
|
* @returns A {@link Gio.DBusInterface} instance or `null`. Free with `g_object_unref()`.
|
|
1473
1465
|
*/
|
|
1474
|
-
get_interface(object_path: string, interface_name: string):
|
|
1466
|
+
get_interface(object_path: string, interface_name: string): Gio.DBusInterface | null;
|
|
1475
1467
|
|
|
1476
1468
|
/**
|
|
1477
1469
|
* Gets the {@link Gio.DBusObject} at `object_path`, if any.
|
|
1478
1470
|
* @param object_path Object path to look up.
|
|
1479
1471
|
* @returns A {@link Gio.DBusObject} or `null`. Free with `g_object_unref()`.
|
|
1480
1472
|
*/
|
|
1481
|
-
get_object(object_path: string):
|
|
1473
|
+
get_object(object_path: string): Gio.DBusObject | null;
|
|
1482
1474
|
|
|
1483
1475
|
/**
|
|
1484
1476
|
* Gets the object path that `manager` is for.
|
|
@@ -1499,14 +1491,14 @@ export namespace CloudProviders {
|
|
|
1499
1491
|
* @param interface_name D-Bus interface name to look up.
|
|
1500
1492
|
* @virtual
|
|
1501
1493
|
*/
|
|
1502
|
-
vfunc_get_interface(object_path: string, interface_name: string):
|
|
1494
|
+
vfunc_get_interface(object_path: string, interface_name: string): Gio.DBusInterface | null;
|
|
1503
1495
|
|
|
1504
1496
|
/**
|
|
1505
1497
|
* Gets the {@link Gio.DBusObject} at `object_path`, if any.
|
|
1506
1498
|
* @param object_path Object path to look up.
|
|
1507
1499
|
* @virtual
|
|
1508
1500
|
*/
|
|
1509
|
-
vfunc_get_object(object_path: string):
|
|
1501
|
+
vfunc_get_object(object_path: string): Gio.DBusObject | null;
|
|
1510
1502
|
|
|
1511
1503
|
/**
|
|
1512
1504
|
* Gets the object path that `manager` is for.
|
|
@@ -1592,7 +1584,7 @@ export namespace CloudProviders {
|
|
|
1592
1584
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1593
1585
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
1594
1586
|
*/
|
|
1595
|
-
init(cancellable:
|
|
1587
|
+
init(cancellable: Gio.Cancellable | null): boolean;
|
|
1596
1588
|
|
|
1597
1589
|
/**
|
|
1598
1590
|
* Initializes the object implementing the interface.
|
|
@@ -1636,7 +1628,7 @@ export namespace CloudProviders {
|
|
|
1636
1628
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1637
1629
|
* @virtual
|
|
1638
1630
|
*/
|
|
1639
|
-
vfunc_init(cancellable:
|
|
1631
|
+
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
1640
1632
|
}
|
|
1641
1633
|
|
|
1642
1634
|
|
|
@@ -1650,9 +1642,7 @@ export namespace CloudProviders {
|
|
|
1650
1642
|
}
|
|
1651
1643
|
|
|
1652
1644
|
// Constructor properties interface
|
|
1653
|
-
interface ConstructorProps extends Gio.DBusObjectProxy.ConstructorProps, DbusObject.ConstructorProps, Gio.DBusObject.ConstructorProps {
|
|
1654
|
-
|
|
1655
|
-
}
|
|
1645
|
+
interface ConstructorProps extends Gio.DBusObjectProxy.ConstructorProps, DbusObject.ConstructorProps, Gio.DBusObject.ConstructorProps {}
|
|
1656
1646
|
}
|
|
1657
1647
|
|
|
1658
1648
|
/**
|
|
@@ -1697,8 +1687,8 @@ export namespace CloudProviders {
|
|
|
1697
1687
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
1698
1688
|
* @category Inherited from CloudProviders.DbusObject
|
|
1699
1689
|
*/
|
|
1700
|
-
get account():
|
|
1701
|
-
set account(val:
|
|
1690
|
+
get account(): DbusAccount | null;
|
|
1691
|
+
set account(val: DbusAccount | null);
|
|
1702
1692
|
|
|
1703
1693
|
/**
|
|
1704
1694
|
* The {@link CloudProviders.DbusProvider} instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>, if any.
|
|
@@ -1706,20 +1696,20 @@ export namespace CloudProviders {
|
|
|
1706
1696
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
1707
1697
|
* @category Inherited from CloudProviders.DbusObject
|
|
1708
1698
|
*/
|
|
1709
|
-
get provider():
|
|
1710
|
-
set provider(val:
|
|
1699
|
+
get provider(): DbusProvider | null;
|
|
1700
|
+
set provider(val: DbusProvider | null);
|
|
1711
1701
|
|
|
1712
1702
|
/**
|
|
1713
1703
|
* Gets the {@link CloudProviders.DbusAccount} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object`, if any.
|
|
1714
1704
|
* @returns A {@link CloudProviders.DbusAccount} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
1715
1705
|
*/
|
|
1716
|
-
get_account():
|
|
1706
|
+
get_account(): DbusAccount | null;
|
|
1717
1707
|
|
|
1718
1708
|
/**
|
|
1719
1709
|
* Gets the {@link CloudProviders.DbusProvider} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object`, if any.
|
|
1720
1710
|
* @returns A {@link CloudProviders.DbusProvider} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
1721
1711
|
*/
|
|
1722
|
-
get_provider():
|
|
1712
|
+
get_provider(): DbusProvider | null;
|
|
1723
1713
|
|
|
1724
1714
|
/**
|
|
1725
1715
|
* Gets the D-Bus interface with name `interface_name` associated with
|
|
@@ -1727,7 +1717,7 @@ export namespace CloudProviders {
|
|
|
1727
1717
|
* @param interface_name A D-Bus interface name.
|
|
1728
1718
|
* @returns `null` if not found, otherwise a {@link Gio.DBusInterface} that must be freed with `g_object_unref()`.
|
|
1729
1719
|
*/
|
|
1730
|
-
get_interface(interface_name: string):
|
|
1720
|
+
get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1731
1721
|
|
|
1732
1722
|
/**
|
|
1733
1723
|
* Gets the D-Bus interfaces associated with `object`.
|
|
@@ -1747,7 +1737,7 @@ export namespace CloudProviders {
|
|
|
1747
1737
|
* @param interface_name A D-Bus interface name.
|
|
1748
1738
|
* @virtual
|
|
1749
1739
|
*/
|
|
1750
|
-
vfunc_get_interface(interface_name: string):
|
|
1740
|
+
vfunc_get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1751
1741
|
|
|
1752
1742
|
/**
|
|
1753
1743
|
* Gets the D-Bus interfaces associated with `object`.
|
|
@@ -1786,9 +1776,7 @@ export namespace CloudProviders {
|
|
|
1786
1776
|
}
|
|
1787
1777
|
|
|
1788
1778
|
// Constructor properties interface
|
|
1789
|
-
interface ConstructorProps extends Gio.DBusObjectSkeleton.ConstructorProps, DbusObject.ConstructorProps, Gio.DBusObject.ConstructorProps {
|
|
1790
|
-
|
|
1791
|
-
}
|
|
1779
|
+
interface ConstructorProps extends Gio.DBusObjectSkeleton.ConstructorProps, DbusObject.ConstructorProps, Gio.DBusObject.ConstructorProps {}
|
|
1792
1780
|
}
|
|
1793
1781
|
|
|
1794
1782
|
/**
|
|
@@ -1832,13 +1820,13 @@ export namespace CloudProviders {
|
|
|
1832
1820
|
* Sets the {@link CloudProviders.DbusAccount} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object`.
|
|
1833
1821
|
* @param interface_ A {@link CloudProviders.DbusAccount} or `null` to clear the interface.
|
|
1834
1822
|
*/
|
|
1835
|
-
set_account(interface_:
|
|
1823
|
+
set_account(interface_: DbusAccount | null): void;
|
|
1836
1824
|
|
|
1837
1825
|
/**
|
|
1838
1826
|
* Sets the {@link CloudProviders.DbusProvider} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object`.
|
|
1839
1827
|
* @param interface_ A {@link CloudProviders.DbusProvider} or `null` to clear the interface.
|
|
1840
1828
|
*/
|
|
1841
|
-
set_provider(interface_:
|
|
1829
|
+
set_provider(interface_: DbusProvider | null): void;
|
|
1842
1830
|
|
|
1843
1831
|
/**
|
|
1844
1832
|
* The {@link CloudProviders.DbusAccount} instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>, if any.
|
|
@@ -1846,8 +1834,8 @@ export namespace CloudProviders {
|
|
|
1846
1834
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
1847
1835
|
* @category Inherited from CloudProviders.DbusObject
|
|
1848
1836
|
*/
|
|
1849
|
-
get account():
|
|
1850
|
-
set account(val:
|
|
1837
|
+
get account(): DbusAccount | null;
|
|
1838
|
+
set account(val: DbusAccount | null);
|
|
1851
1839
|
|
|
1852
1840
|
/**
|
|
1853
1841
|
* The {@link CloudProviders.DbusProvider} instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>, if any.
|
|
@@ -1855,20 +1843,20 @@ export namespace CloudProviders {
|
|
|
1855
1843
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
1856
1844
|
* @category Inherited from CloudProviders.DbusObject
|
|
1857
1845
|
*/
|
|
1858
|
-
get provider():
|
|
1859
|
-
set provider(val:
|
|
1846
|
+
get provider(): DbusProvider | null;
|
|
1847
|
+
set provider(val: DbusProvider | null);
|
|
1860
1848
|
|
|
1861
1849
|
/**
|
|
1862
1850
|
* Gets the {@link CloudProviders.DbusAccount} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object`, if any.
|
|
1863
1851
|
* @returns A {@link CloudProviders.DbusAccount} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
1864
1852
|
*/
|
|
1865
|
-
get_account():
|
|
1853
|
+
get_account(): DbusAccount | null;
|
|
1866
1854
|
|
|
1867
1855
|
/**
|
|
1868
1856
|
* Gets the {@link CloudProviders.DbusProvider} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object`, if any.
|
|
1869
1857
|
* @returns A {@link CloudProviders.DbusProvider} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
1870
1858
|
*/
|
|
1871
|
-
get_provider():
|
|
1859
|
+
get_provider(): DbusProvider | null;
|
|
1872
1860
|
|
|
1873
1861
|
/**
|
|
1874
1862
|
* Gets the D-Bus interface with name `interface_name` associated with
|
|
@@ -1876,7 +1864,7 @@ export namespace CloudProviders {
|
|
|
1876
1864
|
* @param interface_name A D-Bus interface name.
|
|
1877
1865
|
* @returns `null` if not found, otherwise a {@link Gio.DBusInterface} that must be freed with `g_object_unref()`.
|
|
1878
1866
|
*/
|
|
1879
|
-
get_interface(interface_name: string):
|
|
1867
|
+
get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1880
1868
|
|
|
1881
1869
|
/**
|
|
1882
1870
|
* Gets the D-Bus interfaces associated with `object`.
|
|
@@ -1896,7 +1884,7 @@ export namespace CloudProviders {
|
|
|
1896
1884
|
* @param interface_name A D-Bus interface name.
|
|
1897
1885
|
* @virtual
|
|
1898
1886
|
*/
|
|
1899
|
-
vfunc_get_interface(interface_name: string):
|
|
1887
|
+
vfunc_get_interface(interface_name: string): Gio.DBusInterface | null;
|
|
1900
1888
|
|
|
1901
1889
|
/**
|
|
1902
1890
|
* Gets the D-Bus interfaces associated with `object`.
|
|
@@ -1942,9 +1930,7 @@ export namespace CloudProviders {
|
|
|
1942
1930
|
}
|
|
1943
1931
|
|
|
1944
1932
|
// Constructor properties interface
|
|
1945
|
-
interface ConstructorProps extends Gio.DBusProxy.ConstructorProps, DbusProvider.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusInterface.ConstructorProps, Gio.Initable.ConstructorProps {
|
|
1946
|
-
|
|
1947
|
-
}
|
|
1933
|
+
interface ConstructorProps extends Gio.DBusProxy.ConstructorProps, DbusProvider.ConstructorProps, Gio.AsyncInitable.ConstructorProps, Gio.DBusInterface.ConstructorProps, Gio.Initable.ConstructorProps {}
|
|
1948
1934
|
}
|
|
1949
1935
|
|
|
1950
1936
|
/**
|
|
@@ -1975,12 +1961,12 @@ export namespace CloudProviders {
|
|
|
1975
1961
|
|
|
1976
1962
|
static new_for_bus_finish(res: Gio.AsyncResult): DbusProviderProxy;
|
|
1977
1963
|
|
|
1978
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable:
|
|
1964
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy;
|
|
1979
1965
|
|
|
1980
1966
|
// Conflicted with Gio.DBusProxy.new_for_bus_sync
|
|
1981
1967
|
static new_for_bus_sync(...args: never[]): any;
|
|
1982
1968
|
|
|
1983
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name:
|
|
1969
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy;
|
|
1984
1970
|
|
|
1985
1971
|
// Conflicted with Gio.DBusProxy.new_sync
|
|
1986
1972
|
static new_sync(...args: never[]): any;
|
|
@@ -2013,7 +1999,7 @@ export namespace CloudProviders {
|
|
|
2013
1999
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
2014
2000
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
2015
2001
|
*/
|
|
2016
|
-
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name:
|
|
2002
|
+
static ["new"](connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void;
|
|
2017
2003
|
|
|
2018
2004
|
/**
|
|
2019
2005
|
* @param args
|
|
@@ -2035,7 +2021,7 @@ export namespace CloudProviders {
|
|
|
2035
2021
|
* @param cancellable A {@link Gio.Cancellable} or `null`.
|
|
2036
2022
|
* @param callback A {@link Gio.AsyncReadyCallback} to call when the request is satisfied.
|
|
2037
2023
|
*/
|
|
2038
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable:
|
|
2024
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void;
|
|
2039
2025
|
|
|
2040
2026
|
/**
|
|
2041
2027
|
* @param args
|
|
@@ -2050,8 +2036,8 @@ export namespace CloudProviders {
|
|
|
2050
2036
|
* @default null
|
|
2051
2037
|
* @category Inherited from CloudProviders.DbusProvider
|
|
2052
2038
|
*/
|
|
2053
|
-
get name():
|
|
2054
|
-
set name(val:
|
|
2039
|
+
get name(): string | null;
|
|
2040
|
+
set name(val: string | null);
|
|
2055
2041
|
|
|
2056
2042
|
/**
|
|
2057
2043
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -2093,7 +2079,7 @@ export namespace CloudProviders {
|
|
|
2093
2079
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2094
2080
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2095
2081
|
*/
|
|
2096
|
-
init_async(io_priority: number, cancellable:
|
|
2082
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
2097
2083
|
|
|
2098
2084
|
/**
|
|
2099
2085
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -2136,7 +2122,7 @@ export namespace CloudProviders {
|
|
|
2136
2122
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2137
2123
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2138
2124
|
*/
|
|
2139
|
-
init_async(io_priority: number, cancellable:
|
|
2125
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
2140
2126
|
|
|
2141
2127
|
/**
|
|
2142
2128
|
* Starts asynchronous initialization of the object implementing the
|
|
@@ -2179,7 +2165,7 @@ export namespace CloudProviders {
|
|
|
2179
2165
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2180
2166
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2181
2167
|
*/
|
|
2182
|
-
init_async(io_priority: number, cancellable:
|
|
2168
|
+
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
2183
2169
|
|
|
2184
2170
|
/**
|
|
2185
2171
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -2245,7 +2231,7 @@ export namespace CloudProviders {
|
|
|
2245
2231
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2246
2232
|
* @virtual
|
|
2247
2233
|
*/
|
|
2248
|
-
vfunc_init_async(io_priority: number, cancellable:
|
|
2234
|
+
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
2249
2235
|
|
|
2250
2236
|
/**
|
|
2251
2237
|
* Finishes asynchronous initialization and returns the result.
|
|
@@ -2259,7 +2245,7 @@ export namespace CloudProviders {
|
|
|
2259
2245
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2260
2246
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2261
2247
|
*/
|
|
2262
|
-
get_object():
|
|
2248
|
+
get_object(): Gio.DBusObject | null;
|
|
2263
2249
|
|
|
2264
2250
|
/**
|
|
2265
2251
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -2274,13 +2260,13 @@ export namespace CloudProviders {
|
|
|
2274
2260
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2275
2261
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2276
2262
|
*/
|
|
2277
|
-
set_object(object:
|
|
2263
|
+
set_object(object: Gio.DBusObject | null): void;
|
|
2278
2264
|
|
|
2279
2265
|
/**
|
|
2280
2266
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2281
2267
|
* @virtual
|
|
2282
2268
|
*/
|
|
2283
|
-
vfunc_dup_object():
|
|
2269
|
+
vfunc_dup_object(): Gio.DBusObject | null;
|
|
2284
2270
|
|
|
2285
2271
|
/**
|
|
2286
2272
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -2296,7 +2282,7 @@ export namespace CloudProviders {
|
|
|
2296
2282
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2297
2283
|
* @virtual
|
|
2298
2284
|
*/
|
|
2299
|
-
vfunc_set_object(object:
|
|
2285
|
+
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
2300
2286
|
|
|
2301
2287
|
/**
|
|
2302
2288
|
* Initializes the object implementing the interface.
|
|
@@ -2340,7 +2326,7 @@ export namespace CloudProviders {
|
|
|
2340
2326
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2341
2327
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2342
2328
|
*/
|
|
2343
|
-
init(cancellable:
|
|
2329
|
+
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2344
2330
|
|
|
2345
2331
|
/**
|
|
2346
2332
|
* Initializes the object implementing the interface.
|
|
@@ -2384,7 +2370,7 @@ export namespace CloudProviders {
|
|
|
2384
2370
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2385
2371
|
* @virtual
|
|
2386
2372
|
*/
|
|
2387
|
-
vfunc_init(cancellable:
|
|
2373
|
+
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
2388
2374
|
}
|
|
2389
2375
|
|
|
2390
2376
|
|
|
@@ -2396,9 +2382,7 @@ export namespace CloudProviders {
|
|
|
2396
2382
|
}
|
|
2397
2383
|
|
|
2398
2384
|
// Constructor properties interface
|
|
2399
|
-
interface ConstructorProps extends Gio.DBusInterfaceSkeleton.ConstructorProps, DbusProvider.ConstructorProps, Gio.DBusInterface.ConstructorProps {
|
|
2400
|
-
|
|
2401
|
-
}
|
|
2385
|
+
interface ConstructorProps extends Gio.DBusInterfaceSkeleton.ConstructorProps, DbusProvider.ConstructorProps, Gio.DBusInterface.ConstructorProps {}
|
|
2402
2386
|
}
|
|
2403
2387
|
|
|
2404
2388
|
/**
|
|
@@ -2444,14 +2428,14 @@ export namespace CloudProviders {
|
|
|
2444
2428
|
* @default null
|
|
2445
2429
|
* @category Inherited from CloudProviders.DbusProvider
|
|
2446
2430
|
*/
|
|
2447
|
-
get name():
|
|
2448
|
-
set name(val:
|
|
2431
|
+
get name(): string | null;
|
|
2432
|
+
set name(val: string | null);
|
|
2449
2433
|
|
|
2450
2434
|
/**
|
|
2451
2435
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2452
2436
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2453
2437
|
*/
|
|
2454
|
-
get_object():
|
|
2438
|
+
get_object(): Gio.DBusObject | null;
|
|
2455
2439
|
|
|
2456
2440
|
/**
|
|
2457
2441
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -2466,13 +2450,13 @@ export namespace CloudProviders {
|
|
|
2466
2450
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2467
2451
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2468
2452
|
*/
|
|
2469
|
-
set_object(object:
|
|
2453
|
+
set_object(object: Gio.DBusObject | null): void;
|
|
2470
2454
|
|
|
2471
2455
|
/**
|
|
2472
2456
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2473
2457
|
* @virtual
|
|
2474
2458
|
*/
|
|
2475
|
-
vfunc_dup_object():
|
|
2459
|
+
vfunc_dup_object(): Gio.DBusObject | null;
|
|
2476
2460
|
|
|
2477
2461
|
/**
|
|
2478
2462
|
* Gets D-Bus introspection information for the D-Bus interface
|
|
@@ -2488,7 +2472,7 @@ export namespace CloudProviders {
|
|
|
2488
2472
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2489
2473
|
* @virtual
|
|
2490
2474
|
*/
|
|
2491
|
-
vfunc_set_object(object:
|
|
2475
|
+
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
2492
2476
|
}
|
|
2493
2477
|
|
|
2494
2478
|
|
|
@@ -2847,12 +2831,12 @@ export namespace CloudProviders {
|
|
|
2847
2831
|
|
|
2848
2832
|
// Constructor properties interface
|
|
2849
2833
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
2850
|
-
icon:
|
|
2851
|
-
name:
|
|
2852
|
-
path:
|
|
2834
|
+
icon: string | null;
|
|
2835
|
+
name: string | null;
|
|
2836
|
+
path: string | null;
|
|
2853
2837
|
status: number;
|
|
2854
|
-
status_details:
|
|
2855
|
-
statusDetails:
|
|
2838
|
+
status_details: string | null;
|
|
2839
|
+
statusDetails: string | null;
|
|
2856
2840
|
}
|
|
2857
2841
|
}
|
|
2858
2842
|
|
|
@@ -2884,8 +2868,8 @@ export namespace CloudProviders {
|
|
|
2884
2868
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
2885
2869
|
* @default null
|
|
2886
2870
|
*/
|
|
2887
|
-
get icon():
|
|
2888
|
-
set icon(val:
|
|
2871
|
+
get icon(): string | null;
|
|
2872
|
+
set icon(val: string | null);
|
|
2889
2873
|
|
|
2890
2874
|
/**
|
|
2891
2875
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Name">"Name"</link>.
|
|
@@ -2893,8 +2877,8 @@ export namespace CloudProviders {
|
|
|
2893
2877
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
2894
2878
|
* @default null
|
|
2895
2879
|
*/
|
|
2896
|
-
get name():
|
|
2897
|
-
set name(val:
|
|
2880
|
+
get name(): string | null;
|
|
2881
|
+
set name(val: string | null);
|
|
2898
2882
|
|
|
2899
2883
|
/**
|
|
2900
2884
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Path">"Path"</link>.
|
|
@@ -2902,8 +2886,8 @@ export namespace CloudProviders {
|
|
|
2902
2886
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
2903
2887
|
* @default null
|
|
2904
2888
|
*/
|
|
2905
|
-
get path():
|
|
2906
|
-
set path(val:
|
|
2889
|
+
get path(): string | null;
|
|
2890
|
+
set path(val: string | null);
|
|
2907
2891
|
|
|
2908
2892
|
/**
|
|
2909
2893
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Status">"Status"</link>.
|
|
@@ -2920,8 +2904,8 @@ export namespace CloudProviders {
|
|
|
2920
2904
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
2921
2905
|
* @default null
|
|
2922
2906
|
*/
|
|
2923
|
-
get status_details():
|
|
2924
|
-
set status_details(val:
|
|
2907
|
+
get status_details(): string | null;
|
|
2908
|
+
set status_details(val: string | null);
|
|
2925
2909
|
|
|
2926
2910
|
/**
|
|
2927
2911
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
@@ -2929,8 +2913,8 @@ export namespace CloudProviders {
|
|
|
2929
2913
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
2930
2914
|
* @default null
|
|
2931
2915
|
*/
|
|
2932
|
-
get statusDetails():
|
|
2933
|
-
set statusDetails(val:
|
|
2916
|
+
get statusDetails(): string | null;
|
|
2917
|
+
set statusDetails(val: string | null);
|
|
2934
2918
|
}
|
|
2935
2919
|
|
|
2936
2920
|
|
|
@@ -2942,8 +2926,8 @@ export namespace CloudProviders {
|
|
|
2942
2926
|
|
|
2943
2927
|
// Constructor properties interface
|
|
2944
2928
|
interface ConstructorProps extends Gio.DBusObject.ConstructorProps {
|
|
2945
|
-
account:
|
|
2946
|
-
provider:
|
|
2929
|
+
account: DbusAccount | null;
|
|
2930
|
+
provider: DbusProvider | null;
|
|
2947
2931
|
}
|
|
2948
2932
|
}
|
|
2949
2933
|
|
|
@@ -2963,29 +2947,29 @@ export namespace CloudProviders {
|
|
|
2963
2947
|
*
|
|
2964
2948
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
2965
2949
|
*/
|
|
2966
|
-
get account():
|
|
2967
|
-
set account(val:
|
|
2950
|
+
get account(): DbusAccount | null;
|
|
2951
|
+
set account(val: DbusAccount | null);
|
|
2968
2952
|
|
|
2969
2953
|
/**
|
|
2970
2954
|
* The {@link CloudProviders.DbusProvider} instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>, if any.
|
|
2971
2955
|
*
|
|
2972
2956
|
* Connect to the {@link GObject.Object.SignalSignatures.notify | GObject.Object::notify} signal to get informed of property changes.
|
|
2973
2957
|
*/
|
|
2974
|
-
get provider():
|
|
2975
|
-
set provider(val:
|
|
2958
|
+
get provider(): DbusProvider | null;
|
|
2959
|
+
set provider(val: DbusProvider | null);
|
|
2976
2960
|
|
|
2977
2961
|
// Methods
|
|
2978
2962
|
/**
|
|
2979
2963
|
* Gets the {@link CloudProviders.DbusAccount} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object`, if any.
|
|
2980
2964
|
* @returns A {@link CloudProviders.DbusAccount} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
2981
2965
|
*/
|
|
2982
|
-
get_account():
|
|
2966
|
+
get_account(): DbusAccount | null;
|
|
2983
2967
|
|
|
2984
2968
|
/**
|
|
2985
2969
|
* Gets the {@link CloudProviders.DbusProvider} instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object`, if any.
|
|
2986
2970
|
* @returns A {@link CloudProviders.DbusProvider} that must be freed with `g_object_unref()` or `null` if `object` does not implement the interface.
|
|
2987
2971
|
*/
|
|
2988
|
-
get_provider():
|
|
2972
|
+
get_provider(): DbusProvider | null;
|
|
2989
2973
|
}
|
|
2990
2974
|
|
|
2991
2975
|
|
|
@@ -2997,7 +2981,7 @@ export namespace CloudProviders {
|
|
|
2997
2981
|
|
|
2998
2982
|
// Constructor properties interface
|
|
2999
2983
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
3000
|
-
name:
|
|
2984
|
+
name: string | null;
|
|
3001
2985
|
}
|
|
3002
2986
|
}
|
|
3003
2987
|
|
|
@@ -3029,8 +3013,8 @@ export namespace CloudProviders {
|
|
|
3029
3013
|
* Since the D-Bus property for this {@link GObject.Object} property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
|
|
3030
3014
|
* @default null
|
|
3031
3015
|
*/
|
|
3032
|
-
get name():
|
|
3033
|
-
set name(val:
|
|
3016
|
+
get name(): string | null;
|
|
3017
|
+
set name(val: string | null);
|
|
3034
3018
|
}
|
|
3035
3019
|
|
|
3036
3020
|
|
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
|
|
3
|
+
"version": "0.3.0-4.0.0",
|
|
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
|
|
35
|
-
"@girs/gio-2.0": "2.88.0-4.0.0
|
|
36
|
-
"@girs/gobject-2.0": "2.88.0-4.0.0
|
|
37
|
-
"@girs/glib-2.0": "2.88.0-4.0.0
|
|
38
|
-
"@girs/gmodule-2.0": "2.0.0-4.0.0
|
|
34
|
+
"@girs/gjs": "4.0.0",
|
|
35
|
+
"@girs/gio-2.0": "2.88.0-4.0.0",
|
|
36
|
+
"@girs/gobject-2.0": "2.88.0-4.0.0",
|
|
37
|
+
"@girs/glib-2.0": "2.88.0-4.0.0",
|
|
38
|
+
"@girs/gmodule-2.0": "2.0.0-4.0.0" },
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "*"
|
|
41
41
|
},
|