@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.16 → 0.3.0-4.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cloudproviders-0.3.d.ts +264 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.18.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/cloudproviders-0.3.d.ts
CHANGED
|
@@ -418,6 +418,93 @@ export namespace CloudProviders {
|
|
|
418
418
|
set statusDetails(val: string);
|
|
419
419
|
|
|
420
420
|
// Inherited methods
|
|
421
|
+
/**
|
|
422
|
+
* Starts asynchronous initialization of the object implementing the
|
|
423
|
+
* interface. This must be done before any real use of the object after
|
|
424
|
+
* initial construction. If the object also implements #GInitable you can
|
|
425
|
+
* optionally call g_initable_init() instead.
|
|
426
|
+
*
|
|
427
|
+
* This method is intended for language bindings. If writing in C,
|
|
428
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
429
|
+
*
|
|
430
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
431
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
432
|
+
* initialization.
|
|
433
|
+
*
|
|
434
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
435
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
436
|
+
* object from another thread. If the operation was cancelled, the error
|
|
437
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
438
|
+
* the object doesn't support cancellable initialization, the error
|
|
439
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
440
|
+
*
|
|
441
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
442
|
+
* returns with an error, then all operations on the object except
|
|
443
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
444
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
445
|
+
* g_warning(), but this must not be relied on.
|
|
446
|
+
*
|
|
447
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
448
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
449
|
+
* If a class explicitly supports being initialized multiple times,
|
|
450
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
451
|
+
* results of the first call.
|
|
452
|
+
*
|
|
453
|
+
* For classes that also support the #GInitable interface, the default
|
|
454
|
+
* implementation of this method will run the g_initable_init() function
|
|
455
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
456
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
457
|
+
* any interface methods.
|
|
458
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
459
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
460
|
+
*/
|
|
461
|
+
init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
|
|
462
|
+
/**
|
|
463
|
+
* Starts asynchronous initialization of the object implementing the
|
|
464
|
+
* interface. This must be done before any real use of the object after
|
|
465
|
+
* initial construction. If the object also implements #GInitable you can
|
|
466
|
+
* optionally call g_initable_init() instead.
|
|
467
|
+
*
|
|
468
|
+
* This method is intended for language bindings. If writing in C,
|
|
469
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
470
|
+
*
|
|
471
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
472
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
473
|
+
* initialization.
|
|
474
|
+
*
|
|
475
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
476
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
477
|
+
* object from another thread. If the operation was cancelled, the error
|
|
478
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
479
|
+
* the object doesn't support cancellable initialization, the error
|
|
480
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
481
|
+
*
|
|
482
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
483
|
+
* returns with an error, then all operations on the object except
|
|
484
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
485
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
486
|
+
* g_warning(), but this must not be relied on.
|
|
487
|
+
*
|
|
488
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
489
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
490
|
+
* If a class explicitly supports being initialized multiple times,
|
|
491
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
492
|
+
* results of the first call.
|
|
493
|
+
*
|
|
494
|
+
* For classes that also support the #GInitable interface, the default
|
|
495
|
+
* implementation of this method will run the g_initable_init() function
|
|
496
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
497
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
498
|
+
* any interface methods.
|
|
499
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
500
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
501
|
+
* @param callback a #GAsyncReadyCallback to call when the request is satisfied
|
|
502
|
+
*/
|
|
503
|
+
init_async(
|
|
504
|
+
io_priority: number,
|
|
505
|
+
cancellable: Gio.Cancellable | null,
|
|
506
|
+
callback: Gio.AsyncReadyCallback<this> | null,
|
|
507
|
+
): void;
|
|
421
508
|
/**
|
|
422
509
|
* Starts asynchronous initialization of the object implementing the
|
|
423
510
|
* interface. This must be done before any real use of the object after
|
|
@@ -463,7 +550,7 @@ export namespace CloudProviders {
|
|
|
463
550
|
io_priority: number,
|
|
464
551
|
cancellable?: Gio.Cancellable | null,
|
|
465
552
|
callback?: Gio.AsyncReadyCallback<this> | null,
|
|
466
|
-
): void;
|
|
553
|
+
): Promise<boolean> | void;
|
|
467
554
|
/**
|
|
468
555
|
* Finishes asynchronous initialization and returns the result.
|
|
469
556
|
* See g_async_initable_init_async().
|
|
@@ -1676,6 +1763,93 @@ export namespace CloudProviders {
|
|
|
1676
1763
|
static new_for_bus(...args: never[]): any;
|
|
1677
1764
|
|
|
1678
1765
|
// Inherited methods
|
|
1766
|
+
/**
|
|
1767
|
+
* Starts asynchronous initialization of the object implementing the
|
|
1768
|
+
* interface. This must be done before any real use of the object after
|
|
1769
|
+
* initial construction. If the object also implements #GInitable you can
|
|
1770
|
+
* optionally call g_initable_init() instead.
|
|
1771
|
+
*
|
|
1772
|
+
* This method is intended for language bindings. If writing in C,
|
|
1773
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
1774
|
+
*
|
|
1775
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
1776
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
1777
|
+
* initialization.
|
|
1778
|
+
*
|
|
1779
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
1780
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
1781
|
+
* object from another thread. If the operation was cancelled, the error
|
|
1782
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
1783
|
+
* the object doesn't support cancellable initialization, the error
|
|
1784
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
1785
|
+
*
|
|
1786
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
1787
|
+
* returns with an error, then all operations on the object except
|
|
1788
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
1789
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
1790
|
+
* g_warning(), but this must not be relied on.
|
|
1791
|
+
*
|
|
1792
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
1793
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
1794
|
+
* If a class explicitly supports being initialized multiple times,
|
|
1795
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
1796
|
+
* results of the first call.
|
|
1797
|
+
*
|
|
1798
|
+
* For classes that also support the #GInitable interface, the default
|
|
1799
|
+
* implementation of this method will run the g_initable_init() function
|
|
1800
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
1801
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
1802
|
+
* any interface methods.
|
|
1803
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1804
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1805
|
+
*/
|
|
1806
|
+
init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
|
|
1807
|
+
/**
|
|
1808
|
+
* Starts asynchronous initialization of the object implementing the
|
|
1809
|
+
* interface. This must be done before any real use of the object after
|
|
1810
|
+
* initial construction. If the object also implements #GInitable you can
|
|
1811
|
+
* optionally call g_initable_init() instead.
|
|
1812
|
+
*
|
|
1813
|
+
* This method is intended for language bindings. If writing in C,
|
|
1814
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
1815
|
+
*
|
|
1816
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
1817
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
1818
|
+
* initialization.
|
|
1819
|
+
*
|
|
1820
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
1821
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
1822
|
+
* object from another thread. If the operation was cancelled, the error
|
|
1823
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
1824
|
+
* the object doesn't support cancellable initialization, the error
|
|
1825
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
1826
|
+
*
|
|
1827
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
1828
|
+
* returns with an error, then all operations on the object except
|
|
1829
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
1830
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
1831
|
+
* g_warning(), but this must not be relied on.
|
|
1832
|
+
*
|
|
1833
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
1834
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
1835
|
+
* If a class explicitly supports being initialized multiple times,
|
|
1836
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
1837
|
+
* results of the first call.
|
|
1838
|
+
*
|
|
1839
|
+
* For classes that also support the #GInitable interface, the default
|
|
1840
|
+
* implementation of this method will run the g_initable_init() function
|
|
1841
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
1842
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
1843
|
+
* any interface methods.
|
|
1844
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1845
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1846
|
+
* @param callback a #GAsyncReadyCallback to call when the request is satisfied
|
|
1847
|
+
*/
|
|
1848
|
+
init_async(
|
|
1849
|
+
io_priority: number,
|
|
1850
|
+
cancellable: Gio.Cancellable | null,
|
|
1851
|
+
callback: Gio.AsyncReadyCallback<this> | null,
|
|
1852
|
+
): void;
|
|
1679
1853
|
/**
|
|
1680
1854
|
* Starts asynchronous initialization of the object implementing the
|
|
1681
1855
|
* interface. This must be done before any real use of the object after
|
|
@@ -1721,7 +1895,7 @@ export namespace CloudProviders {
|
|
|
1721
1895
|
io_priority: number,
|
|
1722
1896
|
cancellable?: Gio.Cancellable | null,
|
|
1723
1897
|
callback?: Gio.AsyncReadyCallback<this> | null,
|
|
1724
|
-
): void;
|
|
1898
|
+
): Promise<boolean> | void;
|
|
1725
1899
|
/**
|
|
1726
1900
|
* Finishes asynchronous initialization and returns the result.
|
|
1727
1901
|
* See g_async_initable_init_async().
|
|
@@ -3458,6 +3632,93 @@ export namespace CloudProviders {
|
|
|
3458
3632
|
set name(val: string);
|
|
3459
3633
|
|
|
3460
3634
|
// Inherited methods
|
|
3635
|
+
/**
|
|
3636
|
+
* Starts asynchronous initialization of the object implementing the
|
|
3637
|
+
* interface. This must be done before any real use of the object after
|
|
3638
|
+
* initial construction. If the object also implements #GInitable you can
|
|
3639
|
+
* optionally call g_initable_init() instead.
|
|
3640
|
+
*
|
|
3641
|
+
* This method is intended for language bindings. If writing in C,
|
|
3642
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
3643
|
+
*
|
|
3644
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
3645
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
3646
|
+
* initialization.
|
|
3647
|
+
*
|
|
3648
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
3649
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
3650
|
+
* object from another thread. If the operation was cancelled, the error
|
|
3651
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
3652
|
+
* the object doesn't support cancellable initialization, the error
|
|
3653
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
3654
|
+
*
|
|
3655
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
3656
|
+
* returns with an error, then all operations on the object except
|
|
3657
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
3658
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
3659
|
+
* g_warning(), but this must not be relied on.
|
|
3660
|
+
*
|
|
3661
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
3662
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
3663
|
+
* If a class explicitly supports being initialized multiple times,
|
|
3664
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
3665
|
+
* results of the first call.
|
|
3666
|
+
*
|
|
3667
|
+
* For classes that also support the #GInitable interface, the default
|
|
3668
|
+
* implementation of this method will run the g_initable_init() function
|
|
3669
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
3670
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
3671
|
+
* any interface methods.
|
|
3672
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
3673
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
3674
|
+
*/
|
|
3675
|
+
init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
|
|
3676
|
+
/**
|
|
3677
|
+
* Starts asynchronous initialization of the object implementing the
|
|
3678
|
+
* interface. This must be done before any real use of the object after
|
|
3679
|
+
* initial construction. If the object also implements #GInitable you can
|
|
3680
|
+
* optionally call g_initable_init() instead.
|
|
3681
|
+
*
|
|
3682
|
+
* This method is intended for language bindings. If writing in C,
|
|
3683
|
+
* g_async_initable_new_async() should typically be used instead.
|
|
3684
|
+
*
|
|
3685
|
+
* When the initialization is finished, `callback` will be called. You can
|
|
3686
|
+
* then call g_async_initable_init_finish() to get the result of the
|
|
3687
|
+
* initialization.
|
|
3688
|
+
*
|
|
3689
|
+
* Implementations may also support cancellation. If `cancellable` is not
|
|
3690
|
+
* %NULL, then initialization can be cancelled by triggering the cancellable
|
|
3691
|
+
* object from another thread. If the operation was cancelled, the error
|
|
3692
|
+
* %G_IO_ERROR_CANCELLED will be returned. If `cancellable` is not %NULL, and
|
|
3693
|
+
* the object doesn't support cancellable initialization, the error
|
|
3694
|
+
* %G_IO_ERROR_NOT_SUPPORTED will be returned.
|
|
3695
|
+
*
|
|
3696
|
+
* As with #GInitable, if the object is not initialized, or initialization
|
|
3697
|
+
* returns with an error, then all operations on the object except
|
|
3698
|
+
* g_object_ref() and g_object_unref() are considered to be invalid, and
|
|
3699
|
+
* have undefined behaviour. They will often fail with g_critical() or
|
|
3700
|
+
* g_warning(), but this must not be relied on.
|
|
3701
|
+
*
|
|
3702
|
+
* Callers should not assume that a class which implements #GAsyncInitable can
|
|
3703
|
+
* be initialized multiple times; for more information, see g_initable_init().
|
|
3704
|
+
* If a class explicitly supports being initialized multiple times,
|
|
3705
|
+
* implementation requires yielding all subsequent calls to init_async() on the
|
|
3706
|
+
* results of the first call.
|
|
3707
|
+
*
|
|
3708
|
+
* For classes that also support the #GInitable interface, the default
|
|
3709
|
+
* implementation of this method will run the g_initable_init() function
|
|
3710
|
+
* in a thread, so if you want to support asynchronous initialization via
|
|
3711
|
+
* threads, just implement the #GAsyncInitable interface without overriding
|
|
3712
|
+
* any interface methods.
|
|
3713
|
+
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
3714
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
3715
|
+
* @param callback a #GAsyncReadyCallback to call when the request is satisfied
|
|
3716
|
+
*/
|
|
3717
|
+
init_async(
|
|
3718
|
+
io_priority: number,
|
|
3719
|
+
cancellable: Gio.Cancellable | null,
|
|
3720
|
+
callback: Gio.AsyncReadyCallback<this> | null,
|
|
3721
|
+
): void;
|
|
3461
3722
|
/**
|
|
3462
3723
|
* Starts asynchronous initialization of the object implementing the
|
|
3463
3724
|
* interface. This must be done before any real use of the object after
|
|
@@ -3503,7 +3764,7 @@ export namespace CloudProviders {
|
|
|
3503
3764
|
io_priority: number,
|
|
3504
3765
|
cancellable?: Gio.Cancellable | null,
|
|
3505
3766
|
callback?: Gio.AsyncReadyCallback<this> | null,
|
|
3506
|
-
): void;
|
|
3767
|
+
): Promise<boolean> | void;
|
|
3507
3768
|
/**
|
|
3508
3769
|
* Finishes asynchronous initialization and returns the result.
|
|
3509
3770
|
* See g_async_initable_init_async().
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/cloudproviders-0.3",
|
|
3
|
-
"version": "0.3.0-4.0.0-beta.
|
|
3
|
+
"version": "0.3.0-4.0.0-beta.18",
|
|
4
4
|
"description": "GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "cloudproviders-0.3.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gio-2.0": "^2.82.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/glib-2.0": "^2.82.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
38
|
-
"@girs/gobject-2.0": "^2.82.
|
|
34
|
+
"@girs/gio-2.0": "^2.82.2-4.0.0-beta.18",
|
|
35
|
+
"@girs/gjs": "^4.0.0-beta.18",
|
|
36
|
+
"@girs/glib-2.0": "^2.82.2-4.0.0-beta.18",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.18",
|
|
38
|
+
"@girs/gobject-2.0": "^2.82.2-4.0.0-beta.18"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "*"
|