@girs/gtef-2 2.0.0-4.0.0-beta.25 → 2.0.0-4.0.0-beta.26

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 -2
  2. package/gtef-2.d.ts +8 -8
  3. package/package.json +16 -16
package/README.md CHANGED
@@ -5,8 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gtef-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.25.
9
-
8
+ GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.26.
10
9
 
11
10
  ## Install
12
11
 
package/gtef-2.d.ts CHANGED
@@ -1172,7 +1172,7 @@ export namespace Gtef {
1172
1172
  cancellable?: Gio.Cancellable | null,
1173
1173
  progress_callback?: Gio.FileProgressCallback | null,
1174
1174
  progress_callback_notify?: GLib.DestroyNotify | null,
1175
- ): Promise<boolean>;
1175
+ ): globalThis.Promise<boolean>;
1176
1176
  /**
1177
1177
  * Loads asynchronously the file content into the #GtefBuffer.
1178
1178
  *
@@ -1206,7 +1206,7 @@ export namespace Gtef {
1206
1206
  progress_callback?: Gio.FileProgressCallback | null,
1207
1207
  progress_callback_notify?: GLib.DestroyNotify | null,
1208
1208
  callback?: Gio.AsyncReadyCallback<this> | null,
1209
- ): Promise<boolean> | void;
1209
+ ): globalThis.Promise<boolean> | void;
1210
1210
  /**
1211
1211
  * Finishes a file loading started with gtef_file_loader_load_async().
1212
1212
  * @param result a #GAsyncResult.
@@ -1310,7 +1310,7 @@ export namespace Gtef {
1310
1310
  * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1311
1311
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1312
1312
  */
1313
- load_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
1313
+ load_async(io_priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<boolean>;
1314
1314
  /**
1315
1315
  * The asynchronous version of gtef_file_metadata_load().
1316
1316
  *
@@ -1344,7 +1344,7 @@ export namespace Gtef {
1344
1344
  io_priority: number,
1345
1345
  cancellable?: Gio.Cancellable | null,
1346
1346
  callback?: Gio.AsyncReadyCallback<this> | null,
1347
- ): Promise<boolean> | void;
1347
+ ): globalThis.Promise<boolean> | void;
1348
1348
  /**
1349
1349
  * Finishes the metadata loading started with gtef_file_metadata_load_async().
1350
1350
  * @param result a #GAsyncResult.
@@ -1372,7 +1372,7 @@ export namespace Gtef {
1372
1372
  * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1373
1373
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1374
1374
  */
1375
- save_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
1375
+ save_async(io_priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<boolean>;
1376
1376
  /**
1377
1377
  * The asynchronous version of gtef_file_metadata_save().
1378
1378
  *
@@ -1404,7 +1404,7 @@ export namespace Gtef {
1404
1404
  io_priority: number,
1405
1405
  cancellable?: Gio.Cancellable | null,
1406
1406
  callback?: Gio.AsyncReadyCallback<this> | null,
1407
- ): Promise<boolean> | void;
1407
+ ): globalThis.Promise<boolean> | void;
1408
1408
  /**
1409
1409
  * Finishes the metadata saving started with gtef_file_metadata_save_async().
1410
1410
  * @param result a #GAsyncResult.
@@ -1566,7 +1566,7 @@ export namespace Gtef {
1566
1566
  cancellable?: Gio.Cancellable | null,
1567
1567
  progress_callback?: Gio.FileProgressCallback | null,
1568
1568
  progress_callback_notify?: GLib.DestroyNotify | null,
1569
- ): Promise<boolean>;
1569
+ ): globalThis.Promise<boolean>;
1570
1570
  /**
1571
1571
  * Saves asynchronously the buffer into the file. See the #GAsyncResult
1572
1572
  * documentation to know how to use this function.
@@ -1598,7 +1598,7 @@ export namespace Gtef {
1598
1598
  progress_callback?: Gio.FileProgressCallback | null,
1599
1599
  progress_callback_notify?: GLib.DestroyNotify | null,
1600
1600
  callback?: Gio.AsyncReadyCallback<this> | null,
1601
- ): Promise<boolean> | void;
1601
+ ): globalThis.Promise<boolean> | void;
1602
1602
  /**
1603
1603
  * Finishes a file saving started with gtef_file_saver_save_async().
1604
1604
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtef-2",
3
- "version": "2.0.0-4.0.0-beta.25",
3
+ "version": "2.0.0-4.0.0-beta.26",
4
4
  "description": "GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "gtef-2.js",
@@ -31,21 +31,21 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.56.2-4.0.0-beta.25",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.25",
36
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.25",
37
- "@girs/gdk-3.0": "^3.24.50-4.0.0-beta.25",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.25",
39
- "@girs/gio-2.0": "^2.84.2-4.0.0-beta.25",
40
- "@girs/gjs": "^4.0.0-beta.25",
41
- "@girs/glib-2.0": "^2.84.2-4.0.0-beta.25",
42
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.25",
43
- "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.25",
44
- "@girs/gtk-3.0": "^3.24.50-4.0.0-beta.25",
45
- "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.25",
46
- "@girs/harfbuzz-0.0": "^10.4.0-4.0.0-beta.25",
47
- "@girs/pango-1.0": "^1.56.4-4.0.0-beta.25",
48
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.25"
34
+ "@girs/atk-1.0": "^2.56.3-4.0.0-beta.26",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.26",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.26",
37
+ "@girs/gdk-3.0": "^3.24.50-4.0.0-beta.26",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.26",
39
+ "@girs/gio-2.0": "^2.84.4-4.0.0-beta.26",
40
+ "@girs/gjs": "^4.0.0-beta.26",
41
+ "@girs/glib-2.0": "^2.84.4-4.0.0-beta.26",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.26",
43
+ "@girs/gobject-2.0": "^2.84.4-4.0.0-beta.26",
44
+ "@girs/gtk-3.0": "^3.24.50-4.0.0-beta.26",
45
+ "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.26",
46
+ "@girs/harfbuzz-0.0": "^10.4.0-4.0.0-beta.26",
47
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.26",
48
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.26"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "*"