@girs/msg-0 0.0.0-4.0.0-beta.44 → 0.0.0-4.0.0-rc.5

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-0.d.ts +25 -25
  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-0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Msg-0, generated from library version 0.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-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.5.
9
9
 
10
10
  ## Install
11
11
 
package/msg-0.d.ts CHANGED
@@ -923,7 +923,7 @@ export namespace Msg {
923
923
  source_property: string,
924
924
  target: GObject.Object,
925
925
  target_property: string,
926
- flags: GObject.BindingFlags | null,
926
+ flags: GObject.BindingFlags,
927
927
  ): GObject.Binding;
928
928
  /**
929
929
  * Complete version of `g_object_bind_property()`.
@@ -964,7 +964,7 @@ export namespace Msg {
964
964
  source_property: string,
965
965
  target: GObject.Object,
966
966
  target_property: string,
967
- flags: GObject.BindingFlags | null,
967
+ flags: GObject.BindingFlags,
968
968
  transform_to?: GObject.BindingTransformFunc | null,
969
969
  transform_from?: GObject.BindingTransformFunc | null,
970
970
  notify?: GLib.DestroyNotify | null,
@@ -976,7 +976,7 @@ export namespace Msg {
976
976
  bind_property_full(...args: never[]): any;
977
977
  /**
978
978
  * This function is intended for {@link GObject.Object} implementations to re-enforce
979
- * a [floating](floating-refs.html) object reference. Doing this is seldom
979
+ * a [floating][floating-ref] object reference. Doing this is seldom
980
980
  * required: all `GInitiallyUnowneds` are created with a floating reference
981
981
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
982
982
  */
@@ -1031,7 +1031,7 @@ export namespace Msg {
1031
1031
  */
1032
1032
  getv(names: string[], values: (GObject.Value | any)[]): void;
1033
1033
  /**
1034
- * Checks whether `object` has a [floating](floating-refs.html) reference.
1034
+ * Checks whether `object` has a [floating][floating-ref] reference.
1035
1035
  * @returns `true` if `object` has a floating reference
1036
1036
  */
1037
1037
  is_floating(): boolean;
@@ -1106,7 +1106,7 @@ export namespace Msg {
1106
1106
  ref(): GObject.Object;
1107
1107
  /**
1108
1108
  * Increase the reference count of `object`, and possibly remove the
1109
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
1109
+ * [floating][floating-ref] reference, if `object` has a floating reference.
1110
1110
  *
1111
1111
  * In other words, if the object is floating, then this call "assumes
1112
1112
  * ownership" of the floating reference, converting it to a normal
@@ -1275,7 +1275,7 @@ export namespace Msg {
1275
1275
  * @param pspec
1276
1276
  * @virtual
1277
1277
  */
1278
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1278
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1279
1279
  /**
1280
1280
  * Emits a "notify" signal for the property `property_name` on `object`.
1281
1281
  *
@@ -1302,7 +1302,7 @@ export namespace Msg {
1302
1302
  * @param pspec
1303
1303
  * @virtual
1304
1304
  */
1305
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1305
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1306
1306
  /**
1307
1307
  * 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.
1308
1308
  * @param id Handler ID of the handler to be disconnected
@@ -1438,7 +1438,7 @@ export namespace Msg {
1438
1438
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
1439
1439
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
1440
1440
  */
1441
- seek(offset: number, type: GLib.SeekType | null, cancellable?: Gio.Cancellable | null): boolean;
1441
+ seek(offset: bigint | number, type: GLib.SeekType, cancellable?: Gio.Cancellable | null): boolean;
1442
1442
  /**
1443
1443
  * Tells the current position within the stream.
1444
1444
  * @returns the (positive or zero) offset from the beginning of the buffer, zero if the target is not seekable.
@@ -1458,7 +1458,7 @@ export namespace Msg {
1458
1458
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
1459
1459
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
1460
1460
  */
1461
- truncate(offset: number, cancellable?: Gio.Cancellable | null): boolean;
1461
+ truncate(offset: bigint | number, cancellable?: Gio.Cancellable | null): boolean;
1462
1462
  /**
1463
1463
  * Tests if the stream supports the {@link Gio.SeekableIface}.
1464
1464
  * @virtual
@@ -1495,7 +1495,7 @@ export namespace Msg {
1495
1495
  * Tells the current position within the stream.
1496
1496
  * @virtual
1497
1497
  */
1498
- vfunc_tell(): number;
1498
+ vfunc_tell(): bigint | number;
1499
1499
  /**
1500
1500
  * Sets the length of the stream to `offset`. If the stream was previously
1501
1501
  * larger than `offset`, the extra data is discarded. If the stream was
@@ -1555,7 +1555,7 @@ export namespace Msg {
1555
1555
  source_property: string,
1556
1556
  target: GObject.Object,
1557
1557
  target_property: string,
1558
- flags: GObject.BindingFlags | null,
1558
+ flags: GObject.BindingFlags,
1559
1559
  ): GObject.Binding;
1560
1560
  /**
1561
1561
  * Complete version of `g_object_bind_property()`.
@@ -1596,7 +1596,7 @@ export namespace Msg {
1596
1596
  source_property: string,
1597
1597
  target: GObject.Object,
1598
1598
  target_property: string,
1599
- flags: GObject.BindingFlags | null,
1599
+ flags: GObject.BindingFlags,
1600
1600
  transform_to?: GObject.BindingTransformFunc | null,
1601
1601
  transform_from?: GObject.BindingTransformFunc | null,
1602
1602
  notify?: GLib.DestroyNotify | null,
@@ -1608,7 +1608,7 @@ export namespace Msg {
1608
1608
  bind_property_full(...args: never[]): any;
1609
1609
  /**
1610
1610
  * This function is intended for {@link GObject.Object} implementations to re-enforce
1611
- * a [floating](floating-refs.html) object reference. Doing this is seldom
1611
+ * a [floating][floating-ref] object reference. Doing this is seldom
1612
1612
  * required: all `GInitiallyUnowneds` are created with a floating reference
1613
1613
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
1614
1614
  */
@@ -1663,7 +1663,7 @@ export namespace Msg {
1663
1663
  */
1664
1664
  getv(names: string[], values: (GObject.Value | any)[]): void;
1665
1665
  /**
1666
- * Checks whether `object` has a [floating](floating-refs.html) reference.
1666
+ * Checks whether `object` has a [floating][floating-ref] reference.
1667
1667
  * @returns `true` if `object` has a floating reference
1668
1668
  */
1669
1669
  is_floating(): boolean;
@@ -1738,7 +1738,7 @@ export namespace Msg {
1738
1738
  ref(): GObject.Object;
1739
1739
  /**
1740
1740
  * Increase the reference count of `object`, and possibly remove the
1741
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
1741
+ * [floating][floating-ref] reference, if `object` has a floating reference.
1742
1742
  *
1743
1743
  * In other words, if the object is floating, then this call "assumes
1744
1744
  * ownership" of the floating reference, converting it to a normal
@@ -1907,7 +1907,7 @@ export namespace Msg {
1907
1907
  * @param pspec
1908
1908
  * @virtual
1909
1909
  */
1910
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1910
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1911
1911
  /**
1912
1912
  * Emits a "notify" signal for the property `property_name` on `object`.
1913
1913
  *
@@ -1934,7 +1934,7 @@ export namespace Msg {
1934
1934
  * @param pspec
1935
1935
  * @virtual
1936
1936
  */
1937
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1937
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1938
1938
  /**
1939
1939
  * 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.
1940
1940
  * @param id Handler ID of the handler to be disconnected
@@ -2190,7 +2190,7 @@ export namespace Msg {
2190
2190
  * @param cancellable a {@link Gio.Cancellable}
2191
2191
  * @returns a {@link Msg.MailFolder}
2192
2192
  */
2193
- get_mail_folder(type: MessageMailFolderType | null, cancellable?: Gio.Cancellable | null): MailFolder;
2193
+ get_mail_folder(type: MessageMailFolderType, cancellable?: Gio.Cancellable | null): MailFolder;
2194
2194
  /**
2195
2195
  * Get all folders for given service
2196
2196
  * @param cancellable a {@link Gio.Cancellable}
@@ -2392,7 +2392,7 @@ export namespace Msg {
2392
2392
  source_property: string,
2393
2393
  target: GObject.Object,
2394
2394
  target_property: string,
2395
- flags: GObject.BindingFlags | null,
2395
+ flags: GObject.BindingFlags,
2396
2396
  ): GObject.Binding;
2397
2397
  /**
2398
2398
  * Complete version of `g_object_bind_property()`.
@@ -2433,7 +2433,7 @@ export namespace Msg {
2433
2433
  source_property: string,
2434
2434
  target: GObject.Object,
2435
2435
  target_property: string,
2436
- flags: GObject.BindingFlags | null,
2436
+ flags: GObject.BindingFlags,
2437
2437
  transform_to?: GObject.BindingTransformFunc | null,
2438
2438
  transform_from?: GObject.BindingTransformFunc | null,
2439
2439
  notify?: GLib.DestroyNotify | null,
@@ -2445,7 +2445,7 @@ export namespace Msg {
2445
2445
  bind_property_full(...args: never[]): any;
2446
2446
  /**
2447
2447
  * This function is intended for {@link GObject.Object} implementations to re-enforce
2448
- * a [floating](floating-refs.html) object reference. Doing this is seldom
2448
+ * a [floating][floating-ref] object reference. Doing this is seldom
2449
2449
  * required: all `GInitiallyUnowneds` are created with a floating reference
2450
2450
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
2451
2451
  */
@@ -2500,7 +2500,7 @@ export namespace Msg {
2500
2500
  */
2501
2501
  getv(names: string[], values: (GObject.Value | any)[]): void;
2502
2502
  /**
2503
- * Checks whether `object` has a [floating](floating-refs.html) reference.
2503
+ * Checks whether `object` has a [floating][floating-ref] reference.
2504
2504
  * @returns `true` if `object` has a floating reference
2505
2505
  */
2506
2506
  is_floating(): boolean;
@@ -2575,7 +2575,7 @@ export namespace Msg {
2575
2575
  ref(): GObject.Object;
2576
2576
  /**
2577
2577
  * Increase the reference count of `object`, and possibly remove the
2578
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
2578
+ * [floating][floating-ref] reference, if `object` has a floating reference.
2579
2579
  *
2580
2580
  * In other words, if the object is floating, then this call "assumes
2581
2581
  * ownership" of the floating reference, converting it to a normal
@@ -2744,7 +2744,7 @@ export namespace Msg {
2744
2744
  * @param pspec
2745
2745
  * @virtual
2746
2746
  */
2747
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2747
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2748
2748
  /**
2749
2749
  * Emits a "notify" signal for the property `property_name` on `object`.
2750
2750
  *
@@ -2771,7 +2771,7 @@ export namespace Msg {
2771
2771
  * @param pspec
2772
2772
  * @virtual
2773
2773
  */
2774
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2774
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2775
2775
  /**
2776
2776
  * 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.
2777
2777
  * @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-0",
3
- "version": "0.0.0-4.0.0-beta.44",
3
+ "version": "0.0.0-4.0.0-rc.5",
4
4
  "description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
5
5
  "type": "module",
6
6
  "module": "msg-0.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.5",
35
+ "@girs/soup-3.0": "3.6.6-4.0.0-rc.5",
36
+ "@girs/gio-2.0": "2.88.0-4.0.0-rc.5",
37
+ "@girs/gobject-2.0": "2.88.0-4.0.0-rc.5",
38
+ "@girs/glib-2.0": "2.88.0-4.0.0-rc.5",
39
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-rc.5",
40
+ "@girs/json-1.0": "1.10.8-4.0.0-rc.5",
41
+ "@girs/goa-1.0": "3.58.0-4.0.0-rc.5" },
42
42
  "devDependencies": {
43
43
  "typescript": "*"
44
44
  },