@girs/cloudproviders-0.3 0.3.0-3.2.6 → 0.3.0-3.2.8
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.js +2 -0
- package/cloudproviders-0.3-import.js +3 -0
- package/cloudproviders-0.3.d.cts +52 -79
- package/cloudproviders-0.3.d.ts +52 -79
- package/package.json +14 -8
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) v3.2.
|
|
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) v3.2.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/cloudproviders-0.3.d.cts
CHANGED
|
@@ -22,8 +22,8 @@ export enum AccountStatus {
|
|
|
22
22
|
SYNCING,
|
|
23
23
|
ERROR,
|
|
24
24
|
}
|
|
25
|
-
export const ACCOUNT_DBUS_IFACE: string
|
|
26
|
-
export const PROVIDER_DBUS_IFACE: string
|
|
25
|
+
export const ACCOUNT_DBUS_IFACE: string
|
|
26
|
+
export const PROVIDER_DBUS_IFACE: string
|
|
27
27
|
/**
|
|
28
28
|
* Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> D-Bus interface.
|
|
29
29
|
* @returns A #GDBusInterfaceInfo. Do not free.
|
|
@@ -82,12 +82,6 @@ export module DbusAccount {
|
|
|
82
82
|
* Since the D-Bus property for this #GObject 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.
|
|
83
83
|
*/
|
|
84
84
|
status?: number | null
|
|
85
|
-
/**
|
|
86
|
-
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
87
|
-
*
|
|
88
|
-
* Since the D-Bus property for this #GObject 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.
|
|
89
|
-
*/
|
|
90
|
-
status_details?: string | null
|
|
91
85
|
/**
|
|
92
86
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
93
87
|
*
|
|
@@ -126,12 +120,6 @@ export interface DbusAccount {
|
|
|
126
120
|
* Since the D-Bus property for this #GObject 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.
|
|
127
121
|
*/
|
|
128
122
|
status: number
|
|
129
|
-
/**
|
|
130
|
-
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
131
|
-
*
|
|
132
|
-
* Since the D-Bus property for this #GObject 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.
|
|
133
|
-
*/
|
|
134
|
-
status_details: string | null
|
|
135
123
|
/**
|
|
136
124
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
137
125
|
*
|
|
@@ -360,14 +348,11 @@ export interface Account {
|
|
|
360
348
|
|
|
361
349
|
// Own properties of CloudProviders-0.3.CloudProviders.Account
|
|
362
350
|
|
|
363
|
-
readonly action_group: Gio.ActionGroup
|
|
364
351
|
readonly actionGroup: Gio.ActionGroup
|
|
365
352
|
readonly icon: Gio.Icon
|
|
366
|
-
readonly menu_model: Gio.MenuModel
|
|
367
353
|
readonly menuModel: Gio.MenuModel
|
|
368
354
|
readonly name: string | null
|
|
369
355
|
readonly path: string | null
|
|
370
|
-
readonly status_details: string | null
|
|
371
356
|
readonly statusDetails: string | null
|
|
372
357
|
|
|
373
358
|
// Owm methods of CloudProviders-0.3.CloudProviders.Account
|
|
@@ -392,12 +377,12 @@ export interface Account {
|
|
|
392
377
|
* Get the name of the account
|
|
393
378
|
* @returns The name of the cloud provider account
|
|
394
379
|
*/
|
|
395
|
-
get_name(): string
|
|
380
|
+
get_name(): string
|
|
396
381
|
/**
|
|
397
382
|
* Get the directory path of the account
|
|
398
383
|
* @returns The directory path of the cloud provider account
|
|
399
384
|
*/
|
|
400
|
-
get_path(): string
|
|
385
|
+
get_path(): string
|
|
401
386
|
/**
|
|
402
387
|
* Get the status of the account
|
|
403
388
|
* @returns The status of the cloud provider account
|
|
@@ -407,7 +392,7 @@ export interface Account {
|
|
|
407
392
|
* Get the status details of the account
|
|
408
393
|
* @returns The status detail description of the cloud provider account
|
|
409
394
|
*/
|
|
410
|
-
get_status_details(): string
|
|
395
|
+
get_status_details(): string
|
|
411
396
|
|
|
412
397
|
// Class property signals of CloudProviders-0.3.CloudProviders.Account
|
|
413
398
|
|
|
@@ -477,17 +462,13 @@ export module AccountExporter {
|
|
|
477
462
|
|
|
478
463
|
// Own constructor properties of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
479
464
|
|
|
480
|
-
|
|
481
|
-
|
|
465
|
+
actionGroup?: Gio.ActionGroup | null
|
|
466
|
+
busName?: string | null
|
|
482
467
|
icon?: Gio.Icon | null
|
|
483
|
-
|
|
468
|
+
menuModel?: Gio.MenuModel | null
|
|
484
469
|
name?: string | null
|
|
485
470
|
path?: string | null
|
|
486
471
|
provider?: ProviderExporter | null
|
|
487
|
-
status_details?: string | null
|
|
488
|
-
actionGroup?: Gio.ActionGroup | null
|
|
489
|
-
busName?: string | null
|
|
490
|
-
menuModel?: Gio.MenuModel | null
|
|
491
472
|
statusDetails?: string | null
|
|
492
473
|
}
|
|
493
474
|
|
|
@@ -497,17 +478,13 @@ export interface AccountExporter {
|
|
|
497
478
|
|
|
498
479
|
// Own properties of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
499
480
|
|
|
500
|
-
action_group: Gio.ActionGroup
|
|
501
481
|
actionGroup: Gio.ActionGroup
|
|
502
|
-
readonly bus_name: string | null
|
|
503
482
|
readonly busName: string | null
|
|
504
483
|
icon: Gio.Icon
|
|
505
|
-
menu_model: Gio.MenuModel
|
|
506
484
|
menuModel: Gio.MenuModel
|
|
507
485
|
name: string | null
|
|
508
486
|
path: string | null
|
|
509
487
|
readonly provider: ProviderExporter
|
|
510
|
-
status_details: string | null
|
|
511
488
|
statusDetails: string | null
|
|
512
489
|
|
|
513
490
|
// Owm methods of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
@@ -527,10 +504,10 @@ export interface AccountExporter {
|
|
|
527
504
|
* @param menu_model The menu model to export
|
|
528
505
|
*/
|
|
529
506
|
set_menu_model(menu_model: Gio.MenuModel): void
|
|
530
|
-
set_name(name: string
|
|
531
|
-
set_path(path: string
|
|
507
|
+
set_name(name: string): void
|
|
508
|
+
set_path(path: string): void
|
|
532
509
|
set_status(status: AccountStatus): void
|
|
533
|
-
set_status_details(status_details: string
|
|
510
|
+
set_status_details(status_details: string): void
|
|
534
511
|
|
|
535
512
|
// Class property signals of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
536
513
|
|
|
@@ -580,14 +557,14 @@ export class AccountExporter extends GObject.Object {
|
|
|
580
557
|
* @param provider The provider to which it will be associated.
|
|
581
558
|
* @param bus_name A unique name for the account must be a valid DBus object name
|
|
582
559
|
*/
|
|
583
|
-
constructor(provider: ProviderExporter, bus_name: string
|
|
560
|
+
constructor(provider: ProviderExporter, bus_name: string)
|
|
584
561
|
/**
|
|
585
562
|
* Create a new #CloudProvidersAccountExporter object
|
|
586
563
|
* @constructor
|
|
587
564
|
* @param provider The provider to which it will be associated.
|
|
588
565
|
* @param bus_name A unique name for the account must be a valid DBus object name
|
|
589
566
|
*/
|
|
590
|
-
static new(provider: ProviderExporter, bus_name: string
|
|
567
|
+
static new(provider: ProviderExporter, bus_name: string): AccountExporter
|
|
591
568
|
_init(config?: AccountExporter.ConstructorProperties): void
|
|
592
569
|
}
|
|
593
570
|
|
|
@@ -779,7 +756,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
779
756
|
* @param cancellable A #GCancellable or %NULL.
|
|
780
757
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
781
758
|
*/
|
|
782
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
759
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
|
|
783
760
|
|
|
784
761
|
// Overloads of new_for_bus_sync
|
|
785
762
|
|
|
@@ -797,7 +774,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
797
774
|
* @param cancellable A #GCancellable or %NULL.
|
|
798
775
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
799
776
|
*/
|
|
800
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
777
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
801
778
|
/**
|
|
802
779
|
* Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new_sync() for more details.
|
|
803
780
|
*
|
|
@@ -812,7 +789,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
812
789
|
* @param cancellable A #GCancellable or %NULL.
|
|
813
790
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
814
791
|
*/
|
|
815
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
792
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
|
|
816
793
|
|
|
817
794
|
// Overloads of new_sync
|
|
818
795
|
|
|
@@ -849,7 +826,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
849
826
|
* @param cancellable A #GCancellable or %NULL.
|
|
850
827
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
851
828
|
*/
|
|
852
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
829
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
853
830
|
_init(config?: DbusAccountProxy.ConstructorProperties): void
|
|
854
831
|
/**
|
|
855
832
|
* Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new() for more details.
|
|
@@ -865,7 +842,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
865
842
|
* @param cancellable A #GCancellable or %NULL.
|
|
866
843
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
867
844
|
*/
|
|
868
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
845
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
|
|
869
846
|
|
|
870
847
|
// Overloads of new
|
|
871
848
|
|
|
@@ -906,7 +883,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
906
883
|
* @param cancellable A #GCancellable or %NULL.
|
|
907
884
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
908
885
|
*/
|
|
909
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
886
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
910
887
|
/**
|
|
911
888
|
* Like cloud_providers_dbus_account_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
912
889
|
*
|
|
@@ -921,7 +898,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
921
898
|
* @param cancellable A #GCancellable or %NULL.
|
|
922
899
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
923
900
|
*/
|
|
924
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
901
|
+
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
|
|
925
902
|
|
|
926
903
|
// Overloads of new_for_bus
|
|
927
904
|
|
|
@@ -938,7 +915,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
938
915
|
* @param cancellable A #GCancellable or %NULL.
|
|
939
916
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
940
917
|
*/
|
|
941
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
918
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
942
919
|
}
|
|
943
920
|
|
|
944
921
|
export module DbusAccountSkeleton {
|
|
@@ -1115,7 +1092,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1115
1092
|
* @param cancellable A #GCancellable or %NULL.
|
|
1116
1093
|
* @returns The constructed object manager client or %NULL if @error is set.
|
|
1117
1094
|
*/
|
|
1118
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1095
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
|
|
1119
1096
|
|
|
1120
1097
|
// Overloads of new_for_bus_sync
|
|
1121
1098
|
|
|
@@ -1135,7 +1112,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1135
1112
|
* @param cancellable A #GCancellable or %NULL
|
|
1136
1113
|
* @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
|
|
1137
1114
|
*/
|
|
1138
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1115
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
|
|
1139
1116
|
/**
|
|
1140
1117
|
* Synchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.
|
|
1141
1118
|
*
|
|
@@ -1150,7 +1127,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1150
1127
|
* @param cancellable A #GCancellable or %NULL.
|
|
1151
1128
|
* @returns The constructed object manager client or %NULL if @error is set.
|
|
1152
1129
|
*/
|
|
1153
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1130
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
|
|
1154
1131
|
|
|
1155
1132
|
// Overloads of new_sync
|
|
1156
1133
|
|
|
@@ -1169,7 +1146,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1169
1146
|
* @param cancellable A #GCancellable or %NULL
|
|
1170
1147
|
* @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
|
|
1171
1148
|
*/
|
|
1172
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1149
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
|
|
1173
1150
|
_init(config?: DbusObjectManagerClient.ConstructorProperties): void
|
|
1174
1151
|
/**
|
|
1175
1152
|
* Asynchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.
|
|
@@ -1185,7 +1162,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1185
1162
|
* @param cancellable A #GCancellable or %NULL.
|
|
1186
1163
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1187
1164
|
*/
|
|
1188
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1165
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
|
|
1189
1166
|
|
|
1190
1167
|
// Overloads of new
|
|
1191
1168
|
|
|
@@ -1206,7 +1183,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1206
1183
|
* @param cancellable A #GCancellable or %NULL
|
|
1207
1184
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1208
1185
|
*/
|
|
1209
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1186
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
|
|
1210
1187
|
/**
|
|
1211
1188
|
* Like cloud_providers_dbus_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
1212
1189
|
*
|
|
@@ -1221,7 +1198,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1221
1198
|
* @param cancellable A #GCancellable or %NULL.
|
|
1222
1199
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1223
1200
|
*/
|
|
1224
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1201
|
+
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
|
|
1225
1202
|
|
|
1226
1203
|
// Overloads of new_for_bus
|
|
1227
1204
|
|
|
@@ -1243,7 +1220,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1243
1220
|
* @param cancellable A #GCancellable or %NULL
|
|
1244
1221
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1245
1222
|
*/
|
|
1246
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1223
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
|
|
1247
1224
|
/**
|
|
1248
1225
|
* A #GDBusProxyTypeFunc that maps `interface_name` to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
|
|
1249
1226
|
* @param manager A #GDBusObjectManagerClient.
|
|
@@ -1252,7 +1229,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1252
1229
|
* @param user_data User data (unused).
|
|
1253
1230
|
* @returns A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #CloudProvidersDbusObjectProxy.
|
|
1254
1231
|
*/
|
|
1255
|
-
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string
|
|
1232
|
+
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name: string | null, user_data: any | null): GObject.GType
|
|
1256
1233
|
}
|
|
1257
1234
|
|
|
1258
1235
|
export module DbusObjectProxy {
|
|
@@ -1307,7 +1284,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1307
1284
|
* @param object_path An object path.
|
|
1308
1285
|
* @returns The proxy object.
|
|
1309
1286
|
*/
|
|
1310
|
-
constructor(connection: Gio.DBusConnection, object_path: string
|
|
1287
|
+
constructor(connection: Gio.DBusConnection, object_path: string)
|
|
1311
1288
|
/**
|
|
1312
1289
|
* Creates a new proxy object.
|
|
1313
1290
|
* @constructor
|
|
@@ -1315,7 +1292,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1315
1292
|
* @param object_path An object path.
|
|
1316
1293
|
* @returns The proxy object.
|
|
1317
1294
|
*/
|
|
1318
|
-
static new(connection: Gio.DBusConnection, object_path: string
|
|
1295
|
+
static new(connection: Gio.DBusConnection, object_path: string): DbusObjectProxy
|
|
1319
1296
|
|
|
1320
1297
|
// Overloads of new
|
|
1321
1298
|
|
|
@@ -1327,7 +1304,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1327
1304
|
* @param object_path the object path
|
|
1328
1305
|
* @returns a new #GDBusObjectProxy
|
|
1329
1306
|
*/
|
|
1330
|
-
static new(connection: Gio.DBusConnection, object_path: string
|
|
1307
|
+
static new(connection: Gio.DBusConnection, object_path: string): Gio.DBusObjectProxy
|
|
1331
1308
|
_init(config?: DbusObjectProxy.ConstructorProperties): void
|
|
1332
1309
|
}
|
|
1333
1310
|
|
|
@@ -1392,14 +1369,14 @@ export class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
|
|
|
1392
1369
|
* @param object_path An object path.
|
|
1393
1370
|
* @returns The skeleton object.
|
|
1394
1371
|
*/
|
|
1395
|
-
constructor(object_path: string
|
|
1372
|
+
constructor(object_path: string)
|
|
1396
1373
|
/**
|
|
1397
1374
|
* Creates a new skeleton object.
|
|
1398
1375
|
* @constructor
|
|
1399
1376
|
* @param object_path An object path.
|
|
1400
1377
|
* @returns The skeleton object.
|
|
1401
1378
|
*/
|
|
1402
|
-
static new(object_path: string
|
|
1379
|
+
static new(object_path: string): DbusObjectSkeleton
|
|
1403
1380
|
|
|
1404
1381
|
// Overloads of new
|
|
1405
1382
|
|
|
@@ -1409,7 +1386,7 @@ export class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
|
|
|
1409
1386
|
* @param object_path An object path.
|
|
1410
1387
|
* @returns A #GDBusObjectSkeleton. Free with g_object_unref().
|
|
1411
1388
|
*/
|
|
1412
|
-
static new(object_path: string
|
|
1389
|
+
static new(object_path: string): Gio.DBusObjectSkeleton
|
|
1413
1390
|
_init(config?: DbusObjectSkeleton.ConstructorProperties): void
|
|
1414
1391
|
}
|
|
1415
1392
|
|
|
@@ -1524,7 +1501,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1524
1501
|
* @param cancellable A #GCancellable or %NULL.
|
|
1525
1502
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
1526
1503
|
*/
|
|
1527
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
1504
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
|
|
1528
1505
|
|
|
1529
1506
|
// Overloads of new_for_bus_sync
|
|
1530
1507
|
|
|
@@ -1542,7 +1519,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1542
1519
|
* @param cancellable A #GCancellable or %NULL.
|
|
1543
1520
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
1544
1521
|
*/
|
|
1545
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
1522
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
1546
1523
|
/**
|
|
1547
1524
|
* Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new_sync() for more details.
|
|
1548
1525
|
*
|
|
@@ -1557,7 +1534,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1557
1534
|
* @param cancellable A #GCancellable or %NULL.
|
|
1558
1535
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
1559
1536
|
*/
|
|
1560
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
1537
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
|
|
1561
1538
|
|
|
1562
1539
|
// Overloads of new_sync
|
|
1563
1540
|
|
|
@@ -1594,7 +1571,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1594
1571
|
* @param cancellable A #GCancellable or %NULL.
|
|
1595
1572
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
1596
1573
|
*/
|
|
1597
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
1574
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
1598
1575
|
_init(config?: DbusProviderProxy.ConstructorProperties): void
|
|
1599
1576
|
/**
|
|
1600
1577
|
* Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new() for more details.
|
|
@@ -1610,7 +1587,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1610
1587
|
* @param cancellable A #GCancellable or %NULL.
|
|
1611
1588
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1612
1589
|
*/
|
|
1613
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
1590
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
|
|
1614
1591
|
|
|
1615
1592
|
// Overloads of new
|
|
1616
1593
|
|
|
@@ -1651,7 +1628,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1651
1628
|
* @param cancellable A #GCancellable or %NULL.
|
|
1652
1629
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
1653
1630
|
*/
|
|
1654
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
1631
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
1655
1632
|
/**
|
|
1656
1633
|
* Like cloud_providers_dbus_provider_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
1657
1634
|
*
|
|
@@ -1666,7 +1643,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1666
1643
|
* @param cancellable A #GCancellable or %NULL.
|
|
1667
1644
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1668
1645
|
*/
|
|
1669
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
1646
|
+
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
|
|
1670
1647
|
|
|
1671
1648
|
// Overloads of new_for_bus
|
|
1672
1649
|
|
|
@@ -1683,7 +1660,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1683
1660
|
* @param cancellable A #GCancellable or %NULL.
|
|
1684
1661
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
1685
1662
|
*/
|
|
1686
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
1663
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
1687
1664
|
}
|
|
1688
1665
|
|
|
1689
1666
|
export module DbusProviderSkeleton {
|
|
@@ -1775,7 +1752,7 @@ export interface Provider {
|
|
|
1775
1752
|
// Owm methods of CloudProviders-0.3.CloudProviders.Provider
|
|
1776
1753
|
|
|
1777
1754
|
get_accounts(): Account[]
|
|
1778
|
-
get_name(): string
|
|
1755
|
+
get_name(): string
|
|
1779
1756
|
|
|
1780
1757
|
// Own signals of CloudProviders-0.3.CloudProviders.Provider
|
|
1781
1758
|
|
|
@@ -1813,8 +1790,8 @@ export class Provider extends GObject.Object {
|
|
|
1813
1790
|
// Constructors of CloudProviders-0.3.CloudProviders.Provider
|
|
1814
1791
|
|
|
1815
1792
|
constructor(config?: Provider.ConstructorProperties)
|
|
1816
|
-
constructor(bus_name: string
|
|
1817
|
-
static new(bus_name: string
|
|
1793
|
+
constructor(bus_name: string, object_path: string)
|
|
1794
|
+
static new(bus_name: string, object_path: string): Provider
|
|
1818
1795
|
_init(config?: Provider.ConstructorProperties): void
|
|
1819
1796
|
}
|
|
1820
1797
|
|
|
@@ -1827,11 +1804,9 @@ export module ProviderExporter {
|
|
|
1827
1804
|
// Own constructor properties of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1828
1805
|
|
|
1829
1806
|
bus?: Gio.DBusConnection | null
|
|
1830
|
-
bus_name?: string | null
|
|
1831
|
-
bus_path?: string | null
|
|
1832
|
-
name?: string | null
|
|
1833
1807
|
busName?: string | null
|
|
1834
1808
|
busPath?: string | null
|
|
1809
|
+
name?: string | null
|
|
1835
1810
|
}
|
|
1836
1811
|
|
|
1837
1812
|
}
|
|
@@ -1841,22 +1816,20 @@ export interface ProviderExporter {
|
|
|
1841
1816
|
// Own properties of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1842
1817
|
|
|
1843
1818
|
readonly bus: Gio.DBusConnection
|
|
1844
|
-
readonly bus_name: string | null
|
|
1845
1819
|
readonly busName: string | null
|
|
1846
|
-
readonly bus_path: string | null
|
|
1847
1820
|
readonly busPath: string | null
|
|
1848
1821
|
name: string | null
|
|
1849
1822
|
|
|
1850
1823
|
// Owm methods of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1851
1824
|
|
|
1852
|
-
get_name(): string
|
|
1825
|
+
get_name(): string
|
|
1853
1826
|
/**
|
|
1854
1827
|
* Each cloud provider can have a variety of account associated with it. Use this
|
|
1855
1828
|
* function to remove the accounts that were added when created by cloud_providers_account_exporter_new().
|
|
1856
1829
|
* @param account The account object
|
|
1857
1830
|
*/
|
|
1858
1831
|
remove_account(account: AccountExporter): void
|
|
1859
|
-
set_name(name: string
|
|
1832
|
+
set_name(name: string): void
|
|
1860
1833
|
|
|
1861
1834
|
// Class property signals of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1862
1835
|
|
|
@@ -1894,8 +1867,8 @@ export class ProviderExporter extends GObject.Object {
|
|
|
1894
1867
|
// Constructors of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1895
1868
|
|
|
1896
1869
|
constructor(config?: ProviderExporter.ConstructorProperties)
|
|
1897
|
-
constructor(bus: Gio.DBusConnection, bus_name: string
|
|
1898
|
-
static new(bus: Gio.DBusConnection, bus_name: string
|
|
1870
|
+
constructor(bus: Gio.DBusConnection, bus_name: string, bus_path: string)
|
|
1871
|
+
static new(bus: Gio.DBusConnection, bus_name: string, bus_path: string): ProviderExporter
|
|
1899
1872
|
_init(config?: ProviderExporter.ConstructorProperties): void
|
|
1900
1873
|
}
|
|
1901
1874
|
|
package/cloudproviders-0.3.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ enum AccountStatus {
|
|
|
24
24
|
SYNCING,
|
|
25
25
|
ERROR,
|
|
26
26
|
}
|
|
27
|
-
const ACCOUNT_DBUS_IFACE: string
|
|
28
|
-
const PROVIDER_DBUS_IFACE: string
|
|
27
|
+
const ACCOUNT_DBUS_IFACE: string
|
|
28
|
+
const PROVIDER_DBUS_IFACE: string
|
|
29
29
|
/**
|
|
30
30
|
* Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> D-Bus interface.
|
|
31
31
|
* @returns A #GDBusInterfaceInfo. Do not free.
|
|
@@ -84,12 +84,6 @@ module DbusAccount {
|
|
|
84
84
|
* Since the D-Bus property for this #GObject 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.
|
|
85
85
|
*/
|
|
86
86
|
status?: number | null
|
|
87
|
-
/**
|
|
88
|
-
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
89
|
-
*
|
|
90
|
-
* Since the D-Bus property for this #GObject 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.
|
|
91
|
-
*/
|
|
92
|
-
status_details?: string | null
|
|
93
87
|
/**
|
|
94
88
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
95
89
|
*
|
|
@@ -128,12 +122,6 @@ interface DbusAccount {
|
|
|
128
122
|
* Since the D-Bus property for this #GObject 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.
|
|
129
123
|
*/
|
|
130
124
|
status: number
|
|
131
|
-
/**
|
|
132
|
-
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
133
|
-
*
|
|
134
|
-
* Since the D-Bus property for this #GObject 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.
|
|
135
|
-
*/
|
|
136
|
-
status_details: string | null
|
|
137
125
|
/**
|
|
138
126
|
* Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
|
|
139
127
|
*
|
|
@@ -362,14 +350,11 @@ interface Account {
|
|
|
362
350
|
|
|
363
351
|
// Own properties of CloudProviders-0.3.CloudProviders.Account
|
|
364
352
|
|
|
365
|
-
readonly action_group: Gio.ActionGroup
|
|
366
353
|
readonly actionGroup: Gio.ActionGroup
|
|
367
354
|
readonly icon: Gio.Icon
|
|
368
|
-
readonly menu_model: Gio.MenuModel
|
|
369
355
|
readonly menuModel: Gio.MenuModel
|
|
370
356
|
readonly name: string | null
|
|
371
357
|
readonly path: string | null
|
|
372
|
-
readonly status_details: string | null
|
|
373
358
|
readonly statusDetails: string | null
|
|
374
359
|
|
|
375
360
|
// Owm methods of CloudProviders-0.3.CloudProviders.Account
|
|
@@ -394,12 +379,12 @@ interface Account {
|
|
|
394
379
|
* Get the name of the account
|
|
395
380
|
* @returns The name of the cloud provider account
|
|
396
381
|
*/
|
|
397
|
-
get_name(): string
|
|
382
|
+
get_name(): string
|
|
398
383
|
/**
|
|
399
384
|
* Get the directory path of the account
|
|
400
385
|
* @returns The directory path of the cloud provider account
|
|
401
386
|
*/
|
|
402
|
-
get_path(): string
|
|
387
|
+
get_path(): string
|
|
403
388
|
/**
|
|
404
389
|
* Get the status of the account
|
|
405
390
|
* @returns The status of the cloud provider account
|
|
@@ -409,7 +394,7 @@ interface Account {
|
|
|
409
394
|
* Get the status details of the account
|
|
410
395
|
* @returns The status detail description of the cloud provider account
|
|
411
396
|
*/
|
|
412
|
-
get_status_details(): string
|
|
397
|
+
get_status_details(): string
|
|
413
398
|
|
|
414
399
|
// Class property signals of CloudProviders-0.3.CloudProviders.Account
|
|
415
400
|
|
|
@@ -479,17 +464,13 @@ module AccountExporter {
|
|
|
479
464
|
|
|
480
465
|
// Own constructor properties of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
481
466
|
|
|
482
|
-
|
|
483
|
-
|
|
467
|
+
actionGroup?: Gio.ActionGroup | null
|
|
468
|
+
busName?: string | null
|
|
484
469
|
icon?: Gio.Icon | null
|
|
485
|
-
|
|
470
|
+
menuModel?: Gio.MenuModel | null
|
|
486
471
|
name?: string | null
|
|
487
472
|
path?: string | null
|
|
488
473
|
provider?: ProviderExporter | null
|
|
489
|
-
status_details?: string | null
|
|
490
|
-
actionGroup?: Gio.ActionGroup | null
|
|
491
|
-
busName?: string | null
|
|
492
|
-
menuModel?: Gio.MenuModel | null
|
|
493
474
|
statusDetails?: string | null
|
|
494
475
|
}
|
|
495
476
|
|
|
@@ -499,17 +480,13 @@ interface AccountExporter {
|
|
|
499
480
|
|
|
500
481
|
// Own properties of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
501
482
|
|
|
502
|
-
action_group: Gio.ActionGroup
|
|
503
483
|
actionGroup: Gio.ActionGroup
|
|
504
|
-
readonly bus_name: string | null
|
|
505
484
|
readonly busName: string | null
|
|
506
485
|
icon: Gio.Icon
|
|
507
|
-
menu_model: Gio.MenuModel
|
|
508
486
|
menuModel: Gio.MenuModel
|
|
509
487
|
name: string | null
|
|
510
488
|
path: string | null
|
|
511
489
|
readonly provider: ProviderExporter
|
|
512
|
-
status_details: string | null
|
|
513
490
|
statusDetails: string | null
|
|
514
491
|
|
|
515
492
|
// Owm methods of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
@@ -529,10 +506,10 @@ interface AccountExporter {
|
|
|
529
506
|
* @param menu_model The menu model to export
|
|
530
507
|
*/
|
|
531
508
|
set_menu_model(menu_model: Gio.MenuModel): void
|
|
532
|
-
set_name(name: string
|
|
533
|
-
set_path(path: string
|
|
509
|
+
set_name(name: string): void
|
|
510
|
+
set_path(path: string): void
|
|
534
511
|
set_status(status: AccountStatus): void
|
|
535
|
-
set_status_details(status_details: string
|
|
512
|
+
set_status_details(status_details: string): void
|
|
536
513
|
|
|
537
514
|
// Class property signals of CloudProviders-0.3.CloudProviders.AccountExporter
|
|
538
515
|
|
|
@@ -582,14 +559,14 @@ class AccountExporter extends GObject.Object {
|
|
|
582
559
|
* @param provider The provider to which it will be associated.
|
|
583
560
|
* @param bus_name A unique name for the account must be a valid DBus object name
|
|
584
561
|
*/
|
|
585
|
-
constructor(provider: ProviderExporter, bus_name: string
|
|
562
|
+
constructor(provider: ProviderExporter, bus_name: string)
|
|
586
563
|
/**
|
|
587
564
|
* Create a new #CloudProvidersAccountExporter object
|
|
588
565
|
* @constructor
|
|
589
566
|
* @param provider The provider to which it will be associated.
|
|
590
567
|
* @param bus_name A unique name for the account must be a valid DBus object name
|
|
591
568
|
*/
|
|
592
|
-
static new(provider: ProviderExporter, bus_name: string
|
|
569
|
+
static new(provider: ProviderExporter, bus_name: string): AccountExporter
|
|
593
570
|
_init(config?: AccountExporter.ConstructorProperties): void
|
|
594
571
|
}
|
|
595
572
|
|
|
@@ -781,7 +758,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
781
758
|
* @param cancellable A #GCancellable or %NULL.
|
|
782
759
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
783
760
|
*/
|
|
784
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
761
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
|
|
785
762
|
|
|
786
763
|
// Overloads of new_for_bus_sync
|
|
787
764
|
|
|
@@ -799,7 +776,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
799
776
|
* @param cancellable A #GCancellable or %NULL.
|
|
800
777
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
801
778
|
*/
|
|
802
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
779
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
803
780
|
/**
|
|
804
781
|
* Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new_sync() for more details.
|
|
805
782
|
*
|
|
@@ -814,7 +791,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
814
791
|
* @param cancellable A #GCancellable or %NULL.
|
|
815
792
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
816
793
|
*/
|
|
817
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
794
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
|
|
818
795
|
|
|
819
796
|
// Overloads of new_sync
|
|
820
797
|
|
|
@@ -851,7 +828,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
851
828
|
* @param cancellable A #GCancellable or %NULL.
|
|
852
829
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
853
830
|
*/
|
|
854
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
831
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
855
832
|
_init(config?: DbusAccountProxy.ConstructorProperties): void
|
|
856
833
|
/**
|
|
857
834
|
* Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new() for more details.
|
|
@@ -867,7 +844,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
867
844
|
* @param cancellable A #GCancellable or %NULL.
|
|
868
845
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
869
846
|
*/
|
|
870
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
847
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
|
|
871
848
|
|
|
872
849
|
// Overloads of new
|
|
873
850
|
|
|
@@ -908,7 +885,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
908
885
|
* @param cancellable A #GCancellable or %NULL.
|
|
909
886
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
910
887
|
*/
|
|
911
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
888
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
912
889
|
/**
|
|
913
890
|
* Like cloud_providers_dbus_account_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
914
891
|
*
|
|
@@ -923,7 +900,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
923
900
|
* @param cancellable A #GCancellable or %NULL.
|
|
924
901
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
925
902
|
*/
|
|
926
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
903
|
+
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
|
|
927
904
|
|
|
928
905
|
// Overloads of new_for_bus
|
|
929
906
|
|
|
@@ -940,7 +917,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
|
|
|
940
917
|
* @param cancellable A #GCancellable or %NULL.
|
|
941
918
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
942
919
|
*/
|
|
943
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
920
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
944
921
|
}
|
|
945
922
|
|
|
946
923
|
module DbusAccountSkeleton {
|
|
@@ -1117,7 +1094,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1117
1094
|
* @param cancellable A #GCancellable or %NULL.
|
|
1118
1095
|
* @returns The constructed object manager client or %NULL if @error is set.
|
|
1119
1096
|
*/
|
|
1120
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1097
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
|
|
1121
1098
|
|
|
1122
1099
|
// Overloads of new_for_bus_sync
|
|
1123
1100
|
|
|
@@ -1137,7 +1114,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1137
1114
|
* @param cancellable A #GCancellable or %NULL
|
|
1138
1115
|
* @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
|
|
1139
1116
|
*/
|
|
1140
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1117
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
|
|
1141
1118
|
/**
|
|
1142
1119
|
* Synchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.
|
|
1143
1120
|
*
|
|
@@ -1152,7 +1129,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1152
1129
|
* @param cancellable A #GCancellable or %NULL.
|
|
1153
1130
|
* @returns The constructed object manager client or %NULL if @error is set.
|
|
1154
1131
|
*/
|
|
1155
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1132
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
|
|
1156
1133
|
|
|
1157
1134
|
// Overloads of new_sync
|
|
1158
1135
|
|
|
@@ -1171,7 +1148,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1171
1148
|
* @param cancellable A #GCancellable or %NULL
|
|
1172
1149
|
* @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
|
|
1173
1150
|
*/
|
|
1174
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1151
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
|
|
1175
1152
|
_init(config?: DbusObjectManagerClient.ConstructorProperties): void
|
|
1176
1153
|
/**
|
|
1177
1154
|
* Asynchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.
|
|
@@ -1187,7 +1164,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1187
1164
|
* @param cancellable A #GCancellable or %NULL.
|
|
1188
1165
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1189
1166
|
*/
|
|
1190
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string
|
|
1167
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
|
|
1191
1168
|
|
|
1192
1169
|
// Overloads of new
|
|
1193
1170
|
|
|
@@ -1208,7 +1185,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1208
1185
|
* @param cancellable A #GCancellable or %NULL
|
|
1209
1186
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1210
1187
|
*/
|
|
1211
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1188
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
|
|
1212
1189
|
/**
|
|
1213
1190
|
* Like cloud_providers_dbus_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
1214
1191
|
*
|
|
@@ -1223,7 +1200,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1223
1200
|
* @param cancellable A #GCancellable or %NULL.
|
|
1224
1201
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1225
1202
|
*/
|
|
1226
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1203
|
+
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
|
|
1227
1204
|
|
|
1228
1205
|
// Overloads of new_for_bus
|
|
1229
1206
|
|
|
@@ -1245,7 +1222,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1245
1222
|
* @param cancellable A #GCancellable or %NULL
|
|
1246
1223
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1247
1224
|
*/
|
|
1248
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string
|
|
1225
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
|
|
1249
1226
|
/**
|
|
1250
1227
|
* A #GDBusProxyTypeFunc that maps `interface_name` to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
|
|
1251
1228
|
* @param manager A #GDBusObjectManagerClient.
|
|
@@ -1254,7 +1231,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
|
|
|
1254
1231
|
* @param user_data User data (unused).
|
|
1255
1232
|
* @returns A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #CloudProvidersDbusObjectProxy.
|
|
1256
1233
|
*/
|
|
1257
|
-
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string
|
|
1234
|
+
static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name: string | null, user_data: any | null): GObject.GType
|
|
1258
1235
|
}
|
|
1259
1236
|
|
|
1260
1237
|
module DbusObjectProxy {
|
|
@@ -1309,7 +1286,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1309
1286
|
* @param object_path An object path.
|
|
1310
1287
|
* @returns The proxy object.
|
|
1311
1288
|
*/
|
|
1312
|
-
constructor(connection: Gio.DBusConnection, object_path: string
|
|
1289
|
+
constructor(connection: Gio.DBusConnection, object_path: string)
|
|
1313
1290
|
/**
|
|
1314
1291
|
* Creates a new proxy object.
|
|
1315
1292
|
* @constructor
|
|
@@ -1317,7 +1294,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1317
1294
|
* @param object_path An object path.
|
|
1318
1295
|
* @returns The proxy object.
|
|
1319
1296
|
*/
|
|
1320
|
-
static new(connection: Gio.DBusConnection, object_path: string
|
|
1297
|
+
static new(connection: Gio.DBusConnection, object_path: string): DbusObjectProxy
|
|
1321
1298
|
|
|
1322
1299
|
// Overloads of new
|
|
1323
1300
|
|
|
@@ -1329,7 +1306,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
|
|
|
1329
1306
|
* @param object_path the object path
|
|
1330
1307
|
* @returns a new #GDBusObjectProxy
|
|
1331
1308
|
*/
|
|
1332
|
-
static new(connection: Gio.DBusConnection, object_path: string
|
|
1309
|
+
static new(connection: Gio.DBusConnection, object_path: string): Gio.DBusObjectProxy
|
|
1333
1310
|
_init(config?: DbusObjectProxy.ConstructorProperties): void
|
|
1334
1311
|
}
|
|
1335
1312
|
|
|
@@ -1394,14 +1371,14 @@ class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
|
|
|
1394
1371
|
* @param object_path An object path.
|
|
1395
1372
|
* @returns The skeleton object.
|
|
1396
1373
|
*/
|
|
1397
|
-
constructor(object_path: string
|
|
1374
|
+
constructor(object_path: string)
|
|
1398
1375
|
/**
|
|
1399
1376
|
* Creates a new skeleton object.
|
|
1400
1377
|
* @constructor
|
|
1401
1378
|
* @param object_path An object path.
|
|
1402
1379
|
* @returns The skeleton object.
|
|
1403
1380
|
*/
|
|
1404
|
-
static new(object_path: string
|
|
1381
|
+
static new(object_path: string): DbusObjectSkeleton
|
|
1405
1382
|
|
|
1406
1383
|
// Overloads of new
|
|
1407
1384
|
|
|
@@ -1411,7 +1388,7 @@ class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
|
|
|
1411
1388
|
* @param object_path An object path.
|
|
1412
1389
|
* @returns A #GDBusObjectSkeleton. Free with g_object_unref().
|
|
1413
1390
|
*/
|
|
1414
|
-
static new(object_path: string
|
|
1391
|
+
static new(object_path: string): Gio.DBusObjectSkeleton
|
|
1415
1392
|
_init(config?: DbusObjectSkeleton.ConstructorProperties): void
|
|
1416
1393
|
}
|
|
1417
1394
|
|
|
@@ -1526,7 +1503,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1526
1503
|
* @param cancellable A #GCancellable or %NULL.
|
|
1527
1504
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
1528
1505
|
*/
|
|
1529
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
1506
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
|
|
1530
1507
|
|
|
1531
1508
|
// Overloads of new_for_bus_sync
|
|
1532
1509
|
|
|
@@ -1544,7 +1521,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1544
1521
|
* @param cancellable A #GCancellable or %NULL.
|
|
1545
1522
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
1546
1523
|
*/
|
|
1547
|
-
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
1524
|
+
static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
1548
1525
|
/**
|
|
1549
1526
|
* Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new_sync() for more details.
|
|
1550
1527
|
*
|
|
@@ -1559,7 +1536,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1559
1536
|
* @param cancellable A #GCancellable or %NULL.
|
|
1560
1537
|
* @returns The constructed proxy object or %NULL if @error is set.
|
|
1561
1538
|
*/
|
|
1562
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
1539
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
|
|
1563
1540
|
|
|
1564
1541
|
// Overloads of new_sync
|
|
1565
1542
|
|
|
@@ -1596,7 +1573,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1596
1573
|
* @param cancellable A #GCancellable or %NULL.
|
|
1597
1574
|
* @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
|
|
1598
1575
|
*/
|
|
1599
|
-
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
1576
|
+
static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null): Gio.DBusProxy
|
|
1600
1577
|
_init(config?: DbusProviderProxy.ConstructorProperties): void
|
|
1601
1578
|
/**
|
|
1602
1579
|
* Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new() for more details.
|
|
@@ -1612,7 +1589,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1612
1589
|
* @param cancellable A #GCancellable or %NULL.
|
|
1613
1590
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1614
1591
|
*/
|
|
1615
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string
|
|
1592
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
|
|
1616
1593
|
|
|
1617
1594
|
// Overloads of new
|
|
1618
1595
|
|
|
@@ -1653,7 +1630,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1653
1630
|
* @param cancellable A #GCancellable or %NULL.
|
|
1654
1631
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
1655
1632
|
*/
|
|
1656
|
-
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string
|
|
1633
|
+
static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
1657
1634
|
/**
|
|
1658
1635
|
* Like cloud_providers_dbus_provider_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
|
|
1659
1636
|
*
|
|
@@ -1668,7 +1645,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1668
1645
|
* @param cancellable A #GCancellable or %NULL.
|
|
1669
1646
|
* @param callback A #GAsyncReadyCallback to call when the request is satisfied.
|
|
1670
1647
|
*/
|
|
1671
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string
|
|
1648
|
+
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
|
|
1672
1649
|
|
|
1673
1650
|
// Overloads of new_for_bus
|
|
1674
1651
|
|
|
@@ -1685,7 +1662,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
|
|
|
1685
1662
|
* @param cancellable A #GCancellable or %NULL.
|
|
1686
1663
|
* @param callback Callback function to invoke when the proxy is ready.
|
|
1687
1664
|
*/
|
|
1688
|
-
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string
|
|
1665
|
+
static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string, object_path: string, interface_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
|
|
1689
1666
|
}
|
|
1690
1667
|
|
|
1691
1668
|
module DbusProviderSkeleton {
|
|
@@ -1777,7 +1754,7 @@ interface Provider {
|
|
|
1777
1754
|
// Owm methods of CloudProviders-0.3.CloudProviders.Provider
|
|
1778
1755
|
|
|
1779
1756
|
get_accounts(): Account[]
|
|
1780
|
-
get_name(): string
|
|
1757
|
+
get_name(): string
|
|
1781
1758
|
|
|
1782
1759
|
// Own signals of CloudProviders-0.3.CloudProviders.Provider
|
|
1783
1760
|
|
|
@@ -1815,8 +1792,8 @@ class Provider extends GObject.Object {
|
|
|
1815
1792
|
// Constructors of CloudProviders-0.3.CloudProviders.Provider
|
|
1816
1793
|
|
|
1817
1794
|
constructor(config?: Provider.ConstructorProperties)
|
|
1818
|
-
constructor(bus_name: string
|
|
1819
|
-
static new(bus_name: string
|
|
1795
|
+
constructor(bus_name: string, object_path: string)
|
|
1796
|
+
static new(bus_name: string, object_path: string): Provider
|
|
1820
1797
|
_init(config?: Provider.ConstructorProperties): void
|
|
1821
1798
|
}
|
|
1822
1799
|
|
|
@@ -1829,11 +1806,9 @@ module ProviderExporter {
|
|
|
1829
1806
|
// Own constructor properties of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1830
1807
|
|
|
1831
1808
|
bus?: Gio.DBusConnection | null
|
|
1832
|
-
bus_name?: string | null
|
|
1833
|
-
bus_path?: string | null
|
|
1834
|
-
name?: string | null
|
|
1835
1809
|
busName?: string | null
|
|
1836
1810
|
busPath?: string | null
|
|
1811
|
+
name?: string | null
|
|
1837
1812
|
}
|
|
1838
1813
|
|
|
1839
1814
|
}
|
|
@@ -1843,22 +1818,20 @@ interface ProviderExporter {
|
|
|
1843
1818
|
// Own properties of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1844
1819
|
|
|
1845
1820
|
readonly bus: Gio.DBusConnection
|
|
1846
|
-
readonly bus_name: string | null
|
|
1847
1821
|
readonly busName: string | null
|
|
1848
|
-
readonly bus_path: string | null
|
|
1849
1822
|
readonly busPath: string | null
|
|
1850
1823
|
name: string | null
|
|
1851
1824
|
|
|
1852
1825
|
// Owm methods of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1853
1826
|
|
|
1854
|
-
get_name(): string
|
|
1827
|
+
get_name(): string
|
|
1855
1828
|
/**
|
|
1856
1829
|
* Each cloud provider can have a variety of account associated with it. Use this
|
|
1857
1830
|
* function to remove the accounts that were added when created by cloud_providers_account_exporter_new().
|
|
1858
1831
|
* @param account The account object
|
|
1859
1832
|
*/
|
|
1860
1833
|
remove_account(account: AccountExporter): void
|
|
1861
|
-
set_name(name: string
|
|
1834
|
+
set_name(name: string): void
|
|
1862
1835
|
|
|
1863
1836
|
// Class property signals of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1864
1837
|
|
|
@@ -1896,8 +1869,8 @@ class ProviderExporter extends GObject.Object {
|
|
|
1896
1869
|
// Constructors of CloudProviders-0.3.CloudProviders.ProviderExporter
|
|
1897
1870
|
|
|
1898
1871
|
constructor(config?: ProviderExporter.ConstructorProperties)
|
|
1899
|
-
constructor(bus: Gio.DBusConnection, bus_name: string
|
|
1900
|
-
static new(bus: Gio.DBusConnection, bus_name: string
|
|
1872
|
+
constructor(bus: Gio.DBusConnection, bus_name: string, bus_path: string)
|
|
1873
|
+
static new(bus: Gio.DBusConnection, bus_name: string, bus_path: string): ProviderExporter
|
|
1901
1874
|
_init(config?: ProviderExporter.ConstructorProperties): void
|
|
1902
1875
|
}
|
|
1903
1876
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/cloudproviders-0.3",
|
|
3
|
-
"version": "0.3.0-3.2.
|
|
3
|
+
"version": "0.3.0-3.2.8",
|
|
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",
|
|
7
7
|
"main": "cloudproviders-0.3.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./cloudproviders-0.3-ambient.d.ts",
|
|
11
|
+
"default": "./cloudproviders-0.3-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./cloudproviders-0.3-import.d.ts",
|
|
15
|
+
"default": "./cloudproviders-0.3-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./cloudproviders-0.3.d.ts",
|
|
@@ -25,10 +31,10 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit cloudproviders-0.3.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.
|
|
34
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
35
|
+
"@girs/gjs": "^3.2.8",
|
|
36
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
37
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8"
|
|
32
38
|
},
|
|
33
39
|
"devDependencies": {
|
|
34
40
|
"typescript": "*"
|
|
@@ -45,7 +51,7 @@
|
|
|
45
51
|
"license": "MIT",
|
|
46
52
|
"repository": {
|
|
47
53
|
"type": "git",
|
|
48
|
-
"url": "git+https://github.com/gjsify/
|
|
54
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
49
55
|
},
|
|
50
56
|
"bugs": {
|
|
51
57
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|