@girs/gpaste-2 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gpaste-2.d.ts +45 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GPaste-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.
|
|
8
|
+
GJS TypeScript type definitions for GPaste-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/gpaste-2.d.ts
CHANGED
|
@@ -1656,6 +1656,7 @@ export namespace GPaste {
|
|
|
1656
1656
|
* any interface methods.
|
|
1657
1657
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1658
1658
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1659
|
+
* @since 2.22
|
|
1659
1660
|
*/
|
|
1660
1661
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
1661
1662
|
|
|
@@ -1699,6 +1700,7 @@ export namespace GPaste {
|
|
|
1699
1700
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1700
1701
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1701
1702
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1703
|
+
* @since 2.22
|
|
1702
1704
|
*/
|
|
1703
1705
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
1704
1706
|
|
|
@@ -1742,6 +1744,7 @@ export namespace GPaste {
|
|
|
1742
1744
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1743
1745
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1744
1746
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1747
|
+
* @since 2.22
|
|
1745
1748
|
*/
|
|
1746
1749
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
1747
1750
|
|
|
@@ -1750,6 +1753,7 @@ export namespace GPaste {
|
|
|
1750
1753
|
* See `g_async_initable_init_async()`.
|
|
1751
1754
|
* @param res a {@link Gio.AsyncResult}.
|
|
1752
1755
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
1756
|
+
* @since 2.22
|
|
1753
1757
|
*/
|
|
1754
1758
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
1755
1759
|
|
|
@@ -1758,6 +1762,7 @@ export namespace GPaste {
|
|
|
1758
1762
|
* calls, returning the created object or `null` on error.
|
|
1759
1763
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
1760
1764
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
1765
|
+
* @since 2.22
|
|
1761
1766
|
*/
|
|
1762
1767
|
new_finish(res: Gio.AsyncResult): Client;
|
|
1763
1768
|
|
|
@@ -1807,6 +1812,7 @@ export namespace GPaste {
|
|
|
1807
1812
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
1808
1813
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1809
1814
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
1815
|
+
* @since 2.22
|
|
1810
1816
|
* @virtual
|
|
1811
1817
|
*/
|
|
1812
1818
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -1815,6 +1821,7 @@ export namespace GPaste {
|
|
|
1815
1821
|
* Finishes asynchronous initialization and returns the result.
|
|
1816
1822
|
* See `g_async_initable_init_async()`.
|
|
1817
1823
|
* @param res a {@link Gio.AsyncResult}.
|
|
1824
|
+
* @since 2.22
|
|
1818
1825
|
* @virtual
|
|
1819
1826
|
*/
|
|
1820
1827
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -1822,6 +1829,7 @@ export namespace GPaste {
|
|
|
1822
1829
|
/**
|
|
1823
1830
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1824
1831
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
1832
|
+
* @since 2.32
|
|
1825
1833
|
*/
|
|
1826
1834
|
get_object(): Gio.DBusObject | null;
|
|
1827
1835
|
|
|
@@ -1834,6 +1842,7 @@ export namespace GPaste {
|
|
|
1834
1842
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
1835
1843
|
* {@link Gio.DBusInterfaceInfo}.
|
|
1836
1844
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
1845
|
+
* @since 2.30
|
|
1837
1846
|
*/
|
|
1838
1847
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
1839
1848
|
|
|
@@ -1842,11 +1851,13 @@ export namespace GPaste {
|
|
|
1842
1851
|
*
|
|
1843
1852
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
1844
1853
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1854
|
+
* @since 2.30
|
|
1845
1855
|
*/
|
|
1846
1856
|
set_object(object: Gio.DBusObject | null): void;
|
|
1847
1857
|
|
|
1848
1858
|
/**
|
|
1849
1859
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
1860
|
+
* @since 2.32
|
|
1850
1861
|
* @virtual
|
|
1851
1862
|
*/
|
|
1852
1863
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -1859,6 +1870,7 @@ export namespace GPaste {
|
|
|
1859
1870
|
* construction of `interface_` and is also not made available otherwise.
|
|
1860
1871
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
1861
1872
|
* {@link Gio.DBusInterfaceInfo}.
|
|
1873
|
+
* @since 2.30
|
|
1862
1874
|
* @virtual
|
|
1863
1875
|
*/
|
|
1864
1876
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -1868,6 +1880,7 @@ export namespace GPaste {
|
|
|
1868
1880
|
*
|
|
1869
1881
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
1870
1882
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
1883
|
+
* @since 2.30
|
|
1871
1884
|
* @virtual
|
|
1872
1885
|
*/
|
|
1873
1886
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -1913,6 +1926,7 @@ export namespace GPaste {
|
|
|
1913
1926
|
* instance.
|
|
1914
1927
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1915
1928
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
1929
|
+
* @since 2.22
|
|
1916
1930
|
*/
|
|
1917
1931
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
1918
1932
|
|
|
@@ -1956,6 +1970,7 @@ export namespace GPaste {
|
|
|
1956
1970
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
1957
1971
|
* instance.
|
|
1958
1972
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
1973
|
+
* @since 2.22
|
|
1959
1974
|
* @virtual
|
|
1960
1975
|
*/
|
|
1961
1976
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2268,6 +2283,7 @@ export namespace GPaste {
|
|
|
2268
2283
|
* any interface methods.
|
|
2269
2284
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2270
2285
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2286
|
+
* @since 2.22
|
|
2271
2287
|
*/
|
|
2272
2288
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
2273
2289
|
|
|
@@ -2311,6 +2327,7 @@ export namespace GPaste {
|
|
|
2311
2327
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2312
2328
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2313
2329
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2330
|
+
* @since 2.22
|
|
2314
2331
|
*/
|
|
2315
2332
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
2316
2333
|
|
|
@@ -2354,6 +2371,7 @@ export namespace GPaste {
|
|
|
2354
2371
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2355
2372
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2356
2373
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2374
|
+
* @since 2.22
|
|
2357
2375
|
*/
|
|
2358
2376
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
2359
2377
|
|
|
@@ -2362,6 +2380,7 @@ export namespace GPaste {
|
|
|
2362
2380
|
* See `g_async_initable_init_async()`.
|
|
2363
2381
|
* @param res a {@link Gio.AsyncResult}.
|
|
2364
2382
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2383
|
+
* @since 2.22
|
|
2365
2384
|
*/
|
|
2366
2385
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
2367
2386
|
|
|
@@ -2370,6 +2389,7 @@ export namespace GPaste {
|
|
|
2370
2389
|
* calls, returning the created object or `null` on error.
|
|
2371
2390
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
2372
2391
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
2392
|
+
* @since 2.22
|
|
2373
2393
|
*/
|
|
2374
2394
|
new_finish(res: Gio.AsyncResult): GnomeShellClient;
|
|
2375
2395
|
|
|
@@ -2419,6 +2439,7 @@ export namespace GPaste {
|
|
|
2419
2439
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2420
2440
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2421
2441
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2442
|
+
* @since 2.22
|
|
2422
2443
|
* @virtual
|
|
2423
2444
|
*/
|
|
2424
2445
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -2427,6 +2448,7 @@ export namespace GPaste {
|
|
|
2427
2448
|
* Finishes asynchronous initialization and returns the result.
|
|
2428
2449
|
* See `g_async_initable_init_async()`.
|
|
2429
2450
|
* @param res a {@link Gio.AsyncResult}.
|
|
2451
|
+
* @since 2.22
|
|
2430
2452
|
* @virtual
|
|
2431
2453
|
*/
|
|
2432
2454
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -2434,6 +2456,7 @@ export namespace GPaste {
|
|
|
2434
2456
|
/**
|
|
2435
2457
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2436
2458
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2459
|
+
* @since 2.32
|
|
2437
2460
|
*/
|
|
2438
2461
|
get_object(): Gio.DBusObject | null;
|
|
2439
2462
|
|
|
@@ -2446,6 +2469,7 @@ export namespace GPaste {
|
|
|
2446
2469
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2447
2470
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2448
2471
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
2472
|
+
* @since 2.30
|
|
2449
2473
|
*/
|
|
2450
2474
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
2451
2475
|
|
|
@@ -2454,11 +2478,13 @@ export namespace GPaste {
|
|
|
2454
2478
|
*
|
|
2455
2479
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2456
2480
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2481
|
+
* @since 2.30
|
|
2457
2482
|
*/
|
|
2458
2483
|
set_object(object: Gio.DBusObject | null): void;
|
|
2459
2484
|
|
|
2460
2485
|
/**
|
|
2461
2486
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2487
|
+
* @since 2.32
|
|
2462
2488
|
* @virtual
|
|
2463
2489
|
*/
|
|
2464
2490
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -2471,6 +2497,7 @@ export namespace GPaste {
|
|
|
2471
2497
|
* construction of `interface_` and is also not made available otherwise.
|
|
2472
2498
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2473
2499
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2500
|
+
* @since 2.30
|
|
2474
2501
|
* @virtual
|
|
2475
2502
|
*/
|
|
2476
2503
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -2480,6 +2507,7 @@ export namespace GPaste {
|
|
|
2480
2507
|
*
|
|
2481
2508
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2482
2509
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2510
|
+
* @since 2.30
|
|
2483
2511
|
* @virtual
|
|
2484
2512
|
*/
|
|
2485
2513
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -2525,6 +2553,7 @@ export namespace GPaste {
|
|
|
2525
2553
|
* instance.
|
|
2526
2554
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2527
2555
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2556
|
+
* @since 2.22
|
|
2528
2557
|
*/
|
|
2529
2558
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2530
2559
|
|
|
@@ -2568,6 +2597,7 @@ export namespace GPaste {
|
|
|
2568
2597
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2569
2598
|
* instance.
|
|
2570
2599
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2600
|
+
* @since 2.22
|
|
2571
2601
|
* @virtual
|
|
2572
2602
|
*/
|
|
2573
2603
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2690,6 +2720,7 @@ export namespace GPaste {
|
|
|
2690
2720
|
* any interface methods.
|
|
2691
2721
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2692
2722
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2723
|
+
* @since 2.22
|
|
2693
2724
|
*/
|
|
2694
2725
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
|
|
2695
2726
|
|
|
@@ -2733,6 +2764,7 @@ export namespace GPaste {
|
|
|
2733
2764
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2734
2765
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2735
2766
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2767
|
+
* @since 2.22
|
|
2736
2768
|
*/
|
|
2737
2769
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
2738
2770
|
|
|
@@ -2776,6 +2808,7 @@ export namespace GPaste {
|
|
|
2776
2808
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2777
2809
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2778
2810
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2811
|
+
* @since 2.22
|
|
2779
2812
|
*/
|
|
2780
2813
|
init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
|
|
2781
2814
|
|
|
@@ -2784,6 +2817,7 @@ export namespace GPaste {
|
|
|
2784
2817
|
* See `g_async_initable_init_async()`.
|
|
2785
2818
|
* @param res a {@link Gio.AsyncResult}.
|
|
2786
2819
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2820
|
+
* @since 2.22
|
|
2787
2821
|
*/
|
|
2788
2822
|
init_finish(res: Gio.AsyncResult): boolean;
|
|
2789
2823
|
|
|
@@ -2792,6 +2826,7 @@ export namespace GPaste {
|
|
|
2792
2826
|
* calls, returning the created object or `null` on error.
|
|
2793
2827
|
* @param res the {@link Gio.AsyncResult} from the callback
|
|
2794
2828
|
* @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
|
|
2829
|
+
* @since 2.22
|
|
2795
2830
|
*/
|
|
2796
2831
|
new_finish(res: Gio.AsyncResult): ScreensaverClient;
|
|
2797
2832
|
|
|
@@ -2841,6 +2876,7 @@ export namespace GPaste {
|
|
|
2841
2876
|
* @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
|
|
2842
2877
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2843
2878
|
* @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
|
|
2879
|
+
* @since 2.22
|
|
2844
2880
|
* @virtual
|
|
2845
2881
|
*/
|
|
2846
2882
|
vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
|
|
@@ -2849,6 +2885,7 @@ export namespace GPaste {
|
|
|
2849
2885
|
* Finishes asynchronous initialization and returns the result.
|
|
2850
2886
|
* See `g_async_initable_init_async()`.
|
|
2851
2887
|
* @param res a {@link Gio.AsyncResult}.
|
|
2888
|
+
* @since 2.22
|
|
2852
2889
|
* @virtual
|
|
2853
2890
|
*/
|
|
2854
2891
|
vfunc_init_finish(res: Gio.AsyncResult): boolean;
|
|
@@ -2856,6 +2893,7 @@ export namespace GPaste {
|
|
|
2856
2893
|
/**
|
|
2857
2894
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2858
2895
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
2896
|
+
* @since 2.32
|
|
2859
2897
|
*/
|
|
2860
2898
|
get_object(): Gio.DBusObject | null;
|
|
2861
2899
|
|
|
@@ -2868,6 +2906,7 @@ export namespace GPaste {
|
|
|
2868
2906
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2869
2907
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2870
2908
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
2909
|
+
* @since 2.30
|
|
2871
2910
|
*/
|
|
2872
2911
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
2873
2912
|
|
|
@@ -2876,11 +2915,13 @@ export namespace GPaste {
|
|
|
2876
2915
|
*
|
|
2877
2916
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2878
2917
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2918
|
+
* @since 2.30
|
|
2879
2919
|
*/
|
|
2880
2920
|
set_object(object: Gio.DBusObject | null): void;
|
|
2881
2921
|
|
|
2882
2922
|
/**
|
|
2883
2923
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
2924
|
+
* @since 2.32
|
|
2884
2925
|
* @virtual
|
|
2885
2926
|
*/
|
|
2886
2927
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -2893,6 +2934,7 @@ export namespace GPaste {
|
|
|
2893
2934
|
* construction of `interface_` and is also not made available otherwise.
|
|
2894
2935
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
2895
2936
|
* {@link Gio.DBusInterfaceInfo}.
|
|
2937
|
+
* @since 2.30
|
|
2896
2938
|
* @virtual
|
|
2897
2939
|
*/
|
|
2898
2940
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -2902,6 +2944,7 @@ export namespace GPaste {
|
|
|
2902
2944
|
*
|
|
2903
2945
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
2904
2946
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
2947
|
+
* @since 2.30
|
|
2905
2948
|
* @virtual
|
|
2906
2949
|
*/
|
|
2907
2950
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -2947,6 +2990,7 @@ export namespace GPaste {
|
|
|
2947
2990
|
* instance.
|
|
2948
2991
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2949
2992
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2993
|
+
* @since 2.22
|
|
2950
2994
|
*/
|
|
2951
2995
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2952
2996
|
|
|
@@ -2990,6 +3034,7 @@ export namespace GPaste {
|
|
|
2990
3034
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2991
3035
|
* instance.
|
|
2992
3036
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
3037
|
+
* @since 2.22
|
|
2993
3038
|
* @virtual
|
|
2994
3039
|
*/
|
|
2995
3040
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gpaste-2",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GPaste-2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gpaste-2.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.
|
|
35
|
-
"@girs/gio-2.0": "^4.
|
|
36
|
-
"@girs/gobject-2.0": "^4.
|
|
37
|
-
"@girs/glib-2.0": "^4.
|
|
38
|
-
"@girs/gmodule-2.0": "^4.
|
|
34
|
+
"@girs/gjs": "^4.4.0",
|
|
35
|
+
"@girs/gio-2.0": "^4.4.0",
|
|
36
|
+
"@girs/gobject-2.0": "^4.4.0",
|
|
37
|
+
"@girs/glib-2.0": "^4.4.0",
|
|
38
|
+
"@girs/gmodule-2.0": "^4.4.0" },
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "*"
|
|
41
41
|
},
|