@girs/tracker-3.0 3.6.0-3.2.5 → 3.6.0-3.2.7

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/tracker-3.0.d.cts CHANGED
@@ -242,59 +242,59 @@ export const MINOR_VERSION: number
242
242
  /**
243
243
  * The Prefix of the DC (Dublin Core) namespace
244
244
  */
245
- export const PREFIX_DC: string | null
245
+ export const PREFIX_DC: string
246
246
  /**
247
247
  * The Prefix of the MFO namespace
248
248
  */
249
- export const PREFIX_MFO: string | null
249
+ export const PREFIX_MFO: string
250
250
  /**
251
251
  * The Prefix of the NAO namespace
252
252
  */
253
- export const PREFIX_NAO: string | null
253
+ export const PREFIX_NAO: string
254
254
  /**
255
255
  * The Prefix of the NCO namespace
256
256
  */
257
- export const PREFIX_NCO: string | null
257
+ export const PREFIX_NCO: string
258
258
  /**
259
259
  * The Prefix of the NFO namespace
260
260
  */
261
- export const PREFIX_NFO: string | null
261
+ export const PREFIX_NFO: string
262
262
  /**
263
263
  * The Prefix of the NIE namespace
264
264
  */
265
- export const PREFIX_NIE: string | null
265
+ export const PREFIX_NIE: string
266
266
  /**
267
267
  * The Prefix of the RDF namespace
268
268
  */
269
- export const PREFIX_NMM: string | null
269
+ export const PREFIX_NMM: string
270
270
  /**
271
271
  * The Prefix of the NRL namespace
272
272
  */
273
- export const PREFIX_NRL: string | null
273
+ export const PREFIX_NRL: string
274
274
  /**
275
275
  * The Prefix of the Osinfo namespace
276
276
  */
277
- export const PREFIX_OSINFO: string | null
277
+ export const PREFIX_OSINFO: string
278
278
  /**
279
279
  * The Prefix of the RDF namespace
280
280
  */
281
- export const PREFIX_RDF: string | null
281
+ export const PREFIX_RDF: string
282
282
  /**
283
283
  * The Prefix of the RDFS namespace
284
284
  */
285
- export const PREFIX_RDFS: string | null
285
+ export const PREFIX_RDFS: string
286
286
  /**
287
287
  * The Prefix of the SLO namespace
288
288
  */
289
- export const PREFIX_SLO: string | null
289
+ export const PREFIX_SLO: string
290
290
  /**
291
291
  * The Prefix of the Tracker namespace
292
292
  */
293
- export const PREFIX_TRACKER: string | null
293
+ export const PREFIX_TRACKER: string
294
294
  /**
295
295
  * The Prefix of the XSD namespace
296
296
  */
297
- export const PREFIX_XSD: string | null
297
+ export const PREFIX_XSD: string
298
298
  /**
299
299
  * Checks that the Tracker library in use is compatible with the given version.
300
300
  *
@@ -316,7 +316,7 @@ export const PREFIX_XSD: string | null
316
316
  * @param required_micro the required micro version.
317
317
  * @returns %NULL if the Tracker library is compatible with the given version, or a string describing the version mismatch.
318
318
  */
319
- export function check_version(required_major: number, required_minor: number, required_micro: number): string | null
319
+ export function check_version(required_major: number, required_minor: number, required_micro: number): string
320
320
  export function sparql_error_quark(): GLib.Quark
321
321
  /**
322
322
  * Escapes `literal` so it is suitable for insertion in
@@ -328,13 +328,13 @@ export function sparql_error_quark(): GLib.Quark
328
328
  * @param literal a string to escape
329
329
  * @returns the escaped string
330
330
  */
331
- export function sparql_escape_string(literal: string | null): string | null
331
+ export function sparql_escape_string(literal: string): string | null
332
332
  /**
333
333
  * Escapes a string for use as a URI.
334
334
  * @param uri a string to be escaped, following the tracker sparql rules
335
335
  * @returns a newly-allocated string holding the result.
336
336
  */
337
- export function sparql_escape_uri(uri: string | null): string | null
337
+ export function sparql_escape_uri(uri: string): string | null
338
338
  /**
339
339
  * Returns a path to the built-in Nepomuk ontologies.
340
340
  * @returns a #GFile instance.
@@ -391,7 +391,7 @@ export interface Batch {
391
391
  * @param default_graph Default graph that will receive the RDF data
392
392
  * @param stream Input stream with RDF data
393
393
  */
394
- add_rdf(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream): void
394
+ add_rdf(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream): void
395
395
  /**
396
396
  * Adds the RDF represented by `resource` to `batch`.
397
397
  * @param graph RDF graph to insert the resource to
@@ -402,7 +402,7 @@ export interface Batch {
402
402
  * Adds an SPARQL update string to `batch`.
403
403
  * @param sparql A SPARQL update string
404
404
  */
405
- add_sparql(sparql: string | null): void
405
+ add_sparql(sparql: string): void
406
406
  /**
407
407
  * Adds a [class`Tracker`.SparqlStatement] containing an SPARQL update. The statement will
408
408
  * be executed once in the batch, with the values bound as specified by `variable_names`
@@ -534,6 +534,10 @@ export module Endpoint {
534
534
  * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
535
535
  */
536
536
  sparql_connection?: SparqlConnection | null
537
+ /**
538
+ * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
539
+ */
540
+ sparqlConnection?: SparqlConnection | null
537
541
  }
538
542
 
539
543
  }
@@ -546,6 +550,10 @@ export interface Endpoint {
546
550
  * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
547
551
  */
548
552
  readonly sparql_connection: SparqlConnection
553
+ /**
554
+ * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
555
+ */
556
+ readonly sparqlConnection: SparqlConnection
549
557
 
550
558
  // Own fields of Tracker-3.0.Tracker.Endpoint
551
559
 
@@ -616,6 +624,14 @@ export module EndpointDBus {
616
624
  * The DBus object path that this endpoint manages.
617
625
  */
618
626
  object_path?: string | null
627
+ /**
628
+ * The [class`Gio`.DBusConnection] where the connection is proxied through.
629
+ */
630
+ dbusConnection?: Gio.DBusConnection | null
631
+ /**
632
+ * The DBus object path that this endpoint manages.
633
+ */
634
+ objectPath?: string | null
619
635
  }
620
636
 
621
637
  }
@@ -628,10 +644,18 @@ export interface EndpointDBus extends Gio.Initable {
628
644
  * The [class`Gio`.DBusConnection] where the connection is proxied through.
629
645
  */
630
646
  readonly dbus_connection: Gio.DBusConnection
647
+ /**
648
+ * The [class`Gio`.DBusConnection] where the connection is proxied through.
649
+ */
650
+ readonly dbusConnection: Gio.DBusConnection
631
651
  /**
632
652
  * The DBus object path that this endpoint manages.
633
653
  */
634
654
  readonly object_path: string | null
655
+ /**
656
+ * The DBus object path that this endpoint manages.
657
+ */
658
+ readonly objectPath: string | null
635
659
 
636
660
  // Class property signals of Tracker-3.0.Tracker.EndpointDBus
637
661
 
@@ -748,6 +772,14 @@ export module EndpointHttp {
748
772
  * HTTP port used to listen requests.
749
773
  */
750
774
  http_port?: number | null
775
+ /**
776
+ * [class`Gio`.TlsCertificate] to encrypt the communication.
777
+ */
778
+ httpCertificate?: Gio.TlsCertificate | null
779
+ /**
780
+ * HTTP port used to listen requests.
781
+ */
782
+ httpPort?: number | null
751
783
  }
752
784
 
753
785
  }
@@ -760,10 +792,18 @@ export interface EndpointHttp extends Gio.Initable {
760
792
  * [class`Gio`.TlsCertificate] to encrypt the communication.
761
793
  */
762
794
  readonly http_certificate: Gio.TlsCertificate
795
+ /**
796
+ * [class`Gio`.TlsCertificate] to encrypt the communication.
797
+ */
798
+ readonly httpCertificate: Gio.TlsCertificate
763
799
  /**
764
800
  * HTTP port used to listen requests.
765
801
  */
766
802
  readonly http_port: number
803
+ /**
804
+ * HTTP port used to listen requests.
805
+ */
806
+ readonly httpPort: number
767
807
 
768
808
  // Own signals of Tracker-3.0.Tracker.EndpointHttp
769
809
 
@@ -892,7 +932,7 @@ export interface NamespaceManager {
892
932
  * @param prefix a short, unique prefix to identify `namespace`
893
933
  * @param ns the URL of the given namespace
894
934
  */
895
- add_prefix(prefix: string | null, ns: string | null): void
935
+ add_prefix(prefix: string, ns: string): void
896
936
  /**
897
937
  * If `uri` begins with one of the namespaces known to this
898
938
  * `TrackerNamespaceManager`, then the return value will be the
@@ -900,7 +940,7 @@ export interface NamespaceManager {
900
940
  * @param uri a URI or compact URI
901
941
  * @returns (nullable): the compressed URI
902
942
  */
903
- compress_uri(uri: string | null): string | null
943
+ compress_uri(uri: string): string | null
904
944
  /**
905
945
  * If `compact_uri` begins with one of the prefixes known to this
906
946
  * `TrackerNamespaceManager`, then the return value will be the
@@ -908,7 +948,7 @@ export interface NamespaceManager {
908
948
  * @param compact_uri a URI or compact URI
909
949
  * @returns The possibly expanded URI in a newly-allocated string.
910
950
  */
911
- expand_uri(compact_uri: string | null): string | null
951
+ expand_uri(compact_uri: string): string | null
912
952
  /**
913
953
  * Calls `func` for each known prefix / URI pair.
914
954
  * @param func the function to call for each prefix / URI pair
@@ -919,14 +959,14 @@ export interface NamespaceManager {
919
959
  * @param prefix a string
920
960
  * @returns %TRUE if the `TrackerNamespaceManager` knows about @prefix, %FALSE otherwise
921
961
  */
922
- has_prefix(prefix: string | null): boolean
962
+ has_prefix(prefix: string): boolean
923
963
  /**
924
964
  * Looks up the namespace URI corresponding to `prefix,` or %NULL if the prefix
925
965
  * is not known.
926
966
  * @param prefix a string
927
967
  * @returns a string owned by the `TrackerNamespaceManager`, or %NULL
928
968
  */
929
- lookup_prefix(prefix: string | null): string | null
969
+ lookup_prefix(prefix: string): string | null
930
970
  /**
931
971
  * Writes out all namespaces as ``prefix`` statements in
932
972
  * the [Turtle](https://www.w3.org/TR/turtle/) RDF format.
@@ -1051,7 +1091,7 @@ export interface Notifier {
1051
1091
  * @param graph Graph to listen events for, or %NULL
1052
1092
  * @returns An ID for this subscription
1053
1093
  */
1054
- signal_subscribe(connection: Gio.DBusConnection, service: string | null, object_path: string | null, graph: string | null): number
1094
+ signal_subscribe(connection: Gio.DBusConnection, service: string, object_path: string | null, graph: string | null): number
1055
1095
  /**
1056
1096
  * Undoes a signal subscription done through [method`Tracker`.Notifier.signal_subscribe].
1057
1097
  *
@@ -1167,7 +1207,7 @@ export interface Resource {
1167
1207
  * @param property_uri A string identifying the property to modify
1168
1208
  * @param value The property boolean value
1169
1209
  */
1170
- add_boolean(property_uri: string | null, value: boolean): void
1210
+ add_boolean(property_uri: string, value: boolean): void
1171
1211
  /**
1172
1212
  * Adds a date property as a [type`GLib`.DateTime]. Previous values for the
1173
1213
  * same property are kept.
@@ -1180,7 +1220,7 @@ export interface Resource {
1180
1220
  * @param property_uri a string identifying the property to modify
1181
1221
  * @param value the property object
1182
1222
  */
1183
- add_datetime(property_uri: string | null, value: GLib.DateTime): void
1223
+ add_datetime(property_uri: string, value: GLib.DateTime): void
1184
1224
  /**
1185
1225
  * Adds a numeric property with double precision. Previous values for the same property are kept.
1186
1226
  *
@@ -1191,7 +1231,7 @@ export interface Resource {
1191
1231
  * @param property_uri a string identifying the property to modify
1192
1232
  * @param value the property object
1193
1233
  */
1194
- add_double(property_uri: string | null, value: number): void
1234
+ add_double(property_uri: string, value: number): void
1195
1235
  /**
1196
1236
  * Add `value` to the list of values for given property.
1197
1237
  *
@@ -1201,7 +1241,7 @@ export interface Resource {
1201
1241
  * @param property_uri a string identifying the property to set
1202
1242
  * @param value an initialised [struct`GObject`.Value]
1203
1243
  */
1204
- add_gvalue(property_uri: string | null, value: any): void
1244
+ add_gvalue(property_uri: string, value: any): void
1205
1245
  /**
1206
1246
  * Adds a numeric property with integer precision. Previous values for the same property are kept.
1207
1247
  *
@@ -1212,7 +1252,7 @@ export interface Resource {
1212
1252
  * @param property_uri a string identifying the property to modify
1213
1253
  * @param value the property object
1214
1254
  */
1215
- add_int(property_uri: string | null, value: number): void
1255
+ add_int(property_uri: string, value: number): void
1216
1256
  /**
1217
1257
  * Adds a numeric property with 64-bit integer precision. Previous values for the same property are kept.
1218
1258
  *
@@ -1223,7 +1263,7 @@ export interface Resource {
1223
1263
  * @param property_uri a string identifying the property to modify
1224
1264
  * @param value the property object
1225
1265
  */
1226
- add_int64(property_uri: string | null, value: number): void
1266
+ add_int64(property_uri: string, value: number): void
1227
1267
  /**
1228
1268
  * Adds a resource property as a `TrackerResource`. Previous values for the same property are kept.
1229
1269
  *
@@ -1240,7 +1280,7 @@ export interface Resource {
1240
1280
  * @param property_uri a string identifying the property to modify
1241
1281
  * @param resource the property object
1242
1282
  */
1243
- add_relation(property_uri: string | null, resource: Resource): void
1283
+ add_relation(property_uri: string, resource: Resource): void
1244
1284
  /**
1245
1285
  * Adds a string property. Previous values for the same property are kept.
1246
1286
  *
@@ -1251,7 +1291,7 @@ export interface Resource {
1251
1291
  * @param property_uri a string identifying the property to modify
1252
1292
  * @param value the property object
1253
1293
  */
1254
- add_string(property_uri: string | null, value: string | null): void
1294
+ add_string(property_uri: string, value: string): void
1255
1295
  /**
1256
1296
  * Adds a resource property as a `TrackerResource`. Previous values for the same property are kept.
1257
1297
  * Takes ownership on the given `resource`.
@@ -1269,7 +1309,7 @@ export interface Resource {
1269
1309
  * @param property_uri a string identifying the property to modify
1270
1310
  * @param resource the property object
1271
1311
  */
1272
- add_take_relation(property_uri: string | null, resource: Resource): void
1312
+ add_take_relation(property_uri: string, resource: Resource): void
1273
1313
  /**
1274
1314
  * Adds a resource property as an URI string. Previous values for the same property are kept.
1275
1315
  *
@@ -1285,55 +1325,55 @@ export interface Resource {
1285
1325
  * @param property_uri a string identifying the property to modify
1286
1326
  * @param value the property object
1287
1327
  */
1288
- add_uri(property_uri: string | null, value: string | null): void
1328
+ add_uri(property_uri: string, value: string): void
1289
1329
  /**
1290
1330
  * Returns the first boolean object previously assigned to a property.
1291
1331
  * @param property_uri a string identifying the property to look up
1292
1332
  * @returns the first boolean object
1293
1333
  */
1294
- get_first_boolean(property_uri: string | null): boolean
1334
+ get_first_boolean(property_uri: string): boolean
1295
1335
  /**
1296
1336
  * Returns the first [type`GLib`.DateTime] previously assigned to a property.
1297
1337
  * @param property_uri a string identifying the property to look up
1298
1338
  * @returns the first GDateTime object
1299
1339
  */
1300
- get_first_datetime(property_uri: string | null): GLib.DateTime | null
1340
+ get_first_datetime(property_uri: string): GLib.DateTime | null
1301
1341
  /**
1302
1342
  * Returns the first double object previously assigned to a property.
1303
1343
  * @param property_uri a string identifying the property to look up
1304
1344
  * @returns the first double object
1305
1345
  */
1306
- get_first_double(property_uri: string | null): number
1346
+ get_first_double(property_uri: string): number
1307
1347
  /**
1308
1348
  * Returns the first integer object previously assigned to a property.
1309
1349
  * @param property_uri a string identifying the property to look up
1310
1350
  * @returns the first integer object
1311
1351
  */
1312
- get_first_int(property_uri: string | null): number
1352
+ get_first_int(property_uri: string): number
1313
1353
  /**
1314
1354
  * Returns the first integer object previously assigned to a property.
1315
1355
  * @param property_uri a string identifying the property to look up
1316
1356
  * @returns the first integer object
1317
1357
  */
1318
- get_first_int64(property_uri: string | null): number
1358
+ get_first_int64(property_uri: string): number
1319
1359
  /**
1320
1360
  * Returns the first resource object previously assigned to a property.
1321
1361
  * @param property_uri a string identifying the property to look up
1322
1362
  * @returns the first resource object
1323
1363
  */
1324
- get_first_relation(property_uri: string | null): Resource | null
1364
+ get_first_relation(property_uri: string): Resource | null
1325
1365
  /**
1326
1366
  * Returns the first string object previously assigned to a property.
1327
1367
  * @param property_uri a string identifying the property to look up
1328
1368
  * @returns the first string object
1329
1369
  */
1330
- get_first_string(property_uri: string | null): string | null
1370
+ get_first_string(property_uri: string): string | null
1331
1371
  /**
1332
1372
  * Returns the first resource object previously assigned to a property.
1333
1373
  * @param property_uri a string identifying the property to look up
1334
1374
  * @returns the first resource object as an URI.
1335
1375
  */
1336
- get_first_uri(property_uri: string | null): string | null
1376
+ get_first_uri(property_uri: string): string | null
1337
1377
  /**
1338
1378
  * Returns the identifier of a resource.
1339
1379
  *
@@ -1353,20 +1393,20 @@ export interface Resource {
1353
1393
  * @param property_uri a string identifying the property to query
1354
1394
  * @returns #TRUE if the property would be overwritten
1355
1395
  */
1356
- get_property_overwrite(property_uri: string | null): boolean
1396
+ get_property_overwrite(property_uri: string): boolean
1357
1397
  /**
1358
1398
  * Returns the list of all known values of the given property.
1359
1399
  * @param property_uri a string identifying the property to look up
1360
1400
  * @returns a [struct@GLib.List] of [struct@GObject.Value] instances. The list should be freed with [func@GLib.List.free]
1361
1401
  */
1362
- get_values(property_uri: string | null): any[] | null
1402
+ get_values(property_uri: string): any[] | null
1363
1403
  /**
1364
1404
  * A helper function that compares a `TrackerResource` by its identifier
1365
1405
  * string.
1366
1406
  * @param identifier a string identifying the resource
1367
1407
  * @returns an integer less than, equal to, or greater than zero, if the resource identifier is <, == or > than @identifier
1368
1408
  */
1369
- identifier_compare_func(identifier: string | null): number
1409
+ identifier_compare_func(identifier: string): number
1370
1410
  /**
1371
1411
  * Serialize all the information in `resource` as a JSON-LD document.
1372
1412
  *
@@ -1431,7 +1471,7 @@ export interface Resource {
1431
1471
  * @param property_uri A string identifying the property to modify
1432
1472
  * @param value The property boolean value
1433
1473
  */
1434
- set_boolean(property_uri: string | null, value: boolean): void
1474
+ set_boolean(property_uri: string, value: boolean): void
1435
1475
  /**
1436
1476
  * Sets a date property as a [type`GLib`.DateTime]. Replaces any previous value.
1437
1477
  *
@@ -1440,7 +1480,7 @@ export interface Resource {
1440
1480
  * @param property_uri a string identifying the property to modify
1441
1481
  * @param value the property object
1442
1482
  */
1443
- set_datetime(property_uri: string | null, value: GLib.DateTime): void
1483
+ set_datetime(property_uri: string, value: GLib.DateTime): void
1444
1484
  /**
1445
1485
  * Sets a numeric property with double precision. Replaces any previous value.
1446
1486
  *
@@ -1448,7 +1488,7 @@ export interface Resource {
1448
1488
  * @param property_uri A string identifying the property to modify
1449
1489
  * @param value The property object
1450
1490
  */
1451
- set_double(property_uri: string | null, value: number): void
1491
+ set_double(property_uri: string, value: number): void
1452
1492
  /**
1453
1493
  * Replace any previously existing value for `property_uri` with `value`.
1454
1494
  *
@@ -1462,7 +1502,7 @@ export interface Resource {
1462
1502
  * @param property_uri a string identifying the property to set
1463
1503
  * @param value an initialised [struct`GObject`.Value]
1464
1504
  */
1465
- set_gvalue(property_uri: string | null, value: any): void
1505
+ set_gvalue(property_uri: string, value: any): void
1466
1506
  /**
1467
1507
  * Changes the identifier of a `TrackerResource`. The identifier should be a
1468
1508
  * URI or compact URI, but this is not necessarily enforced. Invalid
@@ -1481,7 +1521,7 @@ export interface Resource {
1481
1521
  * @param property_uri A string identifying the property to modify
1482
1522
  * @param value The property object
1483
1523
  */
1484
- set_int(property_uri: string | null, value: number): void
1524
+ set_int(property_uri: string, value: number): void
1485
1525
  /**
1486
1526
  * Sets a numeric property with 64-bit integer precision. Replaces any previous value.
1487
1527
  *
@@ -1489,7 +1529,7 @@ export interface Resource {
1489
1529
  * @param property_uri a string identifying the property to modify
1490
1530
  * @param value the property object
1491
1531
  */
1492
- set_int64(property_uri: string | null, value: number): void
1532
+ set_int64(property_uri: string, value: number): void
1493
1533
  /**
1494
1534
  * Sets a resource property as a `TrackerResource`. Replaces any previous value.
1495
1535
  *
@@ -1503,7 +1543,7 @@ export interface Resource {
1503
1543
  * @param property_uri a string identifying the property to modify
1504
1544
  * @param resource the property object
1505
1545
  */
1506
- set_relation(property_uri: string | null, resource: Resource): void
1546
+ set_relation(property_uri: string, resource: Resource): void
1507
1547
  /**
1508
1548
  * Sets a string property. Replaces any previous value.
1509
1549
  *
@@ -1511,7 +1551,7 @@ export interface Resource {
1511
1551
  * @param property_uri a string identifying the property to modify
1512
1552
  * @param value the property object
1513
1553
  */
1514
- set_string(property_uri: string | null, value: string | null): void
1554
+ set_string(property_uri: string, value: string): void
1515
1555
  /**
1516
1556
  * Sets a resource property as a `TrackerResource`. Replaces any previous value.
1517
1557
  * Takes ownership on the given `resource`.
@@ -1526,7 +1566,7 @@ export interface Resource {
1526
1566
  * @param property_uri a string identifying the property to modify
1527
1567
  * @param resource the property object
1528
1568
  */
1529
- set_take_relation(property_uri: string | null, resource: Resource): void
1569
+ set_take_relation(property_uri: string, resource: Resource): void
1530
1570
  /**
1531
1571
  * Sets a resource property as an URI string. Replaces any previous value.
1532
1572
  *
@@ -1539,7 +1579,7 @@ export interface Resource {
1539
1579
  * @param property_uri a string identifying the property to modify
1540
1580
  * @param value the property object
1541
1581
  */
1542
- set_uri(property_uri: string | null, value: string | null): void
1582
+ set_uri(property_uri: string, value: string): void
1543
1583
 
1544
1584
  // Class property signals of Tracker-3.0.Tracker.Resource
1545
1585
 
@@ -1710,7 +1750,7 @@ export interface SparqlConnection {
1710
1750
  * @param cancellable Optional [type`Gio`.Cancellable]
1711
1751
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1712
1752
  */
1713
- deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1753
+ deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1714
1754
 
1715
1755
  // Overloads of deserialize_async
1716
1756
 
@@ -1736,7 +1776,7 @@ export interface SparqlConnection {
1736
1776
  * @param cancellable Optional [type`Gio`.Cancellable]
1737
1777
  * @returns A Promise of: %TRUE if all data was inserted successfully.
1738
1778
  */
1739
- deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1779
+ deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1740
1780
  /**
1741
1781
  * Finishes the operation started with [method`Tracker`.SparqlConnection.deserialize_async].
1742
1782
  * @param result A [type`Gio`.AsyncResult] with the result of the operation
@@ -1760,7 +1800,7 @@ export interface SparqlConnection {
1760
1800
  * @param cancellable Optional [type`Gio`.Cancellable]
1761
1801
  * @returns A prepared statement
1762
1802
  */
1763
- load_statement_from_gresource(resource_path: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
1803
+ load_statement_from_gresource(resource_path: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
1764
1804
  /**
1765
1805
  * Maps a `TrackerSparqlConnection` onto another through a `private:`handle_name`` URI.
1766
1806
  *
@@ -1790,7 +1830,7 @@ export interface SparqlConnection {
1790
1830
  * @param handle_name Handle name for `service_connection`
1791
1831
  * @param service_connection a `TrackerSparqlConnection` to use from `connection`
1792
1832
  */
1793
- map_connection(handle_name: string | null, service_connection: SparqlConnection): void
1833
+ map_connection(handle_name: string, service_connection: SparqlConnection): void
1794
1834
  /**
1795
1835
  * Executes a SPARQL query on `connection`.
1796
1836
  *
@@ -1808,7 +1848,7 @@ export interface SparqlConnection {
1808
1848
  * @param cancellable Optional [type`Gio`.Cancellable]
1809
1849
  * @returns a [class@Tracker.SparqlCursor] with the results.
1810
1850
  */
1811
- query(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlCursor
1851
+ query(sparql: string, cancellable: Gio.Cancellable | null): SparqlCursor
1812
1852
  /**
1813
1853
  * Executes asynchronously a SPARQL query on `connection`
1814
1854
  *
@@ -1822,7 +1862,7 @@ export interface SparqlConnection {
1822
1862
  * @param cancellable Optional [type`Gio`.Cancellable]
1823
1863
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1824
1864
  */
1825
- query_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1865
+ query_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1826
1866
 
1827
1867
  // Overloads of query_async
1828
1868
 
@@ -1841,7 +1881,7 @@ export interface SparqlConnection {
1841
1881
  * @param cancellable Optional [type`Gio`.Cancellable]
1842
1882
  * @returns A Promise of: a [class@Tracker.SparqlCursor] with the results.
1843
1883
  */
1844
- query_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
1884
+ query_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
1845
1885
  /**
1846
1886
  * Finishes the operation started with [method`Tracker`.SparqlConnection.query_async].
1847
1887
  * @param res A [type`Gio`.AsyncResult] with the result of the operation
@@ -1858,7 +1898,7 @@ export interface SparqlConnection {
1858
1898
  * @param cancellable Optional [type`Gio`.Cancellable]
1859
1899
  * @returns A prepared statement
1860
1900
  */
1861
- query_statement(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
1901
+ query_statement(sparql: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
1862
1902
  /**
1863
1903
  * Serializes a `DESCRIBE` or `CONSTRUCT` query into the specified RDF format.
1864
1904
  *
@@ -1876,7 +1916,7 @@ export interface SparqlConnection {
1876
1916
  * @param cancellable Optional [type`Gio`.Cancellable]
1877
1917
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1878
1918
  */
1879
- serialize_async(flags: SerializeFlags, format: RdfFormat, query: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1919
+ serialize_async(flags: SerializeFlags, format: RdfFormat, query: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1880
1920
 
1881
1921
  // Overloads of serialize_async
1882
1922
 
@@ -1899,7 +1939,7 @@ export interface SparqlConnection {
1899
1939
  * @param cancellable Optional [type`Gio`.Cancellable]
1900
1940
  * @returns A Promise of: A [class@Gio.InputStream] to read RDF content.
1901
1941
  */
1902
- serialize_async(flags: SerializeFlags, format: RdfFormat, query: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
1942
+ serialize_async(flags: SerializeFlags, format: RdfFormat, query: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
1903
1943
  /**
1904
1944
  * Finishes the operation started with [method`Tracker`.SparqlConnection.serialize_async].
1905
1945
  * @param result A [type`Gio`.AsyncResult] with the result of the operation
@@ -1927,7 +1967,7 @@ export interface SparqlConnection {
1927
1967
  * @param sparql String containing the SPARQL update query
1928
1968
  * @param cancellable Optional [type`Gio`.Cancellable]
1929
1969
  */
1930
- update(sparql: string | null, cancellable: Gio.Cancellable | null): void
1970
+ update(sparql: string, cancellable: Gio.Cancellable | null): void
1931
1971
  /**
1932
1972
  * Executes asynchronously an array of SPARQL updates. All updates in the
1933
1973
  * array are handled within a single transaction.
@@ -1991,7 +2031,7 @@ export interface SparqlConnection {
1991
2031
  * @param cancellable Optional [type`Gio`.Cancellable]
1992
2032
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1993
2033
  */
1994
- update_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2034
+ update_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1995
2035
 
1996
2036
  // Overloads of update_async
1997
2037
 
@@ -2015,7 +2055,7 @@ export interface SparqlConnection {
2015
2055
  * @param cancellable Optional [type`Gio`.Cancellable]
2016
2056
  * @returns A Promise of the result of {@link update_async}
2017
2057
  */
2018
- update_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<void>
2058
+ update_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<void>
2019
2059
  /**
2020
2060
  * Executes a SPARQL update and returns the names of the generated blank nodes.
2021
2061
  *
@@ -2037,7 +2077,7 @@ export interface SparqlConnection {
2037
2077
  * @param cancellable Optional [type`Gio`.Cancellable]
2038
2078
  * @returns a [type@GLib.Variant] with the generated URNs.
2039
2079
  */
2040
- update_blank(sparql: string | null, cancellable: Gio.Cancellable | null): GLib.Variant
2080
+ update_blank(sparql: string, cancellable: Gio.Cancellable | null): GLib.Variant
2041
2081
  /**
2042
2082
  * Executes asynchronously a SPARQL update and returns the names of the generated blank nodes.
2043
2083
  *
@@ -2047,7 +2087,7 @@ export interface SparqlConnection {
2047
2087
  * @param cancellable Optional [type`Gio`.Cancellable]
2048
2088
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
2049
2089
  */
2050
- update_blank_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2090
+ update_blank_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2051
2091
 
2052
2092
  // Overloads of update_blank_async
2053
2093
 
@@ -2062,7 +2102,7 @@ export interface SparqlConnection {
2062
2102
  * @param cancellable Optional [type`Gio`.Cancellable]
2063
2103
  * @returns A Promise of: a [type@GLib.Variant] with the generated URNs.
2064
2104
  */
2065
- update_blank_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<GLib.Variant>
2105
+ update_blank_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<GLib.Variant>
2066
2106
  /**
2067
2107
  * Finishes the operation started with [method`Tracker`.SparqlConnection.update_blank_async].
2068
2108
  *
@@ -2138,7 +2178,7 @@ export interface SparqlConnection {
2138
2178
  * @param cancellable Optional [type`Gio`.Cancellable]
2139
2179
  * @returns A prepared statement
2140
2180
  */
2141
- update_statement(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
2181
+ update_statement(sparql: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
2142
2182
 
2143
2183
  // Class property signals of Tracker-3.0.Tracker.SparqlConnection
2144
2184
 
@@ -2229,7 +2269,7 @@ export class SparqlConnection extends GObject.Object {
2229
2269
  * @param dbus_connection The [type`Gio`.DBusConnection] to use, or %NULL to use the session bus
2230
2270
  * @returns a new `TrackerSparqlConnection`.
2231
2271
  */
2232
- static bus_new(service_name: string | null, object_path: string | null, dbus_connection: Gio.DBusConnection | null): SparqlConnection
2272
+ static bus_new(service_name: string, object_path: string | null, dbus_connection: Gio.DBusConnection | null): SparqlConnection
2233
2273
  /**
2234
2274
  * Finishes the operation started with [func`Tracker`.SparqlConnection.bus_new_async].
2235
2275
  * @constructor
@@ -2336,7 +2376,7 @@ export class SparqlConnection extends GObject.Object {
2336
2376
  * @param uri_base Base URI of the remote connection
2337
2377
  * @returns a new remote `TrackerSparqlConnection`.
2338
2378
  */
2339
- static remote_new(uri_base: string | null): SparqlConnection
2379
+ static remote_new(uri_base: string): SparqlConnection
2340
2380
  _init(config?: SparqlConnection.ConstructorProperties): void
2341
2381
  /**
2342
2382
  * Creates or opens a process-local database asynchronously.
@@ -2358,7 +2398,7 @@ export class SparqlConnection extends GObject.Object {
2358
2398
  * @param cancellable Optional [type`Gio`.Cancellable]
2359
2399
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
2360
2400
  */
2361
- static bus_new_async(service_name: string | null, object_path: string | null, dbus_connection: Gio.DBusConnection | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<SparqlConnection> | null): void
2401
+ static bus_new_async(service_name: string, object_path: string | null, dbus_connection: Gio.DBusConnection | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<SparqlConnection> | null): void
2362
2402
  }
2363
2403
 
2364
2404
  export module SparqlCursor {
@@ -2389,6 +2429,10 @@ export interface SparqlCursor {
2389
2429
  * Number of columns available in the result set.
2390
2430
  */
2391
2431
  readonly n_columns: number
2432
+ /**
2433
+ * Number of columns available in the result set.
2434
+ */
2435
+ readonly nColumns: number
2392
2436
 
2393
2437
  // Own fields of Tracker-3.0.Tracker.SparqlCursor
2394
2438
 
@@ -2647,31 +2691,31 @@ export interface SparqlStatement {
2647
2691
  * @param name variable name
2648
2692
  * @param value value
2649
2693
  */
2650
- bind_boolean(name: string | null, value: boolean): void
2694
+ bind_boolean(name: string, value: boolean): void
2651
2695
  /**
2652
2696
  * Binds the [type`GLib`.DateTime] `value` to the parameterized variable given by `name`.
2653
2697
  * @param name variable name
2654
2698
  * @param value value
2655
2699
  */
2656
- bind_datetime(name: string | null, value: GLib.DateTime): void
2700
+ bind_datetime(name: string, value: GLib.DateTime): void
2657
2701
  /**
2658
2702
  * Binds the double `value` to the parameterized variable given by `name`.
2659
2703
  * @param name variable name
2660
2704
  * @param value value
2661
2705
  */
2662
- bind_double(name: string | null, value: number): void
2706
+ bind_double(name: string, value: number): void
2663
2707
  /**
2664
2708
  * Binds the integer `value` to the parameterized variable given by `name`.
2665
2709
  * @param name variable name
2666
2710
  * @param value value
2667
2711
  */
2668
- bind_int(name: string | null, value: number): void
2712
+ bind_int(name: string, value: number): void
2669
2713
  /**
2670
2714
  * Binds the string `value` to the parameterized variable given by `name`.
2671
2715
  * @param name variable name
2672
2716
  * @param value value
2673
2717
  */
2674
- bind_string(name: string | null, value: string | null): void
2718
+ bind_string(name: string, value: string): void
2675
2719
  /**
2676
2720
  * Clears all bindings.
2677
2721
  */
@@ -2748,7 +2792,7 @@ export interface SparqlStatement {
2748
2792
  * Returns the SPARQL string that this prepared statement holds.
2749
2793
  * @returns The contained SPARQL query
2750
2794
  */
2751
- get_sparql(): string | null
2795
+ get_sparql(): string
2752
2796
  /**
2753
2797
  * Serializes a `DESCRIBE` or `CONSTRUCT` query into the given RDF `format`.
2754
2798
  *
@@ -2980,7 +3024,7 @@ export interface NotifierEvent {
2980
3024
  * notified upon, typically of the form `urn:uuid:...`.
2981
3025
  * @returns The element URN
2982
3026
  */
2983
- get_urn(): string | null
3027
+ get_urn(): string
2984
3028
  }
2985
3029
 
2986
3030
  /**