@girs/dee-1.0 1.0.0-3.2.7 → 1.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/dee-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Dee-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Dee-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  Library to provide objects allowing to create Model-View-Controller type programs across DBus.
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/dee-1.0.d.cts CHANGED
@@ -1611,7 +1611,6 @@ export module Client {
1611
1611
 
1612
1612
  // Own constructor properties of Dee-1.0.Dee.Client
1613
1613
 
1614
- bus_address?: string | null
1615
1614
  busAddress?: string | null
1616
1615
  }
1617
1616
 
@@ -1621,7 +1620,6 @@ export interface Client {
1621
1620
 
1622
1621
  // Own properties of Dee-1.0.Dee.Client
1623
1622
 
1624
- readonly bus_address: string | null
1625
1623
  readonly busAddress: string | null
1626
1624
 
1627
1625
  // Class property signals of Dee-1.0.Dee.Client
@@ -1703,10 +1701,6 @@ export module FileResourceManager {
1703
1701
 
1704
1702
  // Own constructor properties of Dee-1.0.Dee.FileResourceManager
1705
1703
 
1706
- /**
1707
- * Property holding the primary path used to store and load resources
1708
- */
1709
- primary_path?: string | null
1710
1704
  /**
1711
1705
  * Property holding the primary path used to store and load resources
1712
1706
  */
@@ -1719,10 +1713,6 @@ export interface FileResourceManager extends ResourceManager {
1719
1713
 
1720
1714
  // Own properties of Dee-1.0.Dee.FileResourceManager
1721
1715
 
1722
- /**
1723
- * Property holding the primary path used to store and load resources
1724
- */
1725
- readonly primary_path: string | null
1726
1716
  /**
1727
1717
  * Property holding the primary path used to store and load resources
1728
1718
  */
@@ -2248,8 +2238,6 @@ export module Peer {
2248
2238
 
2249
2239
  // Own constructor properties of Dee-1.0.Dee.Peer
2250
2240
 
2251
- swarm_name?: string | null
2252
- swarm_owner?: boolean | null
2253
2241
  swarmName?: string | null
2254
2242
  swarmOwner?: boolean | null
2255
2243
  }
@@ -2260,11 +2248,8 @@ export interface Peer {
2260
2248
 
2261
2249
  // Own properties of Dee-1.0.Dee.Peer
2262
2250
 
2263
- readonly swarm_leader: string | null
2264
2251
  readonly swarmLeader: string | null
2265
- swarm_name: string | null
2266
2252
  swarmName: string | null
2267
- readonly swarm_owner: boolean
2268
2253
  readonly swarmOwner: boolean
2269
2254
 
2270
2255
  // Owm methods of Dee-1.0.Dee.Peer
@@ -2402,24 +2387,6 @@ export module ProxyModel {
2402
2387
 
2403
2388
  // Own constructor properties of Dee-1.0.Dee.ProxyModel
2404
2389
 
2405
- /**
2406
- * The backend model used by this proxy model.
2407
- */
2408
- back_end?: Model | null
2409
- /**
2410
- * Boolean property defining whether sequence numbers will be inherited
2411
- * from the back end model.
2412
- * You will most likely want to set this property to false
2413
- * if the implementation manipulates with the rows in the model and keep
2414
- * track of seqnums yourself.
2415
- */
2416
- inherit_seqnums?: boolean | null
2417
- /**
2418
- * Boolean property defining whether or not to automatically forward signals
2419
- * from the back end model. This is especially useful for sub classes wishing
2420
- * to do their own more advanced signal forwarding.
2421
- */
2422
- proxy_signals?: boolean | null
2423
2390
  /**
2424
2391
  * The backend model used by this proxy model.
2425
2392
  */
@@ -2446,22 +2413,10 @@ export interface ProxyModel extends Model, Serializable {
2446
2413
 
2447
2414
  // Own properties of Dee-1.0.Dee.ProxyModel
2448
2415
 
2449
- /**
2450
- * The backend model used by this proxy model.
2451
- */
2452
- readonly back_end: Model
2453
2416
  /**
2454
2417
  * The backend model used by this proxy model.
2455
2418
  */
2456
2419
  readonly backEnd: Model
2457
- /**
2458
- * Boolean property defining whether sequence numbers will be inherited
2459
- * from the back end model.
2460
- * You will most likely want to set this property to false
2461
- * if the implementation manipulates with the rows in the model and keep
2462
- * track of seqnums yourself.
2463
- */
2464
- readonly inherit_seqnums: boolean
2465
2420
  /**
2466
2421
  * Boolean property defining whether sequence numbers will be inherited
2467
2422
  * from the back end model.
@@ -2470,12 +2425,6 @@ export interface ProxyModel extends Model, Serializable {
2470
2425
  * track of seqnums yourself.
2471
2426
  */
2472
2427
  readonly inheritSeqnums: boolean
2473
- /**
2474
- * Boolean property defining whether or not to automatically forward signals
2475
- * from the back end model. This is especially useful for sub classes wishing
2476
- * to do their own more advanced signal forwarding.
2477
- */
2478
- readonly proxy_signals: boolean
2479
2428
  /**
2480
2429
  * Boolean property defining whether or not to automatically forward signals
2481
2430
  * from the back end model. This is especially useful for sub classes wishing
@@ -2627,8 +2576,6 @@ export module Server {
2627
2576
 
2628
2577
  // Own constructor properties of Dee-1.0.Dee.Server
2629
2578
 
2630
- bus_address?: string | null
2631
- same_user_only?: boolean | null
2632
2579
  busAddress?: string | null
2633
2580
  sameUserOnly?: boolean | null
2634
2581
  }
@@ -2639,9 +2586,7 @@ export interface Server {
2639
2586
 
2640
2587
  // Own properties of Dee-1.0.Dee.Server
2641
2588
 
2642
- readonly bus_address: string | null
2643
2589
  readonly busAddress: string | null
2644
- readonly same_user_only: boolean
2645
2590
  readonly sameUserOnly: boolean
2646
2591
 
2647
2592
  // Owm methods of Dee-1.0.Dee.Server
@@ -2801,7 +2746,7 @@ export module SharedModel {
2801
2746
  *
2802
2747
  * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2803
2748
  */
2804
- access_mode?: SharedModelAccessMode | null
2749
+ accessMode?: SharedModelAccessMode | null
2805
2750
  /**
2806
2751
  * Enumeration defining the flushing behavior.
2807
2752
  *
@@ -2812,32 +2757,11 @@ export module SharedModel {
2812
2757
  * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2813
2758
  * explicitely.
2814
2759
  */
2815
- flush_mode?: SharedModelFlushMode | null
2760
+ flushMode?: SharedModelFlushMode | null
2816
2761
  /**
2817
2762
  * The #DeePeer that this model uses to connect to the swarm
2818
2763
  */
2819
2764
  peer?: Peer | null
2820
- /**
2821
- * Enumeration defining behavior of this model when trying to write to it.
2822
- *
2823
- * Setting this to #DEE_SHARED_MODEL_ACCESS_MODE_LEADER_WRITABLE is useful
2824
- * when one process is considered an "owner" of a model and all the other
2825
- * peers are supposed to only synchronize it for reading.
2826
- *
2827
- * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2828
- */
2829
- accessMode?: SharedModelAccessMode | null
2830
- /**
2831
- * Enumeration defining the flushing behavior.
2832
- *
2833
- * Setting this to #DEE_SHARED_MODEL_FLUSH_MODE_MANUAL will disable
2834
- * automatic flushing that usually happens when the application's main event
2835
- * loop is idle. Automatic flushing should be primarily disabled when
2836
- * a shared model is used from multiple threads, or when not using #GMainLoop.
2837
- * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2838
- * explicitely.
2839
- */
2840
- flushMode?: SharedModelFlushMode | null
2841
2765
  }
2842
2766
 
2843
2767
  }
@@ -2846,16 +2770,6 @@ export interface SharedModel extends Model, Serializable {
2846
2770
 
2847
2771
  // Own properties of Dee-1.0.Dee.SharedModel
2848
2772
 
2849
- /**
2850
- * Enumeration defining behavior of this model when trying to write to it.
2851
- *
2852
- * Setting this to #DEE_SHARED_MODEL_ACCESS_MODE_LEADER_WRITABLE is useful
2853
- * when one process is considered an "owner" of a model and all the other
2854
- * peers are supposed to only synchronize it for reading.
2855
- *
2856
- * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2857
- */
2858
- readonly access_mode: SharedModelAccessMode
2859
2773
  /**
2860
2774
  * Enumeration defining behavior of this model when trying to write to it.
2861
2775
  *
@@ -2866,17 +2780,6 @@ export interface SharedModel extends Model, Serializable {
2866
2780
  * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2867
2781
  */
2868
2782
  readonly accessMode: SharedModelAccessMode
2869
- /**
2870
- * Enumeration defining the flushing behavior.
2871
- *
2872
- * Setting this to #DEE_SHARED_MODEL_FLUSH_MODE_MANUAL will disable
2873
- * automatic flushing that usually happens when the application's main event
2874
- * loop is idle. Automatic flushing should be primarily disabled when
2875
- * a shared model is used from multiple threads, or when not using #GMainLoop.
2876
- * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2877
- * explicitely.
2878
- */
2879
- flush_mode: SharedModelFlushMode
2880
2783
  /**
2881
2784
  * Enumeration defining the flushing behavior.
2882
2785
  *
package/dee-1.0.d.ts CHANGED
@@ -1613,7 +1613,6 @@ module Client {
1613
1613
 
1614
1614
  // Own constructor properties of Dee-1.0.Dee.Client
1615
1615
 
1616
- bus_address?: string | null
1617
1616
  busAddress?: string | null
1618
1617
  }
1619
1618
 
@@ -1623,7 +1622,6 @@ interface Client {
1623
1622
 
1624
1623
  // Own properties of Dee-1.0.Dee.Client
1625
1624
 
1626
- readonly bus_address: string | null
1627
1625
  readonly busAddress: string | null
1628
1626
 
1629
1627
  // Class property signals of Dee-1.0.Dee.Client
@@ -1705,10 +1703,6 @@ module FileResourceManager {
1705
1703
 
1706
1704
  // Own constructor properties of Dee-1.0.Dee.FileResourceManager
1707
1705
 
1708
- /**
1709
- * Property holding the primary path used to store and load resources
1710
- */
1711
- primary_path?: string | null
1712
1706
  /**
1713
1707
  * Property holding the primary path used to store and load resources
1714
1708
  */
@@ -1721,10 +1715,6 @@ interface FileResourceManager extends ResourceManager {
1721
1715
 
1722
1716
  // Own properties of Dee-1.0.Dee.FileResourceManager
1723
1717
 
1724
- /**
1725
- * Property holding the primary path used to store and load resources
1726
- */
1727
- readonly primary_path: string | null
1728
1718
  /**
1729
1719
  * Property holding the primary path used to store and load resources
1730
1720
  */
@@ -2250,8 +2240,6 @@ module Peer {
2250
2240
 
2251
2241
  // Own constructor properties of Dee-1.0.Dee.Peer
2252
2242
 
2253
- swarm_name?: string | null
2254
- swarm_owner?: boolean | null
2255
2243
  swarmName?: string | null
2256
2244
  swarmOwner?: boolean | null
2257
2245
  }
@@ -2262,11 +2250,8 @@ interface Peer {
2262
2250
 
2263
2251
  // Own properties of Dee-1.0.Dee.Peer
2264
2252
 
2265
- readonly swarm_leader: string | null
2266
2253
  readonly swarmLeader: string | null
2267
- swarm_name: string | null
2268
2254
  swarmName: string | null
2269
- readonly swarm_owner: boolean
2270
2255
  readonly swarmOwner: boolean
2271
2256
 
2272
2257
  // Owm methods of Dee-1.0.Dee.Peer
@@ -2404,24 +2389,6 @@ module ProxyModel {
2404
2389
 
2405
2390
  // Own constructor properties of Dee-1.0.Dee.ProxyModel
2406
2391
 
2407
- /**
2408
- * The backend model used by this proxy model.
2409
- */
2410
- back_end?: Model | null
2411
- /**
2412
- * Boolean property defining whether sequence numbers will be inherited
2413
- * from the back end model.
2414
- * You will most likely want to set this property to false
2415
- * if the implementation manipulates with the rows in the model and keep
2416
- * track of seqnums yourself.
2417
- */
2418
- inherit_seqnums?: boolean | null
2419
- /**
2420
- * Boolean property defining whether or not to automatically forward signals
2421
- * from the back end model. This is especially useful for sub classes wishing
2422
- * to do their own more advanced signal forwarding.
2423
- */
2424
- proxy_signals?: boolean | null
2425
2392
  /**
2426
2393
  * The backend model used by this proxy model.
2427
2394
  */
@@ -2448,22 +2415,10 @@ interface ProxyModel extends Model, Serializable {
2448
2415
 
2449
2416
  // Own properties of Dee-1.0.Dee.ProxyModel
2450
2417
 
2451
- /**
2452
- * The backend model used by this proxy model.
2453
- */
2454
- readonly back_end: Model
2455
2418
  /**
2456
2419
  * The backend model used by this proxy model.
2457
2420
  */
2458
2421
  readonly backEnd: Model
2459
- /**
2460
- * Boolean property defining whether sequence numbers will be inherited
2461
- * from the back end model.
2462
- * You will most likely want to set this property to false
2463
- * if the implementation manipulates with the rows in the model and keep
2464
- * track of seqnums yourself.
2465
- */
2466
- readonly inherit_seqnums: boolean
2467
2422
  /**
2468
2423
  * Boolean property defining whether sequence numbers will be inherited
2469
2424
  * from the back end model.
@@ -2472,12 +2427,6 @@ interface ProxyModel extends Model, Serializable {
2472
2427
  * track of seqnums yourself.
2473
2428
  */
2474
2429
  readonly inheritSeqnums: boolean
2475
- /**
2476
- * Boolean property defining whether or not to automatically forward signals
2477
- * from the back end model. This is especially useful for sub classes wishing
2478
- * to do their own more advanced signal forwarding.
2479
- */
2480
- readonly proxy_signals: boolean
2481
2430
  /**
2482
2431
  * Boolean property defining whether or not to automatically forward signals
2483
2432
  * from the back end model. This is especially useful for sub classes wishing
@@ -2629,8 +2578,6 @@ module Server {
2629
2578
 
2630
2579
  // Own constructor properties of Dee-1.0.Dee.Server
2631
2580
 
2632
- bus_address?: string | null
2633
- same_user_only?: boolean | null
2634
2581
  busAddress?: string | null
2635
2582
  sameUserOnly?: boolean | null
2636
2583
  }
@@ -2641,9 +2588,7 @@ interface Server {
2641
2588
 
2642
2589
  // Own properties of Dee-1.0.Dee.Server
2643
2590
 
2644
- readonly bus_address: string | null
2645
2591
  readonly busAddress: string | null
2646
- readonly same_user_only: boolean
2647
2592
  readonly sameUserOnly: boolean
2648
2593
 
2649
2594
  // Owm methods of Dee-1.0.Dee.Server
@@ -2803,7 +2748,7 @@ module SharedModel {
2803
2748
  *
2804
2749
  * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2805
2750
  */
2806
- access_mode?: SharedModelAccessMode | null
2751
+ accessMode?: SharedModelAccessMode | null
2807
2752
  /**
2808
2753
  * Enumeration defining the flushing behavior.
2809
2754
  *
@@ -2814,32 +2759,11 @@ module SharedModel {
2814
2759
  * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2815
2760
  * explicitely.
2816
2761
  */
2817
- flush_mode?: SharedModelFlushMode | null
2762
+ flushMode?: SharedModelFlushMode | null
2818
2763
  /**
2819
2764
  * The #DeePeer that this model uses to connect to the swarm
2820
2765
  */
2821
2766
  peer?: Peer | null
2822
- /**
2823
- * Enumeration defining behavior of this model when trying to write to it.
2824
- *
2825
- * Setting this to #DEE_SHARED_MODEL_ACCESS_MODE_LEADER_WRITABLE is useful
2826
- * when one process is considered an "owner" of a model and all the other
2827
- * peers are supposed to only synchronize it for reading.
2828
- *
2829
- * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2830
- */
2831
- accessMode?: SharedModelAccessMode | null
2832
- /**
2833
- * Enumeration defining the flushing behavior.
2834
- *
2835
- * Setting this to #DEE_SHARED_MODEL_FLUSH_MODE_MANUAL will disable
2836
- * automatic flushing that usually happens when the application's main event
2837
- * loop is idle. Automatic flushing should be primarily disabled when
2838
- * a shared model is used from multiple threads, or when not using #GMainLoop.
2839
- * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2840
- * explicitely.
2841
- */
2842
- flushMode?: SharedModelFlushMode | null
2843
2767
  }
2844
2768
 
2845
2769
  }
@@ -2848,16 +2772,6 @@ interface SharedModel extends Model, Serializable {
2848
2772
 
2849
2773
  // Own properties of Dee-1.0.Dee.SharedModel
2850
2774
 
2851
- /**
2852
- * Enumeration defining behavior of this model when trying to write to it.
2853
- *
2854
- * Setting this to #DEE_SHARED_MODEL_ACCESS_MODE_LEADER_WRITABLE is useful
2855
- * when one process is considered an "owner" of a model and all the other
2856
- * peers are supposed to only synchronize it for reading.
2857
- *
2858
- * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2859
- */
2860
- readonly access_mode: SharedModelAccessMode
2861
2775
  /**
2862
2776
  * Enumeration defining behavior of this model when trying to write to it.
2863
2777
  *
@@ -2868,17 +2782,6 @@ interface SharedModel extends Model, Serializable {
2868
2782
  * See also DeePeer:swarm-owner property to ensure ownership of a swarm.
2869
2783
  */
2870
2784
  readonly accessMode: SharedModelAccessMode
2871
- /**
2872
- * Enumeration defining the flushing behavior.
2873
- *
2874
- * Setting this to #DEE_SHARED_MODEL_FLUSH_MODE_MANUAL will disable
2875
- * automatic flushing that usually happens when the application's main event
2876
- * loop is idle. Automatic flushing should be primarily disabled when
2877
- * a shared model is used from multiple threads, or when not using #GMainLoop.
2878
- * When disabled, dee_shared_model_flush_revision_queue() needs to be called
2879
- * explicitely.
2880
- */
2881
- flush_mode: SharedModelFlushMode
2882
2785
  /**
2883
2786
  * Enumeration defining the flushing behavior.
2884
2787
  *
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/dee-1.0",
3
- "version": "1.0.0-3.2.7",
3
+ "version": "1.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Dee-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "dee-1.0.js",
7
7
  "main": "dee-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./dee-1.0-ambient.d.ts",
10
- "./import": "./dee-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./dee-1.0-ambient.d.ts",
11
+ "default": "./dee-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./dee-1.0-import.d.ts",
15
+ "default": "./dee-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./dee-1.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit dee-1.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"