@girs/ebackend-1.2 1.2.0-3.2.0 → 1.2.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/ebackend-1.2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for EBackend-1.2, generated from library version 1.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
8
+ GJS TypeScript type definitions for EBackend-1.2, generated from library version 1.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.2.
9
9
 
10
10
 
11
11
  ## Install
@@ -12,12 +12,12 @@ import './ebackend-1.2-import.d.ts';
12
12
  * EBackend-1.2
13
13
  */
14
14
 
15
- import type libxml2 from '@girs/libxml2-2.0';
16
- import type Soup from '@girs/soup-3.0';
17
15
  import type Gio from '@girs/gio-2.0';
18
16
  import type GObject from '@girs/gobject-2.0';
19
17
  import type GLib from '@girs/glib-2.0';
20
18
  import type EDataServer from '@girs/edataserver-1.2';
19
+ import type libxml2 from '@girs/libxml2-2.0';
20
+ import type Soup from '@girs/soup-3.0';
21
21
  import type Json from '@girs/json-1.0';
22
22
  import type Camel from '@girs/camel-1.2';
23
23
 
@@ -517,6 +517,12 @@ export interface Backend {
517
517
  * @returns %TRUE, when it's a remote backend and provides both @host and @port; %FALSE otherwise.
518
518
  */
519
519
  get_destination_address(): [ /* returnType */ boolean, /* host */ string | null, /* port */ number ]
520
+ /**
521
+ * Returns a #GNetworkMonitor used to check whether the backend can
522
+ * access the remote server. The instance is owned by the `backend`.
523
+ * @returns a #GNetworkMonitor used by the @backend
524
+ */
525
+ get_network_monitor(): Gio.NetworkMonitor
520
526
  /**
521
527
  * Returns the online state of `backend:` %TRUE if `backend` is online,
522
528
  * %FALSE if offline.
package/ebackend-1.2.d.ts CHANGED
@@ -12,12 +12,12 @@ import './ebackend-1.2-import.d.ts';
12
12
  * EBackend-1.2
13
13
  */
14
14
 
15
- import type libxml2 from '@girs/libxml2-2.0';
16
- import type Soup from '@girs/soup-3.0';
17
15
  import type Gio from '@girs/gio-2.0';
18
16
  import type GObject from '@girs/gobject-2.0';
19
17
  import type GLib from '@girs/glib-2.0';
20
18
  import type EDataServer from '@girs/edataserver-1.2';
19
+ import type libxml2 from '@girs/libxml2-2.0';
20
+ import type Soup from '@girs/soup-3.0';
21
21
  import type Json from '@girs/json-1.0';
22
22
  import type Camel from '@girs/camel-1.2';
23
23
 
@@ -519,6 +519,12 @@ interface Backend {
519
519
  * @returns %TRUE, when it's a remote backend and provides both @host and @port; %FALSE otherwise.
520
520
  */
521
521
  get_destination_address(): [ /* returnType */ boolean, /* host */ string | null, /* port */ number ]
522
+ /**
523
+ * Returns a #GNetworkMonitor used to check whether the backend can
524
+ * access the remote server. The instance is owned by the `backend`.
525
+ * @returns a #GNetworkMonitor used by the @backend
526
+ */
527
+ get_network_monitor(): Gio.NetworkMonitor
522
528
  /**
523
529
  * Returns the online state of `backend:` %TRUE if `backend` is online,
524
530
  * %FALSE if offline.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/ebackend-1.2",
3
- "version": "1.2.0-3.2.0",
3
+ "version": "1.2.0-3.2.2",
4
4
  "description": "GJS TypeScript type definitions for EBackend-1.2, generated from library version 1.2.0",
5
5
  "type": "module",
6
6
  "module": "ebackend-1.2.js",
@@ -25,15 +25,15 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit ebackend-1.2.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/camel-1.2": "^1.2.0-3.2.0",
29
- "@girs/edataserver-1.2": "^1.2.0-3.2.0",
30
- "@girs/gio-2.0": "^2.76.1-3.2.0",
31
- "@girs/gjs": "^3.2.0",
32
- "@girs/glib-2.0": "^2.76.1-3.2.0",
33
- "@girs/gobject-2.0": "^2.76.1-3.2.0",
34
- "@girs/json-1.0": "^1.7.1-3.2.0",
35
- "@girs/libxml2-2.0": "^2.0.0-3.2.0",
36
- "@girs/soup-3.0": "^3.4.2-3.2.0"
28
+ "@girs/camel-1.2": "^1.2.0-3.2.2",
29
+ "@girs/edataserver-1.2": "^1.2.0-3.2.2",
30
+ "@girs/gio-2.0": "^2.77.0-3.2.2",
31
+ "@girs/gjs": "^3.2.2",
32
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
33
+ "@girs/gobject-2.0": "^2.77.0-3.2.2",
34
+ "@girs/json-1.0": "^1.7.1-3.2.2",
35
+ "@girs/libxml2-2.0": "^2.0.0-3.2.2",
36
+ "@girs/soup-3.0": "^3.4.2-3.2.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./ebackend-1.2.d.ts","./ebackend-1.2-ambient.d.ts","./ebackend-1.2-import.d.ts"],
2
+ "entryPoints": ["./ebackend-1.2.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "EBackend-1.2",
5
5
  "tsconfig": "./tsconfig.json"