@girs/gobject-2.0 2.78.0-3.2.7 → 2.78.0-3.2.9

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
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gobject-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GObject-2.0, generated from library version 2.78.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for GObject-2.0, generated from library version 2.78.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
9
9
 
10
10
  GObject provides the object system used for Pango and GTK+.
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gobject-2.0.d.cts CHANGED
@@ -3042,27 +3042,11 @@ export module Binding {
3042
3042
  * This should be in [canonical form][canonical-parameter-names] to get the
3043
3043
  * best performance.
3044
3044
  */
3045
- source_property?: string | null
3045
+ sourceProperty?: string | null
3046
3046
  /**
3047
3047
  * The #GObject that should be used as the target of the binding
3048
3048
  */
3049
3049
  target?: Object | null
3050
- /**
3051
- * The name of the property of #GBinding:target that should be used
3052
- * as the target of the binding.
3053
- *
3054
- * This should be in [canonical form][canonical-parameter-names] to get the
3055
- * best performance.
3056
- */
3057
- target_property?: string | null
3058
- /**
3059
- * The name of the property of #GBinding:source that should be used
3060
- * as the source of the binding.
3061
- *
3062
- * This should be in [canonical form][canonical-parameter-names] to get the
3063
- * best performance.
3064
- */
3065
- sourceProperty?: string | null
3066
3050
  /**
3067
3051
  * The name of the property of #GBinding:target that should be used
3068
3052
  * as the target of the binding.
@@ -3087,14 +3071,6 @@ export interface Binding {
3087
3071
  * The #GObject that should be used as the source of the binding
3088
3072
  */
3089
3073
  readonly source: Object
3090
- /**
3091
- * The name of the property of #GBinding:source that should be used
3092
- * as the source of the binding.
3093
- *
3094
- * This should be in [canonical form][canonical-parameter-names] to get the
3095
- * best performance.
3096
- */
3097
- readonly source_property: string | null
3098
3074
  /**
3099
3075
  * The name of the property of #GBinding:source that should be used
3100
3076
  * as the source of the binding.
@@ -3107,14 +3083,6 @@ export interface Binding {
3107
3083
  * The #GObject that should be used as the target of the binding
3108
3084
  */
3109
3085
  readonly target: Object
3110
- /**
3111
- * The name of the property of #GBinding:target that should be used
3112
- * as the target of the binding.
3113
- *
3114
- * This should be in [canonical form][canonical-parameter-names] to get the
3115
- * best performance.
3116
- */
3117
- readonly target_property: string | null
3118
3086
  /**
3119
3087
  * The name of the property of #GBinding:target that should be used
3120
3088
  * as the target of the binding.
@@ -4927,10 +4895,6 @@ export module SignalGroup {
4927
4895
  * The target instance used when connecting signals.
4928
4896
  */
4929
4897
  target?: Object | null
4930
- /**
4931
- * The #GType of the target property.
4932
- */
4933
- target_type?: GType | null
4934
4898
  /**
4935
4899
  * The #GType of the target property.
4936
4900
  */
@@ -4947,10 +4911,6 @@ export interface SignalGroup {
4947
4911
  * The target instance used when connecting signals.
4948
4912
  */
4949
4913
  target: Object
4950
- /**
4951
- * The #GType of the target property.
4952
- */
4953
- readonly target_type: GType
4954
4914
  /**
4955
4915
  * The #GType of the target property.
4956
4916
  */
package/gobject-2.0.d.ts CHANGED
@@ -3044,27 +3044,11 @@ module Binding {
3044
3044
  * This should be in [canonical form][canonical-parameter-names] to get the
3045
3045
  * best performance.
3046
3046
  */
3047
- source_property?: string | null
3047
+ sourceProperty?: string | null
3048
3048
  /**
3049
3049
  * The #GObject that should be used as the target of the binding
3050
3050
  */
3051
3051
  target?: Object | null
3052
- /**
3053
- * The name of the property of #GBinding:target that should be used
3054
- * as the target of the binding.
3055
- *
3056
- * This should be in [canonical form][canonical-parameter-names] to get the
3057
- * best performance.
3058
- */
3059
- target_property?: string | null
3060
- /**
3061
- * The name of the property of #GBinding:source that should be used
3062
- * as the source of the binding.
3063
- *
3064
- * This should be in [canonical form][canonical-parameter-names] to get the
3065
- * best performance.
3066
- */
3067
- sourceProperty?: string | null
3068
3052
  /**
3069
3053
  * The name of the property of #GBinding:target that should be used
3070
3054
  * as the target of the binding.
@@ -3089,14 +3073,6 @@ interface Binding {
3089
3073
  * The #GObject that should be used as the source of the binding
3090
3074
  */
3091
3075
  readonly source: Object
3092
- /**
3093
- * The name of the property of #GBinding:source that should be used
3094
- * as the source of the binding.
3095
- *
3096
- * This should be in [canonical form][canonical-parameter-names] to get the
3097
- * best performance.
3098
- */
3099
- readonly source_property: string | null
3100
3076
  /**
3101
3077
  * The name of the property of #GBinding:source that should be used
3102
3078
  * as the source of the binding.
@@ -3109,14 +3085,6 @@ interface Binding {
3109
3085
  * The #GObject that should be used as the target of the binding
3110
3086
  */
3111
3087
  readonly target: Object
3112
- /**
3113
- * The name of the property of #GBinding:target that should be used
3114
- * as the target of the binding.
3115
- *
3116
- * This should be in [canonical form][canonical-parameter-names] to get the
3117
- * best performance.
3118
- */
3119
- readonly target_property: string | null
3120
3088
  /**
3121
3089
  * The name of the property of #GBinding:target that should be used
3122
3090
  * as the target of the binding.
@@ -4929,10 +4897,6 @@ module SignalGroup {
4929
4897
  * The target instance used when connecting signals.
4930
4898
  */
4931
4899
  target?: Object | null
4932
- /**
4933
- * The #GType of the target property.
4934
- */
4935
- target_type?: GType | null
4936
4900
  /**
4937
4901
  * The #GType of the target property.
4938
4902
  */
@@ -4949,10 +4913,6 @@ interface SignalGroup {
4949
4913
  * The target instance used when connecting signals.
4950
4914
  */
4951
4915
  target: Object
4952
- /**
4953
- * The #GType of the target property.
4954
- */
4955
- readonly target_type: GType
4956
4916
  /**
4957
4917
  * The #GType of the target property.
4958
4918
  */
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gobject-2.0",
3
- "version": "2.78.0-3.2.7",
3
+ "version": "2.78.0-3.2.9",
4
4
  "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.78.0",
5
5
  "type": "module",
6
6
  "module": "gobject-2.0.js",
7
7
  "main": "gobject-2.0.js",
8
8
  "exports": {
9
- "./ambient": "./gobject-2.0-ambient.d.ts",
10
- "./import": "./gobject-2.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gobject-2.0-ambient.d.ts",
11
+ "default": "./gobject-2.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gobject-2.0-import.d.ts",
15
+ "default": "./gobject-2.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gobject-2.0.d.ts",
@@ -25,8 +31,8 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gobject-2.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gjs": "^3.2.7",
29
- "@girs/glib-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gjs": "^3.2.9",
35
+ "@girs/glib-2.0": "^2.78.0-3.2.9"
30
36
  },
31
37
  "devDependencies": {
32
38
  "typescript": "*"
@@ -43,7 +49,7 @@
43
49
  "license": "MIT",
44
50
  "repository": {
45
51
  "type": "git",
46
- "url": "git+https://github.com/gjsify/types.git"
52
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
47
53
  },
48
54
  "bugs": {
49
55
  "url": "https://github.com/gjsify/ts-for-gir/issues"