@girs/gda-5.0 5.0.0-3.2.4 → 5.0.0-3.2.6

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/gda-5.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gda-5.0, generated from library version 5.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.4.
8
+ GJS TypeScript type definitions for Gda-5.0, generated from library version 5.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
9
9
 
10
10
  Libgda is a (relatively small) database access library.
11
11
 
@@ -82,6 +82,19 @@ Now you have also type support for this, too:
82
82
  const Gda = imports.gi.Gda;
83
83
  ```
84
84
 
85
+
86
+ ### ESM vs. CommonJS
87
+
88
+ GJS supports two different import syntaxes. The new modern ESM syntax and the old global imports syntax.
89
+
90
+ In TypeScript projects for GJS and GNOME Shell extensions, you have the flexibility to use `ESM` syntax and then decide the import syntax for your bundled file. If your bundler is configured to use `CommonJS`, it will convert to the GJS-specific global imports syntax, like `const moduleName = imports.gi[moduleName]`. This is different from the traditional `require` syntax seen in Node.js. The global imports syntax is chosen because it aligns with the CommonJS format supported by NPM, which is used for the generated type definitions and this package.
91
+
92
+ On the other hand, if you configure your bundler to use ESM, it will retain the ESM import syntax. It's crucial to ensure that your bundler is set up to correctly translate and bundle these imports into either CommonJS or ESM format, depending on your project's requirements.
93
+
94
+ This approach is particularly important due to the `@girs` types, which include both `*.cjs `files, using the GJS global imports syntax, and `*.js` files, which utilize the ESM syntax. By appropriately setting up your bundler, you can control which syntax—CommonJS or ESM—is used in your project. The choice of CommonJS in this context is also due to the similarity between the GJS-specific global imports and CommonJS syntax, allowing for easier management and bundling in these specific types of projects.
95
+
96
+ Since GNOME Shell 45, you should only use ESM, even for GNOME Shell extensions. Before that, extensions had to use the global import syntax, unlike normal GJS applications, where ESM has been available for some time.
97
+
85
98
  ### Bundle
86
99
 
87
100
  Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
@@ -1,9 +1,12 @@
1
1
 
2
-
3
2
  declare module 'gi://Gda?version=5.0' {
4
3
  import Gda50 from '@girs/gda-5.0';
5
4
  export default Gda50;
6
5
  }
7
6
 
7
+ declare module 'gi://Gda' {
8
+ import Gda50 from '@girs/gda-5.0';
9
+ export default Gda50;
10
+ }
8
11
 
9
12
 
@@ -1,5 +1,4 @@
1
1
 
2
-
3
2
  import Gda50 from '@girs/gda-5.0';
4
3
 
5
4
  declare global {
package/gda-5.0.d.cts CHANGED
@@ -3051,6 +3051,14 @@ export module Config {
3051
3051
  * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3052
3052
  */
3053
3053
  user_filename?: string | null
3054
+ /**
3055
+ * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3056
+ */
3057
+ systemFilename?: string | null
3058
+ /**
3059
+ * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3060
+ */
3061
+ userFilename?: string | null
3054
3062
  }
3055
3063
 
3056
3064
  }
@@ -3063,10 +3071,18 @@ export interface Config {
3063
3071
  * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3064
3072
  */
3065
3073
  system_filename: string | null
3074
+ /**
3075
+ * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3076
+ */
3077
+ systemFilename: string | null
3066
3078
  /**
3067
3079
  * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3068
3080
  */
3069
3081
  user_filename: string | null
3082
+ /**
3083
+ * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3084
+ */
3085
+ userFilename: string | null
3070
3086
 
3071
3087
  // Own fields of Gda-5.0.Gda.Config
3072
3088
 
@@ -3320,6 +3336,41 @@ export module Connection {
3320
3336
  monitor_wrapped_in_mainloop?: boolean | null
3321
3337
  provider?: ServerProvider | null
3322
3338
  thread_owner?: any | null
3339
+ authString?: string | null
3340
+ cncString?: string | null
3341
+ /**
3342
+ * Defines the number of #GdaConnectionEvent objects kept in memory which can
3343
+ * be fetched using gda_connection_get_events().
3344
+ */
3345
+ eventsHistorySize?: number | null
3346
+ /**
3347
+ * Artificially slows down the execution of queries. This property can be used to
3348
+ * debug some problems. If non zero, this value is the number of microseconds waited before actually
3349
+ * executing each query.
3350
+ */
3351
+ executionSlowdown?: number | null
3352
+ /**
3353
+ * Computes execution times for each statement executed.
3354
+ */
3355
+ executionTimer?: boolean | null
3356
+ /**
3357
+ * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3358
+ * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
3359
+ * thread.
3360
+ *
3361
+ * Note: this property is used internally by Libgda and should not be directly used by any programs. Setting
3362
+ * this property has no effect, reading it is supported, though.
3363
+ */
3364
+ isWrapper?: boolean | null
3365
+ metaStore?: MetaStore | null
3366
+ /**
3367
+ * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3368
+ * it sets up a timeout to handle signals coming from the wrapped connection.
3369
+ *
3370
+ * If the connection is not a thread wrapper, then this property has no effect.
3371
+ */
3372
+ monitorWrappedInMainloop?: boolean | null
3373
+ threadOwner?: any | null
3323
3374
  }
3324
3375
 
3325
3376
  }
@@ -3329,23 +3380,40 @@ export interface Connection extends Lockable {
3329
3380
  // Own properties of Gda-5.0.Gda.Connection
3330
3381
 
3331
3382
  auth_string: string | null
3383
+ authString: string | null
3332
3384
  cnc_string: string | null
3385
+ cncString: string | null
3333
3386
  dsn: string | null
3334
3387
  /**
3335
3388
  * Defines the number of #GdaConnectionEvent objects kept in memory which can
3336
3389
  * be fetched using gda_connection_get_events().
3337
3390
  */
3338
3391
  events_history_size: number
3392
+ /**
3393
+ * Defines the number of #GdaConnectionEvent objects kept in memory which can
3394
+ * be fetched using gda_connection_get_events().
3395
+ */
3396
+ eventsHistorySize: number
3339
3397
  /**
3340
3398
  * Artificially slows down the execution of queries. This property can be used to
3341
3399
  * debug some problems. If non zero, this value is the number of microseconds waited before actually
3342
3400
  * executing each query.
3343
3401
  */
3344
3402
  execution_slowdown: number
3403
+ /**
3404
+ * Artificially slows down the execution of queries. This property can be used to
3405
+ * debug some problems. If non zero, this value is the number of microseconds waited before actually
3406
+ * executing each query.
3407
+ */
3408
+ executionSlowdown: number
3345
3409
  /**
3346
3410
  * Computes execution times for each statement executed.
3347
3411
  */
3348
3412
  execution_timer: boolean
3413
+ /**
3414
+ * Computes execution times for each statement executed.
3415
+ */
3416
+ executionTimer: boolean
3349
3417
  /**
3350
3418
  * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3351
3419
  * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
@@ -3355,7 +3423,17 @@ export interface Connection extends Lockable {
3355
3423
  * this property has no effect, reading it is supported, though.
3356
3424
  */
3357
3425
  is_wrapper: boolean
3426
+ /**
3427
+ * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3428
+ * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
3429
+ * thread.
3430
+ *
3431
+ * Note: this property is used internally by Libgda and should not be directly used by any programs. Setting
3432
+ * this property has no effect, reading it is supported, though.
3433
+ */
3434
+ isWrapper: boolean
3358
3435
  meta_store: MetaStore
3436
+ metaStore: MetaStore
3359
3437
  /**
3360
3438
  * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3361
3439
  * it sets up a timeout to handle signals coming from the wrapped connection.
@@ -3363,8 +3441,16 @@ export interface Connection extends Lockable {
3363
3441
  * If the connection is not a thread wrapper, then this property has no effect.
3364
3442
  */
3365
3443
  monitor_wrapped_in_mainloop: boolean
3444
+ /**
3445
+ * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3446
+ * it sets up a timeout to handle signals coming from the wrapped connection.
3447
+ *
3448
+ * If the connection is not a thread wrapper, then this property has no effect.
3449
+ */
3450
+ monitorWrappedInMainloop: boolean
3366
3451
  provider: ServerProvider
3367
3452
  thread_owner: any
3453
+ threadOwner: any
3368
3454
 
3369
3455
  // Own fields of Gda-5.0.Gda.Connection
3370
3456
 
@@ -4357,6 +4443,8 @@ export module DataComparator {
4357
4443
 
4358
4444
  new_model?: DataModel | null
4359
4445
  old_model?: DataModel | null
4446
+ newModel?: DataModel | null
4447
+ oldModel?: DataModel | null
4360
4448
  }
4361
4449
 
4362
4450
  }
@@ -4366,7 +4454,9 @@ export interface DataComparator {
4366
4454
  // Own properties of Gda-5.0.Gda.DataComparator
4367
4455
 
4368
4456
  new_model: DataModel
4457
+ newModel: DataModel
4369
4458
  old_model: DataModel
4459
+ oldModel: DataModel
4370
4460
 
4371
4461
  // Own fields of Gda-5.0.Gda.DataComparator
4372
4462
 
@@ -4470,6 +4560,8 @@ export module DataModelArray {
4470
4560
 
4471
4561
  n_columns?: number | null
4472
4562
  read_only?: boolean | null
4563
+ nColumns?: number | null
4564
+ readOnly?: boolean | null
4473
4565
  }
4474
4566
 
4475
4567
  }
@@ -4479,7 +4571,9 @@ export interface DataModelArray extends DataModel {
4479
4571
  // Own properties of Gda-5.0.Gda.DataModelArray
4480
4572
 
4481
4573
  n_columns: number
4574
+ nColumns: number
4482
4575
  read_only: boolean
4576
+ readOnly: boolean
4483
4577
 
4484
4578
  // Own fields of Gda-5.0.Gda.DataModelArray
4485
4579
 
@@ -4642,6 +4736,19 @@ export module DataModelImport {
4642
4736
  * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4643
4737
  */
4644
4738
  xml_node?: any | null
4739
+ /**
4740
+ * Data to import, as a string.
4741
+ */
4742
+ dataString?: string | null
4743
+ /**
4744
+ * Defines if the data model will be accessed randomly or through a cursor. If set to %FALSE,
4745
+ * access will have to be done using a cursor.
4746
+ */
4747
+ randomAccess?: boolean | null
4748
+ /**
4749
+ * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4750
+ */
4751
+ xmlNode?: any | null
4645
4752
  }
4646
4753
 
4647
4754
  }
@@ -4654,6 +4761,10 @@ export interface DataModelImport extends DataModel {
4654
4761
  * Data to import, as a string.
4655
4762
  */
4656
4763
  readonly data_string: string | null
4764
+ /**
4765
+ * Data to import, as a string.
4766
+ */
4767
+ readonly dataString: string | null
4657
4768
  /**
4658
4769
  * Name of the file to import.
4659
4770
  */
@@ -4667,6 +4778,11 @@ export interface DataModelImport extends DataModel {
4667
4778
  * access will have to be done using a cursor.
4668
4779
  */
4669
4780
  readonly random_access: boolean
4781
+ /**
4782
+ * Defines if the data model will be accessed randomly or through a cursor. If set to %FALSE,
4783
+ * access will have to be done using a cursor.
4784
+ */
4785
+ readonly randomAccess: boolean
4670
4786
  /**
4671
4787
  * Defines the behaviour in case the imported data contains recoverable errors (usually too
4672
4788
  * many or too few data per row). If set to %TRUE, an error will be reported and the import
@@ -4677,6 +4793,10 @@ export interface DataModelImport extends DataModel {
4677
4793
  * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4678
4794
  */
4679
4795
  readonly xml_node: any
4796
+ /**
4797
+ * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4798
+ */
4799
+ readonly xmlNode: any
4680
4800
 
4681
4801
  // Own fields of Gda-5.0.Gda.DataModelImport
4682
4802
 
@@ -4806,6 +4926,10 @@ export module DataModelIter {
4806
4926
  data_model?: DataModel | null
4807
4927
  forced_model?: DataModel | null
4808
4928
  update_model?: boolean | null
4929
+ currentRow?: number | null
4930
+ dataModel?: DataModel | null
4931
+ forcedModel?: DataModel | null
4932
+ updateModel?: boolean | null
4809
4933
  }
4810
4934
 
4811
4935
  }
@@ -4815,9 +4939,13 @@ export interface DataModelIter {
4815
4939
  // Own properties of Gda-5.0.Gda.DataModelIter
4816
4940
 
4817
4941
  current_row: number
4942
+ currentRow: number
4818
4943
  data_model: DataModel
4944
+ dataModel: DataModel
4819
4945
  forced_model: DataModel
4946
+ forcedModel: DataModel
4820
4947
  update_model: boolean
4948
+ updateModel: boolean
4821
4949
 
4822
4950
  // Own fields of Gda-5.0.Gda.DataModelIter
4823
4951
 
@@ -5314,6 +5442,22 @@ export module DataProxy {
5314
5442
  model?: DataModel | null
5315
5443
  prepend_null_entry?: boolean | null
5316
5444
  sample_size?: number | null
5445
+ /**
5446
+ * Defines how changes kept in the data proxy are handled when the proxied data model
5447
+ * is changed (using the "model" property). The default is to silently discard all the
5448
+ * changes, but if this property is set to %TRUE, then the changes are cached.
5449
+ *
5450
+ * If set to %TRUE, each cached change will be re-applied to a newly set proxied data model if
5451
+ * the change's number of columns match the proxied data model's number of columns and based on:
5452
+ * <itemizedlist>
5453
+ * <listitem><para>the contents of the proxied data model's modified row for updates and deletes</para></listitem>
5454
+ * <listitem><para>the inserts are always kept</para></listitem>
5455
+ * </itemizedlist>
5456
+ */
5457
+ cacheChanges?: boolean | null
5458
+ deferSync?: boolean | null
5459
+ prependNullEntry?: boolean | null
5460
+ sampleSize?: number | null
5317
5461
  }
5318
5462
 
5319
5463
  }
@@ -5335,10 +5479,26 @@ export interface DataProxy extends DataModel {
5335
5479
  * </itemizedlist>
5336
5480
  */
5337
5481
  cache_changes: boolean
5482
+ /**
5483
+ * Defines how changes kept in the data proxy are handled when the proxied data model
5484
+ * is changed (using the "model" property). The default is to silently discard all the
5485
+ * changes, but if this property is set to %TRUE, then the changes are cached.
5486
+ *
5487
+ * If set to %TRUE, each cached change will be re-applied to a newly set proxied data model if
5488
+ * the change's number of columns match the proxied data model's number of columns and based on:
5489
+ * <itemizedlist>
5490
+ * <listitem><para>the contents of the proxied data model's modified row for updates and deletes</para></listitem>
5491
+ * <listitem><para>the inserts are always kept</para></listitem>
5492
+ * </itemizedlist>
5493
+ */
5494
+ cacheChanges: boolean
5338
5495
  defer_sync: boolean
5496
+ deferSync: boolean
5339
5497
  model: DataModel
5340
5498
  prepend_null_entry: boolean
5499
+ prependNullEntry: boolean
5341
5500
  sample_size: number
5501
+ sampleSize: number
5342
5502
 
5343
5503
  // Own fields of Gda-5.0.Gda.DataProxy
5344
5504
 
@@ -5650,6 +5810,18 @@ export module DataSelect {
5650
5810
  prepared_stmt?: PStmt | null
5651
5811
  store_all_rows?: boolean | null
5652
5812
  update_stmt?: Statement | null
5813
+ autoReset?: boolean | null
5814
+ deleteStmt?: Statement | null
5815
+ execParams?: Set | null
5816
+ /**
5817
+ * This property stores the execution delay which has been necessary to obtain the data
5818
+ */
5819
+ executionDelay?: number | null
5820
+ insertStmt?: Statement | null
5821
+ modelUsage?: number | null
5822
+ preparedStmt?: PStmt | null
5823
+ storeAllRows?: boolean | null
5824
+ updateStmt?: Statement | null
5653
5825
  }
5654
5826
 
5655
5827
  }
@@ -5659,19 +5831,32 @@ export interface DataSelect extends DataModel {
5659
5831
  // Own properties of Gda-5.0.Gda.DataSelect
5660
5832
 
5661
5833
  auto_reset: boolean
5834
+ autoReset: boolean
5662
5835
  readonly connection: Connection
5663
5836
  delete_stmt: Statement
5837
+ deleteStmt: Statement
5664
5838
  readonly exec_params: Set
5839
+ readonly execParams: Set
5665
5840
  /**
5666
5841
  * This property stores the execution delay which has been necessary to obtain the data
5667
5842
  */
5668
5843
  execution_delay: number
5844
+ /**
5845
+ * This property stores the execution delay which has been necessary to obtain the data
5846
+ */
5847
+ executionDelay: number
5669
5848
  insert_stmt: Statement
5849
+ insertStmt: Statement
5670
5850
  readonly model_usage: number
5851
+ readonly modelUsage: number
5671
5852
  prepared_stmt: PStmt
5853
+ preparedStmt: PStmt
5672
5854
  readonly select_stmt: Statement
5855
+ readonly selectStmt: Statement
5673
5856
  store_all_rows: boolean
5857
+ storeAllRows: boolean
5674
5858
  update_stmt: Statement
5859
+ updateStmt: Statement
5675
5860
 
5676
5861
  // Own fields of Gda-5.0.Gda.DataSelect
5677
5862
 
@@ -6248,6 +6433,17 @@ export module Holder {
6248
6433
  * the holder's value changes.
6249
6434
  */
6250
6435
  validate_changes?: boolean | null
6436
+ fullBind?: Holder | null
6437
+ gType?: GObject.GType | null
6438
+ notNull?: boolean | null
6439
+ simpleBind?: Holder | null
6440
+ sourceColumn?: number | null
6441
+ sourceModel?: DataModel | null
6442
+ /**
6443
+ * Defines if the "validate-change" signal gets emitted when
6444
+ * the holder's value changes.
6445
+ */
6446
+ validateChanges?: boolean | null
6251
6447
  }
6252
6448
 
6253
6449
  }
@@ -6258,18 +6454,29 @@ export interface Holder extends Lockable {
6258
6454
 
6259
6455
  description: string | null
6260
6456
  full_bind: Holder
6457
+ fullBind: Holder
6261
6458
  g_type: GObject.GType
6459
+ gType: GObject.GType
6262
6460
  id: string | null
6263
6461
  name: string | null
6264
6462
  not_null: boolean
6463
+ notNull: boolean
6265
6464
  simple_bind: Holder
6465
+ simpleBind: Holder
6266
6466
  source_column: number
6467
+ sourceColumn: number
6267
6468
  source_model: DataModel
6469
+ sourceModel: DataModel
6268
6470
  /**
6269
6471
  * Defines if the "validate-change" signal gets emitted when
6270
6472
  * the holder's value changes.
6271
6473
  */
6272
6474
  validate_changes: boolean
6475
+ /**
6476
+ * Defines if the "validate-change" signal gets emitted when
6477
+ * the holder's value changes.
6478
+ */
6479
+ validateChanges: boolean
6273
6480
 
6274
6481
  // Own fields of Gda-5.0.Gda.Holder
6275
6482
 
@@ -6650,6 +6857,7 @@ export module MetaStore {
6650
6857
  cnc?: Connection | null
6651
6858
  cnc_string?: string | null
6652
6859
  schema?: string | null
6860
+ cncString?: string | null
6653
6861
  }
6654
6862
 
6655
6863
  }
@@ -6661,6 +6869,7 @@ export interface MetaStore {
6661
6869
  readonly catalog: string | null
6662
6870
  readonly cnc: Connection
6663
6871
  readonly cnc_string: string | null
6872
+ readonly cncString: string | null
6664
6873
  readonly schema: string | null
6665
6874
 
6666
6875
  // Own fields of Gda-5.0.Gda.MetaStore
@@ -6994,6 +7203,7 @@ export module MetaStruct {
6994
7203
 
6995
7204
  features?: number | null
6996
7205
  meta_store?: MetaStore | null
7206
+ metaStore?: MetaStore | null
6997
7207
  }
6998
7208
 
6999
7209
  }
@@ -7004,6 +7214,7 @@ export interface MetaStruct {
7004
7214
 
7005
7215
  readonly features: number
7006
7216
  readonly meta_store: MetaStore
7217
+ readonly metaStore: MetaStore
7007
7218
 
7008
7219
  // Own fields of Gda-5.0.Gda.MetaStruct
7009
7220
 
@@ -7350,6 +7561,7 @@ export module Row {
7350
7561
  // Own constructor properties of Gda-5.0.Gda.Row
7351
7562
 
7352
7563
  nb_values?: number | null
7564
+ nbValues?: number | null
7353
7565
  }
7354
7566
 
7355
7567
  }
@@ -7359,6 +7571,7 @@ export interface Row {
7359
7571
  // Own properties of Gda-5.0.Gda.Row
7360
7572
 
7361
7573
  nb_values: number
7574
+ nbValues: number
7362
7575
 
7363
7576
  // Own fields of Gda-5.0.Gda.Row
7364
7577
 
@@ -7474,6 +7687,8 @@ export module ServerOperation {
7474
7687
  op_type?: number | null
7475
7688
  provider?: ServerProvider | null
7476
7689
  spec_filename?: string | null
7690
+ opType?: number | null
7691
+ specFilename?: string | null
7477
7692
  }
7478
7693
 
7479
7694
  }
@@ -7484,8 +7699,10 @@ export interface ServerOperation {
7484
7699
 
7485
7700
  readonly connection: Connection
7486
7701
  readonly op_type: number
7702
+ readonly opType: number
7487
7703
  readonly provider: ServerProvider
7488
7704
  readonly spec_filename: string | null
7705
+ readonly specFilename: string | null
7489
7706
 
7490
7707
  // Own fields of Gda-5.0.Gda.ServerOperation
7491
7708
 
@@ -8167,6 +8384,12 @@ export module Set {
8167
8384
  * GdaHolder:validate-changes property.
8168
8385
  */
8169
8386
  validate_changes?: boolean | null
8387
+ /**
8388
+ * Defines if the "validate-set" signal gets emitted when
8389
+ * any holder in the data set changes. This property also affects the
8390
+ * GdaHolder:validate-changes property.
8391
+ */
8392
+ validateChanges?: boolean | null
8170
8393
  }
8171
8394
 
8172
8395
  }
@@ -8184,6 +8407,12 @@ export interface Set {
8184
8407
  * GdaHolder:validate-changes property.
8185
8408
  */
8186
8409
  validate_changes: boolean
8410
+ /**
8411
+ * Defines if the "validate-set" signal gets emitted when
8412
+ * any holder in the data set changes. This property also affects the
8413
+ * GdaHolder:validate-changes property.
8414
+ */
8415
+ validateChanges: boolean
8187
8416
 
8188
8417
  // Own fields of Gda-5.0.Gda.Set
8189
8418
 
@@ -8746,6 +8975,7 @@ export module SqlParser {
8746
8975
 
8747
8976
  mode?: number | null
8748
8977
  tokenizer_flavour?: number | null
8978
+ tokenizerFlavour?: number | null
8749
8979
  }
8750
8980
 
8751
8981
  }
@@ -8755,9 +8985,12 @@ export interface SqlParser extends Lockable {
8755
8985
  // Own properties of Gda-5.0.Gda.SqlParser
8756
8986
 
8757
8987
  readonly column_error: number
8988
+ readonly columnError: number
8758
8989
  readonly line_error: number
8990
+ readonly lineError: number
8759
8991
  mode: number
8760
8992
  tokenizer_flavour: number
8993
+ tokenizerFlavour: number
8761
8994
 
8762
8995
  // Own fields of Gda-5.0.Gda.SqlParser
8763
8996
 
@@ -9337,6 +9570,10 @@ export interface Tree {
9337
9570
  * Tells if the GdaTree is a list or a tree.
9338
9571
  */
9339
9572
  readonly is_list: boolean
9573
+ /**
9574
+ * Tells if the GdaTree is a list or a tree.
9575
+ */
9576
+ readonly isList: boolean
9340
9577
 
9341
9578
  // Own fields of Gda-5.0.Gda.Tree
9342
9579
 
@@ -9619,6 +9856,16 @@ export module TreeMgrColumns {
9619
9856
  * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9620
9857
  */
9621
9858
  table_name?: string | null
9859
+ /**
9860
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
9861
+ * the #GdaTreeMgrColumns:connection property is specified instead. This property has
9862
+ * priority over the GdaTreeMgrColumns:connection property.
9863
+ */
9864
+ metaStore?: MetaStore | null
9865
+ /**
9866
+ * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9867
+ */
9868
+ tableName?: string | null
9622
9869
  }
9623
9870
 
9624
9871
  }
@@ -9638,6 +9885,12 @@ export interface TreeMgrColumns {
9638
9885
  * priority over the GdaTreeMgrColumns:connection property.
9639
9886
  */
9640
9887
  readonly meta_store: MetaStore
9888
+ /**
9889
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
9890
+ * the #GdaTreeMgrColumns:connection property is specified instead. This property has
9891
+ * priority over the GdaTreeMgrColumns:connection property.
9892
+ */
9893
+ readonly metaStore: MetaStore
9641
9894
  /**
9642
9895
  * If no set, then the table name will be fetched from the parent node using the "schema" attribute
9643
9896
  */
@@ -9646,6 +9899,10 @@ export interface TreeMgrColumns {
9646
9899
  * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9647
9900
  */
9648
9901
  readonly table_name: string | null
9902
+ /**
9903
+ * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9904
+ */
9905
+ readonly tableName: string | null
9649
9906
 
9650
9907
  // Own fields of Gda-5.0.Gda.TreeMgrColumns
9651
9908
 
@@ -9878,6 +10135,12 @@ export module TreeMgrSchemas {
9878
10135
  * priority over the GdaTreeMgrSchema:connection property.
9879
10136
  */
9880
10137
  meta_store?: MetaStore | null
10138
+ /**
10139
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10140
+ * the #GdaTreeMgrSchema:connection property is specified instead. This property has
10141
+ * priority over the GdaTreeMgrSchema:connection property.
10142
+ */
10143
+ metaStore?: MetaStore | null
9881
10144
  }
9882
10145
 
9883
10146
  }
@@ -9897,6 +10160,12 @@ export interface TreeMgrSchemas {
9897
10160
  * priority over the GdaTreeMgrSchema:connection property.
9898
10161
  */
9899
10162
  readonly meta_store: MetaStore
10163
+ /**
10164
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10165
+ * the #GdaTreeMgrSchema:connection property is specified instead. This property has
10166
+ * priority over the GdaTreeMgrSchema:connection property.
10167
+ */
10168
+ readonly metaStore: MetaStore
9900
10169
 
9901
10170
  // Own fields of Gda-5.0.Gda.TreeMgrSchemas
9902
10171
 
@@ -10061,6 +10330,12 @@ export module TreeMgrTables {
10061
10330
  * a schema) will be used
10062
10331
  */
10063
10332
  schema?: string | null
10333
+ /**
10334
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10335
+ * the #GdaTreeMgrTables:connection property is specified instead. This property has
10336
+ * priority over the GdaTreeMgrTables:connection property.
10337
+ */
10338
+ metaStore?: MetaStore | null
10064
10339
  }
10065
10340
 
10066
10341
  }
@@ -10080,6 +10355,12 @@ export interface TreeMgrTables {
10080
10355
  * priority over the GdaTreeMgrTables:connection property.
10081
10356
  */
10082
10357
  readonly meta_store: MetaStore
10358
+ /**
10359
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10360
+ * the #GdaTreeMgrTables:connection property is specified instead. This property has
10361
+ * priority over the GdaTreeMgrTables:connection property.
10362
+ */
10363
+ readonly metaStore: MetaStore
10083
10364
  /**
10084
10365
  * If no set, then the table name will be fetched from the parent node using the "schema" attribute. If not
10085
10366
  * found that way, then the list of visible tables (tables which can be identified without having to specify
@@ -10354,6 +10635,8 @@ export module XaTransaction {
10354
10635
 
10355
10636
  format_id?: number | null
10356
10637
  transaction_id?: string | null
10638
+ formatId?: number | null
10639
+ transactionId?: string | null
10357
10640
  }
10358
10641
 
10359
10642
  }
@@ -10363,7 +10646,9 @@ export interface XaTransaction {
10363
10646
  // Own properties of Gda-5.0.Gda.XaTransaction
10364
10647
 
10365
10648
  readonly format_id: number
10649
+ readonly formatId: number
10366
10650
  readonly transaction_id: string | null
10651
+ readonly transactionId: string | null
10367
10652
 
10368
10653
  // Own fields of Gda-5.0.Gda.XaTransaction
10369
10654
 
package/gda-5.0.d.ts CHANGED
@@ -3053,6 +3053,14 @@ module Config {
3053
3053
  * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3054
3054
  */
3055
3055
  user_filename?: string | null
3056
+ /**
3057
+ * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3058
+ */
3059
+ systemFilename?: string | null
3060
+ /**
3061
+ * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3062
+ */
3063
+ userFilename?: string | null
3056
3064
  }
3057
3065
 
3058
3066
  }
@@ -3065,10 +3073,18 @@ interface Config {
3065
3073
  * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3066
3074
  */
3067
3075
  system_filename: string | null
3076
+ /**
3077
+ * File to use for system-wide DSN list. When changed, the whole list of DSN will be reloaded.
3078
+ */
3079
+ systemFilename: string | null
3068
3080
  /**
3069
3081
  * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3070
3082
  */
3071
3083
  user_filename: string | null
3084
+ /**
3085
+ * File to use for per-user DSN list. When changed, the whole list of DSN will be reloaded.
3086
+ */
3087
+ userFilename: string | null
3072
3088
 
3073
3089
  // Own fields of Gda-5.0.Gda.Config
3074
3090
 
@@ -3322,6 +3338,41 @@ module Connection {
3322
3338
  monitor_wrapped_in_mainloop?: boolean | null
3323
3339
  provider?: ServerProvider | null
3324
3340
  thread_owner?: any | null
3341
+ authString?: string | null
3342
+ cncString?: string | null
3343
+ /**
3344
+ * Defines the number of #GdaConnectionEvent objects kept in memory which can
3345
+ * be fetched using gda_connection_get_events().
3346
+ */
3347
+ eventsHistorySize?: number | null
3348
+ /**
3349
+ * Artificially slows down the execution of queries. This property can be used to
3350
+ * debug some problems. If non zero, this value is the number of microseconds waited before actually
3351
+ * executing each query.
3352
+ */
3353
+ executionSlowdown?: number | null
3354
+ /**
3355
+ * Computes execution times for each statement executed.
3356
+ */
3357
+ executionTimer?: boolean | null
3358
+ /**
3359
+ * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3360
+ * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
3361
+ * thread.
3362
+ *
3363
+ * Note: this property is used internally by Libgda and should not be directly used by any programs. Setting
3364
+ * this property has no effect, reading it is supported, though.
3365
+ */
3366
+ isWrapper?: boolean | null
3367
+ metaStore?: MetaStore | null
3368
+ /**
3369
+ * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3370
+ * it sets up a timeout to handle signals coming from the wrapped connection.
3371
+ *
3372
+ * If the connection is not a thread wrapper, then this property has no effect.
3373
+ */
3374
+ monitorWrappedInMainloop?: boolean | null
3375
+ threadOwner?: any | null
3325
3376
  }
3326
3377
 
3327
3378
  }
@@ -3331,23 +3382,40 @@ interface Connection extends Lockable {
3331
3382
  // Own properties of Gda-5.0.Gda.Connection
3332
3383
 
3333
3384
  auth_string: string | null
3385
+ authString: string | null
3334
3386
  cnc_string: string | null
3387
+ cncString: string | null
3335
3388
  dsn: string | null
3336
3389
  /**
3337
3390
  * Defines the number of #GdaConnectionEvent objects kept in memory which can
3338
3391
  * be fetched using gda_connection_get_events().
3339
3392
  */
3340
3393
  events_history_size: number
3394
+ /**
3395
+ * Defines the number of #GdaConnectionEvent objects kept in memory which can
3396
+ * be fetched using gda_connection_get_events().
3397
+ */
3398
+ eventsHistorySize: number
3341
3399
  /**
3342
3400
  * Artificially slows down the execution of queries. This property can be used to
3343
3401
  * debug some problems. If non zero, this value is the number of microseconds waited before actually
3344
3402
  * executing each query.
3345
3403
  */
3346
3404
  execution_slowdown: number
3405
+ /**
3406
+ * Artificially slows down the execution of queries. This property can be used to
3407
+ * debug some problems. If non zero, this value is the number of microseconds waited before actually
3408
+ * executing each query.
3409
+ */
3410
+ executionSlowdown: number
3347
3411
  /**
3348
3412
  * Computes execution times for each statement executed.
3349
3413
  */
3350
3414
  execution_timer: boolean
3415
+ /**
3416
+ * Computes execution times for each statement executed.
3417
+ */
3418
+ executionTimer: boolean
3351
3419
  /**
3352
3420
  * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3353
3421
  * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
@@ -3357,7 +3425,17 @@ interface Connection extends Lockable {
3357
3425
  * this property has no effect, reading it is supported, though.
3358
3426
  */
3359
3427
  is_wrapper: boolean
3428
+ /**
3429
+ * This property, if set to %TRUE, specifies that the connection is not a real connection, but rather
3430
+ * a #GdaConnection object which "proxies" all the calls to another connection which executes in a sub
3431
+ * thread.
3432
+ *
3433
+ * Note: this property is used internally by Libgda and should not be directly used by any programs. Setting
3434
+ * this property has no effect, reading it is supported, though.
3435
+ */
3436
+ isWrapper: boolean
3360
3437
  meta_store: MetaStore
3438
+ metaStore: MetaStore
3361
3439
  /**
3362
3440
  * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3363
3441
  * it sets up a timeout to handle signals coming from the wrapped connection.
@@ -3365,8 +3443,16 @@ interface Connection extends Lockable {
3365
3443
  * If the connection is not a thread wrapper, then this property has no effect.
3366
3444
  */
3367
3445
  monitor_wrapped_in_mainloop: boolean
3446
+ /**
3447
+ * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
3448
+ * it sets up a timeout to handle signals coming from the wrapped connection.
3449
+ *
3450
+ * If the connection is not a thread wrapper, then this property has no effect.
3451
+ */
3452
+ monitorWrappedInMainloop: boolean
3368
3453
  provider: ServerProvider
3369
3454
  thread_owner: any
3455
+ threadOwner: any
3370
3456
 
3371
3457
  // Own fields of Gda-5.0.Gda.Connection
3372
3458
 
@@ -4359,6 +4445,8 @@ module DataComparator {
4359
4445
 
4360
4446
  new_model?: DataModel | null
4361
4447
  old_model?: DataModel | null
4448
+ newModel?: DataModel | null
4449
+ oldModel?: DataModel | null
4362
4450
  }
4363
4451
 
4364
4452
  }
@@ -4368,7 +4456,9 @@ interface DataComparator {
4368
4456
  // Own properties of Gda-5.0.Gda.DataComparator
4369
4457
 
4370
4458
  new_model: DataModel
4459
+ newModel: DataModel
4371
4460
  old_model: DataModel
4461
+ oldModel: DataModel
4372
4462
 
4373
4463
  // Own fields of Gda-5.0.Gda.DataComparator
4374
4464
 
@@ -4472,6 +4562,8 @@ module DataModelArray {
4472
4562
 
4473
4563
  n_columns?: number | null
4474
4564
  read_only?: boolean | null
4565
+ nColumns?: number | null
4566
+ readOnly?: boolean | null
4475
4567
  }
4476
4568
 
4477
4569
  }
@@ -4481,7 +4573,9 @@ interface DataModelArray extends DataModel {
4481
4573
  // Own properties of Gda-5.0.Gda.DataModelArray
4482
4574
 
4483
4575
  n_columns: number
4576
+ nColumns: number
4484
4577
  read_only: boolean
4578
+ readOnly: boolean
4485
4579
 
4486
4580
  // Own fields of Gda-5.0.Gda.DataModelArray
4487
4581
 
@@ -4644,6 +4738,19 @@ module DataModelImport {
4644
4738
  * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4645
4739
  */
4646
4740
  xml_node?: any | null
4741
+ /**
4742
+ * Data to import, as a string.
4743
+ */
4744
+ dataString?: string | null
4745
+ /**
4746
+ * Defines if the data model will be accessed randomly or through a cursor. If set to %FALSE,
4747
+ * access will have to be done using a cursor.
4748
+ */
4749
+ randomAccess?: boolean | null
4750
+ /**
4751
+ * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4752
+ */
4753
+ xmlNode?: any | null
4647
4754
  }
4648
4755
 
4649
4756
  }
@@ -4656,6 +4763,10 @@ interface DataModelImport extends DataModel {
4656
4763
  * Data to import, as a string.
4657
4764
  */
4658
4765
  readonly data_string: string | null
4766
+ /**
4767
+ * Data to import, as a string.
4768
+ */
4769
+ readonly dataString: string | null
4659
4770
  /**
4660
4771
  * Name of the file to import.
4661
4772
  */
@@ -4669,6 +4780,11 @@ interface DataModelImport extends DataModel {
4669
4780
  * access will have to be done using a cursor.
4670
4781
  */
4671
4782
  readonly random_access: boolean
4783
+ /**
4784
+ * Defines if the data model will be accessed randomly or through a cursor. If set to %FALSE,
4785
+ * access will have to be done using a cursor.
4786
+ */
4787
+ readonly randomAccess: boolean
4672
4788
  /**
4673
4789
  * Defines the behaviour in case the imported data contains recoverable errors (usually too
4674
4790
  * many or too few data per row). If set to %TRUE, an error will be reported and the import
@@ -4679,6 +4795,10 @@ interface DataModelImport extends DataModel {
4679
4795
  * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4680
4796
  */
4681
4797
  readonly xml_node: any
4798
+ /**
4799
+ * Data to import, as a pointer to an XML node (a #xmlNodePtr).
4800
+ */
4801
+ readonly xmlNode: any
4682
4802
 
4683
4803
  // Own fields of Gda-5.0.Gda.DataModelImport
4684
4804
 
@@ -4808,6 +4928,10 @@ module DataModelIter {
4808
4928
  data_model?: DataModel | null
4809
4929
  forced_model?: DataModel | null
4810
4930
  update_model?: boolean | null
4931
+ currentRow?: number | null
4932
+ dataModel?: DataModel | null
4933
+ forcedModel?: DataModel | null
4934
+ updateModel?: boolean | null
4811
4935
  }
4812
4936
 
4813
4937
  }
@@ -4817,9 +4941,13 @@ interface DataModelIter {
4817
4941
  // Own properties of Gda-5.0.Gda.DataModelIter
4818
4942
 
4819
4943
  current_row: number
4944
+ currentRow: number
4820
4945
  data_model: DataModel
4946
+ dataModel: DataModel
4821
4947
  forced_model: DataModel
4948
+ forcedModel: DataModel
4822
4949
  update_model: boolean
4950
+ updateModel: boolean
4823
4951
 
4824
4952
  // Own fields of Gda-5.0.Gda.DataModelIter
4825
4953
 
@@ -5316,6 +5444,22 @@ module DataProxy {
5316
5444
  model?: DataModel | null
5317
5445
  prepend_null_entry?: boolean | null
5318
5446
  sample_size?: number | null
5447
+ /**
5448
+ * Defines how changes kept in the data proxy are handled when the proxied data model
5449
+ * is changed (using the "model" property). The default is to silently discard all the
5450
+ * changes, but if this property is set to %TRUE, then the changes are cached.
5451
+ *
5452
+ * If set to %TRUE, each cached change will be re-applied to a newly set proxied data model if
5453
+ * the change's number of columns match the proxied data model's number of columns and based on:
5454
+ * <itemizedlist>
5455
+ * <listitem><para>the contents of the proxied data model's modified row for updates and deletes</para></listitem>
5456
+ * <listitem><para>the inserts are always kept</para></listitem>
5457
+ * </itemizedlist>
5458
+ */
5459
+ cacheChanges?: boolean | null
5460
+ deferSync?: boolean | null
5461
+ prependNullEntry?: boolean | null
5462
+ sampleSize?: number | null
5319
5463
  }
5320
5464
 
5321
5465
  }
@@ -5337,10 +5481,26 @@ interface DataProxy extends DataModel {
5337
5481
  * </itemizedlist>
5338
5482
  */
5339
5483
  cache_changes: boolean
5484
+ /**
5485
+ * Defines how changes kept in the data proxy are handled when the proxied data model
5486
+ * is changed (using the "model" property). The default is to silently discard all the
5487
+ * changes, but if this property is set to %TRUE, then the changes are cached.
5488
+ *
5489
+ * If set to %TRUE, each cached change will be re-applied to a newly set proxied data model if
5490
+ * the change's number of columns match the proxied data model's number of columns and based on:
5491
+ * <itemizedlist>
5492
+ * <listitem><para>the contents of the proxied data model's modified row for updates and deletes</para></listitem>
5493
+ * <listitem><para>the inserts are always kept</para></listitem>
5494
+ * </itemizedlist>
5495
+ */
5496
+ cacheChanges: boolean
5340
5497
  defer_sync: boolean
5498
+ deferSync: boolean
5341
5499
  model: DataModel
5342
5500
  prepend_null_entry: boolean
5501
+ prependNullEntry: boolean
5343
5502
  sample_size: number
5503
+ sampleSize: number
5344
5504
 
5345
5505
  // Own fields of Gda-5.0.Gda.DataProxy
5346
5506
 
@@ -5652,6 +5812,18 @@ module DataSelect {
5652
5812
  prepared_stmt?: PStmt | null
5653
5813
  store_all_rows?: boolean | null
5654
5814
  update_stmt?: Statement | null
5815
+ autoReset?: boolean | null
5816
+ deleteStmt?: Statement | null
5817
+ execParams?: Set | null
5818
+ /**
5819
+ * This property stores the execution delay which has been necessary to obtain the data
5820
+ */
5821
+ executionDelay?: number | null
5822
+ insertStmt?: Statement | null
5823
+ modelUsage?: number | null
5824
+ preparedStmt?: PStmt | null
5825
+ storeAllRows?: boolean | null
5826
+ updateStmt?: Statement | null
5655
5827
  }
5656
5828
 
5657
5829
  }
@@ -5661,19 +5833,32 @@ interface DataSelect extends DataModel {
5661
5833
  // Own properties of Gda-5.0.Gda.DataSelect
5662
5834
 
5663
5835
  auto_reset: boolean
5836
+ autoReset: boolean
5664
5837
  readonly connection: Connection
5665
5838
  delete_stmt: Statement
5839
+ deleteStmt: Statement
5666
5840
  readonly exec_params: Set
5841
+ readonly execParams: Set
5667
5842
  /**
5668
5843
  * This property stores the execution delay which has been necessary to obtain the data
5669
5844
  */
5670
5845
  execution_delay: number
5846
+ /**
5847
+ * This property stores the execution delay which has been necessary to obtain the data
5848
+ */
5849
+ executionDelay: number
5671
5850
  insert_stmt: Statement
5851
+ insertStmt: Statement
5672
5852
  readonly model_usage: number
5853
+ readonly modelUsage: number
5673
5854
  prepared_stmt: PStmt
5855
+ preparedStmt: PStmt
5674
5856
  readonly select_stmt: Statement
5857
+ readonly selectStmt: Statement
5675
5858
  store_all_rows: boolean
5859
+ storeAllRows: boolean
5676
5860
  update_stmt: Statement
5861
+ updateStmt: Statement
5677
5862
 
5678
5863
  // Own fields of Gda-5.0.Gda.DataSelect
5679
5864
 
@@ -6250,6 +6435,17 @@ module Holder {
6250
6435
  * the holder's value changes.
6251
6436
  */
6252
6437
  validate_changes?: boolean | null
6438
+ fullBind?: Holder | null
6439
+ gType?: GObject.GType | null
6440
+ notNull?: boolean | null
6441
+ simpleBind?: Holder | null
6442
+ sourceColumn?: number | null
6443
+ sourceModel?: DataModel | null
6444
+ /**
6445
+ * Defines if the "validate-change" signal gets emitted when
6446
+ * the holder's value changes.
6447
+ */
6448
+ validateChanges?: boolean | null
6253
6449
  }
6254
6450
 
6255
6451
  }
@@ -6260,18 +6456,29 @@ interface Holder extends Lockable {
6260
6456
 
6261
6457
  description: string | null
6262
6458
  full_bind: Holder
6459
+ fullBind: Holder
6263
6460
  g_type: GObject.GType
6461
+ gType: GObject.GType
6264
6462
  id: string | null
6265
6463
  name: string | null
6266
6464
  not_null: boolean
6465
+ notNull: boolean
6267
6466
  simple_bind: Holder
6467
+ simpleBind: Holder
6268
6468
  source_column: number
6469
+ sourceColumn: number
6269
6470
  source_model: DataModel
6471
+ sourceModel: DataModel
6270
6472
  /**
6271
6473
  * Defines if the "validate-change" signal gets emitted when
6272
6474
  * the holder's value changes.
6273
6475
  */
6274
6476
  validate_changes: boolean
6477
+ /**
6478
+ * Defines if the "validate-change" signal gets emitted when
6479
+ * the holder's value changes.
6480
+ */
6481
+ validateChanges: boolean
6275
6482
 
6276
6483
  // Own fields of Gda-5.0.Gda.Holder
6277
6484
 
@@ -6652,6 +6859,7 @@ module MetaStore {
6652
6859
  cnc?: Connection | null
6653
6860
  cnc_string?: string | null
6654
6861
  schema?: string | null
6862
+ cncString?: string | null
6655
6863
  }
6656
6864
 
6657
6865
  }
@@ -6663,6 +6871,7 @@ interface MetaStore {
6663
6871
  readonly catalog: string | null
6664
6872
  readonly cnc: Connection
6665
6873
  readonly cnc_string: string | null
6874
+ readonly cncString: string | null
6666
6875
  readonly schema: string | null
6667
6876
 
6668
6877
  // Own fields of Gda-5.0.Gda.MetaStore
@@ -6996,6 +7205,7 @@ module MetaStruct {
6996
7205
 
6997
7206
  features?: number | null
6998
7207
  meta_store?: MetaStore | null
7208
+ metaStore?: MetaStore | null
6999
7209
  }
7000
7210
 
7001
7211
  }
@@ -7006,6 +7216,7 @@ interface MetaStruct {
7006
7216
 
7007
7217
  readonly features: number
7008
7218
  readonly meta_store: MetaStore
7219
+ readonly metaStore: MetaStore
7009
7220
 
7010
7221
  // Own fields of Gda-5.0.Gda.MetaStruct
7011
7222
 
@@ -7352,6 +7563,7 @@ module Row {
7352
7563
  // Own constructor properties of Gda-5.0.Gda.Row
7353
7564
 
7354
7565
  nb_values?: number | null
7566
+ nbValues?: number | null
7355
7567
  }
7356
7568
 
7357
7569
  }
@@ -7361,6 +7573,7 @@ interface Row {
7361
7573
  // Own properties of Gda-5.0.Gda.Row
7362
7574
 
7363
7575
  nb_values: number
7576
+ nbValues: number
7364
7577
 
7365
7578
  // Own fields of Gda-5.0.Gda.Row
7366
7579
 
@@ -7476,6 +7689,8 @@ module ServerOperation {
7476
7689
  op_type?: number | null
7477
7690
  provider?: ServerProvider | null
7478
7691
  spec_filename?: string | null
7692
+ opType?: number | null
7693
+ specFilename?: string | null
7479
7694
  }
7480
7695
 
7481
7696
  }
@@ -7486,8 +7701,10 @@ interface ServerOperation {
7486
7701
 
7487
7702
  readonly connection: Connection
7488
7703
  readonly op_type: number
7704
+ readonly opType: number
7489
7705
  readonly provider: ServerProvider
7490
7706
  readonly spec_filename: string | null
7707
+ readonly specFilename: string | null
7491
7708
 
7492
7709
  // Own fields of Gda-5.0.Gda.ServerOperation
7493
7710
 
@@ -8169,6 +8386,12 @@ module Set {
8169
8386
  * GdaHolder:validate-changes property.
8170
8387
  */
8171
8388
  validate_changes?: boolean | null
8389
+ /**
8390
+ * Defines if the "validate-set" signal gets emitted when
8391
+ * any holder in the data set changes. This property also affects the
8392
+ * GdaHolder:validate-changes property.
8393
+ */
8394
+ validateChanges?: boolean | null
8172
8395
  }
8173
8396
 
8174
8397
  }
@@ -8186,6 +8409,12 @@ interface Set {
8186
8409
  * GdaHolder:validate-changes property.
8187
8410
  */
8188
8411
  validate_changes: boolean
8412
+ /**
8413
+ * Defines if the "validate-set" signal gets emitted when
8414
+ * any holder in the data set changes. This property also affects the
8415
+ * GdaHolder:validate-changes property.
8416
+ */
8417
+ validateChanges: boolean
8189
8418
 
8190
8419
  // Own fields of Gda-5.0.Gda.Set
8191
8420
 
@@ -8748,6 +8977,7 @@ module SqlParser {
8748
8977
 
8749
8978
  mode?: number | null
8750
8979
  tokenizer_flavour?: number | null
8980
+ tokenizerFlavour?: number | null
8751
8981
  }
8752
8982
 
8753
8983
  }
@@ -8757,9 +8987,12 @@ interface SqlParser extends Lockable {
8757
8987
  // Own properties of Gda-5.0.Gda.SqlParser
8758
8988
 
8759
8989
  readonly column_error: number
8990
+ readonly columnError: number
8760
8991
  readonly line_error: number
8992
+ readonly lineError: number
8761
8993
  mode: number
8762
8994
  tokenizer_flavour: number
8995
+ tokenizerFlavour: number
8763
8996
 
8764
8997
  // Own fields of Gda-5.0.Gda.SqlParser
8765
8998
 
@@ -9339,6 +9572,10 @@ interface Tree {
9339
9572
  * Tells if the GdaTree is a list or a tree.
9340
9573
  */
9341
9574
  readonly is_list: boolean
9575
+ /**
9576
+ * Tells if the GdaTree is a list or a tree.
9577
+ */
9578
+ readonly isList: boolean
9342
9579
 
9343
9580
  // Own fields of Gda-5.0.Gda.Tree
9344
9581
 
@@ -9621,6 +9858,16 @@ module TreeMgrColumns {
9621
9858
  * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9622
9859
  */
9623
9860
  table_name?: string | null
9861
+ /**
9862
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
9863
+ * the #GdaTreeMgrColumns:connection property is specified instead. This property has
9864
+ * priority over the GdaTreeMgrColumns:connection property.
9865
+ */
9866
+ metaStore?: MetaStore | null
9867
+ /**
9868
+ * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9869
+ */
9870
+ tableName?: string | null
9624
9871
  }
9625
9872
 
9626
9873
  }
@@ -9640,6 +9887,12 @@ interface TreeMgrColumns {
9640
9887
  * priority over the GdaTreeMgrColumns:connection property.
9641
9888
  */
9642
9889
  readonly meta_store: MetaStore
9890
+ /**
9891
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
9892
+ * the #GdaTreeMgrColumns:connection property is specified instead. This property has
9893
+ * priority over the GdaTreeMgrColumns:connection property.
9894
+ */
9895
+ readonly metaStore: MetaStore
9643
9896
  /**
9644
9897
  * If no set, then the table name will be fetched from the parent node using the "schema" attribute
9645
9898
  */
@@ -9648,6 +9901,10 @@ interface TreeMgrColumns {
9648
9901
  * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9649
9902
  */
9650
9903
  readonly table_name: string | null
9904
+ /**
9905
+ * If no set, then the table name will be fetched from the parent node using the "table_name" attribute
9906
+ */
9907
+ readonly tableName: string | null
9651
9908
 
9652
9909
  // Own fields of Gda-5.0.Gda.TreeMgrColumns
9653
9910
 
@@ -9880,6 +10137,12 @@ module TreeMgrSchemas {
9880
10137
  * priority over the GdaTreeMgrSchema:connection property.
9881
10138
  */
9882
10139
  meta_store?: MetaStore | null
10140
+ /**
10141
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10142
+ * the #GdaTreeMgrSchema:connection property is specified instead. This property has
10143
+ * priority over the GdaTreeMgrSchema:connection property.
10144
+ */
10145
+ metaStore?: MetaStore | null
9883
10146
  }
9884
10147
 
9885
10148
  }
@@ -9899,6 +10162,12 @@ interface TreeMgrSchemas {
9899
10162
  * priority over the GdaTreeMgrSchema:connection property.
9900
10163
  */
9901
10164
  readonly meta_store: MetaStore
10165
+ /**
10166
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10167
+ * the #GdaTreeMgrSchema:connection property is specified instead. This property has
10168
+ * priority over the GdaTreeMgrSchema:connection property.
10169
+ */
10170
+ readonly metaStore: MetaStore
9902
10171
 
9903
10172
  // Own fields of Gda-5.0.Gda.TreeMgrSchemas
9904
10173
 
@@ -10063,6 +10332,12 @@ module TreeMgrTables {
10063
10332
  * a schema) will be used
10064
10333
  */
10065
10334
  schema?: string | null
10335
+ /**
10336
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10337
+ * the #GdaTreeMgrTables:connection property is specified instead. This property has
10338
+ * priority over the GdaTreeMgrTables:connection property.
10339
+ */
10340
+ metaStore?: MetaStore | null
10066
10341
  }
10067
10342
 
10068
10343
  }
@@ -10082,6 +10357,12 @@ interface TreeMgrTables {
10082
10357
  * priority over the GdaTreeMgrTables:connection property.
10083
10358
  */
10084
10359
  readonly meta_store: MetaStore
10360
+ /**
10361
+ * Defines the #GdaMetaStore to extract information from. Necessary upon construction unless
10362
+ * the #GdaTreeMgrTables:connection property is specified instead. This property has
10363
+ * priority over the GdaTreeMgrTables:connection property.
10364
+ */
10365
+ readonly metaStore: MetaStore
10085
10366
  /**
10086
10367
  * If no set, then the table name will be fetched from the parent node using the "schema" attribute. If not
10087
10368
  * found that way, then the list of visible tables (tables which can be identified without having to specify
@@ -10356,6 +10637,8 @@ module XaTransaction {
10356
10637
 
10357
10638
  format_id?: number | null
10358
10639
  transaction_id?: string | null
10640
+ formatId?: number | null
10641
+ transactionId?: string | null
10359
10642
  }
10360
10643
 
10361
10644
  }
@@ -10365,7 +10648,9 @@ interface XaTransaction {
10365
10648
  // Own properties of Gda-5.0.Gda.XaTransaction
10366
10649
 
10367
10650
  readonly format_id: number
10651
+ readonly formatId: number
10368
10652
  readonly transaction_id: string | null
10653
+ readonly transactionId: string | null
10369
10654
 
10370
10655
  // Own fields of Gda-5.0.Gda.XaTransaction
10371
10656
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gda-5.0",
3
- "version": "5.0.0-3.2.4",
3
+ "version": "5.0.0-3.2.6",
4
4
  "description": "GJS TypeScript type definitions for Gda-5.0, generated from library version 5.0.0",
5
5
  "type": "module",
6
6
  "module": "gda-5.0.js",
@@ -25,10 +25,10 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gda-5.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.4",
29
- "@girs/glib-2.0": "^2.78.0-3.2.4",
30
- "@girs/gobject-2.0": "^2.78.0-3.2.4",
31
- "@girs/libxml2-2.0": "^2.0.0-3.2.4"
28
+ "@girs/gjs": "^3.2.6",
29
+ "@girs/glib-2.0": "^2.78.0-3.2.6",
30
+ "@girs/gobject-2.0": "^2.78.0-3.2.6",
31
+ "@girs/libxml2-2.0": "^2.0.0-3.2.6"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "*"