@ts-for-gir/lib 3.0.1 → 3.0.2

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.
Files changed (104) hide show
  1. package/lib/constants.d.ts +9 -1
  2. package/lib/constants.js +4 -1
  3. package/lib/constants.js.map +1 -1
  4. package/lib/dependency-manager.d.ts +11 -0
  5. package/lib/dependency-manager.js +28 -14
  6. package/lib/dependency-manager.js.map +1 -1
  7. package/lib/gir-module.js +2 -3
  8. package/lib/gir-module.js.map +1 -1
  9. package/lib/index.d.ts +0 -3
  10. package/lib/index.js +0 -3
  11. package/lib/index.js.map +1 -1
  12. package/lib/symtable.js +1 -2
  13. package/lib/symtable.js.map +1 -1
  14. package/lib/types/generate-config.d.ts +2 -0
  15. package/lib/types/user-config.d.ts +2 -0
  16. package/lib/utils.d.ts +6 -0
  17. package/lib/utils.js +10 -0
  18. package/lib/utils.js.map +1 -1
  19. package/package.json +9 -11
  20. package/lib/injection/classes/GLib-2-0.d.ts +0 -2
  21. package/lib/injection/classes/GLib-2-0.js +0 -35
  22. package/lib/injection/classes/GLib-2-0.js.map +0 -1
  23. package/lib/injection/classes/gjs/GLib-2.0.d.ts +0 -2
  24. package/lib/injection/classes/gjs/GLib-2.0.js +0 -205
  25. package/lib/injection/classes/gjs/GLib-2.0.js.map +0 -1
  26. package/lib/injection/classes/gjs/GObject-2.0.d.ts +0 -2
  27. package/lib/injection/classes/gjs/GObject-2.0.js +0 -634
  28. package/lib/injection/classes/gjs/GObject-2.0.js.map +0 -1
  29. package/lib/injection/classes/gjs/Gio-2.0.d.ts +0 -5
  30. package/lib/injection/classes/gjs/Gio-2.0.js +0 -218
  31. package/lib/injection/classes/gjs/Gio-2.0.js.map +0 -1
  32. package/lib/injection/classes/node-gtk/GLib-2.0.d.ts +0 -2
  33. package/lib/injection/classes/node-gtk/GLib-2.0.js +0 -19
  34. package/lib/injection/classes/node-gtk/GLib-2.0.js.map +0 -1
  35. package/lib/injection/classes/node-gtk/GObject-2.0.d.ts +0 -2
  36. package/lib/injection/classes/node-gtk/GObject-2.0.js +0 -66
  37. package/lib/injection/classes/node-gtk/GObject-2.0.js.map +0 -1
  38. package/lib/injection/classes/node-gtk/Gdk-4.0.d.ts +0 -2
  39. package/lib/injection/classes/node-gtk/Gdk-4.0.js +0 -32
  40. package/lib/injection/classes/node-gtk/Gdk-4.0.js.map +0 -1
  41. package/lib/injection/classes/node-gtk/Gio-2.0.d.ts +0 -2
  42. package/lib/injection/classes/node-gtk/Gio-2.0.js +0 -14
  43. package/lib/injection/classes/node-gtk/Gio-2.0.js.map +0 -1
  44. package/lib/injection/classes/node-gtk/Graphene-1.0.d.ts +0 -2
  45. package/lib/injection/classes/node-gtk/Graphene-1.0.js +0 -133
  46. package/lib/injection/classes/node-gtk/Graphene-1.0.js.map +0 -1
  47. package/lib/injection/classes/node-gtk/Gtk-3.0.d.ts +0 -2
  48. package/lib/injection/classes/node-gtk/Gtk-3.0.js +0 -31
  49. package/lib/injection/classes/node-gtk/Gtk-3.0.js.map +0 -1
  50. package/lib/injection/classes/node-gtk/Gtk-4.0.d.ts +0 -2
  51. package/lib/injection/classes/node-gtk/Gtk-4.0.js +0 -52
  52. package/lib/injection/classes/node-gtk/Gtk-4.0.js.map +0 -1
  53. package/lib/injection/classes/node-gtk/Pango-1.0.d.ts +0 -2
  54. package/lib/injection/classes/node-gtk/Pango-1.0.js +0 -31
  55. package/lib/injection/classes/node-gtk/Pango-1.0.js.map +0 -1
  56. package/lib/package-data-parser.d.ts +0 -13
  57. package/lib/package-data-parser.js +0 -67
  58. package/lib/package-data-parser.js.map +0 -1
  59. package/lib/package-data.d.ts +0 -9
  60. package/lib/package-data.js +0 -41
  61. package/lib/package-data.js.map +0 -1
  62. package/lib/template-processor.d.ts +0 -114
  63. package/lib/template-processor.js +0 -252
  64. package/lib/template-processor.js.map +0 -1
  65. package/lib/types/package-section.d.ts +0 -8
  66. package/lib/types/package-section.js +0 -2
  67. package/lib/types/package-section.js.map +0 -1
  68. package/packages.xml +0 -1213
  69. package/templates/README.md +0 -102
  70. package/templates/cogl-2-0.d.ts +0 -0
  71. package/templates/gjs/README-GJS.md +0 -109
  72. package/templates/gjs/ambient.d.ts +0 -59
  73. package/templates/gjs/cairo-1.0.d.ts +0 -9
  74. package/templates/gjs/cairo.d.ts +0 -8
  75. package/templates/gjs/cairo.js +0 -11
  76. package/templates/gjs/gettext.d.ts +0 -41
  77. package/templates/gjs/gettext.js +0 -11
  78. package/templates/gjs/gio-2.0.d.ts +0 -101
  79. package/templates/gjs/gjs.d.ts +0 -757
  80. package/templates/gjs/gjs.js +0 -10
  81. package/templates/gjs/gobject-2.0.d.ts +0 -238
  82. package/templates/gjs/module-ambient.d.ts +0 -31
  83. package/templates/gjs/module-import.d.ts +0 -33
  84. package/templates/gjs/module.append.d.ts +0 -1
  85. package/templates/gjs/module.d.ts +0 -12
  86. package/templates/gjs/module.js +0 -17
  87. package/templates/gjs/system.d.ts +0 -32
  88. package/templates/gjs/system.js +0 -11
  89. package/templates/gjs/tsconfig.alias.json +0 -12
  90. package/templates/granite-1.0.d.ts +0 -7
  91. package/templates/granite-7.0.d.ts +0 -7
  92. package/templates/gstbase-0.10.d.ts +0 -5
  93. package/templates/node-gtk/README-NODE-GTK.md +0 -71
  94. package/templates/node-gtk/ambient.d.ts +0 -19
  95. package/templates/node-gtk/gobject-2.0.d.ts +0 -57
  96. package/templates/node-gtk/module-import.d.ts +0 -29
  97. package/templates/node-gtk/module.append.d.ts +0 -1
  98. package/templates/node-gtk/module.d.ts +0 -10
  99. package/templates/node-gtk/module.js +0 -18
  100. package/templates/node-gtk/node-gtk.d.ts +0 -25
  101. package/templates/node-gtk/node-gtk.js +0 -7
  102. package/templates/package.json +0 -173
  103. package/templates/rygelserver-2.6.d.ts +0 -3
  104. package/templates/tsconfig.doc.json +0 -30
@@ -1,218 +0,0 @@
1
- /**
2
- * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/modules/core/overrides/Gio.js
3
- */
4
- export const classesGio20Gjs = [
5
- {
6
- versions: ['2.0'],
7
- qualifiedName: 'Gio.DBusProxy',
8
- staticFunctions: [
9
- {
10
- name: 'makeProxyWrapper',
11
- girTypeName: 'static-function',
12
- isStatic: true,
13
- generics: [
14
- {
15
- name: 'T',
16
- },
17
- ],
18
- returnTypes: [
19
- {
20
- type: '(bus: DBusConnection, name: string, object: string, asyncCallback?: (initable: (T & DBusProxy) | null, error: unknown | null) => void, cancellable?: Cancellable | null, flags?: DBusProxyFlags) => T & DBusProxy',
21
- },
22
- ],
23
- inParams: [
24
- {
25
- name: 'interfaceXml',
26
- type: [{ type: 'string' }],
27
- },
28
- ],
29
- },
30
- ],
31
- methods: [
32
- {
33
- name: 'connectSignal',
34
- girTypeName: 'method',
35
- returnTypes: [{ type: 'number' }],
36
- generics: [
37
- {
38
- name: 'T',
39
- value: 'any[]',
40
- },
41
- ],
42
- inParams: [
43
- {
44
- name: 'name',
45
- type: [{ type: 'string' }],
46
- },
47
- {
48
- name: 'callback',
49
- type: [{ type: '(proxy: DBusProxy, name: string, args: T) => boolean | void' }],
50
- },
51
- ],
52
- },
53
- {
54
- name: 'disconnectSignal',
55
- girTypeName: 'method',
56
- returnTypes: [{ type: 'void' }],
57
- inParams: [
58
- {
59
- name: 'id',
60
- type: [{ type: 'number' }],
61
- },
62
- ],
63
- },
64
- ],
65
- },
66
- {
67
- versions: ['2.0'],
68
- qualifiedName: 'Gio.DBusConnection',
69
- methods: [
70
- {
71
- name: 'watch_name',
72
- girTypeName: 'method',
73
- returnTypes: [{ type: 'number' }],
74
- inParams: [
75
- {
76
- name: 'name',
77
- type: [{ type: 'string' }],
78
- },
79
- {
80
- name: 'flags',
81
- type: [{ type: 'Gio.BusNameWatcherFlags' }],
82
- },
83
- {
84
- name: 'name_appeared_closure',
85
- type: [{ type: 'GObject.TClosure', nullable: true }],
86
- },
87
- {
88
- name: 'name_vanished_closure',
89
- type: [{ type: 'GObject.TClosure', nullable: true }],
90
- },
91
- ],
92
- },
93
- {
94
- name: 'unwatch_name',
95
- girTypeName: 'method',
96
- returnTypes: [{ type: 'void' }],
97
- inParams: [
98
- {
99
- name: 'id',
100
- type: [{ type: 'number' }],
101
- },
102
- ],
103
- },
104
- {
105
- name: 'own_name',
106
- girTypeName: 'method',
107
- returnTypes: [{ type: 'number' }],
108
- inParams: [
109
- {
110
- name: 'name',
111
- type: [{ type: 'string' }],
112
- },
113
- {
114
- name: 'flags',
115
- type: [{ type: 'Gio.BusNameOwnerFlags' }],
116
- },
117
- {
118
- name: 'name_acquired_closure',
119
- type: [{ type: 'GObject.TClosure', nullable: true }],
120
- },
121
- {
122
- name: 'name_lost_closure',
123
- type: [{ type: 'GObject.TClosure', nullable: true }],
124
- },
125
- ],
126
- },
127
- {
128
- name: 'unown_name',
129
- girTypeName: 'method',
130
- returnTypes: [{ type: 'void' }],
131
- inParams: [
132
- {
133
- name: 'id',
134
- type: [{ type: 'number' }],
135
- },
136
- ],
137
- },
138
- ],
139
- },
140
- {
141
- versions: ['2.0'],
142
- qualifiedName: 'Gio.ListStore',
143
- generics: [
144
- {
145
- name: 'A',
146
- extends: 'GObject.Object',
147
- value: 'GObject.Object',
148
- },
149
- ],
150
- methods: [
151
- {
152
- name: 'insert_sorted',
153
- girTypeName: 'method',
154
- returnTypes: [{ type: 'number' }],
155
- inParams: [
156
- {
157
- name: 'item',
158
- type: [{ type: 'A' }],
159
- },
160
- {
161
- name: 'compare_func',
162
- type: [{ type: 'GLib.CompareDataFunc' }],
163
- },
164
- ],
165
- },
166
- {
167
- name: 'sort',
168
- girTypeName: 'method',
169
- returnTypes: [{ type: 'void' }],
170
- inParams: [
171
- {
172
- name: 'compare_func',
173
- type: [{ type: 'GLib.CompareDataFunc' }],
174
- },
175
- ],
176
- },
177
- ],
178
- },
179
- {
180
- versions: ['2.0'],
181
- qualifiedName: 'Gio.File',
182
- methods: [
183
- {
184
- name: 'replace_contents_async',
185
- girTypeName: 'method',
186
- returnTypes: [{ type: 'void' }],
187
- // contents: Uint8Array, etag: string | null, make_backup: boolean, flags: FileCreateFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback | null
188
- inParams: [
189
- {
190
- name: 'contents',
191
- type: [{ type: 'Uint8Array' }],
192
- },
193
- {
194
- name: 'etag',
195
- type: [{ type: 'string', nullable: true }],
196
- },
197
- {
198
- name: 'make_backup',
199
- type: [{ type: 'boolean' }],
200
- },
201
- {
202
- name: 'flags',
203
- type: [{ type: 'FileCreateFlags' }],
204
- },
205
- {
206
- name: 'cancellable',
207
- type: [{ type: 'Cancellable', nullable: true }],
208
- },
209
- {
210
- name: 'callback',
211
- type: [{ type: 'AsyncReadyCallback', nullable: true }],
212
- },
213
- ],
214
- },
215
- ],
216
- },
217
- ];
218
- //# sourceMappingURL=Gio-2.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gio-2.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/gjs/Gio-2.0.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC7C;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,eAAe;QAC9B,eAAe,EAAE;YACb;gBACI,IAAI,EAAE,kBAAkB;gBACxB,WAAW,EAAE,iBAAiB;gBAC9B,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,GAAG;qBACZ;iBACJ;gBACD,WAAW,EAAE;oBACT;wBACI,IAAI,EAAE,mNAAmN;qBAC5N;iBACJ;gBACD,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;qBAC7B;iBACJ;aACJ;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,eAAe;gBACrB,WAAW,EAAE,QAAQ;gBACrB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;gBAC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BACD;wBACI,IAAI,EAAE,aAAa;wBACnB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;qBAC9B;oBACD;wBACI,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;qBACtC;oBACD;wBACI,IAAI,EAAE,aAAa;wBACnB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;qBAClD;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;qBACzD;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGLib20Node: InjectionClass[];
@@ -1,19 +0,0 @@
1
- export const classesGLib20Node = [
2
- {
3
- versions: ['2.0'],
4
- qualifiedName: 'GLib.MainLoop',
5
- methods: [
6
- {
7
- girTypeName: 'method',
8
- name: 'run',
9
- returnTypes: [{ type: 'void' }],
10
- },
11
- {
12
- girTypeName: 'method',
13
- name: 'quit',
14
- returnTypes: [{ type: 'void' }],
15
- },
16
- ],
17
- },
18
- ];
19
- //# sourceMappingURL=GLib-2.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GLib-2.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/GLib-2.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAqB;IAC/C;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,eAAe;QAC9B,OAAO,EAAE;YACL;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,KAAK;gBACX,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAClC;YACD;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAClC;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGObject20Node: InjectionClass[];
@@ -1,66 +0,0 @@
1
- export const classesGObject20Node = [
2
- {
3
- versions: ['2.0'],
4
- qualifiedName: 'GObject.Object',
5
- methods: [
6
- {
7
- girTypeName: 'method',
8
- name: 'setProperty',
9
- isVirtual: true,
10
- generics: [
11
- {
12
- name: 'T',
13
- value: 'any',
14
- },
15
- ],
16
- returnTypes: [{ type: 'void' }],
17
- inParams: [
18
- {
19
- name: 'propertyName',
20
- type: [{ type: 'string' }],
21
- },
22
- {
23
- name: 'value',
24
- type: [{ type: 'T' }],
25
- },
26
- ],
27
- },
28
- {
29
- girTypeName: 'method',
30
- name: 'getProperty',
31
- isVirtual: true,
32
- generics: [
33
- {
34
- name: 'T',
35
- value: 'unknown',
36
- },
37
- ],
38
- returnTypes: [{ type: 'T' }],
39
- inParams: [
40
- {
41
- name: 'propertyName',
42
- type: [{ type: 'string' }],
43
- },
44
- ],
45
- },
46
- ],
47
- },
48
- {
49
- versions: ['2.0'],
50
- qualifiedName: 'GObject.Value',
51
- methods: [
52
- {
53
- girTypeName: 'method',
54
- name: 'getBoxed',
55
- generics: [
56
- {
57
- name: 'T',
58
- value: 'unknown',
59
- },
60
- ],
61
- returnTypes: [{ type: 'T' }],
62
- },
63
- ],
64
- },
65
- ];
66
- //# sourceMappingURL=GObject-2.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GObject-2.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/GObject-2.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAqB;IAClD;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,gBAAgB;QAC/B,OAAO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Node: InjectionClass[];
@@ -1,32 +0,0 @@
1
- export const classesGdk40Node = [
2
- // See https://github.com/romgrk/node-gtk/blob/master/lib/overrides/Gdk-4.0.js
3
- {
4
- versions: ['4.0'],
5
- qualifiedName: 'Gdk.RGBA',
6
- constructors: [
7
- {
8
- girTypeName: 'constructor',
9
- isStatic: true,
10
- name: 'create',
11
- returnTypes: [{ type: 'Gdk.RGBA' }],
12
- inParams: [
13
- {
14
- name: 'value',
15
- type: [{ type: 'string' }],
16
- },
17
- ],
18
- doc: {
19
- text: 'Creates a new color from the given string. Passes value to `GdkRGBA.parse()`',
20
- tags: [
21
- {
22
- paramName: '',
23
- tagName: 'param',
24
- text: 'value',
25
- },
26
- ],
27
- },
28
- },
29
- ],
30
- },
31
- ];
32
- //# sourceMappingURL=Gdk-4.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gdk-4.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/Gdk-4.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAC9C,8EAA8E;IAC9E;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,UAAU;QACzB,YAAY,EAAE;YACV;gBACI,WAAW,EAAE,aAAa;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;gBACnC,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;qBAC7B;iBACJ;gBACD,GAAG,EAAE;oBACD,IAAI,EAAE,8EAA8E;oBACpF,IAAI,EAAE;wBACF;4BACI,SAAS,EAAE,EAAE;4BACb,OAAO,EAAE,OAAO;4BAChB,IAAI,EAAE,OAAO;yBAChB;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGio20Node: InjectionClass[];
@@ -1,14 +0,0 @@
1
- export const classesGio20Node = [
2
- {
3
- versions: ['2.0'],
4
- qualifiedName: 'Gio.ListStore',
5
- generics: [
6
- {
7
- name: 'A',
8
- extends: 'GObject.Object',
9
- value: 'GObject.Object',
10
- },
11
- ],
12
- },
13
- ];
14
- //# sourceMappingURL=Gio-2.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gio-2.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/Gio-2.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAC9C;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,eAAe;QAC9B,QAAQ,EAAE;YACN;gBACI,IAAI,EAAE,GAAG;gBACT,OAAO,EAAE,gBAAgB;gBACzB,KAAK,EAAE,gBAAgB;aAC1B;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGraphene10Node: InjectionClass[];
@@ -1,133 +0,0 @@
1
- export const classesGraphene10Node = [
2
- // See https://github.com/romgrk/node-gtk/blob/master/lib/overrides/Graphene-1.0.js
3
- {
4
- versions: ['1.0'],
5
- qualifiedName: 'Graphene.Rect',
6
- constructors: [
7
- {
8
- girTypeName: 'constructor',
9
- isStatic: true,
10
- name: 'create',
11
- returnTypes: [{ type: 'Graphene.Rect' }],
12
- inParams: [
13
- {
14
- name: 'x',
15
- type: [{ type: 'number' }],
16
- },
17
- {
18
- name: 'y',
19
- type: [{ type: 'number' }],
20
- },
21
- {
22
- name: 'width',
23
- type: [{ type: 'number' }],
24
- },
25
- {
26
- name: 'height',
27
- type: [{ type: 'number' }],
28
- },
29
- ],
30
- doc: {
31
- text: 'Creates a new Rect with the given values',
32
- tags: [
33
- {
34
- paramName: '',
35
- tagName: 'param',
36
- text: 'x',
37
- },
38
- {
39
- paramName: '',
40
- tagName: 'param',
41
- text: 'y',
42
- },
43
- {
44
- paramName: '',
45
- tagName: 'param',
46
- text: 'width',
47
- },
48
- {
49
- paramName: '',
50
- tagName: 'param',
51
- text: 'height',
52
- },
53
- ],
54
- },
55
- },
56
- ],
57
- },
58
- {
59
- versions: ['1.0'],
60
- qualifiedName: 'Graphene.Point',
61
- constructors: [
62
- {
63
- girTypeName: 'constructor',
64
- isStatic: true,
65
- name: 'create',
66
- returnTypes: [{ type: 'Graphene.Point' }],
67
- inParams: [
68
- {
69
- name: 'x',
70
- type: [{ type: 'number' }],
71
- },
72
- {
73
- name: 'y',
74
- type: [{ type: 'number' }],
75
- },
76
- ],
77
- doc: {
78
- text: 'Creates a new Point with the given values',
79
- tags: [
80
- {
81
- paramName: '',
82
- tagName: 'param',
83
- text: 'x',
84
- },
85
- {
86
- paramName: '',
87
- tagName: 'param',
88
- text: 'y',
89
- },
90
- ],
91
- },
92
- },
93
- ],
94
- },
95
- {
96
- versions: ['1.0'],
97
- qualifiedName: 'Graphene.Size',
98
- constructors: [
99
- {
100
- girTypeName: 'constructor',
101
- isStatic: true,
102
- name: 'create',
103
- returnTypes: [{ type: 'Graphene.Size' }],
104
- inParams: [
105
- {
106
- name: 'width',
107
- type: [{ type: 'number' }],
108
- },
109
- {
110
- name: 'height',
111
- type: [{ type: 'number' }],
112
- },
113
- ],
114
- doc: {
115
- text: 'Creates a new Size with the given values',
116
- tags: [
117
- {
118
- paramName: '',
119
- tagName: 'param',
120
- text: 'width',
121
- },
122
- {
123
- paramName: '',
124
- tagName: 'param',
125
- text: 'height',
126
- },
127
- ],
128
- },
129
- },
130
- ],
131
- },
132
- ];
133
- //# sourceMappingURL=Graphene-1.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Graphene-1.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/Graphene-1.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,G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,SAAS,EAAE,EAAE;4BACb,OAAO,EAAE,OAAO;4BAChB,IAAI,EAAE,QAAQ;yBACjB;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGtk30Node: InjectionClass[];
@@ -1,31 +0,0 @@
1
- export const classesGtk30Node = [
2
- {
3
- versions: ['3.0'],
4
- qualifiedName: 'Gtk.Widget',
5
- methods: [
6
- {
7
- girTypeName: 'method',
8
- name: 'getSizeRequest',
9
- returnTypes: [{ type: '{ width: number; height: number; }' }],
10
- },
11
- ],
12
- },
13
- {
14
- versions: ['3.0'],
15
- qualifiedName: 'Gtk.Builder',
16
- methods: [
17
- {
18
- girTypeName: 'method',
19
- name: 'connectSignals',
20
- returnTypes: [{ type: 'void' }],
21
- inParams: [
22
- {
23
- name: 'handlers',
24
- type: [{ type: '{ [handler: string]: (...args: any[]) => void; }' }],
25
- },
26
- ],
27
- },
28
- ],
29
- },
30
- ];
31
- //# sourceMappingURL=Gtk-3.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gtk-3.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/Gtk-3.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAC9C;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,YAAY;QAC3B,OAAO,EAAE;YACL;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,gBAAgB;gBACtB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC;aAChE;SACJ;KACJ;IACD;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,aAAa;QAC5B,OAAO,EAAE;YACL;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,gBAAgB;gBACtB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gBAC/B,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC;qBACvE;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesGtk40Node: InjectionClass[];
@@ -1,52 +0,0 @@
1
- export const classesGtk40Node = [
2
- {
3
- versions: ['4.0'],
4
- qualifiedName: 'Gtk.Widget',
5
- methods: [
6
- {
7
- girTypeName: 'method',
8
- name: 'addCssClass',
9
- inParams: [
10
- {
11
- name: 'classNames',
12
- type: [{ type: 'string', isArray: true }],
13
- },
14
- ],
15
- returnTypes: [{ type: 'void' }],
16
- },
17
- {
18
- girTypeName: 'method',
19
- name: 'removeCssClass',
20
- inParams: [
21
- {
22
- name: 'classNames',
23
- type: [{ type: 'string', isArray: true }],
24
- },
25
- ],
26
- returnTypes: [{ type: 'void' }],
27
- },
28
- ],
29
- },
30
- {
31
- versions: ['4.0'],
32
- qualifiedName: 'Gtk.ScrolledWindow',
33
- methods: [
34
- {
35
- girTypeName: 'method',
36
- name: 'scrollTo',
37
- returnTypes: [{ type: 'number' }],
38
- inParams: [
39
- {
40
- name: 'value',
41
- type: [{ type: 'number' }],
42
- },
43
- {
44
- name: 'vertical',
45
- type: [{ type: 'boolean', optional: true }],
46
- },
47
- ],
48
- },
49
- ],
50
- },
51
- ];
52
- //# sourceMappingURL=Gtk-4.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gtk-4.0.js","sourceRoot":"","sources":["../../../../src/injection/classes/node-gtk/Gtk-4.0.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAC9C;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,YAAY;QAC3B,OAAO,EAAE;YACL;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,aAAa;gBACnB,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qBAC5C;iBACJ;gBACD,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAClC;YACD;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qBAC5C;iBACJ;gBACD,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAClC;SACJ;KACJ;IACD;QACI,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,oBAAoB;QACnC,OAAO,EAAE;YACL;gBACI,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;gBACjC,QAAQ,EAAE;oBACN;wBACI,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;qBAC7B;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;qBAC9C;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import type { InjectionClass } from '../../../types/index.js';
2
- export declare const classesPango10Node: InjectionClass[];