@girs/cloudproviders-0.3 0.3.0-3.2.6 → 0.3.0-3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/cloudproviders-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
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.7.
9
9
 
10
10
 
11
11
  ## Install
@@ -22,8 +22,8 @@ export enum AccountStatus {
22
22
  SYNCING,
23
23
  ERROR,
24
24
  }
25
- export const ACCOUNT_DBUS_IFACE: string | null
26
- export const PROVIDER_DBUS_IFACE: string | null
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.
@@ -392,12 +392,12 @@ export interface Account {
392
392
  * Get the name of the account
393
393
  * @returns The name of the cloud provider account
394
394
  */
395
- get_name(): string | null
395
+ get_name(): string
396
396
  /**
397
397
  * Get the directory path of the account
398
398
  * @returns The directory path of the cloud provider account
399
399
  */
400
- get_path(): string | null
400
+ get_path(): string
401
401
  /**
402
402
  * Get the status of the account
403
403
  * @returns The status of the cloud provider account
@@ -407,7 +407,7 @@ export interface Account {
407
407
  * Get the status details of the account
408
408
  * @returns The status detail description of the cloud provider account
409
409
  */
410
- get_status_details(): string | null
410
+ get_status_details(): string
411
411
 
412
412
  // Class property signals of CloudProviders-0.3.CloudProviders.Account
413
413
 
@@ -527,10 +527,10 @@ export interface AccountExporter {
527
527
  * @param menu_model The menu model to export
528
528
  */
529
529
  set_menu_model(menu_model: Gio.MenuModel): void
530
- set_name(name: string | null): void
531
- set_path(path: string | null): void
530
+ set_name(name: string): void
531
+ set_path(path: string): void
532
532
  set_status(status: AccountStatus): void
533
- set_status_details(status_details: string | null): void
533
+ set_status_details(status_details: string): void
534
534
 
535
535
  // Class property signals of CloudProviders-0.3.CloudProviders.AccountExporter
536
536
 
@@ -580,14 +580,14 @@ export class AccountExporter extends GObject.Object {
580
580
  * @param provider The provider to which it will be associated.
581
581
  * @param bus_name A unique name for the account must be a valid DBus object name
582
582
  */
583
- constructor(provider: ProviderExporter, bus_name: string | null)
583
+ constructor(provider: ProviderExporter, bus_name: string)
584
584
  /**
585
585
  * Create a new #CloudProvidersAccountExporter object
586
586
  * @constructor
587
587
  * @param provider The provider to which it will be associated.
588
588
  * @param bus_name A unique name for the account must be a valid DBus object name
589
589
  */
590
- static new(provider: ProviderExporter, bus_name: string | null): AccountExporter
590
+ static new(provider: ProviderExporter, bus_name: string): AccountExporter
591
591
  _init(config?: AccountExporter.ConstructorProperties): void
592
592
  }
593
593
 
@@ -779,7 +779,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
779
779
  * @param cancellable A #GCancellable or %NULL.
780
780
  * @returns The constructed proxy object or %NULL if @error is set.
781
781
  */
782
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
782
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
783
783
 
784
784
  // Overloads of new_for_bus_sync
785
785
 
@@ -797,7 +797,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
797
797
  * @param cancellable A #GCancellable or %NULL.
798
798
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
799
799
  */
800
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
800
+ 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
801
  /**
802
802
  * 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
803
  *
@@ -812,7 +812,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
812
812
  * @param cancellable A #GCancellable or %NULL.
813
813
  * @returns The constructed proxy object or %NULL if @error is set.
814
814
  */
815
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
815
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
816
816
 
817
817
  // Overloads of new_sync
818
818
 
@@ -849,7 +849,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
849
849
  * @param cancellable A #GCancellable or %NULL.
850
850
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
851
851
  */
852
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
852
+ 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
853
  _init(config?: DbusAccountProxy.ConstructorProperties): void
854
854
  /**
855
855
  * 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 +865,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
865
865
  * @param cancellable A #GCancellable or %NULL.
866
866
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
867
867
  */
868
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
868
+ 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
869
 
870
870
  // Overloads of new
871
871
 
@@ -906,7 +906,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
906
906
  * @param cancellable A #GCancellable or %NULL.
907
907
  * @param callback Callback function to invoke when the proxy is ready.
908
908
  */
909
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
909
+ 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
910
  /**
911
911
  * Like cloud_providers_dbus_account_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
912
912
  *
@@ -921,7 +921,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
921
921
  * @param cancellable A #GCancellable or %NULL.
922
922
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
923
923
  */
924
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
924
+ 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
925
 
926
926
  // Overloads of new_for_bus
927
927
 
@@ -938,7 +938,7 @@ export class DbusAccountProxy extends Gio.DBusProxy {
938
938
  * @param cancellable A #GCancellable or %NULL.
939
939
  * @param callback Callback function to invoke when the proxy is ready.
940
940
  */
941
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
941
+ 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
942
  }
943
943
 
944
944
  export module DbusAccountSkeleton {
@@ -1115,7 +1115,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1115
1115
  * @param cancellable A #GCancellable or %NULL.
1116
1116
  * @returns The constructed object manager client or %NULL if @error is set.
1117
1117
  */
1118
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1118
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1119
1119
 
1120
1120
  // Overloads of new_for_bus_sync
1121
1121
 
@@ -1135,7 +1135,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1135
1135
  * @param cancellable A #GCancellable or %NULL
1136
1136
  * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1137
1137
  */
1138
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1138
+ 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
1139
  /**
1140
1140
  * 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
1141
  *
@@ -1150,7 +1150,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1150
1150
  * @param cancellable A #GCancellable or %NULL.
1151
1151
  * @returns The constructed object manager client or %NULL if @error is set.
1152
1152
  */
1153
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1153
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1154
1154
 
1155
1155
  // Overloads of new_sync
1156
1156
 
@@ -1169,7 +1169,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1169
1169
  * @param cancellable A #GCancellable or %NULL
1170
1170
  * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1171
1171
  */
1172
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1172
+ 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
1173
  _init(config?: DbusObjectManagerClient.ConstructorProperties): void
1174
1174
  /**
1175
1175
  * 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 +1185,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1185
1185
  * @param cancellable A #GCancellable or %NULL.
1186
1186
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1187
1187
  */
1188
- static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1188
+ 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
1189
 
1190
1190
  // Overloads of new
1191
1191
 
@@ -1206,7 +1206,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1206
1206
  * @param cancellable A #GCancellable or %NULL
1207
1207
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1208
1208
  */
1209
- static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1209
+ 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
1210
  /**
1211
1211
  * Like cloud_providers_dbus_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
1212
1212
  *
@@ -1221,7 +1221,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1221
1221
  * @param cancellable A #GCancellable or %NULL.
1222
1222
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1223
1223
  */
1224
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1224
+ 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
1225
 
1226
1226
  // Overloads of new_for_bus
1227
1227
 
@@ -1243,7 +1243,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1243
1243
  * @param cancellable A #GCancellable or %NULL
1244
1244
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1245
1245
  */
1246
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1246
+ 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
1247
  /**
1248
1248
  * A #GDBusProxyTypeFunc that maps `interface_name` to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
1249
1249
  * @param manager A #GDBusObjectManagerClient.
@@ -1252,7 +1252,7 @@ export class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1252
1252
  * @param user_data User data (unused).
1253
1253
  * @returns A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #CloudProvidersDbusObjectProxy.
1254
1254
  */
1255
- static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string | null, interface_name: string | null, user_data: any | null): GObject.GType
1255
+ static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name: string | null, user_data: any | null): GObject.GType
1256
1256
  }
1257
1257
 
1258
1258
  export module DbusObjectProxy {
@@ -1307,7 +1307,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
1307
1307
  * @param object_path An object path.
1308
1308
  * @returns The proxy object.
1309
1309
  */
1310
- constructor(connection: Gio.DBusConnection, object_path: string | null)
1310
+ constructor(connection: Gio.DBusConnection, object_path: string)
1311
1311
  /**
1312
1312
  * Creates a new proxy object.
1313
1313
  * @constructor
@@ -1315,7 +1315,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
1315
1315
  * @param object_path An object path.
1316
1316
  * @returns The proxy object.
1317
1317
  */
1318
- static new(connection: Gio.DBusConnection, object_path: string | null): DbusObjectProxy
1318
+ static new(connection: Gio.DBusConnection, object_path: string): DbusObjectProxy
1319
1319
 
1320
1320
  // Overloads of new
1321
1321
 
@@ -1327,7 +1327,7 @@ export class DbusObjectProxy extends Gio.DBusObjectProxy {
1327
1327
  * @param object_path the object path
1328
1328
  * @returns a new #GDBusObjectProxy
1329
1329
  */
1330
- static new(connection: Gio.DBusConnection, object_path: string | null): Gio.DBusObjectProxy
1330
+ static new(connection: Gio.DBusConnection, object_path: string): Gio.DBusObjectProxy
1331
1331
  _init(config?: DbusObjectProxy.ConstructorProperties): void
1332
1332
  }
1333
1333
 
@@ -1392,14 +1392,14 @@ export class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
1392
1392
  * @param object_path An object path.
1393
1393
  * @returns The skeleton object.
1394
1394
  */
1395
- constructor(object_path: string | null)
1395
+ constructor(object_path: string)
1396
1396
  /**
1397
1397
  * Creates a new skeleton object.
1398
1398
  * @constructor
1399
1399
  * @param object_path An object path.
1400
1400
  * @returns The skeleton object.
1401
1401
  */
1402
- static new(object_path: string | null): DbusObjectSkeleton
1402
+ static new(object_path: string): DbusObjectSkeleton
1403
1403
 
1404
1404
  // Overloads of new
1405
1405
 
@@ -1409,7 +1409,7 @@ export class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
1409
1409
  * @param object_path An object path.
1410
1410
  * @returns A #GDBusObjectSkeleton. Free with g_object_unref().
1411
1411
  */
1412
- static new(object_path: string | null): Gio.DBusObjectSkeleton
1412
+ static new(object_path: string): Gio.DBusObjectSkeleton
1413
1413
  _init(config?: DbusObjectSkeleton.ConstructorProperties): void
1414
1414
  }
1415
1415
 
@@ -1524,7 +1524,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1524
1524
  * @param cancellable A #GCancellable or %NULL.
1525
1525
  * @returns The constructed proxy object or %NULL if @error is set.
1526
1526
  */
1527
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1527
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
1528
1528
 
1529
1529
  // Overloads of new_for_bus_sync
1530
1530
 
@@ -1542,7 +1542,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1542
1542
  * @param cancellable A #GCancellable or %NULL.
1543
1543
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1544
1544
  */
1545
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1545
+ 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
1546
  /**
1547
1547
  * 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
1548
  *
@@ -1557,7 +1557,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1557
1557
  * @param cancellable A #GCancellable or %NULL.
1558
1558
  * @returns The constructed proxy object or %NULL if @error is set.
1559
1559
  */
1560
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1560
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
1561
1561
 
1562
1562
  // Overloads of new_sync
1563
1563
 
@@ -1594,7 +1594,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1594
1594
  * @param cancellable A #GCancellable or %NULL.
1595
1595
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1596
1596
  */
1597
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1597
+ 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
1598
  _init(config?: DbusProviderProxy.ConstructorProperties): void
1599
1599
  /**
1600
1600
  * 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 +1610,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1610
1610
  * @param cancellable A #GCancellable or %NULL.
1611
1611
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1612
1612
  */
1613
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1613
+ 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
1614
 
1615
1615
  // Overloads of new
1616
1616
 
@@ -1651,7 +1651,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1651
1651
  * @param cancellable A #GCancellable or %NULL.
1652
1652
  * @param callback Callback function to invoke when the proxy is ready.
1653
1653
  */
1654
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1654
+ 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
1655
  /**
1656
1656
  * Like cloud_providers_dbus_provider_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1657
1657
  *
@@ -1666,7 +1666,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1666
1666
  * @param cancellable A #GCancellable or %NULL.
1667
1667
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1668
1668
  */
1669
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1669
+ 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
1670
 
1671
1671
  // Overloads of new_for_bus
1672
1672
 
@@ -1683,7 +1683,7 @@ export class DbusProviderProxy extends Gio.DBusProxy {
1683
1683
  * @param cancellable A #GCancellable or %NULL.
1684
1684
  * @param callback Callback function to invoke when the proxy is ready.
1685
1685
  */
1686
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1686
+ 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
1687
  }
1688
1688
 
1689
1689
  export module DbusProviderSkeleton {
@@ -1775,7 +1775,7 @@ export interface Provider {
1775
1775
  // Owm methods of CloudProviders-0.3.CloudProviders.Provider
1776
1776
 
1777
1777
  get_accounts(): Account[]
1778
- get_name(): string | null
1778
+ get_name(): string
1779
1779
 
1780
1780
  // Own signals of CloudProviders-0.3.CloudProviders.Provider
1781
1781
 
@@ -1813,8 +1813,8 @@ export class Provider extends GObject.Object {
1813
1813
  // Constructors of CloudProviders-0.3.CloudProviders.Provider
1814
1814
 
1815
1815
  constructor(config?: Provider.ConstructorProperties)
1816
- constructor(bus_name: string | null, object_path: string | null)
1817
- static new(bus_name: string | null, object_path: string | null): Provider
1816
+ constructor(bus_name: string, object_path: string)
1817
+ static new(bus_name: string, object_path: string): Provider
1818
1818
  _init(config?: Provider.ConstructorProperties): void
1819
1819
  }
1820
1820
 
@@ -1849,14 +1849,14 @@ export interface ProviderExporter {
1849
1849
 
1850
1850
  // Owm methods of CloudProviders-0.3.CloudProviders.ProviderExporter
1851
1851
 
1852
- get_name(): string | null
1852
+ get_name(): string
1853
1853
  /**
1854
1854
  * Each cloud provider can have a variety of account associated with it. Use this
1855
1855
  * function to remove the accounts that were added when created by cloud_providers_account_exporter_new().
1856
1856
  * @param account The account object
1857
1857
  */
1858
1858
  remove_account(account: AccountExporter): void
1859
- set_name(name: string | null): void
1859
+ set_name(name: string): void
1860
1860
 
1861
1861
  // Class property signals of CloudProviders-0.3.CloudProviders.ProviderExporter
1862
1862
 
@@ -1894,8 +1894,8 @@ export class ProviderExporter extends GObject.Object {
1894
1894
  // Constructors of CloudProviders-0.3.CloudProviders.ProviderExporter
1895
1895
 
1896
1896
  constructor(config?: ProviderExporter.ConstructorProperties)
1897
- constructor(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null)
1898
- static new(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null): ProviderExporter
1897
+ constructor(bus: Gio.DBusConnection, bus_name: string, bus_path: string)
1898
+ static new(bus: Gio.DBusConnection, bus_name: string, bus_path: string): ProviderExporter
1899
1899
  _init(config?: ProviderExporter.ConstructorProperties): void
1900
1900
  }
1901
1901
 
@@ -24,8 +24,8 @@ enum AccountStatus {
24
24
  SYNCING,
25
25
  ERROR,
26
26
  }
27
- const ACCOUNT_DBUS_IFACE: string | null
28
- const PROVIDER_DBUS_IFACE: string | null
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.
@@ -394,12 +394,12 @@ interface Account {
394
394
  * Get the name of the account
395
395
  * @returns The name of the cloud provider account
396
396
  */
397
- get_name(): string | null
397
+ get_name(): string
398
398
  /**
399
399
  * Get the directory path of the account
400
400
  * @returns The directory path of the cloud provider account
401
401
  */
402
- get_path(): string | null
402
+ get_path(): string
403
403
  /**
404
404
  * Get the status of the account
405
405
  * @returns The status of the cloud provider account
@@ -409,7 +409,7 @@ interface Account {
409
409
  * Get the status details of the account
410
410
  * @returns The status detail description of the cloud provider account
411
411
  */
412
- get_status_details(): string | null
412
+ get_status_details(): string
413
413
 
414
414
  // Class property signals of CloudProviders-0.3.CloudProviders.Account
415
415
 
@@ -529,10 +529,10 @@ interface AccountExporter {
529
529
  * @param menu_model The menu model to export
530
530
  */
531
531
  set_menu_model(menu_model: Gio.MenuModel): void
532
- set_name(name: string | null): void
533
- set_path(path: string | null): void
532
+ set_name(name: string): void
533
+ set_path(path: string): void
534
534
  set_status(status: AccountStatus): void
535
- set_status_details(status_details: string | null): void
535
+ set_status_details(status_details: string): void
536
536
 
537
537
  // Class property signals of CloudProviders-0.3.CloudProviders.AccountExporter
538
538
 
@@ -582,14 +582,14 @@ class AccountExporter extends GObject.Object {
582
582
  * @param provider The provider to which it will be associated.
583
583
  * @param bus_name A unique name for the account must be a valid DBus object name
584
584
  */
585
- constructor(provider: ProviderExporter, bus_name: string | null)
585
+ constructor(provider: ProviderExporter, bus_name: string)
586
586
  /**
587
587
  * Create a new #CloudProvidersAccountExporter object
588
588
  * @constructor
589
589
  * @param provider The provider to which it will be associated.
590
590
  * @param bus_name A unique name for the account must be a valid DBus object name
591
591
  */
592
- static new(provider: ProviderExporter, bus_name: string | null): AccountExporter
592
+ static new(provider: ProviderExporter, bus_name: string): AccountExporter
593
593
  _init(config?: AccountExporter.ConstructorProperties): void
594
594
  }
595
595
 
@@ -781,7 +781,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
781
781
  * @param cancellable A #GCancellable or %NULL.
782
782
  * @returns The constructed proxy object or %NULL if @error is set.
783
783
  */
784
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
784
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
785
785
 
786
786
  // Overloads of new_for_bus_sync
787
787
 
@@ -799,7 +799,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
799
799
  * @param cancellable A #GCancellable or %NULL.
800
800
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
801
801
  */
802
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
802
+ 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
803
  /**
804
804
  * 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
805
  *
@@ -814,7 +814,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
814
814
  * @param cancellable A #GCancellable or %NULL.
815
815
  * @returns The constructed proxy object or %NULL if @error is set.
816
816
  */
817
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
817
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusAccountProxy
818
818
 
819
819
  // Overloads of new_sync
820
820
 
@@ -851,7 +851,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
851
851
  * @param cancellable A #GCancellable or %NULL.
852
852
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
853
853
  */
854
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
854
+ 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
855
  _init(config?: DbusAccountProxy.ConstructorProperties): void
856
856
  /**
857
857
  * 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 +867,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
867
867
  * @param cancellable A #GCancellable or %NULL.
868
868
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
869
869
  */
870
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
870
+ 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
871
 
872
872
  // Overloads of new
873
873
 
@@ -908,7 +908,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
908
908
  * @param cancellable A #GCancellable or %NULL.
909
909
  * @param callback Callback function to invoke when the proxy is ready.
910
910
  */
911
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
911
+ 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
912
  /**
913
913
  * Like cloud_providers_dbus_account_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
914
914
  *
@@ -923,7 +923,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
923
923
  * @param cancellable A #GCancellable or %NULL.
924
924
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
925
925
  */
926
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
926
+ 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
927
 
928
928
  // Overloads of new_for_bus
929
929
 
@@ -940,7 +940,7 @@ class DbusAccountProxy extends Gio.DBusProxy {
940
940
  * @param cancellable A #GCancellable or %NULL.
941
941
  * @param callback Callback function to invoke when the proxy is ready.
942
942
  */
943
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
943
+ 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
944
  }
945
945
 
946
946
  module DbusAccountSkeleton {
@@ -1117,7 +1117,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1117
1117
  * @param cancellable A #GCancellable or %NULL.
1118
1118
  * @returns The constructed object manager client or %NULL if @error is set.
1119
1119
  */
1120
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1120
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1121
1121
 
1122
1122
  // Overloads of new_for_bus_sync
1123
1123
 
@@ -1137,7 +1137,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1137
1137
  * @param cancellable A #GCancellable or %NULL
1138
1138
  * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1139
1139
  */
1140
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1140
+ 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
1141
  /**
1142
1142
  * 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
1143
  *
@@ -1152,7 +1152,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1152
1152
  * @param cancellable A #GCancellable or %NULL.
1153
1153
  * @returns The constructed object manager client or %NULL if @error is set.
1154
1154
  */
1155
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1155
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1156
1156
 
1157
1157
  // Overloads of new_sync
1158
1158
 
@@ -1171,7 +1171,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1171
1171
  * @param cancellable A #GCancellable or %NULL
1172
1172
  * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1173
1173
  */
1174
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1174
+ 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
1175
  _init(config?: DbusObjectManagerClient.ConstructorProperties): void
1176
1176
  /**
1177
1177
  * 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 +1187,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1187
1187
  * @param cancellable A #GCancellable or %NULL.
1188
1188
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1189
1189
  */
1190
- static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1190
+ 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
1191
 
1192
1192
  // Overloads of new
1193
1193
 
@@ -1208,7 +1208,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1208
1208
  * @param cancellable A #GCancellable or %NULL
1209
1209
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1210
1210
  */
1211
- static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1211
+ 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
1212
  /**
1213
1213
  * Like cloud_providers_dbus_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
1214
1214
  *
@@ -1223,7 +1223,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1223
1223
  * @param cancellable A #GCancellable or %NULL.
1224
1224
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1225
1225
  */
1226
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1226
+ 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
1227
 
1228
1228
  // Overloads of new_for_bus
1229
1229
 
@@ -1245,7 +1245,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1245
1245
  * @param cancellable A #GCancellable or %NULL
1246
1246
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1247
1247
  */
1248
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1248
+ 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
1249
  /**
1250
1250
  * A #GDBusProxyTypeFunc that maps `interface_name` to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
1251
1251
  * @param manager A #GDBusObjectManagerClient.
@@ -1254,7 +1254,7 @@ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1254
1254
  * @param user_data User data (unused).
1255
1255
  * @returns A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #CloudProvidersDbusObjectProxy.
1256
1256
  */
1257
- static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string | null, interface_name: string | null, user_data: any | null): GObject.GType
1257
+ static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string, interface_name: string | null, user_data: any | null): GObject.GType
1258
1258
  }
1259
1259
 
1260
1260
  module DbusObjectProxy {
@@ -1309,7 +1309,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
1309
1309
  * @param object_path An object path.
1310
1310
  * @returns The proxy object.
1311
1311
  */
1312
- constructor(connection: Gio.DBusConnection, object_path: string | null)
1312
+ constructor(connection: Gio.DBusConnection, object_path: string)
1313
1313
  /**
1314
1314
  * Creates a new proxy object.
1315
1315
  * @constructor
@@ -1317,7 +1317,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
1317
1317
  * @param object_path An object path.
1318
1318
  * @returns The proxy object.
1319
1319
  */
1320
- static new(connection: Gio.DBusConnection, object_path: string | null): DbusObjectProxy
1320
+ static new(connection: Gio.DBusConnection, object_path: string): DbusObjectProxy
1321
1321
 
1322
1322
  // Overloads of new
1323
1323
 
@@ -1329,7 +1329,7 @@ class DbusObjectProxy extends Gio.DBusObjectProxy {
1329
1329
  * @param object_path the object path
1330
1330
  * @returns a new #GDBusObjectProxy
1331
1331
  */
1332
- static new(connection: Gio.DBusConnection, object_path: string | null): Gio.DBusObjectProxy
1332
+ static new(connection: Gio.DBusConnection, object_path: string): Gio.DBusObjectProxy
1333
1333
  _init(config?: DbusObjectProxy.ConstructorProperties): void
1334
1334
  }
1335
1335
 
@@ -1394,14 +1394,14 @@ class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
1394
1394
  * @param object_path An object path.
1395
1395
  * @returns The skeleton object.
1396
1396
  */
1397
- constructor(object_path: string | null)
1397
+ constructor(object_path: string)
1398
1398
  /**
1399
1399
  * Creates a new skeleton object.
1400
1400
  * @constructor
1401
1401
  * @param object_path An object path.
1402
1402
  * @returns The skeleton object.
1403
1403
  */
1404
- static new(object_path: string | null): DbusObjectSkeleton
1404
+ static new(object_path: string): DbusObjectSkeleton
1405
1405
 
1406
1406
  // Overloads of new
1407
1407
 
@@ -1411,7 +1411,7 @@ class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
1411
1411
  * @param object_path An object path.
1412
1412
  * @returns A #GDBusObjectSkeleton. Free with g_object_unref().
1413
1413
  */
1414
- static new(object_path: string | null): Gio.DBusObjectSkeleton
1414
+ static new(object_path: string): Gio.DBusObjectSkeleton
1415
1415
  _init(config?: DbusObjectSkeleton.ConstructorProperties): void
1416
1416
  }
1417
1417
 
@@ -1526,7 +1526,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1526
1526
  * @param cancellable A #GCancellable or %NULL.
1527
1527
  * @returns The constructed proxy object or %NULL if @error is set.
1528
1528
  */
1529
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1529
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
1530
1530
 
1531
1531
  // Overloads of new_for_bus_sync
1532
1532
 
@@ -1544,7 +1544,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1544
1544
  * @param cancellable A #GCancellable or %NULL.
1545
1545
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1546
1546
  */
1547
- static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1547
+ 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
1548
  /**
1549
1549
  * 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
1550
  *
@@ -1559,7 +1559,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1559
1559
  * @param cancellable A #GCancellable or %NULL.
1560
1560
  * @returns The constructed proxy object or %NULL if @error is set.
1561
1561
  */
1562
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1562
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string, cancellable: Gio.Cancellable | null): DbusProviderProxy
1563
1563
 
1564
1564
  // Overloads of new_sync
1565
1565
 
@@ -1596,7 +1596,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1596
1596
  * @param cancellable A #GCancellable or %NULL.
1597
1597
  * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1598
1598
  */
1599
- static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1599
+ 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
1600
  _init(config?: DbusProviderProxy.ConstructorProperties): void
1601
1601
  /**
1602
1602
  * 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 +1612,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1612
1612
  * @param cancellable A #GCancellable or %NULL.
1613
1613
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1614
1614
  */
1615
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1615
+ 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
1616
 
1617
1617
  // Overloads of new
1618
1618
 
@@ -1653,7 +1653,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1653
1653
  * @param cancellable A #GCancellable or %NULL.
1654
1654
  * @param callback Callback function to invoke when the proxy is ready.
1655
1655
  */
1656
- static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1656
+ 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
1657
  /**
1658
1658
  * Like cloud_providers_dbus_provider_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1659
1659
  *
@@ -1668,7 +1668,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1668
1668
  * @param cancellable A #GCancellable or %NULL.
1669
1669
  * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1670
1670
  */
1671
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1671
+ 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
1672
 
1673
1673
  // Overloads of new_for_bus
1674
1674
 
@@ -1685,7 +1685,7 @@ class DbusProviderProxy extends Gio.DBusProxy {
1685
1685
  * @param cancellable A #GCancellable or %NULL.
1686
1686
  * @param callback Callback function to invoke when the proxy is ready.
1687
1687
  */
1688
- static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1688
+ 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
1689
  }
1690
1690
 
1691
1691
  module DbusProviderSkeleton {
@@ -1777,7 +1777,7 @@ interface Provider {
1777
1777
  // Owm methods of CloudProviders-0.3.CloudProviders.Provider
1778
1778
 
1779
1779
  get_accounts(): Account[]
1780
- get_name(): string | null
1780
+ get_name(): string
1781
1781
 
1782
1782
  // Own signals of CloudProviders-0.3.CloudProviders.Provider
1783
1783
 
@@ -1815,8 +1815,8 @@ class Provider extends GObject.Object {
1815
1815
  // Constructors of CloudProviders-0.3.CloudProviders.Provider
1816
1816
 
1817
1817
  constructor(config?: Provider.ConstructorProperties)
1818
- constructor(bus_name: string | null, object_path: string | null)
1819
- static new(bus_name: string | null, object_path: string | null): Provider
1818
+ constructor(bus_name: string, object_path: string)
1819
+ static new(bus_name: string, object_path: string): Provider
1820
1820
  _init(config?: Provider.ConstructorProperties): void
1821
1821
  }
1822
1822
 
@@ -1851,14 +1851,14 @@ interface ProviderExporter {
1851
1851
 
1852
1852
  // Owm methods of CloudProviders-0.3.CloudProviders.ProviderExporter
1853
1853
 
1854
- get_name(): string | null
1854
+ get_name(): string
1855
1855
  /**
1856
1856
  * Each cloud provider can have a variety of account associated with it. Use this
1857
1857
  * function to remove the accounts that were added when created by cloud_providers_account_exporter_new().
1858
1858
  * @param account The account object
1859
1859
  */
1860
1860
  remove_account(account: AccountExporter): void
1861
- set_name(name: string | null): void
1861
+ set_name(name: string): void
1862
1862
 
1863
1863
  // Class property signals of CloudProviders-0.3.CloudProviders.ProviderExporter
1864
1864
 
@@ -1896,8 +1896,8 @@ class ProviderExporter extends GObject.Object {
1896
1896
  // Constructors of CloudProviders-0.3.CloudProviders.ProviderExporter
1897
1897
 
1898
1898
  constructor(config?: ProviderExporter.ConstructorProperties)
1899
- constructor(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null)
1900
- static new(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null): ProviderExporter
1899
+ constructor(bus: Gio.DBusConnection, bus_name: string, bus_path: string)
1900
+ static new(bus: Gio.DBusConnection, bus_name: string, bus_path: string): ProviderExporter
1901
1901
  _init(config?: ProviderExporter.ConstructorProperties): void
1902
1902
  }
1903
1903
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cloudproviders-0.3",
3
- "version": "0.3.0-3.2.6",
3
+ "version": "0.3.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0",
5
5
  "type": "module",
6
6
  "module": "cloudproviders-0.3.js",
@@ -25,10 +25,10 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit cloudproviders-0.3.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6"
28
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
29
+ "@girs/gjs": "^3.2.7",
30
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
31
+ "@girs/gobject-2.0": "^2.78.0-3.2.7"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "*"