@girs/gudev-1.0 1.0.0-3.2.0 → 1.0.0-3.2.2

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/gudev-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GUdev-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
8
+ GJS TypeScript type definitions for GUdev-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.2.
9
9
 
10
10
  GUdev (libgudev) is a library with GObject bindings to libudev, now made independent, after being part of udev itself, and later systemd.
11
11
 
package/gudev-1.0.d.cts CHANGED
@@ -226,6 +226,13 @@ export interface Device {
226
226
  * @returns An action string.
227
227
  */
228
228
  get_action(): string | null
229
+ /**
230
+ * Gets all current tags for `device`.
231
+ *
232
+ * https://www.freedesktop.org/software/systemd/man/udev_device_has_current_tag.html
233
+ * @returns A %NULL terminated string array of current tags. This array is owned by @device and should not be freed by the caller.
234
+ */
235
+ get_current_tags(): string[]
229
236
  /**
230
237
  * Gets the device file for `device`.
231
238
  * @returns The device file for @device or %NULL if no device file exists.
package/gudev-1.0.d.ts CHANGED
@@ -228,6 +228,13 @@ interface Device {
228
228
  * @returns An action string.
229
229
  */
230
230
  get_action(): string | null
231
+ /**
232
+ * Gets all current tags for `device`.
233
+ *
234
+ * https://www.freedesktop.org/software/systemd/man/udev_device_has_current_tag.html
235
+ * @returns A %NULL terminated string array of current tags. This array is owned by @device and should not be freed by the caller.
236
+ */
237
+ get_current_tags(): string[]
231
238
  /**
232
239
  * Gets the device file for `device`.
233
240
  * @returns The device file for @device or %NULL if no device file exists.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gudev-1.0",
3
- "version": "1.0.0-3.2.0",
3
+ "version": "1.0.0-3.2.2",
4
4
  "description": "GJS TypeScript type definitions for GUdev-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "gudev-1.0.js",
@@ -25,9 +25,9 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gudev-1.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.0",
29
- "@girs/glib-2.0": "^2.76.1-3.2.0",
30
- "@girs/gobject-2.0": "^2.76.1-3.2.0"
28
+ "@girs/gjs": "^3.2.2",
29
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
30
+ "@girs/gobject-2.0": "^2.77.0-3.2.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./gudev-1.0.d.ts","./gudev-1.0-ambient.d.ts","./gudev-1.0-import.d.ts"],
2
+ "entryPoints": ["./gudev-1.0.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "GUdev-1.0",
5
5
  "tsconfig": "./tsconfig.json"