@girs/gmenu-3.0 3.0.0-3.2.7 → 3.0.0-3.2.9

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gmenu-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GMenu-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for GMenu-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
9
9
 
10
10
 
11
11
  ## Install
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gmenu-3.0.d.cts CHANGED
@@ -55,17 +55,6 @@ export module Tree {
55
55
  * Flags controlling the content of the menu.
56
56
  */
57
57
  flags?: TreeFlags | null
58
- /**
59
- * The name of the menu file; must be a basename or a relative path. The file
60
- * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
61
- * specification.
62
- */
63
- menu_basename?: string | null
64
- /**
65
- * The full path of the menu file. If set, GMenuTree:menu-basename will get
66
- * ignored.
67
- */
68
- menu_path?: string | null
69
58
  /**
70
59
  * The name of the menu file; must be a basename or a relative path. The file
71
60
  * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
@@ -89,23 +78,12 @@ export interface Tree {
89
78
  * Flags controlling the content of the menu.
90
79
  */
91
80
  readonly flags: TreeFlags
92
- /**
93
- * The name of the menu file; must be a basename or a relative path. The file
94
- * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
95
- * specification.
96
- */
97
- readonly menu_basename: string | null
98
81
  /**
99
82
  * The name of the menu file; must be a basename or a relative path. The file
100
83
  * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
101
84
  * specification.
102
85
  */
103
86
  readonly menuBasename: string | null
104
- /**
105
- * The full path of the menu file. If set, GMenuTree:menu-basename will get
106
- * ignored.
107
- */
108
- readonly menu_path: string | null
109
87
  /**
110
88
  * The full path of the menu file. If set, GMenuTree:menu-basename will get
111
89
  * ignored.
package/gmenu-3.0.d.ts CHANGED
@@ -57,17 +57,6 @@ module Tree {
57
57
  * Flags controlling the content of the menu.
58
58
  */
59
59
  flags?: TreeFlags | null
60
- /**
61
- * The name of the menu file; must be a basename or a relative path. The file
62
- * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
63
- * specification.
64
- */
65
- menu_basename?: string | null
66
- /**
67
- * The full path of the menu file. If set, GMenuTree:menu-basename will get
68
- * ignored.
69
- */
70
- menu_path?: string | null
71
60
  /**
72
61
  * The name of the menu file; must be a basename or a relative path. The file
73
62
  * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
@@ -91,23 +80,12 @@ interface Tree {
91
80
  * Flags controlling the content of the menu.
92
81
  */
93
82
  readonly flags: TreeFlags
94
- /**
95
- * The name of the menu file; must be a basename or a relative path. The file
96
- * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
97
- * specification.
98
- */
99
- readonly menu_basename: string | null
100
83
  /**
101
84
  * The name of the menu file; must be a basename or a relative path. The file
102
85
  * will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu
103
86
  * specification.
104
87
  */
105
88
  readonly menuBasename: string | null
106
- /**
107
- * The full path of the menu file. If set, GMenuTree:menu-basename will get
108
- * ignored.
109
- */
110
- readonly menu_path: string | null
111
89
  /**
112
90
  * The full path of the menu file. If set, GMenuTree:menu-basename will get
113
91
  * ignored.
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gmenu-3.0",
3
- "version": "3.0.0-3.2.7",
3
+ "version": "3.0.0-3.2.9",
4
4
  "description": "GJS TypeScript type definitions for GMenu-3.0, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "gmenu-3.0.js",
7
7
  "main": "gmenu-3.0.js",
8
8
  "exports": {
9
- "./ambient": "./gmenu-3.0-ambient.d.ts",
10
- "./import": "./gmenu-3.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gmenu-3.0-ambient.d.ts",
11
+ "default": "./gmenu-3.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gmenu-3.0-import.d.ts",
15
+ "default": "./gmenu-3.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gmenu-3.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gmenu-3.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.7",
29
- "@girs/gjs": "^3.2.7",
30
- "@girs/glib-2.0": "^2.78.0-3.2.7",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gio-2.0": "^2.78.0-3.2.9",
35
+ "@girs/gjs": "^3.2.9",
36
+ "@girs/glib-2.0": "^2.78.0-3.2.9",
37
+ "@girs/gobject-2.0": "^2.78.0-3.2.9"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"