@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.ts CHANGED
@@ -244,59 +244,59 @@ const MINOR_VERSION: number
244
244
  /**
245
245
  * The Prefix of the DC (Dublin Core) namespace
246
246
  */
247
- const PREFIX_DC: string | null
247
+ const PREFIX_DC: string
248
248
  /**
249
249
  * The Prefix of the MFO namespace
250
250
  */
251
- const PREFIX_MFO: string | null
251
+ const PREFIX_MFO: string
252
252
  /**
253
253
  * The Prefix of the NAO namespace
254
254
  */
255
- const PREFIX_NAO: string | null
255
+ const PREFIX_NAO: string
256
256
  /**
257
257
  * The Prefix of the NCO namespace
258
258
  */
259
- const PREFIX_NCO: string | null
259
+ const PREFIX_NCO: string
260
260
  /**
261
261
  * The Prefix of the NFO namespace
262
262
  */
263
- const PREFIX_NFO: string | null
263
+ const PREFIX_NFO: string
264
264
  /**
265
265
  * The Prefix of the NIE namespace
266
266
  */
267
- const PREFIX_NIE: string | null
267
+ const PREFIX_NIE: string
268
268
  /**
269
269
  * The Prefix of the RDF namespace
270
270
  */
271
- const PREFIX_NMM: string | null
271
+ const PREFIX_NMM: string
272
272
  /**
273
273
  * The Prefix of the NRL namespace
274
274
  */
275
- const PREFIX_NRL: string | null
275
+ const PREFIX_NRL: string
276
276
  /**
277
277
  * The Prefix of the Osinfo namespace
278
278
  */
279
- const PREFIX_OSINFO: string | null
279
+ const PREFIX_OSINFO: string
280
280
  /**
281
281
  * The Prefix of the RDF namespace
282
282
  */
283
- const PREFIX_RDF: string | null
283
+ const PREFIX_RDF: string
284
284
  /**
285
285
  * The Prefix of the RDFS namespace
286
286
  */
287
- const PREFIX_RDFS: string | null
287
+ const PREFIX_RDFS: string
288
288
  /**
289
289
  * The Prefix of the SLO namespace
290
290
  */
291
- const PREFIX_SLO: string | null
291
+ const PREFIX_SLO: string
292
292
  /**
293
293
  * The Prefix of the Tracker namespace
294
294
  */
295
- const PREFIX_TRACKER: string | null
295
+ const PREFIX_TRACKER: string
296
296
  /**
297
297
  * The Prefix of the XSD namespace
298
298
  */
299
- const PREFIX_XSD: string | null
299
+ const PREFIX_XSD: string
300
300
  /**
301
301
  * Checks that the Tracker library in use is compatible with the given version.
302
302
  *
@@ -318,7 +318,7 @@ const PREFIX_XSD: string | null
318
318
  * @param required_micro the required micro version.
319
319
  * @returns %NULL if the Tracker library is compatible with the given version, or a string describing the version mismatch.
320
320
  */
321
- function check_version(required_major: number, required_minor: number, required_micro: number): string | null
321
+ function check_version(required_major: number, required_minor: number, required_micro: number): string
322
322
  function sparql_error_quark(): GLib.Quark
323
323
  /**
324
324
  * Escapes `literal` so it is suitable for insertion in
@@ -330,13 +330,13 @@ function sparql_error_quark(): GLib.Quark
330
330
  * @param literal a string to escape
331
331
  * @returns the escaped string
332
332
  */
333
- function sparql_escape_string(literal: string | null): string | null
333
+ function sparql_escape_string(literal: string): string | null
334
334
  /**
335
335
  * Escapes a string for use as a URI.
336
336
  * @param uri a string to be escaped, following the tracker sparql rules
337
337
  * @returns a newly-allocated string holding the result.
338
338
  */
339
- function sparql_escape_uri(uri: string | null): string | null
339
+ function sparql_escape_uri(uri: string): string | null
340
340
  /**
341
341
  * Returns a path to the built-in Nepomuk ontologies.
342
342
  * @returns a #GFile instance.
@@ -393,7 +393,7 @@ interface Batch {
393
393
  * @param default_graph Default graph that will receive the RDF data
394
394
  * @param stream Input stream with RDF data
395
395
  */
396
- add_rdf(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream): void
396
+ add_rdf(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream): void
397
397
  /**
398
398
  * Adds the RDF represented by `resource` to `batch`.
399
399
  * @param graph RDF graph to insert the resource to
@@ -404,7 +404,7 @@ interface Batch {
404
404
  * Adds an SPARQL update string to `batch`.
405
405
  * @param sparql A SPARQL update string
406
406
  */
407
- add_sparql(sparql: string | null): void
407
+ add_sparql(sparql: string): void
408
408
  /**
409
409
  * Adds a [class`Tracker`.SparqlStatement] containing an SPARQL update. The statement will
410
410
  * be executed once in the batch, with the values bound as specified by `variable_names`
@@ -536,6 +536,10 @@ module Endpoint {
536
536
  * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
537
537
  */
538
538
  sparql_connection?: SparqlConnection | null
539
+ /**
540
+ * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
541
+ */
542
+ sparqlConnection?: SparqlConnection | null
539
543
  }
540
544
 
541
545
  }
@@ -548,6 +552,10 @@ interface Endpoint {
548
552
  * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
549
553
  */
550
554
  readonly sparql_connection: SparqlConnection
555
+ /**
556
+ * The [class`Tracker`.SparqlConnection] being proxied by this endpoint.
557
+ */
558
+ readonly sparqlConnection: SparqlConnection
551
559
 
552
560
  // Own fields of Tracker-3.0.Tracker.Endpoint
553
561
 
@@ -618,6 +626,14 @@ module EndpointDBus {
618
626
  * The DBus object path that this endpoint manages.
619
627
  */
620
628
  object_path?: string | null
629
+ /**
630
+ * The [class`Gio`.DBusConnection] where the connection is proxied through.
631
+ */
632
+ dbusConnection?: Gio.DBusConnection | null
633
+ /**
634
+ * The DBus object path that this endpoint manages.
635
+ */
636
+ objectPath?: string | null
621
637
  }
622
638
 
623
639
  }
@@ -630,10 +646,18 @@ interface EndpointDBus extends Gio.Initable {
630
646
  * The [class`Gio`.DBusConnection] where the connection is proxied through.
631
647
  */
632
648
  readonly dbus_connection: Gio.DBusConnection
649
+ /**
650
+ * The [class`Gio`.DBusConnection] where the connection is proxied through.
651
+ */
652
+ readonly dbusConnection: Gio.DBusConnection
633
653
  /**
634
654
  * The DBus object path that this endpoint manages.
635
655
  */
636
656
  readonly object_path: string | null
657
+ /**
658
+ * The DBus object path that this endpoint manages.
659
+ */
660
+ readonly objectPath: string | null
637
661
 
638
662
  // Class property signals of Tracker-3.0.Tracker.EndpointDBus
639
663
 
@@ -750,6 +774,14 @@ module EndpointHttp {
750
774
  * HTTP port used to listen requests.
751
775
  */
752
776
  http_port?: number | null
777
+ /**
778
+ * [class`Gio`.TlsCertificate] to encrypt the communication.
779
+ */
780
+ httpCertificate?: Gio.TlsCertificate | null
781
+ /**
782
+ * HTTP port used to listen requests.
783
+ */
784
+ httpPort?: number | null
753
785
  }
754
786
 
755
787
  }
@@ -762,10 +794,18 @@ interface EndpointHttp extends Gio.Initable {
762
794
  * [class`Gio`.TlsCertificate] to encrypt the communication.
763
795
  */
764
796
  readonly http_certificate: Gio.TlsCertificate
797
+ /**
798
+ * [class`Gio`.TlsCertificate] to encrypt the communication.
799
+ */
800
+ readonly httpCertificate: Gio.TlsCertificate
765
801
  /**
766
802
  * HTTP port used to listen requests.
767
803
  */
768
804
  readonly http_port: number
805
+ /**
806
+ * HTTP port used to listen requests.
807
+ */
808
+ readonly httpPort: number
769
809
 
770
810
  // Own signals of Tracker-3.0.Tracker.EndpointHttp
771
811
 
@@ -894,7 +934,7 @@ interface NamespaceManager {
894
934
  * @param prefix a short, unique prefix to identify `namespace`
895
935
  * @param ns the URL of the given namespace
896
936
  */
897
- add_prefix(prefix: string | null, ns: string | null): void
937
+ add_prefix(prefix: string, ns: string): void
898
938
  /**
899
939
  * If `uri` begins with one of the namespaces known to this
900
940
  * `TrackerNamespaceManager`, then the return value will be the
@@ -902,7 +942,7 @@ interface NamespaceManager {
902
942
  * @param uri a URI or compact URI
903
943
  * @returns (nullable): the compressed URI
904
944
  */
905
- compress_uri(uri: string | null): string | null
945
+ compress_uri(uri: string): string | null
906
946
  /**
907
947
  * If `compact_uri` begins with one of the prefixes known to this
908
948
  * `TrackerNamespaceManager`, then the return value will be the
@@ -910,7 +950,7 @@ interface NamespaceManager {
910
950
  * @param compact_uri a URI or compact URI
911
951
  * @returns The possibly expanded URI in a newly-allocated string.
912
952
  */
913
- expand_uri(compact_uri: string | null): string | null
953
+ expand_uri(compact_uri: string): string | null
914
954
  /**
915
955
  * Calls `func` for each known prefix / URI pair.
916
956
  * @param func the function to call for each prefix / URI pair
@@ -921,14 +961,14 @@ interface NamespaceManager {
921
961
  * @param prefix a string
922
962
  * @returns %TRUE if the `TrackerNamespaceManager` knows about @prefix, %FALSE otherwise
923
963
  */
924
- has_prefix(prefix: string | null): boolean
964
+ has_prefix(prefix: string): boolean
925
965
  /**
926
966
  * Looks up the namespace URI corresponding to `prefix,` or %NULL if the prefix
927
967
  * is not known.
928
968
  * @param prefix a string
929
969
  * @returns a string owned by the `TrackerNamespaceManager`, or %NULL
930
970
  */
931
- lookup_prefix(prefix: string | null): string | null
971
+ lookup_prefix(prefix: string): string | null
932
972
  /**
933
973
  * Writes out all namespaces as ``prefix`` statements in
934
974
  * the [Turtle](https://www.w3.org/TR/turtle/) RDF format.
@@ -1053,7 +1093,7 @@ interface Notifier {
1053
1093
  * @param graph Graph to listen events for, or %NULL
1054
1094
  * @returns An ID for this subscription
1055
1095
  */
1056
- signal_subscribe(connection: Gio.DBusConnection, service: string | null, object_path: string | null, graph: string | null): number
1096
+ signal_subscribe(connection: Gio.DBusConnection, service: string, object_path: string | null, graph: string | null): number
1057
1097
  /**
1058
1098
  * Undoes a signal subscription done through [method`Tracker`.Notifier.signal_subscribe].
1059
1099
  *
@@ -1169,7 +1209,7 @@ interface Resource {
1169
1209
  * @param property_uri A string identifying the property to modify
1170
1210
  * @param value The property boolean value
1171
1211
  */
1172
- add_boolean(property_uri: string | null, value: boolean): void
1212
+ add_boolean(property_uri: string, value: boolean): void
1173
1213
  /**
1174
1214
  * Adds a date property as a [type`GLib`.DateTime]. Previous values for the
1175
1215
  * same property are kept.
@@ -1182,7 +1222,7 @@ interface Resource {
1182
1222
  * @param property_uri a string identifying the property to modify
1183
1223
  * @param value the property object
1184
1224
  */
1185
- add_datetime(property_uri: string | null, value: GLib.DateTime): void
1225
+ add_datetime(property_uri: string, value: GLib.DateTime): void
1186
1226
  /**
1187
1227
  * Adds a numeric property with double precision. Previous values for the same property are kept.
1188
1228
  *
@@ -1193,7 +1233,7 @@ interface Resource {
1193
1233
  * @param property_uri a string identifying the property to modify
1194
1234
  * @param value the property object
1195
1235
  */
1196
- add_double(property_uri: string | null, value: number): void
1236
+ add_double(property_uri: string, value: number): void
1197
1237
  /**
1198
1238
  * Add `value` to the list of values for given property.
1199
1239
  *
@@ -1203,7 +1243,7 @@ interface Resource {
1203
1243
  * @param property_uri a string identifying the property to set
1204
1244
  * @param value an initialised [struct`GObject`.Value]
1205
1245
  */
1206
- add_gvalue(property_uri: string | null, value: any): void
1246
+ add_gvalue(property_uri: string, value: any): void
1207
1247
  /**
1208
1248
  * Adds a numeric property with integer precision. Previous values for the same property are kept.
1209
1249
  *
@@ -1214,7 +1254,7 @@ interface Resource {
1214
1254
  * @param property_uri a string identifying the property to modify
1215
1255
  * @param value the property object
1216
1256
  */
1217
- add_int(property_uri: string | null, value: number): void
1257
+ add_int(property_uri: string, value: number): void
1218
1258
  /**
1219
1259
  * Adds a numeric property with 64-bit integer precision. Previous values for the same property are kept.
1220
1260
  *
@@ -1225,7 +1265,7 @@ interface Resource {
1225
1265
  * @param property_uri a string identifying the property to modify
1226
1266
  * @param value the property object
1227
1267
  */
1228
- add_int64(property_uri: string | null, value: number): void
1268
+ add_int64(property_uri: string, value: number): void
1229
1269
  /**
1230
1270
  * Adds a resource property as a `TrackerResource`. Previous values for the same property are kept.
1231
1271
  *
@@ -1242,7 +1282,7 @@ interface Resource {
1242
1282
  * @param property_uri a string identifying the property to modify
1243
1283
  * @param resource the property object
1244
1284
  */
1245
- add_relation(property_uri: string | null, resource: Resource): void
1285
+ add_relation(property_uri: string, resource: Resource): void
1246
1286
  /**
1247
1287
  * Adds a string property. Previous values for the same property are kept.
1248
1288
  *
@@ -1253,7 +1293,7 @@ interface Resource {
1253
1293
  * @param property_uri a string identifying the property to modify
1254
1294
  * @param value the property object
1255
1295
  */
1256
- add_string(property_uri: string | null, value: string | null): void
1296
+ add_string(property_uri: string, value: string): void
1257
1297
  /**
1258
1298
  * Adds a resource property as a `TrackerResource`. Previous values for the same property are kept.
1259
1299
  * Takes ownership on the given `resource`.
@@ -1271,7 +1311,7 @@ interface Resource {
1271
1311
  * @param property_uri a string identifying the property to modify
1272
1312
  * @param resource the property object
1273
1313
  */
1274
- add_take_relation(property_uri: string | null, resource: Resource): void
1314
+ add_take_relation(property_uri: string, resource: Resource): void
1275
1315
  /**
1276
1316
  * Adds a resource property as an URI string. Previous values for the same property are kept.
1277
1317
  *
@@ -1287,55 +1327,55 @@ interface Resource {
1287
1327
  * @param property_uri a string identifying the property to modify
1288
1328
  * @param value the property object
1289
1329
  */
1290
- add_uri(property_uri: string | null, value: string | null): void
1330
+ add_uri(property_uri: string, value: string): void
1291
1331
  /**
1292
1332
  * Returns the first boolean object previously assigned to a property.
1293
1333
  * @param property_uri a string identifying the property to look up
1294
1334
  * @returns the first boolean object
1295
1335
  */
1296
- get_first_boolean(property_uri: string | null): boolean
1336
+ get_first_boolean(property_uri: string): boolean
1297
1337
  /**
1298
1338
  * Returns the first [type`GLib`.DateTime] previously assigned to a property.
1299
1339
  * @param property_uri a string identifying the property to look up
1300
1340
  * @returns the first GDateTime object
1301
1341
  */
1302
- get_first_datetime(property_uri: string | null): GLib.DateTime | null
1342
+ get_first_datetime(property_uri: string): GLib.DateTime | null
1303
1343
  /**
1304
1344
  * Returns the first double object previously assigned to a property.
1305
1345
  * @param property_uri a string identifying the property to look up
1306
1346
  * @returns the first double object
1307
1347
  */
1308
- get_first_double(property_uri: string | null): number
1348
+ get_first_double(property_uri: string): number
1309
1349
  /**
1310
1350
  * Returns the first integer object previously assigned to a property.
1311
1351
  * @param property_uri a string identifying the property to look up
1312
1352
  * @returns the first integer object
1313
1353
  */
1314
- get_first_int(property_uri: string | null): number
1354
+ get_first_int(property_uri: string): number
1315
1355
  /**
1316
1356
  * Returns the first integer object previously assigned to a property.
1317
1357
  * @param property_uri a string identifying the property to look up
1318
1358
  * @returns the first integer object
1319
1359
  */
1320
- get_first_int64(property_uri: string | null): number
1360
+ get_first_int64(property_uri: string): number
1321
1361
  /**
1322
1362
  * Returns the first resource object previously assigned to a property.
1323
1363
  * @param property_uri a string identifying the property to look up
1324
1364
  * @returns the first resource object
1325
1365
  */
1326
- get_first_relation(property_uri: string | null): Resource | null
1366
+ get_first_relation(property_uri: string): Resource | null
1327
1367
  /**
1328
1368
  * Returns the first string object previously assigned to a property.
1329
1369
  * @param property_uri a string identifying the property to look up
1330
1370
  * @returns the first string object
1331
1371
  */
1332
- get_first_string(property_uri: string | null): string | null
1372
+ get_first_string(property_uri: string): string | null
1333
1373
  /**
1334
1374
  * Returns the first resource object previously assigned to a property.
1335
1375
  * @param property_uri a string identifying the property to look up
1336
1376
  * @returns the first resource object as an URI.
1337
1377
  */
1338
- get_first_uri(property_uri: string | null): string | null
1378
+ get_first_uri(property_uri: string): string | null
1339
1379
  /**
1340
1380
  * Returns the identifier of a resource.
1341
1381
  *
@@ -1355,20 +1395,20 @@ interface Resource {
1355
1395
  * @param property_uri a string identifying the property to query
1356
1396
  * @returns #TRUE if the property would be overwritten
1357
1397
  */
1358
- get_property_overwrite(property_uri: string | null): boolean
1398
+ get_property_overwrite(property_uri: string): boolean
1359
1399
  /**
1360
1400
  * Returns the list of all known values of the given property.
1361
1401
  * @param property_uri a string identifying the property to look up
1362
1402
  * @returns a [struct@GLib.List] of [struct@GObject.Value] instances. The list should be freed with [func@GLib.List.free]
1363
1403
  */
1364
- get_values(property_uri: string | null): any[] | null
1404
+ get_values(property_uri: string): any[] | null
1365
1405
  /**
1366
1406
  * A helper function that compares a `TrackerResource` by its identifier
1367
1407
  * string.
1368
1408
  * @param identifier a string identifying the resource
1369
1409
  * @returns an integer less than, equal to, or greater than zero, if the resource identifier is <, == or > than @identifier
1370
1410
  */
1371
- identifier_compare_func(identifier: string | null): number
1411
+ identifier_compare_func(identifier: string): number
1372
1412
  /**
1373
1413
  * Serialize all the information in `resource` as a JSON-LD document.
1374
1414
  *
@@ -1433,7 +1473,7 @@ interface Resource {
1433
1473
  * @param property_uri A string identifying the property to modify
1434
1474
  * @param value The property boolean value
1435
1475
  */
1436
- set_boolean(property_uri: string | null, value: boolean): void
1476
+ set_boolean(property_uri: string, value: boolean): void
1437
1477
  /**
1438
1478
  * Sets a date property as a [type`GLib`.DateTime]. Replaces any previous value.
1439
1479
  *
@@ -1442,7 +1482,7 @@ interface Resource {
1442
1482
  * @param property_uri a string identifying the property to modify
1443
1483
  * @param value the property object
1444
1484
  */
1445
- set_datetime(property_uri: string | null, value: GLib.DateTime): void
1485
+ set_datetime(property_uri: string, value: GLib.DateTime): void
1446
1486
  /**
1447
1487
  * Sets a numeric property with double precision. Replaces any previous value.
1448
1488
  *
@@ -1450,7 +1490,7 @@ interface Resource {
1450
1490
  * @param property_uri A string identifying the property to modify
1451
1491
  * @param value The property object
1452
1492
  */
1453
- set_double(property_uri: string | null, value: number): void
1493
+ set_double(property_uri: string, value: number): void
1454
1494
  /**
1455
1495
  * Replace any previously existing value for `property_uri` with `value`.
1456
1496
  *
@@ -1464,7 +1504,7 @@ interface Resource {
1464
1504
  * @param property_uri a string identifying the property to set
1465
1505
  * @param value an initialised [struct`GObject`.Value]
1466
1506
  */
1467
- set_gvalue(property_uri: string | null, value: any): void
1507
+ set_gvalue(property_uri: string, value: any): void
1468
1508
  /**
1469
1509
  * Changes the identifier of a `TrackerResource`. The identifier should be a
1470
1510
  * URI or compact URI, but this is not necessarily enforced. Invalid
@@ -1483,7 +1523,7 @@ interface Resource {
1483
1523
  * @param property_uri A string identifying the property to modify
1484
1524
  * @param value The property object
1485
1525
  */
1486
- set_int(property_uri: string | null, value: number): void
1526
+ set_int(property_uri: string, value: number): void
1487
1527
  /**
1488
1528
  * Sets a numeric property with 64-bit integer precision. Replaces any previous value.
1489
1529
  *
@@ -1491,7 +1531,7 @@ interface Resource {
1491
1531
  * @param property_uri a string identifying the property to modify
1492
1532
  * @param value the property object
1493
1533
  */
1494
- set_int64(property_uri: string | null, value: number): void
1534
+ set_int64(property_uri: string, value: number): void
1495
1535
  /**
1496
1536
  * Sets a resource property as a `TrackerResource`. Replaces any previous value.
1497
1537
  *
@@ -1505,7 +1545,7 @@ interface Resource {
1505
1545
  * @param property_uri a string identifying the property to modify
1506
1546
  * @param resource the property object
1507
1547
  */
1508
- set_relation(property_uri: string | null, resource: Resource): void
1548
+ set_relation(property_uri: string, resource: Resource): void
1509
1549
  /**
1510
1550
  * Sets a string property. Replaces any previous value.
1511
1551
  *
@@ -1513,7 +1553,7 @@ interface Resource {
1513
1553
  * @param property_uri a string identifying the property to modify
1514
1554
  * @param value the property object
1515
1555
  */
1516
- set_string(property_uri: string | null, value: string | null): void
1556
+ set_string(property_uri: string, value: string): void
1517
1557
  /**
1518
1558
  * Sets a resource property as a `TrackerResource`. Replaces any previous value.
1519
1559
  * Takes ownership on the given `resource`.
@@ -1528,7 +1568,7 @@ interface Resource {
1528
1568
  * @param property_uri a string identifying the property to modify
1529
1569
  * @param resource the property object
1530
1570
  */
1531
- set_take_relation(property_uri: string | null, resource: Resource): void
1571
+ set_take_relation(property_uri: string, resource: Resource): void
1532
1572
  /**
1533
1573
  * Sets a resource property as an URI string. Replaces any previous value.
1534
1574
  *
@@ -1541,7 +1581,7 @@ interface Resource {
1541
1581
  * @param property_uri a string identifying the property to modify
1542
1582
  * @param value the property object
1543
1583
  */
1544
- set_uri(property_uri: string | null, value: string | null): void
1584
+ set_uri(property_uri: string, value: string): void
1545
1585
 
1546
1586
  // Class property signals of Tracker-3.0.Tracker.Resource
1547
1587
 
@@ -1712,7 +1752,7 @@ interface SparqlConnection {
1712
1752
  * @param cancellable Optional [type`Gio`.Cancellable]
1713
1753
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1714
1754
  */
1715
- deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1755
+ deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1716
1756
 
1717
1757
  // Overloads of deserialize_async
1718
1758
 
@@ -1738,7 +1778,7 @@ interface SparqlConnection {
1738
1778
  * @param cancellable Optional [type`Gio`.Cancellable]
1739
1779
  * @returns A Promise of: %TRUE if all data was inserted successfully.
1740
1780
  */
1741
- deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string | null, stream: Gio.InputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1781
+ deserialize_async(flags: DeserializeFlags, format: RdfFormat, default_graph: string, stream: Gio.InputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1742
1782
  /**
1743
1783
  * Finishes the operation started with [method`Tracker`.SparqlConnection.deserialize_async].
1744
1784
  * @param result A [type`Gio`.AsyncResult] with the result of the operation
@@ -1762,7 +1802,7 @@ interface SparqlConnection {
1762
1802
  * @param cancellable Optional [type`Gio`.Cancellable]
1763
1803
  * @returns A prepared statement
1764
1804
  */
1765
- load_statement_from_gresource(resource_path: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
1805
+ load_statement_from_gresource(resource_path: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
1766
1806
  /**
1767
1807
  * Maps a `TrackerSparqlConnection` onto another through a `private:`handle_name`` URI.
1768
1808
  *
@@ -1792,7 +1832,7 @@ interface SparqlConnection {
1792
1832
  * @param handle_name Handle name for `service_connection`
1793
1833
  * @param service_connection a `TrackerSparqlConnection` to use from `connection`
1794
1834
  */
1795
- map_connection(handle_name: string | null, service_connection: SparqlConnection): void
1835
+ map_connection(handle_name: string, service_connection: SparqlConnection): void
1796
1836
  /**
1797
1837
  * Executes a SPARQL query on `connection`.
1798
1838
  *
@@ -1810,7 +1850,7 @@ interface SparqlConnection {
1810
1850
  * @param cancellable Optional [type`Gio`.Cancellable]
1811
1851
  * @returns a [class@Tracker.SparqlCursor] with the results.
1812
1852
  */
1813
- query(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlCursor
1853
+ query(sparql: string, cancellable: Gio.Cancellable | null): SparqlCursor
1814
1854
  /**
1815
1855
  * Executes asynchronously a SPARQL query on `connection`
1816
1856
  *
@@ -1824,7 +1864,7 @@ interface SparqlConnection {
1824
1864
  * @param cancellable Optional [type`Gio`.Cancellable]
1825
1865
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1826
1866
  */
1827
- query_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1867
+ query_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1828
1868
 
1829
1869
  // Overloads of query_async
1830
1870
 
@@ -1843,7 +1883,7 @@ interface SparqlConnection {
1843
1883
  * @param cancellable Optional [type`Gio`.Cancellable]
1844
1884
  * @returns A Promise of: a [class@Tracker.SparqlCursor] with the results.
1845
1885
  */
1846
- query_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
1886
+ query_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
1847
1887
  /**
1848
1888
  * Finishes the operation started with [method`Tracker`.SparqlConnection.query_async].
1849
1889
  * @param res A [type`Gio`.AsyncResult] with the result of the operation
@@ -1860,7 +1900,7 @@ interface SparqlConnection {
1860
1900
  * @param cancellable Optional [type`Gio`.Cancellable]
1861
1901
  * @returns A prepared statement
1862
1902
  */
1863
- query_statement(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
1903
+ query_statement(sparql: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
1864
1904
  /**
1865
1905
  * Serializes a `DESCRIBE` or `CONSTRUCT` query into the specified RDF format.
1866
1906
  *
@@ -1878,7 +1918,7 @@ interface SparqlConnection {
1878
1918
  * @param cancellable Optional [type`Gio`.Cancellable]
1879
1919
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1880
1920
  */
1881
- serialize_async(flags: SerializeFlags, format: RdfFormat, query: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1921
+ serialize_async(flags: SerializeFlags, format: RdfFormat, query: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1882
1922
 
1883
1923
  // Overloads of serialize_async
1884
1924
 
@@ -1901,7 +1941,7 @@ interface SparqlConnection {
1901
1941
  * @param cancellable Optional [type`Gio`.Cancellable]
1902
1942
  * @returns A Promise of: A [class@Gio.InputStream] to read RDF content.
1903
1943
  */
1904
- serialize_async(flags: SerializeFlags, format: RdfFormat, query: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
1944
+ serialize_async(flags: SerializeFlags, format: RdfFormat, query: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
1905
1945
  /**
1906
1946
  * Finishes the operation started with [method`Tracker`.SparqlConnection.serialize_async].
1907
1947
  * @param result A [type`Gio`.AsyncResult] with the result of the operation
@@ -1929,7 +1969,7 @@ interface SparqlConnection {
1929
1969
  * @param sparql String containing the SPARQL update query
1930
1970
  * @param cancellable Optional [type`Gio`.Cancellable]
1931
1971
  */
1932
- update(sparql: string | null, cancellable: Gio.Cancellable | null): void
1972
+ update(sparql: string, cancellable: Gio.Cancellable | null): void
1933
1973
  /**
1934
1974
  * Executes asynchronously an array of SPARQL updates. All updates in the
1935
1975
  * array are handled within a single transaction.
@@ -1993,7 +2033,7 @@ interface SparqlConnection {
1993
2033
  * @param cancellable Optional [type`Gio`.Cancellable]
1994
2034
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
1995
2035
  */
1996
- update_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2036
+ update_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1997
2037
 
1998
2038
  // Overloads of update_async
1999
2039
 
@@ -2017,7 +2057,7 @@ interface SparqlConnection {
2017
2057
  * @param cancellable Optional [type`Gio`.Cancellable]
2018
2058
  * @returns A Promise of the result of {@link update_async}
2019
2059
  */
2020
- update_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<void>
2060
+ update_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<void>
2021
2061
  /**
2022
2062
  * Executes a SPARQL update and returns the names of the generated blank nodes.
2023
2063
  *
@@ -2039,7 +2079,7 @@ interface SparqlConnection {
2039
2079
  * @param cancellable Optional [type`Gio`.Cancellable]
2040
2080
  * @returns a [type@GLib.Variant] with the generated URNs.
2041
2081
  */
2042
- update_blank(sparql: string | null, cancellable: Gio.Cancellable | null): GLib.Variant
2082
+ update_blank(sparql: string, cancellable: Gio.Cancellable | null): GLib.Variant
2043
2083
  /**
2044
2084
  * Executes asynchronously a SPARQL update and returns the names of the generated blank nodes.
2045
2085
  *
@@ -2049,7 +2089,7 @@ interface SparqlConnection {
2049
2089
  * @param cancellable Optional [type`Gio`.Cancellable]
2050
2090
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
2051
2091
  */
2052
- update_blank_async(sparql: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2092
+ update_blank_async(sparql: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2053
2093
 
2054
2094
  // Overloads of update_blank_async
2055
2095
 
@@ -2064,7 +2104,7 @@ interface SparqlConnection {
2064
2104
  * @param cancellable Optional [type`Gio`.Cancellable]
2065
2105
  * @returns A Promise of: a [type@GLib.Variant] with the generated URNs.
2066
2106
  */
2067
- update_blank_async(sparql: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<GLib.Variant>
2107
+ update_blank_async(sparql: string, cancellable: Gio.Cancellable | null): globalThis.Promise<GLib.Variant>
2068
2108
  /**
2069
2109
  * Finishes the operation started with [method`Tracker`.SparqlConnection.update_blank_async].
2070
2110
  *
@@ -2140,7 +2180,7 @@ interface SparqlConnection {
2140
2180
  * @param cancellable Optional [type`Gio`.Cancellable]
2141
2181
  * @returns A prepared statement
2142
2182
  */
2143
- update_statement(sparql: string | null, cancellable: Gio.Cancellable | null): SparqlStatement | null
2183
+ update_statement(sparql: string, cancellable: Gio.Cancellable | null): SparqlStatement | null
2144
2184
 
2145
2185
  // Class property signals of Tracker-3.0.Tracker.SparqlConnection
2146
2186
 
@@ -2231,7 +2271,7 @@ class SparqlConnection extends GObject.Object {
2231
2271
  * @param dbus_connection The [type`Gio`.DBusConnection] to use, or %NULL to use the session bus
2232
2272
  * @returns a new `TrackerSparqlConnection`.
2233
2273
  */
2234
- static bus_new(service_name: string | null, object_path: string | null, dbus_connection: Gio.DBusConnection | null): SparqlConnection
2274
+ static bus_new(service_name: string, object_path: string | null, dbus_connection: Gio.DBusConnection | null): SparqlConnection
2235
2275
  /**
2236
2276
  * Finishes the operation started with [func`Tracker`.SparqlConnection.bus_new_async].
2237
2277
  * @constructor
@@ -2338,7 +2378,7 @@ class SparqlConnection extends GObject.Object {
2338
2378
  * @param uri_base Base URI of the remote connection
2339
2379
  * @returns a new remote `TrackerSparqlConnection`.
2340
2380
  */
2341
- static remote_new(uri_base: string | null): SparqlConnection
2381
+ static remote_new(uri_base: string): SparqlConnection
2342
2382
  _init(config?: SparqlConnection.ConstructorProperties): void
2343
2383
  /**
2344
2384
  * Creates or opens a process-local database asynchronously.
@@ -2360,7 +2400,7 @@ class SparqlConnection extends GObject.Object {
2360
2400
  * @param cancellable Optional [type`Gio`.Cancellable]
2361
2401
  * @param callback User-defined [type`Gio`.AsyncReadyCallback] to be called when the asynchronous operation is finished.
2362
2402
  */
2363
- 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
2403
+ 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
2364
2404
  }
2365
2405
 
2366
2406
  module SparqlCursor {
@@ -2391,6 +2431,10 @@ interface SparqlCursor {
2391
2431
  * Number of columns available in the result set.
2392
2432
  */
2393
2433
  readonly n_columns: number
2434
+ /**
2435
+ * Number of columns available in the result set.
2436
+ */
2437
+ readonly nColumns: number
2394
2438
 
2395
2439
  // Own fields of Tracker-3.0.Tracker.SparqlCursor
2396
2440
 
@@ -2649,31 +2693,31 @@ interface SparqlStatement {
2649
2693
  * @param name variable name
2650
2694
  * @param value value
2651
2695
  */
2652
- bind_boolean(name: string | null, value: boolean): void
2696
+ bind_boolean(name: string, value: boolean): void
2653
2697
  /**
2654
2698
  * Binds the [type`GLib`.DateTime] `value` to the parameterized variable given by `name`.
2655
2699
  * @param name variable name
2656
2700
  * @param value value
2657
2701
  */
2658
- bind_datetime(name: string | null, value: GLib.DateTime): void
2702
+ bind_datetime(name: string, value: GLib.DateTime): void
2659
2703
  /**
2660
2704
  * Binds the double `value` to the parameterized variable given by `name`.
2661
2705
  * @param name variable name
2662
2706
  * @param value value
2663
2707
  */
2664
- bind_double(name: string | null, value: number): void
2708
+ bind_double(name: string, value: number): void
2665
2709
  /**
2666
2710
  * Binds the integer `value` to the parameterized variable given by `name`.
2667
2711
  * @param name variable name
2668
2712
  * @param value value
2669
2713
  */
2670
- bind_int(name: string | null, value: number): void
2714
+ bind_int(name: string, value: number): void
2671
2715
  /**
2672
2716
  * Binds the string `value` to the parameterized variable given by `name`.
2673
2717
  * @param name variable name
2674
2718
  * @param value value
2675
2719
  */
2676
- bind_string(name: string | null, value: string | null): void
2720
+ bind_string(name: string, value: string): void
2677
2721
  /**
2678
2722
  * Clears all bindings.
2679
2723
  */
@@ -2750,7 +2794,7 @@ interface SparqlStatement {
2750
2794
  * Returns the SPARQL string that this prepared statement holds.
2751
2795
  * @returns The contained SPARQL query
2752
2796
  */
2753
- get_sparql(): string | null
2797
+ get_sparql(): string
2754
2798
  /**
2755
2799
  * Serializes a `DESCRIBE` or `CONSTRUCT` query into the given RDF `format`.
2756
2800
  *
@@ -2982,7 +3026,7 @@ interface NotifierEvent {
2982
3026
  * notified upon, typically of the form `urn:uuid:...`.
2983
3027
  * @returns The element URN
2984
3028
  */
2985
- get_urn(): string | null
3029
+ get_urn(): string
2986
3030
  }
2987
3031
 
2988
3032
  /**