@girs/fwupd-2.0 2.0.0-3.2.7 → 2.0.0-3.2.8

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/fwupd-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Fwupd-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Fwupd-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  This project aims to make updating firmware on Linux automatic, safe and reliable.
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/fwupd-2.0.d.cts CHANGED
@@ -1003,34 +1003,18 @@ export interface Client {
1003
1003
 
1004
1004
  // Own properties of Fwupd-2.0.Fwupd.Client
1005
1005
 
1006
- /**
1007
- * The daemon version number.
1008
- */
1009
- readonly daemon_version: string | null
1010
1006
  /**
1011
1007
  * The daemon version number.
1012
1008
  */
1013
1009
  readonly daemonVersion: string | null
1014
- /**
1015
- * The host machine-id string
1016
- */
1017
- readonly host_machine_id: string | null
1018
1010
  /**
1019
1011
  * The host machine-id string
1020
1012
  */
1021
1013
  readonly hostMachineId: string | null
1022
- /**
1023
- * The host product string
1024
- */
1025
- readonly host_product: string | null
1026
1014
  /**
1027
1015
  * The host product string
1028
1016
  */
1029
1017
  readonly hostProduct: string | null
1030
- /**
1031
- * The host machine-id string
1032
- */
1033
- readonly host_security_id: string | null
1034
1018
  /**
1035
1019
  * The host machine-id string
1036
1020
  */
@@ -1043,10 +1027,6 @@ export interface Client {
1043
1027
  * The last-reported percentage of the daemon.
1044
1028
  */
1045
1029
  percentage: number
1046
- /**
1047
- * The libsoup session, now unused.
1048
- */
1049
- readonly soup_session: GObject.Object
1050
1030
  /**
1051
1031
  * The libsoup session, now unused.
1052
1032
  */
@@ -2697,8 +2677,6 @@ export module Device {
2697
2677
  parent?: Device | null
2698
2678
  protocol?: string | null
2699
2679
  status?: number | null
2700
- update_state?: number | null
2701
- version_format?: number | null
2702
2680
  updateState?: number | null
2703
2681
  versionFormat?: number | null
2704
2682
  }
@@ -2713,9 +2691,7 @@ export interface Device {
2713
2691
  parent: Device
2714
2692
  protocol: string | null
2715
2693
  status: number
2716
- update_state: number
2717
2694
  updateState: number
2718
- version_format: number
2719
2695
  versionFormat: number
2720
2696
 
2721
2697
  // Own fields of Fwupd-2.0.Fwupd.Device
@@ -3851,15 +3827,15 @@ export module Remote {
3851
3827
  * If firmware from the remote should be checked against the system
3852
3828
  * list of approved firmware.
3853
3829
  */
3854
- approval_required?: boolean | null
3830
+ approvalRequired?: boolean | null
3855
3831
  /**
3856
3832
  * The behavior for auto-uploading reports.
3857
3833
  */
3858
- automatic_reports?: boolean | null
3834
+ automaticReports?: boolean | null
3859
3835
  /**
3860
3836
  * The behavior for auto-uploading security reports.
3861
3837
  */
3862
- automatic_security_reports?: boolean | null
3838
+ automaticSecurityReports?: boolean | null
3863
3839
  /**
3864
3840
  * If the remote is enabled and should be used.
3865
3841
  */
@@ -3868,19 +3844,6 @@ export module Remote {
3868
3844
  * The remote ID.
3869
3845
  */
3870
3846
  id?: string | null
3871
- /**
3872
- * If firmware from the remote should be checked against the system
3873
- * list of approved firmware.
3874
- */
3875
- approvalRequired?: boolean | null
3876
- /**
3877
- * The behavior for auto-uploading reports.
3878
- */
3879
- automaticReports?: boolean | null
3880
- /**
3881
- * The behavior for auto-uploading security reports.
3882
- */
3883
- automaticSecurityReports?: boolean | null
3884
3847
  }
3885
3848
 
3886
3849
  }
@@ -3889,28 +3852,15 @@ export interface Remote {
3889
3852
 
3890
3853
  // Own properties of Fwupd-2.0.Fwupd.Remote
3891
3854
 
3892
- /**
3893
- * If firmware from the remote should be checked against the system
3894
- * list of approved firmware.
3895
- */
3896
- approval_required: boolean
3897
3855
  /**
3898
3856
  * If firmware from the remote should be checked against the system
3899
3857
  * list of approved firmware.
3900
3858
  */
3901
3859
  approvalRequired: boolean
3902
- /**
3903
- * The behavior for auto-uploading reports.
3904
- */
3905
- automatic_reports: boolean
3906
3860
  /**
3907
3861
  * The behavior for auto-uploading reports.
3908
3862
  */
3909
3863
  automaticReports: boolean
3910
- /**
3911
- * The behavior for auto-uploading security reports.
3912
- */
3913
- automatic_security_reports: boolean
3914
3864
  /**
3915
3865
  * The behavior for auto-uploading security reports.
3916
3866
  */
package/fwupd-2.0.d.ts CHANGED
@@ -1005,34 +1005,18 @@ interface Client {
1005
1005
 
1006
1006
  // Own properties of Fwupd-2.0.Fwupd.Client
1007
1007
 
1008
- /**
1009
- * The daemon version number.
1010
- */
1011
- readonly daemon_version: string | null
1012
1008
  /**
1013
1009
  * The daemon version number.
1014
1010
  */
1015
1011
  readonly daemonVersion: string | null
1016
- /**
1017
- * The host machine-id string
1018
- */
1019
- readonly host_machine_id: string | null
1020
1012
  /**
1021
1013
  * The host machine-id string
1022
1014
  */
1023
1015
  readonly hostMachineId: string | null
1024
- /**
1025
- * The host product string
1026
- */
1027
- readonly host_product: string | null
1028
1016
  /**
1029
1017
  * The host product string
1030
1018
  */
1031
1019
  readonly hostProduct: string | null
1032
- /**
1033
- * The host machine-id string
1034
- */
1035
- readonly host_security_id: string | null
1036
1020
  /**
1037
1021
  * The host machine-id string
1038
1022
  */
@@ -1045,10 +1029,6 @@ interface Client {
1045
1029
  * The last-reported percentage of the daemon.
1046
1030
  */
1047
1031
  percentage: number
1048
- /**
1049
- * The libsoup session, now unused.
1050
- */
1051
- readonly soup_session: GObject.Object
1052
1032
  /**
1053
1033
  * The libsoup session, now unused.
1054
1034
  */
@@ -2699,8 +2679,6 @@ module Device {
2699
2679
  parent?: Device | null
2700
2680
  protocol?: string | null
2701
2681
  status?: number | null
2702
- update_state?: number | null
2703
- version_format?: number | null
2704
2682
  updateState?: number | null
2705
2683
  versionFormat?: number | null
2706
2684
  }
@@ -2715,9 +2693,7 @@ interface Device {
2715
2693
  parent: Device
2716
2694
  protocol: string | null
2717
2695
  status: number
2718
- update_state: number
2719
2696
  updateState: number
2720
- version_format: number
2721
2697
  versionFormat: number
2722
2698
 
2723
2699
  // Own fields of Fwupd-2.0.Fwupd.Device
@@ -3853,15 +3829,15 @@ module Remote {
3853
3829
  * If firmware from the remote should be checked against the system
3854
3830
  * list of approved firmware.
3855
3831
  */
3856
- approval_required?: boolean | null
3832
+ approvalRequired?: boolean | null
3857
3833
  /**
3858
3834
  * The behavior for auto-uploading reports.
3859
3835
  */
3860
- automatic_reports?: boolean | null
3836
+ automaticReports?: boolean | null
3861
3837
  /**
3862
3838
  * The behavior for auto-uploading security reports.
3863
3839
  */
3864
- automatic_security_reports?: boolean | null
3840
+ automaticSecurityReports?: boolean | null
3865
3841
  /**
3866
3842
  * If the remote is enabled and should be used.
3867
3843
  */
@@ -3870,19 +3846,6 @@ module Remote {
3870
3846
  * The remote ID.
3871
3847
  */
3872
3848
  id?: string | null
3873
- /**
3874
- * If firmware from the remote should be checked against the system
3875
- * list of approved firmware.
3876
- */
3877
- approvalRequired?: boolean | null
3878
- /**
3879
- * The behavior for auto-uploading reports.
3880
- */
3881
- automaticReports?: boolean | null
3882
- /**
3883
- * The behavior for auto-uploading security reports.
3884
- */
3885
- automaticSecurityReports?: boolean | null
3886
3849
  }
3887
3850
 
3888
3851
  }
@@ -3891,28 +3854,15 @@ interface Remote {
3891
3854
 
3892
3855
  // Own properties of Fwupd-2.0.Fwupd.Remote
3893
3856
 
3894
- /**
3895
- * If firmware from the remote should be checked against the system
3896
- * list of approved firmware.
3897
- */
3898
- approval_required: boolean
3899
3857
  /**
3900
3858
  * If firmware from the remote should be checked against the system
3901
3859
  * list of approved firmware.
3902
3860
  */
3903
3861
  approvalRequired: boolean
3904
- /**
3905
- * The behavior for auto-uploading reports.
3906
- */
3907
- automatic_reports: boolean
3908
3862
  /**
3909
3863
  * The behavior for auto-uploading reports.
3910
3864
  */
3911
3865
  automaticReports: boolean
3912
- /**
3913
- * The behavior for auto-uploading security reports.
3914
- */
3915
- automatic_security_reports: boolean
3916
3866
  /**
3917
3867
  * The behavior for auto-uploading security reports.
3918
3868
  */
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/fwupd-2.0",
3
- "version": "2.0.0-3.2.7",
3
+ "version": "2.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Fwupd-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "fwupd-2.0.js",
7
7
  "main": "fwupd-2.0.js",
8
8
  "exports": {
9
- "./ambient": "./fwupd-2.0-ambient.d.ts",
10
- "./import": "./fwupd-2.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./fwupd-2.0-ambient.d.ts",
11
+ "default": "./fwupd-2.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./fwupd-2.0-import.d.ts",
15
+ "default": "./fwupd-2.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./fwupd-2.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit fwupd-2.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.7",
29
- "@girs/gjs": "^3.2.7",
30
- "@girs/glib-2.0": "^2.78.0-3.2.7",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"