@girs/gpaste-2 4.5.0 → 4.7.0

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
@@ -4,7 +4,7 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/gpaste-2)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gpaste-2)
6
6
 
7
- GJS TypeScript type definitions for GPaste-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
+ GJS TypeScript type definitions for GPaste-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.7.0.
8
8
 
9
9
  This package contains type declarations only. It ships no runtime code, so it adds
10
10
  nothing to your program and works with any bundler or none at all.
package/gpaste-2.d.ts CHANGED
@@ -2358,7 +2358,7 @@ export namespace GPaste {
2358
2358
 
2359
2359
  namespace GnomeShellClient {
2360
2360
  // Signal signatures
2361
- interface SignalSignatures extends Gio.DBusProxy.SignalSignatures {
2361
+ interface SignalSignatures extends Gio.DBusProxy.SignalSignatures, KeybindingProvider.SignalSignatures {
2362
2362
  /**
2363
2363
  * The "accelerator-activated" signal is emitted when gnome-shell notifies us
2364
2364
  * that an accelerator has been pressed.
@@ -4017,6 +4017,16 @@ export namespace GPaste {
4017
4017
  type SettingsClass = typeof Settings;
4018
4018
 
4019
4019
  namespace KeybindingProvider {
4020
+ // Signal signatures
4021
+ interface SignalSignatures {
4022
+ /**
4023
+ * The "keybinding-activated" signal is emitted when a registered shortcut
4024
+ * is pressed by the user.
4025
+ * @signal
4026
+ * @run-last
4027
+ */
4028
+ "keybinding-activated": (id: string) => void;
4029
+ }
4020
4030
  /**
4021
4031
  * Interface for implementing KeybindingProvider.
4022
4032
  * Contains only the virtual methods that need to be implemented.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gpaste-2",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "description": "GJS TypeScript type definitions for GPaste-2",
5
5
  "type": "module",
6
6
  "module": "gpaste-2.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.5.0",
35
- "@girs/gio-2.0": "^4.5.0",
36
- "@girs/gobject-2.0": "^4.5.0",
37
- "@girs/glib-2.0": "^4.5.0",
38
- "@girs/gmodule-2.0": "^4.5.0" },
34
+ "@girs/gjs": "^4.7.0",
35
+ "@girs/gio-2.0": "^4.7.0",
36
+ "@girs/gobject-2.0": "^4.7.0",
37
+ "@girs/glib-2.0": "^4.7.0",
38
+ "@girs/gmodule-2.0": "^4.7.0" },
39
39
  "devDependencies": {
40
40
  "typescript": "*"
41
41
  },