@girs/peas-2 2.0.0-3.2.7 → 2.0.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 +1 -1
- package/package.json +15 -9
- package/peas-2-ambient.js +2 -0
- package/peas-2-import.js +3 -0
- package/peas-2.d.cts +3 -89
- package/peas-2.d.ts +3 -89
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/peas-2",
|
|
3
|
-
"version": "2.0.0-3.2.
|
|
3
|
+
"version": "2.0.0-3.2.9",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "peas-2.js",
|
|
7
7
|
"main": "peas-2.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./peas-2-ambient.d.ts",
|
|
11
|
+
"default": "./peas-2-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./peas-2-import.d.ts",
|
|
15
|
+
"default": "./peas-2-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./peas-2.d.ts",
|
|
@@ -25,11 +31,11 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit peas-2.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
34
|
+
"@girs/gio-2.0": "^2.78.0-3.2.9",
|
|
35
|
+
"@girs/gjs": "^3.2.9",
|
|
36
|
+
"@girs/glib-2.0": "^2.78.0-3.2.9",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.9",
|
|
38
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.9"
|
|
33
39
|
},
|
|
34
40
|
"devDependencies": {
|
|
35
41
|
"typescript": "*"
|
|
@@ -46,7 +52,7 @@
|
|
|
46
52
|
"license": "MIT",
|
|
47
53
|
"repository": {
|
|
48
54
|
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/gjsify/
|
|
55
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
50
56
|
},
|
|
51
57
|
"bugs": {
|
|
52
58
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
package/peas-2-import.js
ADDED
package/peas-2.d.cts
CHANGED
|
@@ -88,32 +88,6 @@ export module Engine {
|
|
|
88
88
|
|
|
89
89
|
// Own constructor properties of Peas-2.Peas.Engine
|
|
90
90
|
|
|
91
|
-
/**
|
|
92
|
-
* The list of loaded plugins.
|
|
93
|
-
*
|
|
94
|
-
* This will be modified when [method`Engine`.load_plugin] or
|
|
95
|
-
* [method`Engine`.unload_plugin] is called.
|
|
96
|
-
*
|
|
97
|
-
* This can be used with [class`Gio`.Settings] to save the loaded plugins by
|
|
98
|
-
* binding to this property after instantiating the engine by doing:
|
|
99
|
-
*
|
|
100
|
-
* ```c
|
|
101
|
-
* g_settings_bind (gsettings_object,
|
|
102
|
-
* LOADED_PLUGINS_KEY,
|
|
103
|
-
* engine,
|
|
104
|
-
* "loaded-plugins",
|
|
105
|
-
* G_SETTINGS_BIND_DEFAULT);
|
|
106
|
-
* ```
|
|
107
|
-
*
|
|
108
|
-
* Note: notify will not be called when the engine is being destroyed.
|
|
109
|
-
*/
|
|
110
|
-
loaded_plugins?: string[] | null
|
|
111
|
-
/**
|
|
112
|
-
* If non-global plugin loaders should be used.
|
|
113
|
-
*
|
|
114
|
-
* See [ctor`Engine`.new_with_nonglobal_loaders] for more information.
|
|
115
|
-
*/
|
|
116
|
-
nonglobal_loaders?: boolean | null
|
|
117
91
|
/**
|
|
118
92
|
* The list of loaded plugins.
|
|
119
93
|
*
|
|
@@ -148,26 +122,6 @@ export interface Engine extends Gio.ListModel {
|
|
|
148
122
|
|
|
149
123
|
// Own properties of Peas-2.Peas.Engine
|
|
150
124
|
|
|
151
|
-
/**
|
|
152
|
-
* The list of loaded plugins.
|
|
153
|
-
*
|
|
154
|
-
* This will be modified when [method`Engine`.load_plugin] or
|
|
155
|
-
* [method`Engine`.unload_plugin] is called.
|
|
156
|
-
*
|
|
157
|
-
* This can be used with [class`Gio`.Settings] to save the loaded plugins by
|
|
158
|
-
* binding to this property after instantiating the engine by doing:
|
|
159
|
-
*
|
|
160
|
-
* ```c
|
|
161
|
-
* g_settings_bind (gsettings_object,
|
|
162
|
-
* LOADED_PLUGINS_KEY,
|
|
163
|
-
* engine,
|
|
164
|
-
* "loaded-plugins",
|
|
165
|
-
* G_SETTINGS_BIND_DEFAULT);
|
|
166
|
-
* ```
|
|
167
|
-
*
|
|
168
|
-
* Note: notify will not be called when the engine is being destroyed.
|
|
169
|
-
*/
|
|
170
|
-
loaded_plugins: string[]
|
|
171
125
|
/**
|
|
172
126
|
* The list of loaded plugins.
|
|
173
127
|
*
|
|
@@ -188,12 +142,6 @@ export interface Engine extends Gio.ListModel {
|
|
|
188
142
|
* Note: notify will not be called when the engine is being destroyed.
|
|
189
143
|
*/
|
|
190
144
|
loadedPlugins: string[]
|
|
191
|
-
/**
|
|
192
|
-
* If non-global plugin loaders should be used.
|
|
193
|
-
*
|
|
194
|
-
* See [ctor`Engine`.new_with_nonglobal_loaders] for more information.
|
|
195
|
-
*/
|
|
196
|
-
readonly nonglobal_loaders: boolean
|
|
197
145
|
/**
|
|
198
146
|
* If non-global plugin loaders should be used.
|
|
199
147
|
*
|
|
@@ -428,10 +376,6 @@ export module ExtensionBase {
|
|
|
428
376
|
|
|
429
377
|
// Own constructor properties of Peas-2.Peas.ExtensionBase
|
|
430
378
|
|
|
431
|
-
/**
|
|
432
|
-
* The [class`PluginInfo]` related to the current plugin.
|
|
433
|
-
*/
|
|
434
|
-
plugin_info?: PluginInfo | null
|
|
435
379
|
/**
|
|
436
380
|
* The [class`PluginInfo]` related to the current plugin.
|
|
437
381
|
*/
|
|
@@ -444,14 +388,6 @@ export interface ExtensionBase {
|
|
|
444
388
|
|
|
445
389
|
// Own properties of Peas-2.Peas.ExtensionBase
|
|
446
390
|
|
|
447
|
-
/**
|
|
448
|
-
* The The full path of the directory where the plugin
|
|
449
|
-
* should look for its data files.
|
|
450
|
-
*
|
|
451
|
-
* Note: This is the same path as that returned by
|
|
452
|
-
* [method`PluginInfo`.get_data_dir].
|
|
453
|
-
*/
|
|
454
|
-
readonly data_dir: string | null
|
|
455
391
|
/**
|
|
456
392
|
* The The full path of the directory where the plugin
|
|
457
393
|
* should look for its data files.
|
|
@@ -460,10 +396,6 @@ export interface ExtensionBase {
|
|
|
460
396
|
* [method`PluginInfo`.get_data_dir].
|
|
461
397
|
*/
|
|
462
398
|
readonly dataDir: string | null
|
|
463
|
-
/**
|
|
464
|
-
* The [class`PluginInfo]` related to the current plugin.
|
|
465
|
-
*/
|
|
466
|
-
readonly plugin_info: PluginInfo
|
|
467
399
|
/**
|
|
468
400
|
* The [class`PluginInfo]` related to the current plugin.
|
|
469
401
|
*/
|
|
@@ -552,10 +484,8 @@ export module ExtensionSet {
|
|
|
552
484
|
|
|
553
485
|
// Own constructor properties of Peas-2.Peas.ExtensionSet
|
|
554
486
|
|
|
555
|
-
construct_properties?: any | null
|
|
556
|
-
engine?: Engine | null
|
|
557
|
-
extension_type?: GObject.GType | null
|
|
558
487
|
constructProperties?: any | null
|
|
488
|
+
engine?: Engine | null
|
|
559
489
|
extensionType?: GObject.GType | null
|
|
560
490
|
}
|
|
561
491
|
|
|
@@ -565,10 +495,8 @@ export interface ExtensionSet extends Gio.ListModel {
|
|
|
565
495
|
|
|
566
496
|
// Own properties of Peas-2.Peas.ExtensionSet
|
|
567
497
|
|
|
568
|
-
readonly construct_properties: any
|
|
569
498
|
readonly constructProperties: any
|
|
570
499
|
readonly engine: Engine
|
|
571
|
-
readonly extension_type: GObject.GType
|
|
572
500
|
readonly extensionType: GObject.GType
|
|
573
501
|
|
|
574
502
|
// Owm methods of Peas-2.Peas.ExtensionSet
|
|
@@ -719,16 +647,11 @@ export module ObjectModule {
|
|
|
719
647
|
/**
|
|
720
648
|
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
721
649
|
*/
|
|
722
|
-
|
|
723
|
-
|
|
650
|
+
localLinkage?: boolean | null
|
|
651
|
+
moduleName?: string | null
|
|
724
652
|
path?: string | null
|
|
725
653
|
resident?: boolean | null
|
|
726
654
|
symbol?: string | null
|
|
727
|
-
/**
|
|
728
|
-
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
729
|
-
*/
|
|
730
|
-
localLinkage?: boolean | null
|
|
731
|
-
moduleName?: string | null
|
|
732
655
|
}
|
|
733
656
|
|
|
734
657
|
}
|
|
@@ -737,15 +660,10 @@ export interface ObjectModule extends GObject.TypePlugin {
|
|
|
737
660
|
|
|
738
661
|
// Own properties of Peas-2.Peas.ObjectModule
|
|
739
662
|
|
|
740
|
-
/**
|
|
741
|
-
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
742
|
-
*/
|
|
743
|
-
readonly local_linkage: boolean
|
|
744
663
|
/**
|
|
745
664
|
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
746
665
|
*/
|
|
747
666
|
readonly localLinkage: boolean
|
|
748
|
-
readonly module_name: string | null
|
|
749
667
|
readonly moduleName: string | null
|
|
750
668
|
readonly path: string | null
|
|
751
669
|
readonly resident: boolean
|
|
@@ -866,15 +784,11 @@ export interface PluginInfo {
|
|
|
866
784
|
readonly copyright: string | null
|
|
867
785
|
readonly dependencies: string[]
|
|
868
786
|
readonly description: string | null
|
|
869
|
-
readonly help_uri: string | null
|
|
870
787
|
readonly helpUri: string | null
|
|
871
788
|
readonly hidden: boolean
|
|
872
|
-
readonly icon_name: string | null
|
|
873
789
|
readonly iconName: string | null
|
|
874
790
|
readonly loaded: boolean
|
|
875
|
-
readonly module_dir: string | null
|
|
876
791
|
readonly moduleDir: string | null
|
|
877
|
-
readonly module_name: string | null
|
|
878
792
|
readonly moduleName: string | null
|
|
879
793
|
readonly name: string | null
|
|
880
794
|
readonly version: string | null
|
package/peas-2.d.ts
CHANGED
|
@@ -90,32 +90,6 @@ module Engine {
|
|
|
90
90
|
|
|
91
91
|
// Own constructor properties of Peas-2.Peas.Engine
|
|
92
92
|
|
|
93
|
-
/**
|
|
94
|
-
* The list of loaded plugins.
|
|
95
|
-
*
|
|
96
|
-
* This will be modified when [method`Engine`.load_plugin] or
|
|
97
|
-
* [method`Engine`.unload_plugin] is called.
|
|
98
|
-
*
|
|
99
|
-
* This can be used with [class`Gio`.Settings] to save the loaded plugins by
|
|
100
|
-
* binding to this property after instantiating the engine by doing:
|
|
101
|
-
*
|
|
102
|
-
* ```c
|
|
103
|
-
* g_settings_bind (gsettings_object,
|
|
104
|
-
* LOADED_PLUGINS_KEY,
|
|
105
|
-
* engine,
|
|
106
|
-
* "loaded-plugins",
|
|
107
|
-
* G_SETTINGS_BIND_DEFAULT);
|
|
108
|
-
* ```
|
|
109
|
-
*
|
|
110
|
-
* Note: notify will not be called when the engine is being destroyed.
|
|
111
|
-
*/
|
|
112
|
-
loaded_plugins?: string[] | null
|
|
113
|
-
/**
|
|
114
|
-
* If non-global plugin loaders should be used.
|
|
115
|
-
*
|
|
116
|
-
* See [ctor`Engine`.new_with_nonglobal_loaders] for more information.
|
|
117
|
-
*/
|
|
118
|
-
nonglobal_loaders?: boolean | null
|
|
119
93
|
/**
|
|
120
94
|
* The list of loaded plugins.
|
|
121
95
|
*
|
|
@@ -150,26 +124,6 @@ interface Engine extends Gio.ListModel {
|
|
|
150
124
|
|
|
151
125
|
// Own properties of Peas-2.Peas.Engine
|
|
152
126
|
|
|
153
|
-
/**
|
|
154
|
-
* The list of loaded plugins.
|
|
155
|
-
*
|
|
156
|
-
* This will be modified when [method`Engine`.load_plugin] or
|
|
157
|
-
* [method`Engine`.unload_plugin] is called.
|
|
158
|
-
*
|
|
159
|
-
* This can be used with [class`Gio`.Settings] to save the loaded plugins by
|
|
160
|
-
* binding to this property after instantiating the engine by doing:
|
|
161
|
-
*
|
|
162
|
-
* ```c
|
|
163
|
-
* g_settings_bind (gsettings_object,
|
|
164
|
-
* LOADED_PLUGINS_KEY,
|
|
165
|
-
* engine,
|
|
166
|
-
* "loaded-plugins",
|
|
167
|
-
* G_SETTINGS_BIND_DEFAULT);
|
|
168
|
-
* ```
|
|
169
|
-
*
|
|
170
|
-
* Note: notify will not be called when the engine is being destroyed.
|
|
171
|
-
*/
|
|
172
|
-
loaded_plugins: string[]
|
|
173
127
|
/**
|
|
174
128
|
* The list of loaded plugins.
|
|
175
129
|
*
|
|
@@ -190,12 +144,6 @@ interface Engine extends Gio.ListModel {
|
|
|
190
144
|
* Note: notify will not be called when the engine is being destroyed.
|
|
191
145
|
*/
|
|
192
146
|
loadedPlugins: string[]
|
|
193
|
-
/**
|
|
194
|
-
* If non-global plugin loaders should be used.
|
|
195
|
-
*
|
|
196
|
-
* See [ctor`Engine`.new_with_nonglobal_loaders] for more information.
|
|
197
|
-
*/
|
|
198
|
-
readonly nonglobal_loaders: boolean
|
|
199
147
|
/**
|
|
200
148
|
* If non-global plugin loaders should be used.
|
|
201
149
|
*
|
|
@@ -430,10 +378,6 @@ module ExtensionBase {
|
|
|
430
378
|
|
|
431
379
|
// Own constructor properties of Peas-2.Peas.ExtensionBase
|
|
432
380
|
|
|
433
|
-
/**
|
|
434
|
-
* The [class`PluginInfo]` related to the current plugin.
|
|
435
|
-
*/
|
|
436
|
-
plugin_info?: PluginInfo | null
|
|
437
381
|
/**
|
|
438
382
|
* The [class`PluginInfo]` related to the current plugin.
|
|
439
383
|
*/
|
|
@@ -446,14 +390,6 @@ interface ExtensionBase {
|
|
|
446
390
|
|
|
447
391
|
// Own properties of Peas-2.Peas.ExtensionBase
|
|
448
392
|
|
|
449
|
-
/**
|
|
450
|
-
* The The full path of the directory where the plugin
|
|
451
|
-
* should look for its data files.
|
|
452
|
-
*
|
|
453
|
-
* Note: This is the same path as that returned by
|
|
454
|
-
* [method`PluginInfo`.get_data_dir].
|
|
455
|
-
*/
|
|
456
|
-
readonly data_dir: string | null
|
|
457
393
|
/**
|
|
458
394
|
* The The full path of the directory where the plugin
|
|
459
395
|
* should look for its data files.
|
|
@@ -462,10 +398,6 @@ interface ExtensionBase {
|
|
|
462
398
|
* [method`PluginInfo`.get_data_dir].
|
|
463
399
|
*/
|
|
464
400
|
readonly dataDir: string | null
|
|
465
|
-
/**
|
|
466
|
-
* The [class`PluginInfo]` related to the current plugin.
|
|
467
|
-
*/
|
|
468
|
-
readonly plugin_info: PluginInfo
|
|
469
401
|
/**
|
|
470
402
|
* The [class`PluginInfo]` related to the current plugin.
|
|
471
403
|
*/
|
|
@@ -554,10 +486,8 @@ module ExtensionSet {
|
|
|
554
486
|
|
|
555
487
|
// Own constructor properties of Peas-2.Peas.ExtensionSet
|
|
556
488
|
|
|
557
|
-
construct_properties?: any | null
|
|
558
|
-
engine?: Engine | null
|
|
559
|
-
extension_type?: GObject.GType | null
|
|
560
489
|
constructProperties?: any | null
|
|
490
|
+
engine?: Engine | null
|
|
561
491
|
extensionType?: GObject.GType | null
|
|
562
492
|
}
|
|
563
493
|
|
|
@@ -567,10 +497,8 @@ interface ExtensionSet extends Gio.ListModel {
|
|
|
567
497
|
|
|
568
498
|
// Own properties of Peas-2.Peas.ExtensionSet
|
|
569
499
|
|
|
570
|
-
readonly construct_properties: any
|
|
571
500
|
readonly constructProperties: any
|
|
572
501
|
readonly engine: Engine
|
|
573
|
-
readonly extension_type: GObject.GType
|
|
574
502
|
readonly extensionType: GObject.GType
|
|
575
503
|
|
|
576
504
|
// Owm methods of Peas-2.Peas.ExtensionSet
|
|
@@ -721,16 +649,11 @@ module ObjectModule {
|
|
|
721
649
|
/**
|
|
722
650
|
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
723
651
|
*/
|
|
724
|
-
|
|
725
|
-
|
|
652
|
+
localLinkage?: boolean | null
|
|
653
|
+
moduleName?: string | null
|
|
726
654
|
path?: string | null
|
|
727
655
|
resident?: boolean | null
|
|
728
656
|
symbol?: string | null
|
|
729
|
-
/**
|
|
730
|
-
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
731
|
-
*/
|
|
732
|
-
localLinkage?: boolean | null
|
|
733
|
-
moduleName?: string | null
|
|
734
657
|
}
|
|
735
658
|
|
|
736
659
|
}
|
|
@@ -739,15 +662,10 @@ interface ObjectModule extends GObject.TypePlugin {
|
|
|
739
662
|
|
|
740
663
|
// Own properties of Peas-2.Peas.ObjectModule
|
|
741
664
|
|
|
742
|
-
/**
|
|
743
|
-
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
744
|
-
*/
|
|
745
|
-
readonly local_linkage: boolean
|
|
746
665
|
/**
|
|
747
666
|
* Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.
|
|
748
667
|
*/
|
|
749
668
|
readonly localLinkage: boolean
|
|
750
|
-
readonly module_name: string | null
|
|
751
669
|
readonly moduleName: string | null
|
|
752
670
|
readonly path: string | null
|
|
753
671
|
readonly resident: boolean
|
|
@@ -868,15 +786,11 @@ interface PluginInfo {
|
|
|
868
786
|
readonly copyright: string | null
|
|
869
787
|
readonly dependencies: string[]
|
|
870
788
|
readonly description: string | null
|
|
871
|
-
readonly help_uri: string | null
|
|
872
789
|
readonly helpUri: string | null
|
|
873
790
|
readonly hidden: boolean
|
|
874
|
-
readonly icon_name: string | null
|
|
875
791
|
readonly iconName: string | null
|
|
876
792
|
readonly loaded: boolean
|
|
877
|
-
readonly module_dir: string | null
|
|
878
793
|
readonly moduleDir: string | null
|
|
879
|
-
readonly module_name: string | null
|
|
880
794
|
readonly moduleName: string | null
|
|
881
795
|
readonly name: string | null
|
|
882
796
|
readonly version: string | null
|