@girs/gtkfrdp-0.2 4.3.0 → 4.5.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,82 +4,96 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/gtkfrdp-0.2)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gtkfrdp-0.2)
6
6
 
7
+ GJS TypeScript type definitions for GtkFrdp-0.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
8
 
8
- GJS TypeScript type definitions for GtkFrdp-0.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.3.0.
9
+ This package contains type declarations only. It ships no runtime code, so it adds
10
+ nothing to your program and works with any bundler or none at all.
9
11
 
10
12
  ## Install
11
13
 
12
- Install the type definitions with npm:
13
14
  ```bash
14
15
  npm install @girs/gtkfrdp-0.2
15
16
  ```
16
17
 
17
- ## Usage
18
+ Any package manager works. The package has no dependencies beyond other `@girs/*`
19
+ type packages.
20
+
21
+ ## What it exports
22
+
23
+ | Import | What you get |
24
+ |---|---|
25
+ | `@girs/gtkfrdp-0.2` | the namespace as a default export, plus the ambient and global declarations |
26
+ | `@girs/gtkfrdp-0.2/ambient` | only the `gi://` module declarations |
27
+ | `@girs/gtkfrdp-0.2/import` | only the `imports.gi` declarations |
28
+ | `@girs/gtkfrdp-0.2/gtkfrdp-0.2` | the namespace, without the side-effecting declarations |
29
+ | `@girs/gtkfrdp-0.2/vocabulary` | GIR-derived widget data: settable properties, enum nicks, slot candidates |
30
+
31
+ ## Three ways to import
32
+
33
+ Which one you use depends on how you write imports elsewhere, not on your toolchain.
34
+
35
+ ### As a module
18
36
 
19
- Import it like any other module:
20
37
  ```ts
21
38
  import GtkFrdp from '@girs/gtkfrdp-0.2';
22
39
  ```
23
40
 
24
- ### Ambient Modules
41
+ ### As `gi://`
25
42
 
26
- [Ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) let you write the same import you would in plain JavaScript.
27
- For this you need to include `@girs/gtkfrdp-0.2` or `@girs/gtkfrdp-0.2/ambient` in your `tsconfig` or entry point Typescript file:
43
+ GJS resolves `gi://` at runtime. To give it types, reference the package once, either
44
+ from your entry point or from `tsconfig.json`:
28
45
 
29
- `index.ts`:
30
46
  ```ts
31
- import '@girs/gtkfrdp-0.2'
47
+ import '@girs/gtkfrdp-0.2';
32
48
  ```
33
49
 
34
- `tsconfig.json`:
35
50
  ```json
36
- {
37
- "compilerOptions": {
38
- ...
39
- },
40
- "include": ["@girs/gtkfrdp-0.2"],
41
- ...
42
- }
51
+ { "include": ["@girs/gtkfrdp-0.2"] }
43
52
  ```
44
53
 
45
- The ambient module now resolves with types:
54
+ Then the runtime spelling type-checks:
46
55
 
47
56
  ```ts
48
57
  import GtkFrdp from 'gi://GtkFrdp?version=0.2';
49
58
  ```
50
59
 
51
- ### Global import
60
+ Referencing `@girs/gtkfrdp-0.2/ambient` instead pulls in these declarations
61
+ alone. See [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules).
62
+
63
+ ### As `imports.gi`
52
64
 
53
- GJS's global `imports.gi` works too, with types.
54
- For this you need to include `@girs/gtkfrdp-0.2` or `@girs/gtkfrdp-0.2/import` in your `tsconfig` or entry point Typescript file:
65
+ GJS's global object works the same way, via `@girs/gtkfrdp-0.2/import`:
55
66
 
56
- `index.ts`:
57
67
  ```ts
58
- import '@girs/gtkfrdp-0.2'
68
+ const GtkFrdp = imports.gi.GtkFrdp;
59
69
  ```
60
70
 
61
- `tsconfig.json`:
62
- ```json
63
- {
64
- "compilerOptions": {
65
- ...
66
- },
67
- "include": ["@girs/gtkfrdp-0.2"],
68
- ...
69
- }
70
- ```
71
+ ## Widget vocabulary
71
72
 
72
- That form carries types as well:
73
+ `gtkfrdp-0.2` declares widgets, so it also carries what the GIR says about them, as
74
+ types and as values a test can read:
73
75
 
74
76
  ```ts
75
- const GtkFrdp = imports.gi.GtkFrdp;
77
+ import type { Widgets, PropsOf } from '@girs/gtkfrdp-0.2/vocabulary';
78
+ import { OWN_PROPS, ENUM_NICKS, PROVENANCE } from '@girs/gtkfrdp-0.2/vocabulary';
76
79
  ```
77
80
 
78
- ### Bundle
81
+ Properties are keyed the way GObject registered them, writable-only and optional, so they
82
+ match `g_object_set`, GtkBuilder XML and Blueprint. `PROVENANCE.libraryVersion` names the
83
+ library release this was generated from, which lets a check tell "newer than what is
84
+ installed" from "wrong".
79
85
 
80
- Most projects want a bundler. [esbuild](https://esbuild.github.io/) is the smallest thing that works; the [examples directory](https://github.com/gjsify/ts-for-gir/tree/main/examples) has setups for several others.
86
+ This subpath answers what the GIR says, not what the installed library has. For the
87
+ second question, ask the library.
88
+
89
+ ## Building
90
+
91
+ The declarations need no build step. If you bundle, every bundler works, since there is
92
+ no runtime code to resolve. The [examples](https://github.com/gjsify/ts-for-gir/tree/main/examples)
93
+ show working setups for several.
81
94
 
82
95
  ## Other packages
83
96
 
84
- All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
97
+ Every pre-generated package is at [gjsify/types](https://github.com/gjsify/types).
98
+
85
99
 
@@ -88,6 +88,23 @@ export interface Widgets {
88
88
  /** Every GType this namespace can create. A consumer derives its own tag map. */
89
89
  export type WidgetGType = keyof Widgets;
90
90
 
91
+ // ---------------------------------------------------------------------------
92
+ // Child holders — the same shape, for objects that CARRY a widget without being one.
93
+ //
94
+ // `GtkListItem`, `GtkListHeader`, `GtkColumnViewCell` and `AdwToggle` descend from
95
+ // `GObject.Object` and hold a widget through `set_child`/`get_child`. A renderer places
96
+ // them exactly like a container, so they belong in the vocabulary; a check asking "is
97
+ // this a widget" must still be able to say no. Hence a sibling table rather than four
98
+ // more rows in `Widgets`: concatenate them when you mean both.
99
+ // ---------------------------------------------------------------------------
100
+
101
+ export interface ChildHolders {
102
+
103
+ }
104
+
105
+ /** Every GType this namespace holds a child in without it being a widget. */
106
+ export type ChildHolderGType = keyof ChildHolders;
107
+
91
108
  /** The writable, optional, GObject-keyed property surface of one GType. */
92
109
  export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
93
110
 
@@ -123,6 +140,9 @@ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
123
140
  /** Widget GType -> every declaration its members come from, self first. */
124
141
  export const DECLS: Readonly<Record<string, readonly string[]>>;
125
142
 
143
+ /** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
144
+ export const CHILD_HOLDERS: readonly string[];
145
+
126
146
  /** Enum GType -> the nicks this surface offers. */
127
147
  export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
128
148
 
@@ -20,6 +20,12 @@ export const DECLS = {
20
20
  FrdpDisplay: ['FrdpDisplay', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable'],
21
21
  };
22
22
 
23
+ // The GTypes above that are NOT widgets: they hold one through `set_child`/`get_child`
24
+ // and descend from `GObject.Object`. A renderer places them like a container; a check
25
+ // asking "is this a widget" must not count them. Derived from the accessor pair, never
26
+ // from a list — the count is in the provenance line above.
27
+ export const CHILD_HOLDERS = [];
28
+
23
29
  export const ENUM_NICKS = {};
24
30
 
25
31
  export const SLOT_CANDIDATES = {};
@@ -0,0 +1,189 @@
1
+ /**
2
+ * The GIR-derived widget VOCABULARY for GtkFrdp-0.2.
3
+ *
4
+ * GENERATED — do not edit. Provenance: GtkFrdp-0.2 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface
5
+ *
6
+ * 1 concrete widgets, 1 declarations, 0 enum nick unions, 0 slot candidates.
7
+ *
8
+ * Module-scoped exports only. There is no `JSX` namespace here, no tag spelling and
9
+ * no `on<Signal>` prop name: those are DIALECT, and every framework answers them
10
+ * differently. The shape to avoid is the GLOBAL AUGMENT — a `declare global` on
11
+ * `React.JSX` collides with every other library on a shared tag — while a
12
+ * module-scoped `JSX` behind a `jsxImportSource` does not. This package is used by
13
+ * projects that want nothing to do with JSX, so it emits neither; a consumer declaring
14
+ * a module-scoped namespace over these names is doing it right.
15
+ *
16
+ * Three things this is and `ConstructorProps` is not: WRITABLE-only (measured on
17
+ * Gtk-4.0, `ConstructorProps` offers 150 read-only properties across 68 classes as
18
+ * settable, and GTK's failure mode for writing one is exit 0), OPTIONAL, and keyed
19
+ * by the name GObject actually REGISTERED — the dashed spelling `g_object_set`,
20
+ * GtkBuilder XML and Blueprint all use.
21
+ *
22
+ * Signal handler types are not re-derived: `X.SignalSignatures`, which this package
23
+ * already emits for every class with the parent chain, every implemented interface
24
+ * and the `notify::` keys folded in, is what `Widgets[G]['signals']` points at.
25
+ */
26
+
27
+ import type GtkFrdp from './gtkfrdp-0.2.js';
28
+ import type { GtkBuildableConstructOnly, GtkBuildableProps, GtkDrawingAreaConstructOnly, GtkDrawingAreaProps, GtkWidgetConstructOnly, GtkWidgetProps } from '@girs/gtk-3.0/vocabulary';
29
+
30
+ // ---------------------------------------------------------------------------
31
+ // Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
32
+ //
33
+ // Not derived from the member name. Substituting underscores for dashes is not a law:
34
+ // some nicks keep an underscore the substitution would have replaced, and only the
35
+ // attribute knows which. Gtk-4.0 and Adw-1 contradict no derivation at all, which is
36
+ // how a derived nick passes review and breaks elsewhere.
37
+ // Re-measure with `scripts/check-nick-derivation.mjs` in ts-for-gir.
38
+ // ---------------------------------------------------------------------------
39
+
40
+
41
+
42
+ // ---------------------------------------------------------------------------
43
+ // Property surfaces — one interface per GIR DECLARATION, mirroring GIR's own
44
+ // inheritance rather than flattening per widget.
45
+ //
46
+ // The interfaces are load-bearing, not tidiness: `GtkBox` declares four properties
47
+ // of its own and `orientation` is not among them — it lives on `Gtk.Orientable`,
48
+ // because GObject installs interface properties on the implementor at runtime while
49
+ // GIR keeps them once, on the interface.
50
+ // ---------------------------------------------------------------------------
51
+
52
+ export interface FrdpDisplayProps extends GtkDrawingAreaProps, GtkBuildableProps {
53
+ /** @default FALSE */
54
+ 'allow-resize'?: boolean;
55
+ /** @default NULL */
56
+ domain?: string;
57
+ /** @default NULL */
58
+ password?: string;
59
+ /** @default FALSE */
60
+ 'resize-supported'?: boolean;
61
+ /** @default TRUE */
62
+ scaling?: boolean;
63
+ /** @default NULL */
64
+ username?: string;
65
+ }
66
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
67
+ export type FrdpDisplayConstructOnly = GtkDrawingAreaConstructOnly | GtkBuildableConstructOnly;
68
+
69
+ // ---------------------------------------------------------------------------
70
+ // The GType-keyed widget map.
71
+ //
72
+ // Keyed by GType because that is also the GtkBuilder XML key and the typelib key. A
73
+ // consumer maps GTypes to tags in ITS convention — kebab for JSX intrinsics, Pascal
74
+ // for a Vue `GlobalComponents`, the class itself for a renderer whose element type
75
+ // is the class. None of those is baked in here.
76
+ //
77
+ // `slotCandidates` is a candidate list and never an answer: derived from methods
78
+ // taking exactly one widget argument. The GIR cannot tell adoption from reference —
79
+ // `set_title_widget` parents its argument and `set_activatable_widget` does not, and
80
+ // both are `void f(GtkWidget*)` at `transfer-ownership="none"`. Curation decides;
81
+ // this is what notices when a release adds a candidate.
82
+ // ---------------------------------------------------------------------------
83
+
84
+ export interface Widgets {
85
+ FrdpDisplay: {
86
+ class: GtkFrdp.Display;
87
+ props: FrdpDisplayProps;
88
+ signals: GtkFrdp.Display.SignalSignatures;
89
+ constructOnly: FrdpDisplayConstructOnly;
90
+ slotCandidates: {};
91
+ };
92
+ }
93
+
94
+ /** Every GType this namespace can create. A consumer derives its own tag map. */
95
+ export type WidgetGType = keyof Widgets;
96
+
97
+ // ---------------------------------------------------------------------------
98
+ // Child holders — the same shape, for objects that CARRY a widget without being one.
99
+ //
100
+ // `GtkListItem`, `GtkListHeader`, `GtkColumnViewCell` and `AdwToggle` descend from
101
+ // `GObject.Object` and hold a widget through `set_child`/`get_child`. A renderer places
102
+ // them exactly like a container, so they belong in the vocabulary; a check asking "is
103
+ // this a widget" must still be able to say no. Hence a sibling table rather than four
104
+ // more rows in `Widgets`: concatenate them when you mean both.
105
+ // ---------------------------------------------------------------------------
106
+
107
+ export interface ChildHolders {
108
+
109
+ }
110
+
111
+ /** Every GType this namespace holds a child in without it being a widget. */
112
+ export type ChildHolderGType = keyof ChildHolders;
113
+
114
+ /** The writable, optional, GObject-keyed property surface of one GType. */
115
+ export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
116
+
117
+ /** The signal table this package already emits, reached by GType. */
118
+ export type SignalsOf<G extends WidgetGType> = Widgets[G]['signals'];
119
+
120
+ /** The instance type — what a `ref`-shaped prop should infer. */
121
+ export type InstanceOf<G extends WidgetGType> = Widgets[G]['class'];
122
+
123
+ /** Property names that can only be set at construction. */
124
+ export type ConstructOnlyOf<G extends WidgetGType> = Widgets[G]['constructOnly'];
125
+
126
+ /** Candidate child slots — see the note above; curation decides. */
127
+ export type SlotCandidatesOf<G extends WidgetGType> = keyof Widgets[G]['slotCandidates'];
128
+
129
+ /**
130
+ * The same facts as runtime data, for a consumer that CHECKS them.
131
+ *
132
+ * Types are erased, so a spec that asks the installed GTK whether every property
133
+ * here is a writable ParamSpec, every signal resolvable by `GObject.signal_lookup`
134
+ * and every nick resolvable through an enum lookup cannot read the interfaces
135
+ * above. Emitted headlessly with no GTK present, which is exactly why the checking
136
+ * belongs to the consumer and the DATA belongs here.
137
+ */
138
+ export const PROVENANCE: {
139
+ readonly namespace: string;
140
+ readonly version: string;
141
+ /** The version the LIBRARY states, or null where it states none. Never the namespace's. */
142
+ readonly libraryVersion: string | null;
143
+ readonly childHolders: number;
144
+ readonly droppedBases: readonly string[];
145
+ readonly inlinedBases: readonly string[];
146
+ readonly unsettableProps: readonly string[];
147
+ };
148
+
149
+ /** Declaration GType -> its own settable properties, as GObject registered them. */
150
+ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
151
+
152
+ /**
153
+ * Declaration GType -> the signals it registers itself, never its parents'.
154
+ *
155
+ * Keyed like `OWN_PROPS`, so both are read at every link of a `DECLS` chain. An
156
+ * abstract base has no `Widgets` row and still owns signals — `GtkWidget` owns 13.
157
+ */
158
+ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
159
+
160
+ /** Widget GType -> every declaration its members come from, self first. */
161
+ export const DECLS: Readonly<Record<string, readonly string[]>>;
162
+
163
+ /** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
164
+ export const CHILD_HOLDERS: readonly string[];
165
+
166
+ /** Enum GType -> the nicks this surface offers. */
167
+ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
168
+
169
+ /** Widget GType -> slot name -> the method that may adopt a child there. */
170
+ export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
171
+
172
+ /**
173
+ * `Type`, `Type.property` and `Type::signal` -> the release that introduced it.
174
+ *
175
+ * What keeps a runtime cross-check honest across a version gap without an
176
+ * allowlist: a name the installed library lacks is a defect UNLESS the version
177
+ * here is newer than the one running.
178
+ *
179
+ * ALL THREE key shapes, because that test only works for the names it covers. A
180
+ * property-only map leaves a consumer no way to explain a missing SIGNAL, which is
181
+ * a correct vocabulary reported as 18 defects; a member-only map leaves it no way to
182
+ * explain a missing CLASS, and that one fails as a bare
183
+ * `TypeError: can't access property "$gtype", ctor() is undefined` that does not
184
+ * even name the GType.
185
+ *
186
+ * A key is present only where the GIR states a version — sparse by nature (`version`
187
+ * sits on 29 of the 301 classes and interfaces in Gtk-4.0), never inferred.
188
+ */
189
+ export const SINCE: Readonly<Record<string, string>>;
@@ -0,0 +1,41 @@
1
+ // The widget vocabulary of GtkFrdp-0.2 as runtime data.
2
+ //
3
+ // GENERATED — do not edit. Provenance: GtkFrdp-0.2 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface
4
+ //
5
+ // The type half of this subpath is the sibling `.d.ts`. This file exists because
6
+ // types are erased: a consumer that wants to ask the installed library whether every
7
+ // name here is real needs values, not declarations.
8
+
9
+ export const PROVENANCE = {
10
+ namespace: 'GtkFrdp',
11
+ version: '0.2',
12
+ libraryVersion: null,
13
+ childHolders: 0,
14
+ droppedBases: ['GObject.InitiallyUnowned', 'GObject.Object', 'Atk.ImplementorIface'],
15
+ inlinedBases: [],
16
+ unsettableProps: [],
17
+ };
18
+
19
+ export const OWN_PROPS = {
20
+ FrdpDisplay: ['allow-resize', 'domain', 'password', 'resize-supported', 'scaling', 'username'],
21
+ };
22
+
23
+ export const OWN_SIGNALS = {
24
+ FrdpDisplay: ['rdp-auth-failure', 'rdp-connected', 'rdp-disconnected', 'rdp-error', 'rdp-needs-authentication', 'rdp-needs-certificate-change-verification', 'rdp-needs-certificate-verification'],
25
+ };
26
+
27
+ export const DECLS = {
28
+ FrdpDisplay: ['FrdpDisplay', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable'],
29
+ };
30
+
31
+ // The GTypes above that are NOT widgets: they hold one through `set_child`/`get_child`
32
+ // and descend from `GObject.Object`. A renderer places them like a container; a check
33
+ // asking "is this a widget" must not count them. Derived from the accessor pair, never
34
+ // from a list — the count is in the provenance line above.
35
+ export const CHILD_HOLDERS = [];
36
+
37
+ export const ENUM_NICKS = {};
38
+
39
+ export const SLOT_CANDIDATES = {};
40
+
41
+ export const SINCE = {};
package/gtkfrdp-0.2.d.ts CHANGED
@@ -36,9 +36,9 @@ export namespace GtkFrdp {
36
36
  * @gir-type Enum
37
37
  */
38
38
  enum ErrConnect {
39
- CONNECT_CANCELLED,
40
- AUTHENTICATION_FAILED,
41
- SECURITY_NEGO_CONNECT_FAILED,
39
+ CONNECT_CANCELLED = 131083,
40
+ AUTHENTICATION_FAILED = 131081,
41
+ SECURITY_NEGO_CONNECT_FAILED = 131084,
42
42
  }
43
43
 
44
44
 
@@ -46,8 +46,8 @@ export namespace GtkFrdp {
46
46
  * @gir-type Flags
47
47
  */
48
48
  enum KeyEvent {
49
- PRESS,
50
- RELEASE,
49
+ PRESS = 1,
50
+ RELEASE = 2,
51
51
  }
52
52
 
53
53
 
@@ -55,16 +55,16 @@ export namespace GtkFrdp {
55
55
  * @gir-type Flags
56
56
  */
57
57
  enum MouseEvent {
58
- MOVE,
59
- DOWN,
60
- WHEEL,
61
- WHEEL_NEGATIVE,
62
- BUTTON1,
63
- BUTTON2,
64
- BUTTON3,
65
- BUTTON4,
66
- BUTTON5,
67
- HWHEEL,
58
+ MOVE = 1,
59
+ DOWN = 2,
60
+ WHEEL = 4,
61
+ WHEEL_NEGATIVE = 8,
62
+ BUTTON1 = 16,
63
+ BUTTON2 = 32,
64
+ BUTTON3 = 64,
65
+ BUTTON4 = 128,
66
+ BUTTON5 = 256,
67
+ HWHEEL = 512,
68
68
  }
69
69
 
70
70
 
@@ -75,7 +75,7 @@ export namespace GtkFrdp {
75
75
  * @signal
76
76
  * @run-last
77
77
  */
78
- "rdp-auth-failure": (arg0: string) => void;
78
+ "rdp-auth-failure": (object: string) => void;
79
79
  /**
80
80
  * @signal
81
81
  * @run-last
@@ -90,7 +90,7 @@ export namespace GtkFrdp {
90
90
  * @signal
91
91
  * @run-last
92
92
  */
93
- "rdp-error": (arg0: string) => void;
93
+ "rdp-error": (object: string) => void;
94
94
  /**
95
95
  * @signal
96
96
  * @run-last
@@ -100,12 +100,12 @@ export namespace GtkFrdp {
100
100
  * @signal
101
101
  * @run-last
102
102
  */
103
- "rdp-needs-certificate-change-verification": (arg0: string, arg1: number, arg2: string, arg3: string, arg4: string, arg5: string, arg6: string, arg7: string, arg8: string, arg9: number) => void;
103
+ "rdp-needs-certificate-change-verification": (object: string, p0: number, p1: string, p2: string, p3: string, p4: string, p5: string, p6: string, p7: string, p8: number) => void;
104
104
  /**
105
105
  * @signal
106
106
  * @run-last
107
107
  */
108
- "rdp-needs-certificate-verification": (arg0: string, arg1: number, arg2: string, arg3: string, arg4: string, arg5: string, arg6: number) => void;
108
+ "rdp-needs-certificate-verification": (object: string, p0: number, p1: string, p2: string, p3: string, p4: string, p5: number) => void;
109
109
  "notify::allow-resize": (pspec: GObject.ParamSpec) => void;
110
110
  "notify::domain": (pspec: GObject.ParamSpec) => void;
111
111
  "notify::password": (pspec: GObject.ParamSpec) => void;
@@ -353,7 +353,7 @@ export namespace GtkFrdp {
353
353
  * @signal
354
354
  * @run-first
355
355
  */
356
- "rdp-auth-failure": (arg0: string) => void;
356
+ "rdp-auth-failure": (object: string) => void;
357
357
  /**
358
358
  * @signal
359
359
  * @run-first
@@ -368,7 +368,7 @@ export namespace GtkFrdp {
368
368
  * @signal
369
369
  * @run-first
370
370
  */
371
- "rdp-error": (arg0: string) => void;
371
+ "rdp-error": (object: string) => void;
372
372
  "notify::display": (pspec: GObject.ParamSpec) => void;
373
373
  "notify::domain": (pspec: GObject.ParamSpec) => void;
374
374
  "notify::hostname": (pspec: GObject.ParamSpec) => void;
@@ -513,6 +513,7 @@ export namespace GtkFrdp {
513
513
 
514
514
  /**
515
515
  * @param result
516
+ * @throws GLib.Error
516
517
  */
517
518
  connect_finish(result: Gio.AsyncResult): boolean;
518
519
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtkfrdp-0.2",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "description": "GJS TypeScript type definitions for GtkFrdp-0.2",
5
5
  "type": "module",
6
6
  "module": "gtkfrdp-0.2.js",
@@ -16,10 +16,10 @@
16
16
  "import": "./gtkfrdp-0.2-import.js",
17
17
  "default": "./gtkfrdp-0.2-import.js"
18
18
  },
19
- "./surface": {
20
- "types": "./gtkfrdp-0.2-surface.d.ts",
21
- "import": "./gtkfrdp-0.2-surface.js",
22
- "default": "./gtkfrdp-0.2-surface.js"
19
+ "./vocabulary": {
20
+ "types": "./gtkfrdp-0.2-vocabulary.d.ts",
21
+ "import": "./gtkfrdp-0.2-vocabulary.js",
22
+ "default": "./gtkfrdp-0.2-vocabulary.js"
23
23
  },
24
24
  "./gtkfrdp-0.2": {
25
25
  "types": "./gtkfrdp-0.2.d.ts",
@@ -36,20 +36,20 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^4.3.0",
40
- "@girs/gtk-3.0": "^4.3.0",
41
- "@girs/xlib-2.0": "^4.3.0",
42
- "@girs/gdk-3.0": "^4.3.0",
43
- "@girs/cairo-1.0": "^4.3.0",
44
- "@girs/gobject-2.0": "^4.3.0",
45
- "@girs/glib-2.0": "^4.3.0",
46
- "@girs/pango-1.0": "^4.3.0",
47
- "@girs/harfbuzz-0.0": "^4.3.0",
48
- "@girs/freetype2-2.0": "^4.3.0",
49
- "@girs/gio-2.0": "^4.3.0",
50
- "@girs/gmodule-2.0": "^4.3.0",
51
- "@girs/gdkpixbuf-2.0": "^4.3.0",
52
- "@girs/atk-1.0": "^4.3.0" },
39
+ "@girs/gjs": "^4.5.0",
40
+ "@girs/gtk-3.0": "^4.5.0",
41
+ "@girs/xlib-2.0": "^4.5.0",
42
+ "@girs/gdk-3.0": "^4.5.0",
43
+ "@girs/cairo-1.0": "^4.5.0",
44
+ "@girs/gobject-2.0": "^4.5.0",
45
+ "@girs/glib-2.0": "^4.5.0",
46
+ "@girs/pango-1.0": "^4.5.0",
47
+ "@girs/harfbuzz-0.0": "^4.5.0",
48
+ "@girs/freetype2-2.0": "^4.5.0",
49
+ "@girs/gio-2.0": "^4.5.0",
50
+ "@girs/gmodule-2.0": "^4.5.0",
51
+ "@girs/gdkpixbuf-2.0": "^4.5.0",
52
+ "@girs/atk-1.0": "^4.5.0" },
53
53
  "devDependencies": {
54
54
  "typescript": "*"
55
55
  },
package/tsconfig.json CHANGED
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  }
64
64
  },
65
- "include": ["./gtkfrdp-0.2.d.ts","./gtkfrdp-0.2-surface.d.ts"]
65
+ "include": ["./gtkfrdp-0.2.d.ts","./gtkfrdp-0.2-vocabulary.d.ts"]
66
66
  }
67
67
 
68
68