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

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.20.
9
9
 
10
10
 
11
11
  ## Install
@@ -11,7 +11,6 @@
11
11
  import type Gio from '@girs/gio-2.0';
12
12
  import type GObject from '@girs/gobject-2.0';
13
13
  import type GLib from '@girs/glib-2.0';
14
- import type GModule from '@girs/gmodule-2.0';
15
14
 
16
15
  export namespace CloudProviders {
17
16
  /**
@@ -56,7 +55,7 @@ export namespace CloudProviders {
56
55
  * @returns The last property id.
57
56
  */
58
57
  function dbus_provider_override_properties(klass: typeof GObject.Object, property_id_begin: number): number;
59
- module Account {
58
+ namespace Account {
60
59
  // Constructor properties interface
61
60
 
62
61
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -141,7 +140,7 @@ export namespace CloudProviders {
141
140
  get_status_details(): string;
142
141
  }
143
142
 
144
- module AccountExporter {
143
+ namespace AccountExporter {
145
144
  // Constructor properties interface
146
145
 
147
146
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -214,11 +213,11 @@ export namespace CloudProviders {
214
213
  set_menu_model(menu_model: Gio.MenuModel): void;
215
214
  set_name(name: string): void;
216
215
  set_path(path: string): void;
217
- set_status(status: AccountStatus): void;
216
+ set_status(status: AccountStatus | null): void;
218
217
  set_status_details(status_details: string): void;
219
218
  }
220
219
 
221
- module Collector {
220
+ namespace Collector {
222
221
  // Signal callback interfaces
223
222
 
224
223
  interface ProvidersChanged {
@@ -267,7 +266,7 @@ export namespace CloudProviders {
267
266
  update(): void;
268
267
  }
269
268
 
270
- module DbusAccountProxy {
269
+ namespace DbusAccountProxy {
271
270
  // Constructor properties interface
272
271
 
273
272
  interface ConstructorProps
@@ -455,7 +454,7 @@ export namespace CloudProviders {
455
454
  * in a thread, so if you want to support asynchronous initialization via
456
455
  * threads, just implement the #GAsyncInitable interface without overriding
457
456
  * any interface methods.
458
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
457
+ * @param io_priority the [I/O priority][io-priority] of the operation
459
458
  * @param cancellable optional #GCancellable object, %NULL to ignore.
460
459
  */
461
460
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -496,7 +495,7 @@ export namespace CloudProviders {
496
495
  * in a thread, so if you want to support asynchronous initialization via
497
496
  * threads, just implement the #GAsyncInitable interface without overriding
498
497
  * any interface methods.
499
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
498
+ * @param io_priority the [I/O priority][io-priority] of the operation
500
499
  * @param cancellable optional #GCancellable object, %NULL to ignore.
501
500
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
502
501
  */
@@ -542,7 +541,7 @@ export namespace CloudProviders {
542
541
  * in a thread, so if you want to support asynchronous initialization via
543
542
  * threads, just implement the #GAsyncInitable interface without overriding
544
543
  * any interface methods.
545
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
544
+ * @param io_priority the [I/O priority][io-priority] of the operation
546
545
  * @param cancellable optional #GCancellable object, %NULL to ignore.
547
546
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
548
547
  */
@@ -604,7 +603,7 @@ export namespace CloudProviders {
604
603
  * in a thread, so if you want to support asynchronous initialization via
605
604
  * threads, just implement the #GAsyncInitable interface without overriding
606
605
  * any interface methods.
607
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
606
+ * @param io_priority the [I/O priority][io-priority] of the operation
608
607
  * @param cancellable optional #GCancellable object, %NULL to ignore.
609
608
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
610
609
  */
@@ -782,7 +781,7 @@ export namespace CloudProviders {
782
781
  source_property: string,
783
782
  target: GObject.Object,
784
783
  target_property: string,
785
- flags: GObject.BindingFlags,
784
+ flags: GObject.BindingFlags | null,
786
785
  ): GObject.Binding;
787
786
  /**
788
787
  * Complete version of g_object_bind_property().
@@ -823,7 +822,7 @@ export namespace CloudProviders {
823
822
  source_property: string,
824
823
  target: GObject.Object,
825
824
  target_property: string,
826
- flags: GObject.BindingFlags,
825
+ flags: GObject.BindingFlags | null,
827
826
  transform_to?: GObject.BindingTransformFunc | null,
828
827
  transform_from?: GObject.BindingTransformFunc | null,
829
828
  notify?: GLib.DestroyNotify | null,
@@ -1140,7 +1139,7 @@ export namespace CloudProviders {
1140
1139
  stop_emission_by_name(detailedName: string): any;
1141
1140
  }
1142
1141
 
1143
- module DbusAccountSkeleton {
1142
+ namespace DbusAccountSkeleton {
1144
1143
  // Constructor properties interface
1145
1144
 
1146
1145
  interface ConstructorProps
@@ -1286,7 +1285,7 @@ export namespace CloudProviders {
1286
1285
  source_property: string,
1287
1286
  target: GObject.Object,
1288
1287
  target_property: string,
1289
- flags: GObject.BindingFlags,
1288
+ flags: GObject.BindingFlags | null,
1290
1289
  ): GObject.Binding;
1291
1290
  /**
1292
1291
  * Complete version of g_object_bind_property().
@@ -1327,7 +1326,7 @@ export namespace CloudProviders {
1327
1326
  source_property: string,
1328
1327
  target: GObject.Object,
1329
1328
  target_property: string,
1330
- flags: GObject.BindingFlags,
1329
+ flags: GObject.BindingFlags | null,
1331
1330
  transform_to?: GObject.BindingTransformFunc | null,
1332
1331
  transform_from?: GObject.BindingTransformFunc | null,
1333
1332
  notify?: GLib.DestroyNotify | null,
@@ -1644,7 +1643,7 @@ export namespace CloudProviders {
1644
1643
  stop_emission_by_name(detailedName: string): any;
1645
1644
  }
1646
1645
 
1647
- module DbusObjectManagerClient {
1646
+ namespace DbusObjectManagerClient {
1648
1647
  // Constructor properties interface
1649
1648
 
1650
1649
  interface ConstructorProps
@@ -1800,7 +1799,7 @@ export namespace CloudProviders {
1800
1799
  * in a thread, so if you want to support asynchronous initialization via
1801
1800
  * threads, just implement the #GAsyncInitable interface without overriding
1802
1801
  * any interface methods.
1803
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1802
+ * @param io_priority the [I/O priority][io-priority] of the operation
1804
1803
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1805
1804
  */
1806
1805
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -1841,7 +1840,7 @@ export namespace CloudProviders {
1841
1840
  * in a thread, so if you want to support asynchronous initialization via
1842
1841
  * threads, just implement the #GAsyncInitable interface without overriding
1843
1842
  * any interface methods.
1844
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1843
+ * @param io_priority the [I/O priority][io-priority] of the operation
1845
1844
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1846
1845
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1847
1846
  */
@@ -1887,7 +1886,7 @@ export namespace CloudProviders {
1887
1886
  * in a thread, so if you want to support asynchronous initialization via
1888
1887
  * threads, just implement the #GAsyncInitable interface without overriding
1889
1888
  * any interface methods.
1890
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1889
+ * @param io_priority the [I/O priority][io-priority] of the operation
1891
1890
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1892
1891
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1893
1892
  */
@@ -1949,7 +1948,7 @@ export namespace CloudProviders {
1949
1948
  * in a thread, so if you want to support asynchronous initialization via
1950
1949
  * threads, just implement the #GAsyncInitable interface without overriding
1951
1950
  * any interface methods.
1952
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
1951
+ * @param io_priority the [I/O priority][io-priority] of the operation
1953
1952
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1954
1953
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
1955
1954
  */
@@ -2159,7 +2158,7 @@ export namespace CloudProviders {
2159
2158
  source_property: string,
2160
2159
  target: GObject.Object,
2161
2160
  target_property: string,
2162
- flags: GObject.BindingFlags,
2161
+ flags: GObject.BindingFlags | null,
2163
2162
  ): GObject.Binding;
2164
2163
  /**
2165
2164
  * Complete version of g_object_bind_property().
@@ -2200,7 +2199,7 @@ export namespace CloudProviders {
2200
2199
  source_property: string,
2201
2200
  target: GObject.Object,
2202
2201
  target_property: string,
2203
- flags: GObject.BindingFlags,
2202
+ flags: GObject.BindingFlags | null,
2204
2203
  transform_to?: GObject.BindingTransformFunc | null,
2205
2204
  transform_from?: GObject.BindingTransformFunc | null,
2206
2205
  notify?: GLib.DestroyNotify | null,
@@ -2517,7 +2516,7 @@ export namespace CloudProviders {
2517
2516
  stop_emission_by_name(detailedName: string): any;
2518
2517
  }
2519
2518
 
2520
- module DbusObjectProxy {
2519
+ namespace DbusObjectProxy {
2521
2520
  // Constructor properties interface
2522
2521
 
2523
2522
  interface ConstructorProps
@@ -2652,7 +2651,7 @@ export namespace CloudProviders {
2652
2651
  source_property: string,
2653
2652
  target: GObject.Object,
2654
2653
  target_property: string,
2655
- flags: GObject.BindingFlags,
2654
+ flags: GObject.BindingFlags | null,
2656
2655
  ): GObject.Binding;
2657
2656
  /**
2658
2657
  * Complete version of g_object_bind_property().
@@ -2693,7 +2692,7 @@ export namespace CloudProviders {
2693
2692
  source_property: string,
2694
2693
  target: GObject.Object,
2695
2694
  target_property: string,
2696
- flags: GObject.BindingFlags,
2695
+ flags: GObject.BindingFlags | null,
2697
2696
  transform_to?: GObject.BindingTransformFunc | null,
2698
2697
  transform_from?: GObject.BindingTransformFunc | null,
2699
2698
  notify?: GLib.DestroyNotify | null,
@@ -3010,7 +3009,7 @@ export namespace CloudProviders {
3010
3009
  stop_emission_by_name(detailedName: string): any;
3011
3010
  }
3012
3011
 
3013
- module DbusObjectSkeleton {
3012
+ namespace DbusObjectSkeleton {
3014
3013
  // Constructor properties interface
3015
3014
 
3016
3015
  interface ConstructorProps
@@ -3158,7 +3157,7 @@ export namespace CloudProviders {
3158
3157
  source_property: string,
3159
3158
  target: GObject.Object,
3160
3159
  target_property: string,
3161
- flags: GObject.BindingFlags,
3160
+ flags: GObject.BindingFlags | null,
3162
3161
  ): GObject.Binding;
3163
3162
  /**
3164
3163
  * Complete version of g_object_bind_property().
@@ -3199,7 +3198,7 @@ export namespace CloudProviders {
3199
3198
  source_property: string,
3200
3199
  target: GObject.Object,
3201
3200
  target_property: string,
3202
- flags: GObject.BindingFlags,
3201
+ flags: GObject.BindingFlags | null,
3203
3202
  transform_to?: GObject.BindingTransformFunc | null,
3204
3203
  transform_from?: GObject.BindingTransformFunc | null,
3205
3204
  notify?: GLib.DestroyNotify | null,
@@ -3516,7 +3515,7 @@ export namespace CloudProviders {
3516
3515
  stop_emission_by_name(detailedName: string): any;
3517
3516
  }
3518
3517
 
3519
- module DbusProviderProxy {
3518
+ namespace DbusProviderProxy {
3520
3519
  // Constructor properties interface
3521
3520
 
3522
3521
  interface ConstructorProps
@@ -3669,7 +3668,7 @@ export namespace CloudProviders {
3669
3668
  * in a thread, so if you want to support asynchronous initialization via
3670
3669
  * threads, just implement the #GAsyncInitable interface without overriding
3671
3670
  * any interface methods.
3672
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3671
+ * @param io_priority the [I/O priority][io-priority] of the operation
3673
3672
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3674
3673
  */
3675
3674
  init_async(io_priority: number, cancellable?: Gio.Cancellable | null): Promise<boolean>;
@@ -3710,7 +3709,7 @@ export namespace CloudProviders {
3710
3709
  * in a thread, so if you want to support asynchronous initialization via
3711
3710
  * threads, just implement the #GAsyncInitable interface without overriding
3712
3711
  * any interface methods.
3713
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3712
+ * @param io_priority the [I/O priority][io-priority] of the operation
3714
3713
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3715
3714
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3716
3715
  */
@@ -3756,7 +3755,7 @@ export namespace CloudProviders {
3756
3755
  * in a thread, so if you want to support asynchronous initialization via
3757
3756
  * threads, just implement the #GAsyncInitable interface without overriding
3758
3757
  * any interface methods.
3759
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3758
+ * @param io_priority the [I/O priority][io-priority] of the operation
3760
3759
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3761
3760
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3762
3761
  */
@@ -3818,7 +3817,7 @@ export namespace CloudProviders {
3818
3817
  * in a thread, so if you want to support asynchronous initialization via
3819
3818
  * threads, just implement the #GAsyncInitable interface without overriding
3820
3819
  * any interface methods.
3821
- * @param io_priority the [I/O priority](iface.AsyncResult.html#io-priority) of the operation
3820
+ * @param io_priority the [I/O priority][io-priority] of the operation
3822
3821
  * @param cancellable optional #GCancellable object, %NULL to ignore.
3823
3822
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
3824
3823
  */
@@ -3996,7 +3995,7 @@ export namespace CloudProviders {
3996
3995
  source_property: string,
3997
3996
  target: GObject.Object,
3998
3997
  target_property: string,
3999
- flags: GObject.BindingFlags,
3998
+ flags: GObject.BindingFlags | null,
4000
3999
  ): GObject.Binding;
4001
4000
  /**
4002
4001
  * Complete version of g_object_bind_property().
@@ -4037,7 +4036,7 @@ export namespace CloudProviders {
4037
4036
  source_property: string,
4038
4037
  target: GObject.Object,
4039
4038
  target_property: string,
4040
- flags: GObject.BindingFlags,
4039
+ flags: GObject.BindingFlags | null,
4041
4040
  transform_to?: GObject.BindingTransformFunc | null,
4042
4041
  transform_from?: GObject.BindingTransformFunc | null,
4043
4042
  notify?: GLib.DestroyNotify | null,
@@ -4354,7 +4353,7 @@ export namespace CloudProviders {
4354
4353
  stop_emission_by_name(detailedName: string): any;
4355
4354
  }
4356
4355
 
4357
- module DbusProviderSkeleton {
4356
+ namespace DbusProviderSkeleton {
4358
4357
  // Constructor properties interface
4359
4358
 
4360
4359
  interface ConstructorProps
@@ -4465,7 +4464,7 @@ export namespace CloudProviders {
4465
4464
  source_property: string,
4466
4465
  target: GObject.Object,
4467
4466
  target_property: string,
4468
- flags: GObject.BindingFlags,
4467
+ flags: GObject.BindingFlags | null,
4469
4468
  ): GObject.Binding;
4470
4469
  /**
4471
4470
  * Complete version of g_object_bind_property().
@@ -4506,7 +4505,7 @@ export namespace CloudProviders {
4506
4505
  source_property: string,
4507
4506
  target: GObject.Object,
4508
4507
  target_property: string,
4509
- flags: GObject.BindingFlags,
4508
+ flags: GObject.BindingFlags | null,
4510
4509
  transform_to?: GObject.BindingTransformFunc | null,
4511
4510
  transform_from?: GObject.BindingTransformFunc | null,
4512
4511
  notify?: GLib.DestroyNotify | null,
@@ -4823,7 +4822,7 @@ export namespace CloudProviders {
4823
4822
  stop_emission_by_name(detailedName: string): any;
4824
4823
  }
4825
4824
 
4826
- module Provider {
4825
+ namespace Provider {
4827
4826
  // Signal callback interfaces
4828
4827
 
4829
4828
  interface AccountsChanged {
@@ -4879,7 +4878,7 @@ export namespace CloudProviders {
4879
4878
  get_name(): string;
4880
4879
  }
4881
4880
 
4882
- module ProviderExporter {
4881
+ namespace ProviderExporter {
4883
4882
  // Constructor properties interface
4884
4883
 
4885
4884
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -5033,7 +5032,7 @@ export namespace CloudProviders {
5033
5032
  _init(...args: any[]): void;
5034
5033
  }
5035
5034
 
5036
- module DbusAccount {
5035
+ namespace DbusAccount {
5037
5036
  // Constructor properties interface
5038
5037
 
5039
5038
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -5109,9 +5108,11 @@ export namespace CloudProviders {
5109
5108
  set statusDetails(val: string);
5110
5109
  }
5111
5110
 
5112
- export const DbusAccount: DbusAccountNamespace;
5111
+ export const DbusAccount: DbusAccountNamespace & {
5112
+ new (): DbusAccount; // This allows `obj instanceof DbusAccount`
5113
+ };
5113
5114
 
5114
- module DbusObject {
5115
+ namespace DbusObject {
5115
5116
  // Constructor properties interface
5116
5117
 
5117
5118
  interface ConstructorProps extends Gio.DBusObject.ConstructorProps {
@@ -5156,9 +5157,11 @@ export namespace CloudProviders {
5156
5157
  get_provider(): DbusProvider | null;
5157
5158
  }
5158
5159
 
5159
- export const DbusObject: DbusObjectNamespace;
5160
+ export const DbusObject: DbusObjectNamespace & {
5161
+ new (): DbusObject; // This allows `obj instanceof DbusObject`
5162
+ };
5160
5163
 
5161
- module DbusProvider {
5164
+ namespace DbusProvider {
5162
5165
  // Constructor properties interface
5163
5166
 
5164
5167
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -5194,7 +5197,9 @@ export namespace CloudProviders {
5194
5197
  set name(val: string);
5195
5198
  }
5196
5199
 
5197
- export const DbusProvider: DbusProviderNamespace;
5200
+ export const DbusProvider: DbusProviderNamespace & {
5201
+ new (): DbusProvider; // This allows `obj instanceof DbusProvider`
5202
+ };
5198
5203
 
5199
5204
  /**
5200
5205
  * 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.20",
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,10 @@
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.4-4.0.0-beta.20",
35
+ "@girs/gjs": "^4.0.0-beta.20",
36
+ "@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
37
+ "@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20"
39
38
  },
40
39
  "devDependencies": {
41
40
  "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
  }