@girs/meta-3 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/meta-3-vocabulary.d.ts +13 -0
- package/meta-3-vocabulary.js +34 -0
- package/package.json +23 -23
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Meta-3, generated from library version 3.30.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for Meta-3, generated from library version 3.30.2 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.
|
package/meta-3-vocabulary.d.ts
CHANGED
|
@@ -438,6 +438,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
438
438
|
*/
|
|
439
439
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
440
440
|
|
|
441
|
+
/**
|
|
442
|
+
* `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
443
|
+
*
|
|
444
|
+
* `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
|
|
445
|
+
* has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
|
|
446
|
+
* type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
|
|
447
|
+
* reads this one; a host resolving a nick to a number reads that one.
|
|
448
|
+
*
|
|
449
|
+
* Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
|
|
450
|
+
* like any other, so absence is readable as "unknown".
|
|
451
|
+
*/
|
|
452
|
+
export const PROP_TYPES: Readonly<Record<string, string>>;
|
|
453
|
+
|
|
441
454
|
/**
|
|
442
455
|
* The kinds of value a GTK accessible property, relation or state takes.
|
|
443
456
|
*
|
package/meta-3-vocabulary.js
CHANGED
|
@@ -543,6 +543,40 @@ export const PROP_ENUMS = {
|
|
|
543
543
|
'MetaWindowActor.shadow-mode': 'MetaShadowMode',
|
|
544
544
|
};
|
|
545
545
|
|
|
546
|
+
// `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
547
|
+
//
|
|
548
|
+
// `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
|
|
549
|
+
// contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
|
|
550
|
+
// plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
|
|
551
|
+
// the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
|
|
552
|
+
//
|
|
553
|
+
// A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
|
|
554
|
+
// closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
|
|
555
|
+
// child. Absence therefore reads as "unknown" and never as "scalar".
|
|
556
|
+
export const PROP_TYPES = {
|
|
557
|
+
'GDBusInterfaceSkeleton.g-flags': 'GDBusInterfaceSkeletonFlags',
|
|
558
|
+
'MetaBackground.meta-display': 'MetaDisplay',
|
|
559
|
+
'MetaBackgroundActor.background': 'MetaBackground',
|
|
560
|
+
'MetaBackgroundActor.brightness': 'gdouble',
|
|
561
|
+
'MetaBackgroundActor.gradient': 'gboolean',
|
|
562
|
+
'MetaBackgroundActor.gradient-height': 'gint',
|
|
563
|
+
'MetaBackgroundActor.gradient-max-darkness': 'gdouble',
|
|
564
|
+
'MetaBackgroundActor.meta-display': 'MetaDisplay',
|
|
565
|
+
'MetaBackgroundActor.monitor': 'gint',
|
|
566
|
+
'MetaBackgroundActor.vignette': 'gboolean',
|
|
567
|
+
'MetaBackgroundActor.vignette-sharpness': 'gdouble',
|
|
568
|
+
'MetaBarrier.directions': 'MetaBarrierDirection',
|
|
569
|
+
'MetaBarrier.display': 'MetaDisplay',
|
|
570
|
+
'MetaBarrier.x1': 'gint',
|
|
571
|
+
'MetaBarrier.x2': 'gint',
|
|
572
|
+
'MetaBarrier.y1': 'gint',
|
|
573
|
+
'MetaBarrier.y2': 'gint',
|
|
574
|
+
'MetaIdleMonitor.device-id': 'gint',
|
|
575
|
+
'MetaWindowActor.meta-window': 'MetaWindow',
|
|
576
|
+
'MetaWindowActor.shadow-class': 'gchararray',
|
|
577
|
+
'MetaWindowActor.shadow-mode': 'MetaShadowMode',
|
|
578
|
+
};
|
|
579
|
+
|
|
546
580
|
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
547
581
|
//
|
|
548
582
|
// 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/meta-3",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"libraryVersion": "3.30.2",
|
|
5
5
|
"description": "GJS TypeScript type definitions for Meta-3, generated from library version 3.30.2",
|
|
6
6
|
"type": "module",
|
|
@@ -37,28 +37,28 @@
|
|
|
37
37
|
"test": "tsc --project tsconfig.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@girs/gjs": "^5.
|
|
41
|
-
"@girs/xlib-2.0": "^5.
|
|
42
|
-
"@girs/xfixes-4.0": "^5.
|
|
43
|
-
"@girs/gtk-3.0": "^5.
|
|
44
|
-
"@girs/gdk-3.0": "^5.
|
|
45
|
-
"@girs/cairo-1.0": "^5.
|
|
46
|
-
"@girs/gobject-2.0": "^5.
|
|
47
|
-
"@girs/glib-2.0": "^5.
|
|
48
|
-
"@girs/pango-1.0": "^5.
|
|
49
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
50
|
-
"@girs/freetype2-2.0": "^5.
|
|
51
|
-
"@girs/gio-2.0": "^5.
|
|
52
|
-
"@girs/gmodule-2.0": "^5.
|
|
53
|
-
"@girs/gdkpixbuf-2.0": "^5.
|
|
54
|
-
"@girs/atk-1.0": "^5.
|
|
55
|
-
"@girs/gdesktopenums-3.0": "^5.
|
|
56
|
-
"@girs/cogl-3": "^5.
|
|
57
|
-
"@girs/gl-1.0": "^5.
|
|
58
|
-
"@girs/clutter-3": "^5.
|
|
59
|
-
"@girs/json-1.0": "^5.
|
|
60
|
-
"@girs/coglpango-3": "^5.
|
|
61
|
-
"@girs/pangocairo-1.0": "^5.
|
|
40
|
+
"@girs/gjs": "^5.4.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.4.0",
|
|
42
|
+
"@girs/xfixes-4.0": "^5.4.0",
|
|
43
|
+
"@girs/gtk-3.0": "^5.4.0",
|
|
44
|
+
"@girs/gdk-3.0": "^5.4.0",
|
|
45
|
+
"@girs/cairo-1.0": "^5.4.0",
|
|
46
|
+
"@girs/gobject-2.0": "^5.4.0",
|
|
47
|
+
"@girs/glib-2.0": "^5.4.0",
|
|
48
|
+
"@girs/pango-1.0": "^5.4.0",
|
|
49
|
+
"@girs/harfbuzz-0.0": "^5.4.0",
|
|
50
|
+
"@girs/freetype2-2.0": "^5.4.0",
|
|
51
|
+
"@girs/gio-2.0": "^5.4.0",
|
|
52
|
+
"@girs/gmodule-2.0": "^5.4.0",
|
|
53
|
+
"@girs/gdkpixbuf-2.0": "^5.4.0",
|
|
54
|
+
"@girs/atk-1.0": "^5.4.0",
|
|
55
|
+
"@girs/gdesktopenums-3.0": "^5.4.0",
|
|
56
|
+
"@girs/cogl-3": "^5.4.0",
|
|
57
|
+
"@girs/gl-1.0": "^5.4.0",
|
|
58
|
+
"@girs/clutter-3": "^5.4.0",
|
|
59
|
+
"@girs/json-1.0": "^5.4.0",
|
|
60
|
+
"@girs/coglpango-3": "^5.4.0",
|
|
61
|
+
"@girs/pangocairo-1.0": "^5.4.0" },
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"typescript": "*"
|
|
64
64
|
},
|