@girs/gtef-2 2.0.0-4.0.0-beta.6 → 2.0.0-4.0.0-beta.8
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-ambient.d.ts +2 -5
- package/gtef-2-import.d.ts +0 -3
- package/gtef-2.d.ts +9 -7
- package/gtef-2.js +3 -4
- package/index.d.ts +15 -0
- package/index.js +5 -0
- package/package.json +22 -17
- package/tsconfig.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
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.
|
|
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.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gtef-2-ambient.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
1
|
declare module 'gi://Gtef?version=2' {
|
|
3
|
-
import
|
|
4
|
-
export default
|
|
2
|
+
import Gtef2 from '@girs/gtef-2';
|
|
3
|
+
export default Gtef2;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
declare module 'gi://Gtef' {
|
|
8
7
|
import Gtef2 from 'gi://Gtef?version=2';
|
|
9
8
|
export default Gtef2;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
|
package/gtef-2-import.d.ts
CHANGED
package/gtef-2.d.ts
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
2
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
3
3
|
*
|
|
4
4
|
* These type definitions are automatically generated, do not edit them by hand.
|
|
5
5
|
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
6
|
+
*
|
|
7
|
+
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
6
8
|
*/
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Gtef-2
|
|
12
|
-
*/
|
|
13
|
-
|
|
10
|
+
// Module dependencies
|
|
14
11
|
import type GtkSource from '@girs/gtksource-3.0';
|
|
15
12
|
import type Gtk from '@girs/gtk-3.0';
|
|
16
13
|
import type xlib from '@girs/xlib-2.0';
|
|
@@ -27,6 +24,10 @@ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
|
|
|
27
24
|
import type Atk from '@girs/atk-1.0';
|
|
28
25
|
|
|
29
26
|
export namespace Gtef {
|
|
27
|
+
/**
|
|
28
|
+
* Gtef-2
|
|
29
|
+
*/
|
|
30
|
+
|
|
30
31
|
enum CompressionType {
|
|
31
32
|
/**
|
|
32
33
|
* plain text.
|
|
@@ -2953,4 +2954,5 @@ export namespace Gtef {
|
|
|
2953
2954
|
}
|
|
2954
2955
|
|
|
2955
2956
|
export default Gtef;
|
|
2957
|
+
|
|
2956
2958
|
// END
|
package/gtef-2.js
CHANGED
package/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
3
|
+
*
|
|
4
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
5
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
6
|
+
*
|
|
7
|
+
* This template is used to generate the index.d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import './gtef-2-ambient.d.ts';
|
|
11
|
+
|
|
12
|
+
import './gtef-2-import.d.ts';
|
|
13
|
+
|
|
14
|
+
import Gtef from './gtef-2.js';
|
|
15
|
+
export default Gtef;
|
package/index.js
ADDED
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.
|
|
3
|
+
"version": "2.0.0-4.0.0-beta.8",
|
|
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",
|
|
@@ -16,31 +16,36 @@
|
|
|
16
16
|
"import": "./gtef-2-import.js",
|
|
17
17
|
"default": "./gtef-2-import.js"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
19
|
+
"./gtef-2": {
|
|
20
20
|
"types": "./gtef-2.d.ts",
|
|
21
21
|
"import": "./gtef-2.js",
|
|
22
22
|
"default": "./gtef-2.js"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"import": "./index.js",
|
|
27
|
+
"default": "./index.js"
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"scripts": {
|
|
26
31
|
"test": "tsc --project tsconfig.json"
|
|
27
32
|
},
|
|
28
33
|
"dependencies": {
|
|
29
|
-
"@girs/atk-1.0": "^2.52.0-4.0.0-beta.
|
|
30
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
31
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
32
|
-
"@girs/gdk-3.0": "^3.24.42-4.0.0-beta.
|
|
33
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
34
|
-
"@girs/gio-2.0": "^2.80.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/glib-2.0": "^2.80.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
38
|
-
"@girs/gobject-2.0": "^2.80.
|
|
39
|
-
"@girs/gtk-3.0": "^3.24.42-4.0.0-beta.
|
|
40
|
-
"@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.
|
|
41
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
42
|
-
"@girs/pango-1.0": "^1.
|
|
43
|
-
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.
|
|
34
|
+
"@girs/atk-1.0": "^2.52.0-4.0.0-beta.8",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.8",
|
|
36
|
+
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.8",
|
|
37
|
+
"@girs/gdk-3.0": "^3.24.42-4.0.0-beta.8",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.8",
|
|
39
|
+
"@girs/gio-2.0": "^2.80.2-4.0.0-beta.8",
|
|
40
|
+
"@girs/gjs": "^4.0.0-beta.8",
|
|
41
|
+
"@girs/glib-2.0": "^2.80.2-4.0.0-beta.8",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.8",
|
|
43
|
+
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.8",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.42-4.0.0-beta.8",
|
|
45
|
+
"@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.8",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^8.1.1-4.0.0-beta.8",
|
|
47
|
+
"@girs/pango-1.0": "^1.52.2-4.0.0-beta.8",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.8"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
46
51
|
"typescript": "*"
|
package/tsconfig.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
// General settings for code interpretation
|
|
4
4
|
"target": "ESNext",
|
|
5
|
-
"module": "
|
|
5
|
+
"module": "NodeNext",
|
|
6
6
|
"lib": ["ESNext"],
|
|
7
7
|
"types": [],
|
|
8
8
|
"experimentalDecorators": true,
|
|
9
|
-
"moduleResolution": "
|
|
9
|
+
"moduleResolution": "NodeNext",
|
|
10
10
|
"noEmit": true,
|
|
11
11
|
"noEmitOnError": false,
|
|
12
12
|
"baseUrl": "./",
|