@girs/gck-1 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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/gck-1.d.ts +9 -0
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gck-1)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gck-1, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.3.0.
8
+ GJS TypeScript type definitions for Gck-1, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
9
9
 
10
10
  ## Install
11
11
 
package/gck-1.d.ts CHANGED
@@ -2577,6 +2577,7 @@ export namespace Gck {
2577
2577
  * any interface methods.
2578
2578
  * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
2579
2579
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2580
+ * @since 2.22
2580
2581
  */
2581
2582
  init_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
2582
2583
 
@@ -2620,6 +2621,7 @@ export namespace Gck {
2620
2621
  * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
2621
2622
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2622
2623
  * @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
2624
+ * @since 2.22
2623
2625
  */
2624
2626
  init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
2625
2627
 
@@ -2663,6 +2665,7 @@ export namespace Gck {
2663
2665
  * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
2664
2666
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2665
2667
  * @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
2668
+ * @since 2.22
2666
2669
  */
2667
2670
  init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback?: Gio.AsyncReadyCallback<this> | null): globalThis.Promise<boolean> | void;
2668
2671
 
@@ -2671,6 +2674,7 @@ export namespace Gck {
2671
2674
  * See `g_async_initable_init_async()`.
2672
2675
  * @param res a {@link Gio.AsyncResult}.
2673
2676
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
2677
+ * @since 2.22
2674
2678
  */
2675
2679
  init_finish(res: Gio.AsyncResult): boolean;
2676
2680
 
@@ -2679,6 +2683,7 @@ export namespace Gck {
2679
2683
  * calls, returning the created object or `null` on error.
2680
2684
  * @param res the {@link Gio.AsyncResult} from the callback
2681
2685
  * @returns a newly created {@link GObject.Object}, or `null` on error. Free with `g_object_unref()`.
2686
+ * @since 2.22
2682
2687
  */
2683
2688
  new_finish(res: Gio.AsyncResult): Session;
2684
2689
 
@@ -2722,6 +2727,7 @@ export namespace Gck {
2722
2727
  * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
2723
2728
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2724
2729
  * @param callback a {@link Gio.AsyncReadyCallback} to call when the request is satisfied
2730
+ * @since 2.22
2725
2731
  * @virtual
2726
2732
  */
2727
2733
  vfunc_init_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
@@ -2730,6 +2736,7 @@ export namespace Gck {
2730
2736
  * Finishes asynchronous initialization and returns the result.
2731
2737
  * See `g_async_initable_init_async()`.
2732
2738
  * @param res a {@link Gio.AsyncResult}.
2739
+ * @since 2.22
2733
2740
  * @virtual
2734
2741
  */
2735
2742
  vfunc_init_finish(res: Gio.AsyncResult): boolean;
@@ -2775,6 +2782,7 @@ export namespace Gck {
2775
2782
  * instance.
2776
2783
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2777
2784
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
2785
+ * @since 2.22
2778
2786
  */
2779
2787
  init(cancellable: Gio.Cancellable | null): boolean;
2780
2788
 
@@ -2818,6 +2826,7 @@ export namespace Gck {
2818
2826
  * on the result of `g_object_new()`, regardless of whether it is in fact a new
2819
2827
  * instance.
2820
2828
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2829
+ * @since 2.22
2821
2830
  * @virtual
2822
2831
  */
2823
2832
  vfunc_init(cancellable: Gio.Cancellable | null): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gck-1",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "libraryVersion": "1.0.0",
5
5
  "description": "GJS TypeScript type definitions for Gck-1, generated from library version 1.0.0",
6
6
  "type": "module",
@@ -32,11 +32,11 @@
32
32
  "test": "tsc --project tsconfig.json"
33
33
  },
34
34
  "dependencies": {
35
- "@girs/gjs": "^4.3.0",
36
- "@girs/gio-2.0": "^4.3.0",
37
- "@girs/gobject-2.0": "^4.3.0",
38
- "@girs/glib-2.0": "^4.3.0",
39
- "@girs/gmodule-2.0": "^4.3.0" },
35
+ "@girs/gjs": "^4.4.0",
36
+ "@girs/gio-2.0": "^4.4.0",
37
+ "@girs/gobject-2.0": "^4.4.0",
38
+ "@girs/glib-2.0": "^4.4.0",
39
+ "@girs/gmodule-2.0": "^4.4.0" },
40
40
  "devDependencies": {
41
41
  "typescript": "*"
42
42
  },