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

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Meta-18 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for Meta-18 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-18-vocabulary.d.ts
CHANGED
|
@@ -596,6 +596,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
596
596
|
*/
|
|
597
597
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
598
598
|
|
|
599
|
+
/**
|
|
600
|
+
* `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
601
|
+
*
|
|
602
|
+
* `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
|
|
603
|
+
* has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
|
|
604
|
+
* type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
|
|
605
|
+
* reads this one; a host resolving a nick to a number reads that one.
|
|
606
|
+
*
|
|
607
|
+
* Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
|
|
608
|
+
* like any other, so absence is readable as "unknown".
|
|
609
|
+
*/
|
|
610
|
+
export const PROP_TYPES: Readonly<Record<string, string>>;
|
|
611
|
+
|
|
599
612
|
/**
|
|
600
613
|
* The kinds of value a GTK accessible property, relation or state takes.
|
|
601
614
|
*
|
package/meta-18-vocabulary.js
CHANGED
|
@@ -641,6 +641,64 @@ export const PROP_ENUMS = {
|
|
|
641
641
|
'MetaBarrier.flags': 'MetaBarrierFlags',
|
|
642
642
|
};
|
|
643
643
|
|
|
644
|
+
// `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
645
|
+
//
|
|
646
|
+
// `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
|
|
647
|
+
// contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
|
|
648
|
+
// plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
|
|
649
|
+
// the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
|
|
650
|
+
//
|
|
651
|
+
// A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
|
|
652
|
+
// closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
|
|
653
|
+
// child. Absence therefore reads as "unknown" and never as "scalar".
|
|
654
|
+
export const PROP_TYPES = {
|
|
655
|
+
'GDBusInterfaceSkeleton.g-flags': 'GDBusInterfaceSkeletonFlags',
|
|
656
|
+
'MetaBackground.meta-display': 'MetaDisplay',
|
|
657
|
+
'MetaBackgroundActor.meta-display': 'MetaDisplay',
|
|
658
|
+
'MetaBackgroundActor.monitor': 'gint',
|
|
659
|
+
'MetaBackgroundContent.background': 'MetaBackground',
|
|
660
|
+
'MetaBackgroundContent.brightness': 'gdouble',
|
|
661
|
+
'MetaBackgroundContent.gradient': 'gboolean',
|
|
662
|
+
'MetaBackgroundContent.gradient-height': 'gint',
|
|
663
|
+
'MetaBackgroundContent.gradient-max-darkness': 'gdouble',
|
|
664
|
+
'MetaBackgroundContent.meta-display': 'MetaDisplay',
|
|
665
|
+
'MetaBackgroundContent.monitor': 'gint',
|
|
666
|
+
'MetaBackgroundContent.rounded-clip-radius': 'gfloat',
|
|
667
|
+
'MetaBackgroundContent.vignette': 'gboolean',
|
|
668
|
+
'MetaBackgroundContent.vignette-sharpness': 'gdouble',
|
|
669
|
+
'MetaBarrier.backend': 'MetaBackend',
|
|
670
|
+
'MetaBarrier.directions': 'MetaBarrierDirection',
|
|
671
|
+
'MetaBarrier.flags': 'MetaBarrierFlags',
|
|
672
|
+
'MetaBarrier.x1': 'gint',
|
|
673
|
+
'MetaBarrier.x2': 'gint',
|
|
674
|
+
'MetaBarrier.y1': 'gint',
|
|
675
|
+
'MetaBarrier.y2': 'gint',
|
|
676
|
+
'MetaContext.name': 'gchararray',
|
|
677
|
+
'MetaContext.nick': 'gchararray',
|
|
678
|
+
'MetaContext.unsafe-mode': 'gboolean',
|
|
679
|
+
'MetaCursorTracker.backend': 'MetaBackend',
|
|
680
|
+
'MetaDebugControl.context': 'MetaContext',
|
|
681
|
+
'MetaDebugControl.exported': 'gboolean',
|
|
682
|
+
'MetaLaunchContext.display': 'MetaDisplay',
|
|
683
|
+
'MetaLaunchContext.timestamp': 'guint',
|
|
684
|
+
'MetaLaunchContext.workspace': 'MetaWorkspace',
|
|
685
|
+
'MetaMonitorManager.backend': 'MetaBackend',
|
|
686
|
+
'MetaRemoteAccessHandle.is-recording': 'gboolean',
|
|
687
|
+
'MetaShapedTexture.clutter-context': 'ClutterContext',
|
|
688
|
+
'MetaShapedTexture.color-state': 'ClutterColorState',
|
|
689
|
+
'MetaStartupNotification.display': 'MetaDisplay',
|
|
690
|
+
'MetaStartupSequence.application-id': 'gchararray',
|
|
691
|
+
'MetaStartupSequence.display': 'MetaDisplay',
|
|
692
|
+
'MetaStartupSequence.icon-name': 'gchararray',
|
|
693
|
+
'MetaStartupSequence.id': 'gchararray',
|
|
694
|
+
'MetaStartupSequence.name': 'gchararray',
|
|
695
|
+
'MetaStartupSequence.timestamp': 'guint64',
|
|
696
|
+
'MetaStartupSequence.wmclass': 'gchararray',
|
|
697
|
+
'MetaStartupSequence.workspace': 'gint',
|
|
698
|
+
'MetaWaylandSurface.main-monitor': 'MetaLogicalMonitor',
|
|
699
|
+
'MetaWindowConfig.is-fullscreen': 'gboolean',
|
|
700
|
+
};
|
|
701
|
+
|
|
644
702
|
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
645
703
|
//
|
|
646
704
|
// 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-18",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Meta-18",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "meta-18.js",
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/xlib-2.0": "^5.
|
|
41
|
-
"@girs/xfixes-4.0": "^5.
|
|
42
|
-
"@girs/mtk-18": "^5.
|
|
43
|
-
"@girs/graphene-1.0": "^5.
|
|
44
|
-
"@girs/gobject-2.0": "^5.
|
|
45
|
-
"@girs/glib-2.0": "^5.
|
|
46
|
-
"@girs/gio-2.0": "^5.
|
|
47
|
-
"@girs/gmodule-2.0": "^5.
|
|
48
|
-
"@girs/gdesktopenums-3.0": "^5.
|
|
49
|
-
"@girs/cogl-18": "^5.
|
|
50
|
-
"@girs/gl-1.0": "^5.
|
|
51
|
-
"@girs/clutter-18": "^5.
|
|
52
|
-
"@girs/pango-1.0": "^5.
|
|
53
|
-
"@girs/cairo-1.0": "^5.
|
|
54
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
55
|
-
"@girs/freetype2-2.0": "^5.
|
|
56
|
-
"@girs/atk-1.0": "^5.
|
|
39
|
+
"@girs/gjs": "^5.4.0",
|
|
40
|
+
"@girs/xlib-2.0": "^5.4.0",
|
|
41
|
+
"@girs/xfixes-4.0": "^5.4.0",
|
|
42
|
+
"@girs/mtk-18": "^5.4.0",
|
|
43
|
+
"@girs/graphene-1.0": "^5.4.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.4.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.4.0",
|
|
46
|
+
"@girs/gio-2.0": "^5.4.0",
|
|
47
|
+
"@girs/gmodule-2.0": "^5.4.0",
|
|
48
|
+
"@girs/gdesktopenums-3.0": "^5.4.0",
|
|
49
|
+
"@girs/cogl-18": "^5.4.0",
|
|
50
|
+
"@girs/gl-1.0": "^5.4.0",
|
|
51
|
+
"@girs/clutter-18": "^5.4.0",
|
|
52
|
+
"@girs/pango-1.0": "^5.4.0",
|
|
53
|
+
"@girs/cairo-1.0": "^5.4.0",
|
|
54
|
+
"@girs/harfbuzz-0.0": "^5.4.0",
|
|
55
|
+
"@girs/freetype2-2.0": "^5.4.0",
|
|
56
|
+
"@girs/atk-1.0": "^5.4.0" },
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"typescript": "*"
|
|
59
59
|
},
|