@girs/tracker-3.0 3.7.2-4.0.0-beta.4 → 3.7.3-4.0.0-beta.6

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/tracker-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Tracker-3.0, generated from library version 3.7.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.3.
8
+ GJS TypeScript type definitions for Tracker-3.0, generated from library version 3.7.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.6.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/tracker-3.0",
3
- "version": "3.7.2-4.0.0-beta.4",
4
- "description": "GJS TypeScript type definitions for Tracker-3.0, generated from library version 3.7.2",
3
+ "version": "3.7.3-4.0.0-beta.6",
4
+ "description": "GJS TypeScript type definitions for Tracker-3.0, generated from library version 3.7.3",
5
5
  "type": "module",
6
6
  "module": "tracker-3.0.js",
7
7
  "main": "tracker-3.0.js",
@@ -23,13 +23,14 @@
23
23
  }
24
24
  },
25
25
  "scripts": {
26
- "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit tracker-3.0.d.ts"
26
+ "test": "tsc --project tsconfig.json"
27
27
  },
28
28
  "dependencies": {
29
- "@girs/gio-2.0": "^2.80.0-4.0.0-beta.4",
30
- "@girs/gjs": "^4.0.0-beta.4",
31
- "@girs/glib-2.0": "^2.80.0-4.0.0-beta.4",
32
- "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.4"
29
+ "@girs/gio-2.0": "^2.80.3-4.0.0-beta.6",
30
+ "@girs/gjs": "^4.0.0-beta.6",
31
+ "@girs/glib-2.0": "^2.80.3-4.0.0-beta.6",
32
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.6",
33
+ "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6"
33
34
  },
34
35
  "devDependencies": {
35
36
  "typescript": "*"
package/tracker-3.0.d.ts CHANGED
@@ -14,6 +14,7 @@ import './tracker-3.0-ambient.d.ts';
14
14
  import type Gio from '@girs/gio-2.0';
15
15
  import type GObject from '@girs/gobject-2.0';
16
16
  import type GLib from '@girs/glib-2.0';
17
+ import type GModule from '@girs/gmodule-2.0';
17
18
 
18
19
  export namespace Tracker {
19
20
  /**
@@ -1194,10 +1195,45 @@ export namespace Tracker {
1194
1195
  * @param closure #GClosure to watch
1195
1196
  */
1196
1197
  watch_closure(closure: GObject.Closure): void;
1198
+ /**
1199
+ * the `constructed` function is called by g_object_new() as the
1200
+ * final step of the object creation process. At the point of the call, all
1201
+ * construction properties have been set on the object. The purpose of this
1202
+ * call is to allow for object initialisation steps that can only be performed
1203
+ * after construction properties have been set. `constructed` implementors
1204
+ * should chain up to the `constructed` call of their parent class to allow it
1205
+ * to complete its initialisation.
1206
+ */
1197
1207
  vfunc_constructed(): void;
1208
+ /**
1209
+ * emits property change notification for a bunch
1210
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
1211
+ * needed.
1212
+ * @param n_pspecs
1213
+ * @param pspecs
1214
+ */
1198
1215
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1216
+ /**
1217
+ * the `dispose` function is supposed to drop all references to other
1218
+ * objects, but keep the instance otherwise intact, so that client method
1219
+ * invocations still work. It may be run multiple times (due to reference
1220
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
1221
+ * of the parent class.
1222
+ */
1199
1223
  vfunc_dispose(): void;
1224
+ /**
1225
+ * instance finalization function, should finish the finalization of
1226
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
1227
+ * parent class.
1228
+ */
1200
1229
  vfunc_finalize(): void;
1230
+ /**
1231
+ * the generic getter for all properties of this type. Should be
1232
+ * overridden for every type with properties.
1233
+ * @param property_id
1234
+ * @param value
1235
+ * @param pspec
1236
+ */
1201
1237
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1202
1238
  /**
1203
1239
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -1213,6 +1249,16 @@ export namespace Tracker {
1213
1249
  * @param pspec
1214
1250
  */
1215
1251
  vfunc_notify(pspec: GObject.ParamSpec): void;
1252
+ /**
1253
+ * the generic setter for all properties of this type. Should be
1254
+ * overridden for every type with properties. If implementations of
1255
+ * `set_property` don't emit property change notification explicitly, this will
1256
+ * be done implicitly by the type system. However, if the notify signal is
1257
+ * emitted explicitly, the type system will not emit it a second time.
1258
+ * @param property_id
1259
+ * @param value
1260
+ * @param pspec
1261
+ */
1216
1262
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1217
1263
  disconnect(id: number): void;
1218
1264
  set(properties: { [key: string]: any }): void;
@@ -1745,10 +1791,45 @@ export namespace Tracker {
1745
1791
  * @param closure #GClosure to watch
1746
1792
  */
1747
1793
  watch_closure(closure: GObject.Closure): void;
1794
+ /**
1795
+ * the `constructed` function is called by g_object_new() as the
1796
+ * final step of the object creation process. At the point of the call, all
1797
+ * construction properties have been set on the object. The purpose of this
1798
+ * call is to allow for object initialisation steps that can only be performed
1799
+ * after construction properties have been set. `constructed` implementors
1800
+ * should chain up to the `constructed` call of their parent class to allow it
1801
+ * to complete its initialisation.
1802
+ */
1748
1803
  vfunc_constructed(): void;
1804
+ /**
1805
+ * emits property change notification for a bunch
1806
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
1807
+ * needed.
1808
+ * @param n_pspecs
1809
+ * @param pspecs
1810
+ */
1749
1811
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1812
+ /**
1813
+ * the `dispose` function is supposed to drop all references to other
1814
+ * objects, but keep the instance otherwise intact, so that client method
1815
+ * invocations still work. It may be run multiple times (due to reference
1816
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
1817
+ * of the parent class.
1818
+ */
1750
1819
  vfunc_dispose(): void;
1820
+ /**
1821
+ * instance finalization function, should finish the finalization of
1822
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
1823
+ * parent class.
1824
+ */
1751
1825
  vfunc_finalize(): void;
1826
+ /**
1827
+ * the generic getter for all properties of this type. Should be
1828
+ * overridden for every type with properties.
1829
+ * @param property_id
1830
+ * @param value
1831
+ * @param pspec
1832
+ */
1752
1833
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1753
1834
  /**
1754
1835
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -1764,6 +1845,16 @@ export namespace Tracker {
1764
1845
  * @param pspec
1765
1846
  */
1766
1847
  vfunc_notify(pspec: GObject.ParamSpec): void;
1848
+ /**
1849
+ * the generic setter for all properties of this type. Should be
1850
+ * overridden for every type with properties. If implementations of
1851
+ * `set_property` don't emit property change notification explicitly, this will
1852
+ * be done implicitly by the type system. However, if the notify signal is
1853
+ * emitted explicitly, the type system will not emit it a second time.
1854
+ * @param property_id
1855
+ * @param value
1856
+ * @param pspec
1857
+ */
1767
1858
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1768
1859
  disconnect(id: number): void;
1769
1860
  set(properties: { [key: string]: any }): void;