@girs/gcr-4 4.5.0 → 4.6.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/gcr-4.d.ts +21 -8
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/gcr-4)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcr-4)
6
6
 
7
- GJS TypeScript type definitions for Gcr-4, generated from library version 4.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
+ GJS TypeScript type definitions for Gcr-4, generated from library version 4.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.6.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/gcr-4.d.ts CHANGED
@@ -1530,7 +1530,7 @@ export namespace Gcr {
1530
1530
 
1531
1531
  namespace CertificateExtensionAuthorityInfoAccess {
1532
1532
  // Signal signatures
1533
- interface SignalSignatures extends CertificateExtension.SignalSignatures {
1533
+ interface SignalSignatures extends CertificateExtension.SignalSignatures, Gio.ListModel.SignalSignatures {
1534
1534
  "notify::n-items": (pspec: GObject.ParamSpec) => void;
1535
1535
  "notify::critical": (pspec: GObject.ParamSpec) => void;
1536
1536
  "notify::oid": (pspec: GObject.ParamSpec) => void;
@@ -1875,7 +1875,7 @@ export namespace Gcr {
1875
1875
 
1876
1876
  namespace CertificateExtensionCertificatePolicies {
1877
1877
  // Signal signatures
1878
- interface SignalSignatures extends CertificateExtension.SignalSignatures {
1878
+ interface SignalSignatures extends CertificateExtension.SignalSignatures, Gio.ListModel.SignalSignatures {
1879
1879
  "notify::n-items": (pspec: GObject.ParamSpec) => void;
1880
1880
  "notify::critical": (pspec: GObject.ParamSpec) => void;
1881
1881
  "notify::oid": (pspec: GObject.ParamSpec) => void;
@@ -2065,7 +2065,7 @@ export namespace Gcr {
2065
2065
 
2066
2066
  namespace CertificateExtensionCrlDistributionPoints {
2067
2067
  // Signal signatures
2068
- interface SignalSignatures extends CertificateExtension.SignalSignatures {
2068
+ interface SignalSignatures extends CertificateExtension.SignalSignatures, Gio.ListModel.SignalSignatures {
2069
2069
  "notify::n-items": (pspec: GObject.ParamSpec) => void;
2070
2070
  "notify::critical": (pspec: GObject.ParamSpec) => void;
2071
2071
  "notify::oid": (pspec: GObject.ParamSpec) => void;
@@ -2388,7 +2388,7 @@ export namespace Gcr {
2388
2388
 
2389
2389
  namespace CertificateExtensionList {
2390
2390
  // Signal signatures
2391
- interface SignalSignatures extends GObject.Object.SignalSignatures {
2391
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Gio.ListModel.SignalSignatures {
2392
2392
  "notify::n-items": (pspec: GObject.ParamSpec) => void;
2393
2393
  }
2394
2394
 
@@ -2580,7 +2580,7 @@ export namespace Gcr {
2580
2580
 
2581
2581
  namespace CertificateExtensionSubjectAltName {
2582
2582
  // Signal signatures
2583
- interface SignalSignatures extends CertificateExtension.SignalSignatures {
2583
+ interface SignalSignatures extends CertificateExtension.SignalSignatures, Gio.ListModel.SignalSignatures {
2584
2584
  "notify::critical": (pspec: GObject.ParamSpec) => void;
2585
2585
  "notify::oid": (pspec: GObject.ParamSpec) => void;
2586
2586
  "notify::value": (pspec: GObject.ParamSpec) => void;
@@ -2905,7 +2905,7 @@ export namespace Gcr {
2905
2905
 
2906
2906
  namespace CertificatePolicy {
2907
2907
  // Signal signatures
2908
- interface SignalSignatures extends GObject.Object.SignalSignatures {}
2908
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Gio.ListModel.SignalSignatures {}
2909
2909
 
2910
2910
  // Constructor properties interface
2911
2911
  interface ConstructorProps<A extends GObject.Object = GObject.Object> extends GObject.Object.ConstructorProps, Gio.ListModel.ConstructorProps {}
@@ -3535,7 +3535,7 @@ export namespace Gcr {
3535
3535
 
3536
3536
  namespace GeneralNames {
3537
3537
  // Signal signatures
3538
- interface SignalSignatures extends GObject.Object.SignalSignatures {}
3538
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Gio.ListModel.SignalSignatures {}
3539
3539
 
3540
3540
  // Constructor properties interface
3541
3541
  interface ConstructorProps<A extends GObject.Object = GObject.Object> extends GObject.Object.ConstructorProps, Gio.ListModel.ConstructorProps {}
@@ -5035,7 +5035,7 @@ export namespace Gcr {
5035
5035
 
5036
5036
  namespace SystemPrompt {
5037
5037
  // Signal signatures
5038
- interface SignalSignatures extends GObject.Object.SignalSignatures {
5038
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Prompt.SignalSignatures {
5039
5039
  "notify::bus-name": (pspec: GObject.ParamSpec) => void;
5040
5040
  "notify::secret-exchange": (pspec: GObject.ParamSpec) => void;
5041
5041
  "notify::timeout-seconds": (pspec: GObject.ParamSpec) => void;
@@ -7343,6 +7343,19 @@ export namespace Gcr {
7343
7343
  };
7344
7344
 
7345
7345
  namespace Prompt {
7346
+ // Signal signatures
7347
+ interface SignalSignatures {
7348
+ /**
7349
+ * Action signal fired when the prompt is to be closed. After the default
7350
+ * handler has run, the prompt is closed. The various prompting methods
7351
+ * will return results as if the user dismissed the prompt.
7352
+ *
7353
+ * You can use the {@link Prompt.close} method to emit this signal.
7354
+ * @signal
7355
+ * @run-first
7356
+ */
7357
+ "prompt-close": () => void;
7358
+ }
7346
7359
  /**
7347
7360
  * Interface for implementing Prompt.
7348
7361
  * Contains only the virtual methods that need to be implemented.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gcr-4",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "libraryVersion": "4.4.0",
5
5
  "description": "GJS TypeScript type definitions for Gcr-4, generated from library version 4.4.0",
6
6
  "type": "module",
@@ -32,12 +32,12 @@
32
32
  "test": "tsc --project tsconfig.json"
33
33
  },
34
34
  "dependencies": {
35
- "@girs/gjs": "^4.5.0",
36
- "@girs/gio-2.0": "^4.5.0",
37
- "@girs/gobject-2.0": "^4.5.0",
38
- "@girs/glib-2.0": "^4.5.0",
39
- "@girs/gmodule-2.0": "^4.5.0",
40
- "@girs/gck-2": "^4.5.0" },
35
+ "@girs/gjs": "^4.6.0",
36
+ "@girs/gio-2.0": "^4.6.0",
37
+ "@girs/gobject-2.0": "^4.6.0",
38
+ "@girs/glib-2.0": "^4.6.0",
39
+ "@girs/gmodule-2.0": "^4.6.0",
40
+ "@girs/gck-2": "^4.6.0" },
41
41
  "devDependencies": {
42
42
  "typescript": "*"
43
43
  },