@girs/msg-1 1.0.0-4.0.0-beta.44 → 1.0.0-4.0.0-rc.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 (3) hide show
  1. package/README.md +1 -1
  2. package/msg-1.d.ts +19 -19
  3. package/package.json +9 -9
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/msg-1)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Msg-1, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.44.
8
+ GJS TypeScript type definitions for Msg-1, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.
9
9
 
10
10
  ## Install
11
11
 
package/msg-1.d.ts CHANGED
@@ -827,7 +827,7 @@ export namespace Msg {
827
827
  bind_property_full(...args: never[]): any;
828
828
  /**
829
829
  * This function is intended for {@link GObject.Object} implementations to re-enforce
830
- * a [floating](floating-refs.html) object reference. Doing this is seldom
830
+ * a [floating][floating-ref] object reference. Doing this is seldom
831
831
  * required: all `GInitiallyUnowneds` are created with a floating reference
832
832
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
833
833
  */
@@ -882,7 +882,7 @@ export namespace Msg {
882
882
  */
883
883
  getv(names: string[], values: (GObject.Value | any)[]): void;
884
884
  /**
885
- * Checks whether `object` has a [floating](floating-refs.html) reference.
885
+ * Checks whether `object` has a [floating][floating-ref] reference.
886
886
  * @returns `true` if `object` has a floating reference
887
887
  */
888
888
  is_floating(): boolean;
@@ -957,7 +957,7 @@ export namespace Msg {
957
957
  ref(): GObject.Object;
958
958
  /**
959
959
  * Increase the reference count of `object`, and possibly remove the
960
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
960
+ * [floating][floating-ref] reference, if `object` has a floating reference.
961
961
  *
962
962
  * In other words, if the object is floating, then this call "assumes
963
963
  * ownership" of the floating reference, converting it to a normal
@@ -1126,7 +1126,7 @@ export namespace Msg {
1126
1126
  * @param pspec
1127
1127
  * @virtual
1128
1128
  */
1129
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1129
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1130
1130
  /**
1131
1131
  * Emits a "notify" signal for the property `property_name` on `object`.
1132
1132
  *
@@ -1153,7 +1153,7 @@ export namespace Msg {
1153
1153
  * @param pspec
1154
1154
  * @virtual
1155
1155
  */
1156
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1156
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1157
1157
  /**
1158
1158
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
1159
1159
  * @param id Handler ID of the handler to be disconnected
@@ -1289,7 +1289,7 @@ export namespace Msg {
1289
1289
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
1290
1290
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
1291
1291
  */
1292
- seek(offset: number, type: GLib.SeekType | null, cancellable?: Gio.Cancellable | null): boolean;
1292
+ seek(offset: bigint | number, type: GLib.SeekType | null, cancellable?: Gio.Cancellable | null): boolean;
1293
1293
  /**
1294
1294
  * Tells the current position within the stream.
1295
1295
  * @returns the (positive or zero) offset from the beginning of the buffer, zero if the target is not seekable.
@@ -1309,7 +1309,7 @@ export namespace Msg {
1309
1309
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
1310
1310
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
1311
1311
  */
1312
- truncate(offset: number, cancellable?: Gio.Cancellable | null): boolean;
1312
+ truncate(offset: bigint | number, cancellable?: Gio.Cancellable | null): boolean;
1313
1313
  /**
1314
1314
  * Tests if the stream supports the {@link Gio.SeekableIface}.
1315
1315
  * @virtual
@@ -1346,7 +1346,7 @@ export namespace Msg {
1346
1346
  * Tells the current position within the stream.
1347
1347
  * @virtual
1348
1348
  */
1349
- vfunc_tell(): number;
1349
+ vfunc_tell(): bigint | number;
1350
1350
  /**
1351
1351
  * Sets the length of the stream to `offset`. If the stream was previously
1352
1352
  * larger than `offset`, the extra data is discarded. If the stream was
@@ -1459,7 +1459,7 @@ export namespace Msg {
1459
1459
  bind_property_full(...args: never[]): any;
1460
1460
  /**
1461
1461
  * This function is intended for {@link GObject.Object} implementations to re-enforce
1462
- * a [floating](floating-refs.html) object reference. Doing this is seldom
1462
+ * a [floating][floating-ref] object reference. Doing this is seldom
1463
1463
  * required: all `GInitiallyUnowneds` are created with a floating reference
1464
1464
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
1465
1465
  */
@@ -1514,7 +1514,7 @@ export namespace Msg {
1514
1514
  */
1515
1515
  getv(names: string[], values: (GObject.Value | any)[]): void;
1516
1516
  /**
1517
- * Checks whether `object` has a [floating](floating-refs.html) reference.
1517
+ * Checks whether `object` has a [floating][floating-ref] reference.
1518
1518
  * @returns `true` if `object` has a floating reference
1519
1519
  */
1520
1520
  is_floating(): boolean;
@@ -1589,7 +1589,7 @@ export namespace Msg {
1589
1589
  ref(): GObject.Object;
1590
1590
  /**
1591
1591
  * Increase the reference count of `object`, and possibly remove the
1592
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
1592
+ * [floating][floating-ref] reference, if `object` has a floating reference.
1593
1593
  *
1594
1594
  * In other words, if the object is floating, then this call "assumes
1595
1595
  * ownership" of the floating reference, converting it to a normal
@@ -1758,7 +1758,7 @@ export namespace Msg {
1758
1758
  * @param pspec
1759
1759
  * @virtual
1760
1760
  */
1761
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1761
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1762
1762
  /**
1763
1763
  * Emits a "notify" signal for the property `property_name` on `object`.
1764
1764
  *
@@ -1785,7 +1785,7 @@ export namespace Msg {
1785
1785
  * @param pspec
1786
1786
  * @virtual
1787
1787
  */
1788
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1788
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1789
1789
  /**
1790
1790
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
1791
1791
  * @param id Handler ID of the handler to be disconnected
@@ -2062,7 +2062,7 @@ export namespace Msg {
2062
2062
  * Set mail received timestamp.
2063
2063
  * @param timestamp received timestamp
2064
2064
  */
2065
- set_received_date(timestamp: number): void;
2065
+ set_received_date(timestamp: bigint | number): void;
2066
2066
  /**
2067
2067
  * Set mail receiver.
2068
2068
  * @param receiver mail_message receiver
@@ -2443,7 +2443,7 @@ export namespace Msg {
2443
2443
  bind_property_full(...args: never[]): any;
2444
2444
  /**
2445
2445
  * This function is intended for {@link GObject.Object} implementations to re-enforce
2446
- * a [floating](floating-refs.html) object reference. Doing this is seldom
2446
+ * a [floating][floating-ref] object reference. Doing this is seldom
2447
2447
  * required: all `GInitiallyUnowneds` are created with a floating reference
2448
2448
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
2449
2449
  */
@@ -2498,7 +2498,7 @@ export namespace Msg {
2498
2498
  */
2499
2499
  getv(names: string[], values: (GObject.Value | any)[]): void;
2500
2500
  /**
2501
- * Checks whether `object` has a [floating](floating-refs.html) reference.
2501
+ * Checks whether `object` has a [floating][floating-ref] reference.
2502
2502
  * @returns `true` if `object` has a floating reference
2503
2503
  */
2504
2504
  is_floating(): boolean;
@@ -2573,7 +2573,7 @@ export namespace Msg {
2573
2573
  ref(): GObject.Object;
2574
2574
  /**
2575
2575
  * Increase the reference count of `object`, and possibly remove the
2576
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
2576
+ * [floating][floating-ref] reference, if `object` has a floating reference.
2577
2577
  *
2578
2578
  * In other words, if the object is floating, then this call "assumes
2579
2579
  * ownership" of the floating reference, converting it to a normal
@@ -2742,7 +2742,7 @@ export namespace Msg {
2742
2742
  * @param pspec
2743
2743
  * @virtual
2744
2744
  */
2745
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2745
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2746
2746
  /**
2747
2747
  * Emits a "notify" signal for the property `property_name` on `object`.
2748
2748
  *
@@ -2769,7 +2769,7 @@ export namespace Msg {
2769
2769
  * @param pspec
2770
2770
  * @virtual
2771
2771
  */
2772
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2772
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2773
2773
  /**
2774
2774
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
2775
2775
  * @param id Handler ID of the handler to be disconnected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/msg-1",
3
- "version": "1.0.0-4.0.0-beta.44",
3
+ "version": "1.0.0-4.0.0-rc.2",
4
4
  "description": "GJS TypeScript type definitions for Msg-1, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "msg-1.js",
@@ -31,14 +31,14 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.44",
35
- "@girs/soup-3.0": "3.6.6-4.0.0-beta.44",
36
- "@girs/gio-2.0": "2.88.0-4.0.0-beta.44",
37
- "@girs/gobject-2.0": "2.88.0-4.0.0-beta.44",
38
- "@girs/glib-2.0": "2.88.0-4.0.0-beta.44",
39
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.44",
40
- "@girs/json-1.0": "1.10.8-4.0.0-beta.44",
41
- "@girs/goa-1.0": "3.58.0-4.0.0-beta.44" },
34
+ "@girs/gjs": "4.0.0-rc.2",
35
+ "@girs/soup-3.0": "3.6.6-4.0.0-rc.2",
36
+ "@girs/gio-2.0": "2.88.0-4.0.0-rc.2",
37
+ "@girs/gobject-2.0": "2.88.0-4.0.0-rc.2",
38
+ "@girs/glib-2.0": "2.88.0-4.0.0-rc.2",
39
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-rc.2",
40
+ "@girs/json-1.0": "1.10.8-4.0.0-rc.2",
41
+ "@girs/goa-1.0": "3.58.0-4.0.0-rc.2" },
42
42
  "devDependencies": {
43
43
  "typescript": "*"
44
44
  },