@girs/cloudproviders-0.3 0.3.0-4.0.0-beta.18 → 0.3.0-4.0.0-beta.19

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/cloudproviders-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.18.
8
+ GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.19.
9
9
 
10
10
 
11
11
  ## Install
@@ -214,7 +214,7 @@ export namespace CloudProviders {
214
214
  set_menu_model(menu_model: Gio.MenuModel): void;
215
215
  set_name(name: string): void;
216
216
  set_path(path: string): void;
217
- set_status(status: AccountStatus): void;
217
+ set_status(status: AccountStatus | null): void;
218
218
  set_status_details(status_details: string): void;
219
219
  }
220
220
 
@@ -782,7 +782,7 @@ export namespace CloudProviders {
782
782
  source_property: string,
783
783
  target: GObject.Object,
784
784
  target_property: string,
785
- flags: GObject.BindingFlags,
785
+ flags: GObject.BindingFlags | null,
786
786
  ): GObject.Binding;
787
787
  /**
788
788
  * Complete version of g_object_bind_property().
@@ -823,7 +823,7 @@ export namespace CloudProviders {
823
823
  source_property: string,
824
824
  target: GObject.Object,
825
825
  target_property: string,
826
- flags: GObject.BindingFlags,
826
+ flags: GObject.BindingFlags | null,
827
827
  transform_to?: GObject.BindingTransformFunc | null,
828
828
  transform_from?: GObject.BindingTransformFunc | null,
829
829
  notify?: GLib.DestroyNotify | null,
@@ -1286,7 +1286,7 @@ export namespace CloudProviders {
1286
1286
  source_property: string,
1287
1287
  target: GObject.Object,
1288
1288
  target_property: string,
1289
- flags: GObject.BindingFlags,
1289
+ flags: GObject.BindingFlags | null,
1290
1290
  ): GObject.Binding;
1291
1291
  /**
1292
1292
  * Complete version of g_object_bind_property().
@@ -1327,7 +1327,7 @@ export namespace CloudProviders {
1327
1327
  source_property: string,
1328
1328
  target: GObject.Object,
1329
1329
  target_property: string,
1330
- flags: GObject.BindingFlags,
1330
+ flags: GObject.BindingFlags | null,
1331
1331
  transform_to?: GObject.BindingTransformFunc | null,
1332
1332
  transform_from?: GObject.BindingTransformFunc | null,
1333
1333
  notify?: GLib.DestroyNotify | null,
@@ -2159,7 +2159,7 @@ export namespace CloudProviders {
2159
2159
  source_property: string,
2160
2160
  target: GObject.Object,
2161
2161
  target_property: string,
2162
- flags: GObject.BindingFlags,
2162
+ flags: GObject.BindingFlags | null,
2163
2163
  ): GObject.Binding;
2164
2164
  /**
2165
2165
  * Complete version of g_object_bind_property().
@@ -2200,7 +2200,7 @@ export namespace CloudProviders {
2200
2200
  source_property: string,
2201
2201
  target: GObject.Object,
2202
2202
  target_property: string,
2203
- flags: GObject.BindingFlags,
2203
+ flags: GObject.BindingFlags | null,
2204
2204
  transform_to?: GObject.BindingTransformFunc | null,
2205
2205
  transform_from?: GObject.BindingTransformFunc | null,
2206
2206
  notify?: GLib.DestroyNotify | null,
@@ -2652,7 +2652,7 @@ export namespace CloudProviders {
2652
2652
  source_property: string,
2653
2653
  target: GObject.Object,
2654
2654
  target_property: string,
2655
- flags: GObject.BindingFlags,
2655
+ flags: GObject.BindingFlags | null,
2656
2656
  ): GObject.Binding;
2657
2657
  /**
2658
2658
  * Complete version of g_object_bind_property().
@@ -2693,7 +2693,7 @@ export namespace CloudProviders {
2693
2693
  source_property: string,
2694
2694
  target: GObject.Object,
2695
2695
  target_property: string,
2696
- flags: GObject.BindingFlags,
2696
+ flags: GObject.BindingFlags | null,
2697
2697
  transform_to?: GObject.BindingTransformFunc | null,
2698
2698
  transform_from?: GObject.BindingTransformFunc | null,
2699
2699
  notify?: GLib.DestroyNotify | null,
@@ -3158,7 +3158,7 @@ export namespace CloudProviders {
3158
3158
  source_property: string,
3159
3159
  target: GObject.Object,
3160
3160
  target_property: string,
3161
- flags: GObject.BindingFlags,
3161
+ flags: GObject.BindingFlags | null,
3162
3162
  ): GObject.Binding;
3163
3163
  /**
3164
3164
  * Complete version of g_object_bind_property().
@@ -3199,7 +3199,7 @@ export namespace CloudProviders {
3199
3199
  source_property: string,
3200
3200
  target: GObject.Object,
3201
3201
  target_property: string,
3202
- flags: GObject.BindingFlags,
3202
+ flags: GObject.BindingFlags | null,
3203
3203
  transform_to?: GObject.BindingTransformFunc | null,
3204
3204
  transform_from?: GObject.BindingTransformFunc | null,
3205
3205
  notify?: GLib.DestroyNotify | null,
@@ -3996,7 +3996,7 @@ export namespace CloudProviders {
3996
3996
  source_property: string,
3997
3997
  target: GObject.Object,
3998
3998
  target_property: string,
3999
- flags: GObject.BindingFlags,
3999
+ flags: GObject.BindingFlags | null,
4000
4000
  ): GObject.Binding;
4001
4001
  /**
4002
4002
  * Complete version of g_object_bind_property().
@@ -4037,7 +4037,7 @@ export namespace CloudProviders {
4037
4037
  source_property: string,
4038
4038
  target: GObject.Object,
4039
4039
  target_property: string,
4040
- flags: GObject.BindingFlags,
4040
+ flags: GObject.BindingFlags | null,
4041
4041
  transform_to?: GObject.BindingTransformFunc | null,
4042
4042
  transform_from?: GObject.BindingTransformFunc | null,
4043
4043
  notify?: GLib.DestroyNotify | null,
@@ -4465,7 +4465,7 @@ export namespace CloudProviders {
4465
4465
  source_property: string,
4466
4466
  target: GObject.Object,
4467
4467
  target_property: string,
4468
- flags: GObject.BindingFlags,
4468
+ flags: GObject.BindingFlags | null,
4469
4469
  ): GObject.Binding;
4470
4470
  /**
4471
4471
  * Complete version of g_object_bind_property().
@@ -4506,7 +4506,7 @@ export namespace CloudProviders {
4506
4506
  source_property: string,
4507
4507
  target: GObject.Object,
4508
4508
  target_property: string,
4509
- flags: GObject.BindingFlags,
4509
+ flags: GObject.BindingFlags | null,
4510
4510
  transform_to?: GObject.BindingTransformFunc | null,
4511
4511
  transform_from?: GObject.BindingTransformFunc | null,
4512
4512
  notify?: GLib.DestroyNotify | null,
@@ -5109,7 +5109,9 @@ export namespace CloudProviders {
5109
5109
  set statusDetails(val: string);
5110
5110
  }
5111
5111
 
5112
- export const DbusAccount: DbusAccountNamespace;
5112
+ export const DbusAccount: DbusAccountNamespace & {
5113
+ new (): DbusAccount; // This allows `obj instanceof DbusAccount`
5114
+ };
5113
5115
 
5114
5116
  module DbusObject {
5115
5117
  // Constructor properties interface
@@ -5156,7 +5158,9 @@ export namespace CloudProviders {
5156
5158
  get_provider(): DbusProvider | null;
5157
5159
  }
5158
5160
 
5159
- export const DbusObject: DbusObjectNamespace;
5161
+ export const DbusObject: DbusObjectNamespace & {
5162
+ new (): DbusObject; // This allows `obj instanceof DbusObject`
5163
+ };
5160
5164
 
5161
5165
  module DbusProvider {
5162
5166
  // Constructor properties interface
@@ -5194,7 +5198,9 @@ export namespace CloudProviders {
5194
5198
  set name(val: string);
5195
5199
  }
5196
5200
 
5197
- export const DbusProvider: DbusProviderNamespace;
5201
+ export const DbusProvider: DbusProviderNamespace & {
5202
+ new (): DbusProvider; // This allows `obj instanceof DbusProvider`
5203
+ };
5198
5204
 
5199
5205
  /**
5200
5206
  * Name of the imported GIR library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cloudproviders-0.3",
3
- "version": "0.3.0-4.0.0-beta.18",
3
+ "version": "0.3.0-4.0.0-beta.19",
4
4
  "description": "GJS TypeScript type definitions for CloudProviders-0.3, generated from library version 0.3.0",
5
5
  "type": "module",
6
6
  "module": "cloudproviders-0.3.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.82.2-4.0.0-beta.18",
35
- "@girs/gjs": "^4.0.0-beta.18",
36
- "@girs/glib-2.0": "^2.82.2-4.0.0-beta.18",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.18",
38
- "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.18"
34
+ "@girs/gio-2.0": "^2.82.2-4.0.0-beta.19",
35
+ "@girs/gjs": "^4.0.0-beta.19",
36
+ "@girs/glib-2.0": "^2.82.2-4.0.0-beta.19",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.19",
38
+ "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.19"
39
39
  },
40
40
  "devDependencies": {
41
41
  "typescript": "*"
package/tsconfig.json CHANGED
@@ -15,7 +15,9 @@
15
15
  "removeComments": false,
16
16
  "inlineSourceMap": false,
17
17
  "inlineSources": false,
18
- "newLine": "LF"
18
+ "newLine": "LF",
19
+ // Show diagnostics
20
+ "diagnostics": true
19
21
  },
20
22
  "include": ["./cloudproviders-0.3.d.ts"]
21
23
  }