@girs/arrowflight-23.0 5.3.0 → 5.4.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/arrowflight-23.0)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/arrowflight-23.0)
6
6
 
7
- GJS TypeScript type definitions for ArrowFlight-23.0, generated from library version 23.0.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.0.
7
+ GJS TypeScript type definitions for ArrowFlight-23.0, generated from library version 23.0.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.4.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.
@@ -486,6 +486,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
486
486
  */
487
487
  export const PROP_ENUMS: Readonly<Record<string, string>>;
488
488
 
489
+ /**
490
+ * `<declaration GType>.<property>` -> the GType of that property's own type.
491
+ *
492
+ * `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
493
+ * has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
494
+ * type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
495
+ * reads this one; a host resolving a nick to a number reads that one.
496
+ *
497
+ * Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
498
+ * like any other, so absence is readable as "unknown".
499
+ */
500
+ export const PROP_TYPES: Readonly<Record<string, string>>;
501
+
489
502
  /**
490
503
  * The kinds of value a GTK accessible property, relation or state takes.
491
504
  *
@@ -160,6 +160,43 @@ export const FLAG_VALUES_UNREADABLE = {};
160
160
  // vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
161
161
  export const PROP_ENUMS = {};
162
162
 
163
+ // `<declaration GType>.<property>` -> the GType of that property's own type.
164
+ //
165
+ // `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
166
+ // contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
167
+ // plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
168
+ // the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
169
+ //
170
+ // A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
171
+ // closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
172
+ // child. Absence therefore reads as "unknown" and never as "scalar".
173
+ export const PROP_TYPES = {
174
+ 'GAFlightCallOptions.timeout': 'gdouble',
175
+ 'GAFlightClient.client': 'gpointer',
176
+ 'GAFlightClientOptions.certificate-chain': 'gchararray',
177
+ 'GAFlightClientOptions.disable-server-verification': 'gboolean',
178
+ 'GAFlightClientOptions.override-host-name': 'gchararray',
179
+ 'GAFlightClientOptions.private-key': 'gchararray',
180
+ 'GAFlightClientOptions.tls-root-certificates': 'gchararray',
181
+ 'GAFlightClientOptions.write-size-limit-bytes': 'gint64',
182
+ 'GAFlightDataStream.stream': 'gpointer',
183
+ 'GAFlightDescriptor.descriptor': 'gpointer',
184
+ 'GAFlightDoPutResult.result': 'gpointer',
185
+ 'GAFlightInfo.info': 'gpointer',
186
+ 'GAFlightMetadataReader.reader': 'gpointer',
187
+ 'GAFlightMetadataWriter.writer': 'gpointer',
188
+ 'GAFlightRecordBatchReader.is-owner': 'gboolean',
189
+ 'GAFlightRecordBatchReader.reader': 'gpointer',
190
+ 'GAFlightRecordBatchStream.reader': 'GArrowRecordBatchReader',
191
+ 'GAFlightServerAuthHandler.handler': 'gpointer',
192
+ 'GAFlightServerAuthReader.reader': 'gpointer',
193
+ 'GAFlightServerAuthSender.sender': 'gpointer',
194
+ 'GAFlightServerCallContext.call-context': 'gpointer',
195
+ 'GAFlightServerOptions.auth-handler': 'GAFlightServerAuthHandler',
196
+ 'GAFlightServerOptions.location': 'GAFlightLocation',
197
+ 'GAFlightStreamChunk.chunk': 'gpointer',
198
+ };
199
+
163
200
  // `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
164
201
  //
165
202
  // The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/arrowflight-23.0",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "libraryVersion": "23.0.1",
5
5
  "description": "GJS TypeScript type definitions for ArrowFlight-23.0, generated from library version 23.0.1",
6
6
  "type": "module",
@@ -37,12 +37,12 @@
37
37
  "test": "tsc --project tsconfig.json"
38
38
  },
39
39
  "dependencies": {
40
- "@girs/gjs": "^5.3.0",
41
- "@girs/arrow-23.0": "^5.3.0",
42
- "@girs/gio-2.0": "^5.3.0",
43
- "@girs/gobject-2.0": "^5.3.0",
44
- "@girs/glib-2.0": "^5.3.0",
45
- "@girs/gmodule-2.0": "^5.3.0" },
40
+ "@girs/gjs": "^5.4.0",
41
+ "@girs/arrow-23.0": "^5.4.0",
42
+ "@girs/gio-2.0": "^5.4.0",
43
+ "@girs/gobject-2.0": "^5.4.0",
44
+ "@girs/glib-2.0": "^5.4.0",
45
+ "@girs/gmodule-2.0": "^5.4.0" },
46
46
  "devDependencies": {
47
47
  "typescript": "*"
48
48
  },