@girs/avahi-0.6 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 +1 -1
- package/avahi-0.6-vocabulary.d.ts +13 -0
- package/avahi-0.6-vocabulary.js +32 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Avahi-0.6 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for Avahi-0.6 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.
|
|
@@ -335,6 +335,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
335
335
|
*/
|
|
336
336
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
337
337
|
|
|
338
|
+
/**
|
|
339
|
+
* `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
340
|
+
*
|
|
341
|
+
* `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
|
|
342
|
+
* has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
|
|
343
|
+
* type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
|
|
344
|
+
* reads this one; a host resolving a nick to a number reads that one.
|
|
345
|
+
*
|
|
346
|
+
* Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
|
|
347
|
+
* like any other, so absence is readable as "unknown".
|
|
348
|
+
*/
|
|
349
|
+
export const PROP_TYPES: Readonly<Record<string, string>>;
|
|
350
|
+
|
|
338
351
|
/**
|
|
339
352
|
* The kinds of value a GTK accessible property, relation or state takes.
|
|
340
353
|
*
|
package/avahi-0.6-vocabulary.js
CHANGED
|
@@ -186,6 +186,38 @@ export const PROP_ENUMS = {
|
|
|
186
186
|
'GaServiceResolver.protocol': 'GaProtocol',
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
+
// `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
190
|
+
//
|
|
191
|
+
// `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
|
|
192
|
+
// contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
|
|
193
|
+
// plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
|
|
194
|
+
// the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
|
|
195
|
+
//
|
|
196
|
+
// A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
|
|
197
|
+
// closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
|
|
198
|
+
// child. Absence therefore reads as "unknown" and never as "scalar".
|
|
199
|
+
export const PROP_TYPES = {
|
|
200
|
+
'GaClient.flags': 'GaClientFlags',
|
|
201
|
+
'GaRecordBrowser.class': 'guint',
|
|
202
|
+
'GaRecordBrowser.flags': 'GaLookupFlags',
|
|
203
|
+
'GaRecordBrowser.interface': 'gint',
|
|
204
|
+
'GaRecordBrowser.name': 'gchararray',
|
|
205
|
+
'GaRecordBrowser.protocol': 'GaProtocol',
|
|
206
|
+
'GaRecordBrowser.type': 'guint',
|
|
207
|
+
'GaServiceBrowser.domain': 'gchararray',
|
|
208
|
+
'GaServiceBrowser.flags': 'GaLookupFlags',
|
|
209
|
+
'GaServiceBrowser.interface': 'gint',
|
|
210
|
+
'GaServiceBrowser.protocol': 'GaProtocol',
|
|
211
|
+
'GaServiceBrowser.type': 'gchararray',
|
|
212
|
+
'GaServiceResolver.aprotocol': 'GaProtocol',
|
|
213
|
+
'GaServiceResolver.domain': 'gchararray',
|
|
214
|
+
'GaServiceResolver.flags': 'GaLookupFlags',
|
|
215
|
+
'GaServiceResolver.interface': 'gint',
|
|
216
|
+
'GaServiceResolver.name': 'gchararray',
|
|
217
|
+
'GaServiceResolver.protocol': 'GaProtocol',
|
|
218
|
+
'GaServiceResolver.type': 'gchararray',
|
|
219
|
+
};
|
|
220
|
+
|
|
189
221
|
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
190
222
|
//
|
|
191
223
|
// 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/avahi-0.6",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Avahi-0.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "avahi-0.6.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/gobject-2.0": "^5.
|
|
41
|
-
"@girs/glib-2.0": "^5.
|
|
42
|
-
"@girs/avahicore-0.6": "^5.
|
|
39
|
+
"@girs/gjs": "^5.4.0",
|
|
40
|
+
"@girs/gobject-2.0": "^5.4.0",
|
|
41
|
+
"@girs/glib-2.0": "^5.4.0",
|
|
42
|
+
"@girs/avahicore-0.6": "^5.4.0" },
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "*"
|
|
45
45
|
},
|