@girs/gtef-2 2.0.0-3.0.0-beta.12 → 2.0.0-3.0.0-beta.13
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/gtef-2.d.cts +64 -0
- package/gtef-2.d.ts +64 -0
- package/package.json +21 -18
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# Gtef-2
|
|
3
3
|
|
|
4
|
-
GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.
|
|
4
|
+
GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.13.
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
package/gtef-2.d.cts
CHANGED
|
@@ -1085,6 +1085,21 @@ export interface FileLoader {
|
|
|
1085
1085
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1086
1086
|
*/
|
|
1087
1087
|
load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1088
|
+
|
|
1089
|
+
// Overloads of load_async
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Promisified version of {@link load_async}
|
|
1093
|
+
*
|
|
1094
|
+
* Loads asynchronously the file content into the #GtefBuffer.
|
|
1095
|
+
*
|
|
1096
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1097
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1098
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1099
|
+
* @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
|
|
1100
|
+
* @returns A Promise of: whether the content has been loaded successfully.
|
|
1101
|
+
*/
|
|
1102
|
+
load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
|
|
1088
1103
|
/**
|
|
1089
1104
|
* Finishes a file loading started with gtef_file_loader_load_async().
|
|
1090
1105
|
* @param result a #GAsyncResult.
|
|
@@ -1226,6 +1241,24 @@ export interface FileMetadata {
|
|
|
1226
1241
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1227
1242
|
*/
|
|
1228
1243
|
load_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1244
|
+
|
|
1245
|
+
// Overloads of load_async
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Promisified version of {@link load_async}
|
|
1249
|
+
*
|
|
1250
|
+
* The asynchronous version of gtef_file_metadata_load().
|
|
1251
|
+
*
|
|
1252
|
+
* If the metadata is loaded from the metadata manager (i.e. not with GVfs),
|
|
1253
|
+
* this function loads the metadata synchronously. A future version might fix
|
|
1254
|
+
* this.
|
|
1255
|
+
*
|
|
1256
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1257
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1258
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1259
|
+
* @returns A Promise of: whether the metadata was loaded successfully.
|
|
1260
|
+
*/
|
|
1261
|
+
load_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
1229
1262
|
/**
|
|
1230
1263
|
* Finishes the metadata loading started with gtef_file_metadata_load_async().
|
|
1231
1264
|
* @param result a #GAsyncResult.
|
|
@@ -1255,6 +1288,23 @@ export interface FileMetadata {
|
|
|
1255
1288
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1256
1289
|
*/
|
|
1257
1290
|
save_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1291
|
+
|
|
1292
|
+
// Overloads of save_async
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* Promisified version of {@link save_async}
|
|
1296
|
+
*
|
|
1297
|
+
* The asynchronous version of gtef_file_metadata_save().
|
|
1298
|
+
*
|
|
1299
|
+
* If the metadata is saved with the metadata manager (i.e. not with GVfs), this
|
|
1300
|
+
* function saves the metadata synchronously. A future version might fix this.
|
|
1301
|
+
*
|
|
1302
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1303
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1304
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1305
|
+
* @returns A Promise of: whether the metadata was saved successfully.
|
|
1306
|
+
*/
|
|
1307
|
+
save_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
1258
1308
|
/**
|
|
1259
1309
|
* Finishes the metadata saving started with gtef_file_metadata_save_async().
|
|
1260
1310
|
* @param result a #GAsyncResult.
|
|
@@ -1400,6 +1450,20 @@ export interface FileSaver {
|
|
|
1400
1450
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1401
1451
|
*/
|
|
1402
1452
|
save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1453
|
+
|
|
1454
|
+
// Overloads of save_async
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Promisified version of {@link save_async}
|
|
1458
|
+
*
|
|
1459
|
+
* Saves asynchronously the buffer into the file. See the #GAsyncResult
|
|
1460
|
+
* documentation to know how to use this function.
|
|
1461
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1462
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1463
|
+
* @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
|
|
1464
|
+
* @returns A Promise of: whether the file was saved successfully.
|
|
1465
|
+
*/
|
|
1466
|
+
save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
|
|
1403
1467
|
/**
|
|
1404
1468
|
* Finishes a file saving started with gtef_file_saver_save_async().
|
|
1405
1469
|
*
|
package/gtef-2.d.ts
CHANGED
|
@@ -1087,6 +1087,21 @@ interface FileLoader {
|
|
|
1087
1087
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1088
1088
|
*/
|
|
1089
1089
|
load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1090
|
+
|
|
1091
|
+
// Overloads of load_async
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* Promisified version of {@link load_async}
|
|
1095
|
+
*
|
|
1096
|
+
* Loads asynchronously the file content into the #GtefBuffer.
|
|
1097
|
+
*
|
|
1098
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1099
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1100
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1101
|
+
* @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
|
|
1102
|
+
* @returns A Promise of: whether the content has been loaded successfully.
|
|
1103
|
+
*/
|
|
1104
|
+
load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
|
|
1090
1105
|
/**
|
|
1091
1106
|
* Finishes a file loading started with gtef_file_loader_load_async().
|
|
1092
1107
|
* @param result a #GAsyncResult.
|
|
@@ -1228,6 +1243,24 @@ interface FileMetadata {
|
|
|
1228
1243
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1229
1244
|
*/
|
|
1230
1245
|
load_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1246
|
+
|
|
1247
|
+
// Overloads of load_async
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Promisified version of {@link load_async}
|
|
1251
|
+
*
|
|
1252
|
+
* The asynchronous version of gtef_file_metadata_load().
|
|
1253
|
+
*
|
|
1254
|
+
* If the metadata is loaded from the metadata manager (i.e. not with GVfs),
|
|
1255
|
+
* this function loads the metadata synchronously. A future version might fix
|
|
1256
|
+
* this.
|
|
1257
|
+
*
|
|
1258
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1259
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1260
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1261
|
+
* @returns A Promise of: whether the metadata was loaded successfully.
|
|
1262
|
+
*/
|
|
1263
|
+
load_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
1231
1264
|
/**
|
|
1232
1265
|
* Finishes the metadata loading started with gtef_file_metadata_load_async().
|
|
1233
1266
|
* @param result a #GAsyncResult.
|
|
@@ -1257,6 +1290,23 @@ interface FileMetadata {
|
|
|
1257
1290
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1258
1291
|
*/
|
|
1259
1292
|
save_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1293
|
+
|
|
1294
|
+
// Overloads of save_async
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Promisified version of {@link save_async}
|
|
1298
|
+
*
|
|
1299
|
+
* The asynchronous version of gtef_file_metadata_save().
|
|
1300
|
+
*
|
|
1301
|
+
* If the metadata is saved with the metadata manager (i.e. not with GVfs), this
|
|
1302
|
+
* function saves the metadata synchronously. A future version might fix this.
|
|
1303
|
+
*
|
|
1304
|
+
* See the #GAsyncResult documentation to know how to use this function.
|
|
1305
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1306
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1307
|
+
* @returns A Promise of: whether the metadata was saved successfully.
|
|
1308
|
+
*/
|
|
1309
|
+
save_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
1260
1310
|
/**
|
|
1261
1311
|
* Finishes the metadata saving started with gtef_file_metadata_save_async().
|
|
1262
1312
|
* @param result a #GAsyncResult.
|
|
@@ -1402,6 +1452,20 @@ interface FileSaver {
|
|
|
1402
1452
|
* @param callback a #GAsyncReadyCallback to call when the request is satisfied.
|
|
1403
1453
|
*/
|
|
1404
1454
|
save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1455
|
+
|
|
1456
|
+
// Overloads of save_async
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Promisified version of {@link save_async}
|
|
1460
|
+
*
|
|
1461
|
+
* Saves asynchronously the buffer into the file. See the #GAsyncResult
|
|
1462
|
+
* documentation to know how to use this function.
|
|
1463
|
+
* @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
|
|
1464
|
+
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1465
|
+
* @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
|
|
1466
|
+
* @returns A Promise of: whether the file was saved successfully.
|
|
1467
|
+
*/
|
|
1468
|
+
save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
|
|
1405
1469
|
/**
|
|
1406
1470
|
* Finishes a file saving started with gtef_file_saver_save_async().
|
|
1407
1471
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtef-2",
|
|
3
|
-
"version": "2.0.0-3.0.0-beta.
|
|
3
|
+
"version": "2.0.0-3.0.0-beta.13",
|
|
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",
|
|
@@ -29,31 +29,34 @@
|
|
|
29
29
|
"test:cjs": "tsc --noEmit gtef-2.d.cts"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@girs/atk-1.0": "^2.45.1-3.0.0-beta.
|
|
33
|
-
"@girs/cairo-1.0": "^1.0.0-3.0.0-beta.
|
|
34
|
-
"@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.
|
|
35
|
-
"@girs/gdk-3.0": "^3.24.36-3.0.0-beta.
|
|
36
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.
|
|
37
|
-
"@girs/gio-2.0": "^2.
|
|
38
|
-
"@girs/glib-2.0": "^2.
|
|
39
|
-
"@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.
|
|
40
|
-
"@girs/gobject-2.0": "^2.
|
|
41
|
-
"@girs/gtk-3.0": "^3.24.36-3.0.0-beta.
|
|
42
|
-
"@girs/gtksource-3.0": "^3.0.0-3.0.0-beta.
|
|
43
|
-
"@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.
|
|
44
|
-
"@girs/pango-1.0": "^1.50.13-3.0.0-beta.
|
|
45
|
-
"@girs/xlib-2.0": "^2.0.0-3.0.0-beta.
|
|
32
|
+
"@girs/atk-1.0": "^2.45.1-3.0.0-beta.13",
|
|
33
|
+
"@girs/cairo-1.0": "^1.0.0-3.0.0-beta.13",
|
|
34
|
+
"@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.13",
|
|
35
|
+
"@girs/gdk-3.0": "^3.24.36-3.0.0-beta.13",
|
|
36
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.13",
|
|
37
|
+
"@girs/gio-2.0": "^2.76.1-3.0.0-beta.13",
|
|
38
|
+
"@girs/glib-2.0": "^2.76.1-3.0.0-beta.13",
|
|
39
|
+
"@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.13",
|
|
40
|
+
"@girs/gobject-2.0": "^2.76.1-3.0.0-beta.13",
|
|
41
|
+
"@girs/gtk-3.0": "^3.24.36-3.0.0-beta.13",
|
|
42
|
+
"@girs/gtksource-3.0": "^3.0.0-3.0.0-beta.13",
|
|
43
|
+
"@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.13",
|
|
44
|
+
"@girs/pango-1.0": "^1.50.13-3.0.0-beta.13",
|
|
45
|
+
"@girs/xlib-2.0": "^2.0.0-3.0.0-beta.13"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"typescript": "
|
|
48
|
+
"typescript": "^5.0.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"Gir",
|
|
52
52
|
"TypeScript",
|
|
53
|
+
"types",
|
|
54
|
+
"GObject-Introspection",
|
|
55
|
+
"GJS",
|
|
53
56
|
"Gtef-2"
|
|
54
57
|
],
|
|
55
58
|
"author": "ts-for-gir",
|
|
56
|
-
"license": "
|
|
59
|
+
"license": "MIT",
|
|
57
60
|
"repository": {
|
|
58
61
|
"type": "git",
|
|
59
62
|
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
@@ -61,5 +64,5 @@
|
|
|
61
64
|
"bugs": {
|
|
62
65
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
|
63
66
|
},
|
|
64
|
-
"homepage": "https://github.com/gjsify/
|
|
67
|
+
"homepage": "https://github.com/gjsify/types/tree/main/gtef-2#readme"
|
|
65
68
|
}
|