@girs/geocodeglib-1.0 1.0.0-3.2.6 → 1.0.0-3.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/geocodeglib-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GeocodeGlib-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GeocodeGlib-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  Geocode Helper library
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
@@ -671,7 +671,7 @@ export module Forward {
671
671
  /**
672
672
  * The number of requested results to a search query.
673
673
  */
674
- answer_count?: number | null
674
+ answerCount?: number | null
675
675
  /**
676
676
  * If set to #TRUE then only results in the #GeocodeForward:search-area
677
677
  * bounding box are returned.
@@ -679,16 +679,6 @@ export module Forward {
679
679
  * preferred area for results.
680
680
  */
681
681
  bounded?: boolean | null
682
- /**
683
- * The bounding box that limits the search area.
684
- * If #GeocodeForward:bounded property is set to #TRUE only results from
685
- * this area is returned.
686
- */
687
- search_area?: BoundingBox | null
688
- /**
689
- * The number of requested results to a search query.
690
- */
691
- answerCount?: number | null
692
682
  /**
693
683
  * The bounding box that limits the search area.
694
684
  * If #GeocodeForward:bounded property is set to #TRUE only results from
@@ -703,10 +693,6 @@ export interface Forward {
703
693
 
704
694
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Forward
705
695
 
706
- /**
707
- * The number of requested results to a search query.
708
- */
709
- answer_count: number
710
696
  /**
711
697
  * The number of requested results to a search query.
712
698
  */
@@ -718,12 +704,6 @@ export interface Forward {
718
704
  * preferred area for results.
719
705
  */
720
706
  bounded: boolean
721
- /**
722
- * The bounding box that limits the search area.
723
- * If #GeocodeForward:bounded property is set to #TRUE only results from
724
- * this area is returned.
725
- */
726
- search_area: BoundingBox
727
707
  /**
728
708
  * The bounding box that limits the search area.
729
709
  * If #GeocodeForward:bounded property is set to #TRUE only results from
@@ -863,7 +843,7 @@ export class Forward extends GObject.Object {
863
843
  * @param str a string containing a free-form description of the location
864
844
  * @returns a new #GeocodeForward. Use g_object_unref() when done.
865
845
  */
866
- static new_for_string(str: string | null): Forward
846
+ static new_for_string(str: string): Forward
867
847
  _init(config?: Forward.ConstructorProperties): void
868
848
  }
869
849
 
@@ -988,7 +968,7 @@ export interface Location {
988
968
  * Gets the description of location `loc`.
989
969
  * @returns The description of location @loc.
990
970
  */
991
- get_description(): string | null
971
+ get_description(): string
992
972
  /**
993
973
  * Calculates the distance in km, along the curvature of the Earth,
994
974
  * between 2 locations. Note that altitude changes are not
@@ -1017,7 +997,7 @@ export interface Location {
1017
997
  * Sets the description of `loc` to `description`.
1018
998
  * @param description a description for the location
1019
999
  */
1020
- set_description(description: string | null): void
1000
+ set_description(description: string): void
1021
1001
  /**
1022
1002
  * Initialize a #GeocodeLocation object with the given `uri`.
1023
1003
  *
@@ -1034,7 +1014,7 @@ export interface Location {
1034
1014
  * @param uri a URI mapping out a location
1035
1015
  * @returns %TRUE on success and %FALSE on error.
1036
1016
  */
1037
- set_from_uri(uri: string | null): boolean
1017
+ set_from_uri(uri: string): boolean
1038
1018
  /**
1039
1019
  * Creates a URI representing `loc` in the scheme specified in `scheme`.
1040
1020
  * @param scheme the scheme of the requested URI
@@ -1112,7 +1092,7 @@ export class Location extends GObject.Object {
1112
1092
  * @param description a description for the location
1113
1093
  * @returns a new #GeocodeLocation object. Use g_object_unref() when done.
1114
1094
  */
1115
- static new_with_description(latitude: number, longitude: number, accuracy: number, description: string | null): Location
1095
+ static new_with_description(latitude: number, longitude: number, accuracy: number, description: string): Location
1116
1096
  _init(config?: Location.ConstructorProperties): void
1117
1097
  }
1118
1098
 
@@ -1234,31 +1214,6 @@ export module Nominatim {
1234
1214
 
1235
1215
  // Own constructor properties of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1236
1216
 
1237
- /**
1238
- * The base URL of the Nominatim service, for example
1239
- * `https://nominatim.example.org`.
1240
- */
1241
- base_url?: string | null
1242
- /**
1243
- * E-mail address of the maintainer of the software making the
1244
- * geocoding requests to the Nominatim server. This is used to contact
1245
- * them in the event of a problem with their usage. See
1246
- * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1247
- */
1248
- maintainer_email_address?: string | null
1249
- /**
1250
- * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1251
- * default user agent, which is derived from the geocode-glib version
1252
- * and #GApplication:id, for example: `geocode-glib/3.20 (MyAppId)`.
1253
- *
1254
- * As per the
1255
- * [Nominatim usage policy](http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy),
1256
- * it should be set to a string which identifies the application which
1257
- * is using geocode-glib, and must be a valid
1258
- * [user agent](https://tools.ietf.org/html/rfc7231#section-5.5.3)
1259
- * string.
1260
- */
1261
- user_agent?: string | null
1262
1217
  /**
1263
1218
  * The base URL of the Nominatim service, for example
1264
1219
  * `https://nominatim.example.org`.
@@ -1292,23 +1247,11 @@ export interface Nominatim extends Backend {
1292
1247
 
1293
1248
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1294
1249
 
1295
- /**
1296
- * The base URL of the Nominatim service, for example
1297
- * `https://nominatim.example.org`.
1298
- */
1299
- readonly base_url: string | null
1300
1250
  /**
1301
1251
  * The base URL of the Nominatim service, for example
1302
1252
  * `https://nominatim.example.org`.
1303
1253
  */
1304
1254
  readonly baseUrl: string | null
1305
- /**
1306
- * E-mail address of the maintainer of the software making the
1307
- * geocoding requests to the Nominatim server. This is used to contact
1308
- * them in the event of a problem with their usage. See
1309
- * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1310
- */
1311
- readonly maintainer_email_address: string | null
1312
1255
  /**
1313
1256
  * E-mail address of the maintainer of the software making the
1314
1257
  * geocoding requests to the Nominatim server. This is used to contact
@@ -1316,19 +1259,6 @@ export interface Nominatim extends Backend {
1316
1259
  * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1317
1260
  */
1318
1261
  readonly maintainerEmailAddress: string | null
1319
- /**
1320
- * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1321
- * default user agent, which is derived from the geocode-glib version
1322
- * and #GApplication:id, for example: `geocode-glib/3.20 (MyAppId)`.
1323
- *
1324
- * As per the
1325
- * [Nominatim usage policy](http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy),
1326
- * it should be set to a string which identifies the application which
1327
- * is using geocode-glib, and must be a valid
1328
- * [user agent](https://tools.ietf.org/html/rfc7231#section-5.5.3)
1329
- * string.
1330
- */
1331
- user_agent: string | null
1332
1262
  /**
1333
1263
  * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1334
1264
  * default user agent, which is derived from the geocode-glib version
@@ -1349,8 +1279,8 @@ export interface Nominatim extends Backend {
1349
1279
 
1350
1280
  // Own virtual methods of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1351
1281
 
1352
- vfunc_query(uri: string | null, cancellable: Gio.Cancellable | null): string | null
1353
- vfunc_query_async(uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1282
+ vfunc_query(uri: string, cancellable: Gio.Cancellable | null): string | null
1283
+ vfunc_query_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1354
1284
  vfunc_query_finish(res: Gio.AsyncResult): string | null
1355
1285
 
1356
1286
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Nominatim
@@ -1394,7 +1324,7 @@ export class Nominatim extends GObject.Object {
1394
1324
  * @param maintainer_email_address the email address of the software maintainer.
1395
1325
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1396
1326
  */
1397
- constructor(base_url: string | null, maintainer_email_address: string | null)
1327
+ constructor(base_url: string, maintainer_email_address: string)
1398
1328
  /**
1399
1329
  * Creates a new backend implementation for an online Nominatim server. See
1400
1330
  * the documentation for #GeocodeNominatim:base-url and
@@ -1404,7 +1334,7 @@ export class Nominatim extends GObject.Object {
1404
1334
  * @param maintainer_email_address the email address of the software maintainer.
1405
1335
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1406
1336
  */
1407
- static new(base_url: string | null, maintainer_email_address: string | null): Nominatim
1337
+ static new(base_url: string, maintainer_email_address: string): Nominatim
1408
1338
  _init(config?: Nominatim.ConstructorProperties): void
1409
1339
  /**
1410
1340
  * Gets a reference to the default Nominatim server on nominatim.gnome.org.
@@ -1426,7 +1356,7 @@ export module Place {
1426
1356
  /**
1427
1357
  * The local administrative area.
1428
1358
  */
1429
- administrative_area?: string | null
1359
+ administrativeArea?: string | null
1430
1360
  /**
1431
1361
  * A named area such as a campus or neighborhood.
1432
1362
  */
@@ -1434,7 +1364,7 @@ export module Place {
1434
1364
  /**
1435
1365
  * The bounding box for the place.
1436
1366
  */
1437
- bounding_box?: BoundingBox | null
1367
+ boundingBox?: BoundingBox | null
1438
1368
  /**
1439
1369
  * A specific building on a street or in an area.
1440
1370
  */
@@ -1450,7 +1380,7 @@ export module Place {
1450
1380
  /**
1451
1381
  * The country code.
1452
1382
  */
1453
- country_code?: string | null
1383
+ countryCode?: string | null
1454
1384
  /**
1455
1385
  * The county.
1456
1386
  */
@@ -1466,19 +1396,19 @@ export module Place {
1466
1396
  /**
1467
1397
  * The OpenStreetMap id of the place.
1468
1398
  */
1469
- osm_id?: string | null
1399
+ osmId?: string | null
1470
1400
  /**
1471
1401
  * The OpenStreetMap type of the place.
1472
1402
  */
1473
- osm_type?: PlaceOsmType | null
1403
+ osmType?: PlaceOsmType | null
1474
1404
  /**
1475
1405
  * The type of the place.
1476
1406
  */
1477
- place_type?: PlaceType | null
1407
+ placeType?: PlaceType | null
1478
1408
  /**
1479
1409
  * The postal code.
1480
1410
  */
1481
- postal_code?: string | null
1411
+ postalCode?: string | null
1482
1412
  /**
1483
1413
  * The state.
1484
1414
  */
@@ -1490,43 +1420,11 @@ export module Place {
1490
1420
  /**
1491
1421
  * The street address.
1492
1422
  */
1493
- street_address?: string | null
1423
+ streetAddress?: string | null
1494
1424
  /**
1495
1425
  * The town.
1496
1426
  */
1497
1427
  town?: string | null
1498
- /**
1499
- * The local administrative area.
1500
- */
1501
- administrativeArea?: string | null
1502
- /**
1503
- * The bounding box for the place.
1504
- */
1505
- boundingBox?: BoundingBox | null
1506
- /**
1507
- * The country code.
1508
- */
1509
- countryCode?: string | null
1510
- /**
1511
- * The OpenStreetMap id of the place.
1512
- */
1513
- osmId?: string | null
1514
- /**
1515
- * The OpenStreetMap type of the place.
1516
- */
1517
- osmType?: PlaceOsmType | null
1518
- /**
1519
- * The type of the place.
1520
- */
1521
- placeType?: PlaceType | null
1522
- /**
1523
- * The postal code.
1524
- */
1525
- postalCode?: string | null
1526
- /**
1527
- * The street address.
1528
- */
1529
- streetAddress?: string | null
1530
1428
  }
1531
1429
 
1532
1430
  }
@@ -1535,10 +1433,6 @@ export interface Place {
1535
1433
 
1536
1434
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Place
1537
1435
 
1538
- /**
1539
- * The local administrative area.
1540
- */
1541
- administrative_area: string | null
1542
1436
  /**
1543
1437
  * The local administrative area.
1544
1438
  */
@@ -1547,10 +1441,6 @@ export interface Place {
1547
1441
  * A named area such as a campus or neighborhood.
1548
1442
  */
1549
1443
  area: string | null
1550
- /**
1551
- * The bounding box for the place.
1552
- */
1553
- bounding_box: BoundingBox
1554
1444
  /**
1555
1445
  * The bounding box for the place.
1556
1446
  */
@@ -1567,10 +1457,6 @@ export interface Place {
1567
1457
  * The country.
1568
1458
  */
1569
1459
  country: string | null
1570
- /**
1571
- * The country code.
1572
- */
1573
- country_code: string | null
1574
1460
  /**
1575
1461
  * The country code.
1576
1462
  */
@@ -1591,34 +1477,18 @@ export interface Place {
1591
1477
  * The name of the place.
1592
1478
  */
1593
1479
  name: string | null
1594
- /**
1595
- * The OpenStreetMap id of the place.
1596
- */
1597
- osm_id: string | null
1598
1480
  /**
1599
1481
  * The OpenStreetMap id of the place.
1600
1482
  */
1601
1483
  osmId: string | null
1602
- /**
1603
- * The OpenStreetMap type of the place.
1604
- */
1605
- osm_type: PlaceOsmType
1606
1484
  /**
1607
1485
  * The OpenStreetMap type of the place.
1608
1486
  */
1609
1487
  osmType: PlaceOsmType
1610
- /**
1611
- * The type of the place.
1612
- */
1613
- readonly place_type: PlaceType
1614
1488
  /**
1615
1489
  * The type of the place.
1616
1490
  */
1617
1491
  readonly placeType: PlaceType
1618
- /**
1619
- * The postal code.
1620
- */
1621
- postal_code: string | null
1622
1492
  /**
1623
1493
  * The postal code.
1624
1494
  */
@@ -1631,10 +1501,6 @@ export interface Place {
1631
1501
  * The street name.
1632
1502
  */
1633
1503
  street: string | null
1634
- /**
1635
- * The street address.
1636
- */
1637
- street_address: string | null
1638
1504
  /**
1639
1505
  * The street address.
1640
1506
  */
@@ -1662,12 +1528,12 @@ export interface Place {
1662
1528
  * Gets the local administrative area of the `place`.
1663
1529
  * @returns The local administrative area of the @place.
1664
1530
  */
1665
- get_administrative_area(): string | null
1531
+ get_administrative_area(): string
1666
1532
  /**
1667
1533
  * Gets the area of the `place`.
1668
1534
  * @returns The area of the @place.
1669
1535
  */
1670
- get_area(): string | null
1536
+ get_area(): string
1671
1537
  /**
1672
1538
  * Gets the bounding box for the place `place`.
1673
1539
  * @returns A #GeocodeBoundingBox, or NULL if boundaries are unknown.
@@ -1677,27 +1543,27 @@ export interface Place {
1677
1543
  * Gets the building of the `place`.
1678
1544
  * @returns The building of the @place.
1679
1545
  */
1680
- get_building(): string | null
1546
+ get_building(): string
1681
1547
  /**
1682
1548
  * Gets the continent of the `place`.
1683
1549
  * @returns The continent of the @place.
1684
1550
  */
1685
- get_continent(): string | null
1551
+ get_continent(): string
1686
1552
  /**
1687
1553
  * Gets the country of the `place`.
1688
1554
  * @returns The country of the @place.
1689
1555
  */
1690
- get_country(): string | null
1556
+ get_country(): string
1691
1557
  /**
1692
1558
  * Gets the ISO-3166 country code of the `place`.
1693
1559
  * @returns The ISO-3166 country code of the @place, in upper case.
1694
1560
  */
1695
- get_country_code(): string | null
1561
+ get_country_code(): string
1696
1562
  /**
1697
1563
  * Gets the county of the `place`.
1698
1564
  * @returns The country of the @place.
1699
1565
  */
1700
- get_county(): string | null
1566
+ get_county(): string
1701
1567
  /**
1702
1568
  * Gets the #GIcon representing the `place`.
1703
1569
  * @returns The #GIcon representing the @place.
@@ -1712,12 +1578,12 @@ export interface Place {
1712
1578
  * Gets the name of the `place`.
1713
1579
  * @returns The name of the @place.
1714
1580
  */
1715
- get_name(): string | null
1581
+ get_name(): string
1716
1582
  /**
1717
1583
  * Gets the OpenStreetMap ID of the `place`.
1718
1584
  * @returns The osm ID of the @place.
1719
1585
  */
1720
- get_osm_id(): string | null
1586
+ get_osm_id(): string
1721
1587
  /**
1722
1588
  * Gets the OpenStreetMap type of the `place`.
1723
1589
  * @returns The osm type of the @place.
@@ -1732,37 +1598,37 @@ export interface Place {
1732
1598
  * Gets the postal code of the `place`.
1733
1599
  * @returns The postal code of the @place.
1734
1600
  */
1735
- get_postal_code(): string | null
1601
+ get_postal_code(): string
1736
1602
  /**
1737
1603
  * Gets the state of the `place`.
1738
1604
  * @returns The state of the @place.
1739
1605
  */
1740
- get_state(): string | null
1606
+ get_state(): string
1741
1607
  /**
1742
1608
  * Gets the street of the `place`.
1743
1609
  * @returns The street of the @place.
1744
1610
  */
1745
- get_street(): string | null
1611
+ get_street(): string
1746
1612
  /**
1747
1613
  * Gets the street address of the `place`.
1748
1614
  * @returns The street address of the @place.
1749
1615
  */
1750
- get_street_address(): string | null
1616
+ get_street_address(): string
1751
1617
  /**
1752
1618
  * Gets the town of the `place`.
1753
1619
  * @returns The town of the @place.
1754
1620
  */
1755
- get_town(): string | null
1621
+ get_town(): string
1756
1622
  /**
1757
1623
  * Sets the local administrative area of `place` to `admin_area`.
1758
1624
  * @param admin_area an administrative area for the place
1759
1625
  */
1760
- set_administrative_area(admin_area: string | null): void
1626
+ set_administrative_area(admin_area: string): void
1761
1627
  /**
1762
1628
  * Sets the area of `place` to `area`.
1763
1629
  * @param area a area
1764
1630
  */
1765
- set_area(area: string | null): void
1631
+ set_area(area: string): void
1766
1632
  /**
1767
1633
  * Sets the #GeocodeBoundingBox for the place `place`.
1768
1634
  * @param bbox A #GeocodeBoundingBox for the place
@@ -1772,27 +1638,27 @@ export interface Place {
1772
1638
  * Sets the building of `place` to `building`.
1773
1639
  * @param building a building
1774
1640
  */
1775
- set_building(building: string | null): void
1641
+ set_building(building: string): void
1776
1642
  /**
1777
1643
  * Sets the continent of `place` to `continent`.
1778
1644
  * @param continent a continent for the place
1779
1645
  */
1780
- set_continent(continent: string | null): void
1646
+ set_continent(continent: string): void
1781
1647
  /**
1782
1648
  * Sets the country of `place` to `country`.
1783
1649
  * @param country a country for the place
1784
1650
  */
1785
- set_country(country: string | null): void
1651
+ set_country(country: string): void
1786
1652
  /**
1787
1653
  * Sets the ISO country code of `place` to `country_code`.
1788
1654
  * @param country_code an ISO country code for the place
1789
1655
  */
1790
- set_country_code(country_code: string | null): void
1656
+ set_country_code(country_code: string): void
1791
1657
  /**
1792
1658
  * Sets the county of `place` to `county`.
1793
1659
  * @param county a county for the place
1794
1660
  */
1795
- set_county(county: string | null): void
1661
+ set_county(county: string): void
1796
1662
  /**
1797
1663
  * Sets the location of `place` to `location`.
1798
1664
  * @param location A location
@@ -1802,32 +1668,32 @@ export interface Place {
1802
1668
  * Sets the name of the `place` to `name`.
1803
1669
  * @param name the name of place
1804
1670
  */
1805
- set_name(name: string | null): void
1671
+ set_name(name: string): void
1806
1672
  /**
1807
1673
  * Sets the postal code of `place` to `postal_code`.
1808
1674
  * @param postal_code a postal code for the place
1809
1675
  */
1810
- set_postal_code(postal_code: string | null): void
1676
+ set_postal_code(postal_code: string): void
1811
1677
  /**
1812
1678
  * Sets the state of `place` to `state`.
1813
1679
  * @param state a state for the place
1814
1680
  */
1815
- set_state(state: string | null): void
1681
+ set_state(state: string): void
1816
1682
  /**
1817
1683
  * Sets the street of `place` to `street`.
1818
1684
  * @param street a street
1819
1685
  */
1820
- set_street(street: string | null): void
1686
+ set_street(street: string): void
1821
1687
  /**
1822
1688
  * Sets the street address of `place` to `street_address`.
1823
1689
  * @param street_address a street address for the place
1824
1690
  */
1825
- set_street_address(street_address: string | null): void
1691
+ set_street_address(street_address: string): void
1826
1692
  /**
1827
1693
  * Sets the town of `place` to `town`.
1828
1694
  * @param town a town for the place
1829
1695
  */
1830
- set_town(town: string | null): void
1696
+ set_town(town: string): void
1831
1697
 
1832
1698
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Place
1833
1699
 
@@ -1915,7 +1781,7 @@ export class Place extends GObject.Object {
1915
1781
  * @param place_type the type of place
1916
1782
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1917
1783
  */
1918
- constructor(name: string | null, place_type: PlaceType)
1784
+ constructor(name: string, place_type: PlaceType)
1919
1785
  /**
1920
1786
  * Creates a new #GeocodePlace object.
1921
1787
  * @constructor
@@ -1923,7 +1789,7 @@ export class Place extends GObject.Object {
1923
1789
  * @param place_type the type of place
1924
1790
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1925
1791
  */
1926
- static new(name: string | null, place_type: PlaceType): Place
1792
+ static new(name: string, place_type: PlaceType): Place
1927
1793
  /**
1928
1794
  * Creates a new #GeocodePlace object.
1929
1795
  * @constructor
@@ -1932,7 +1798,7 @@ export class Place extends GObject.Object {
1932
1798
  * @param location the location info for the place
1933
1799
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1934
1800
  */
1935
- static new_with_location(name: string | null, place_type: PlaceType, location: Location): Place
1801
+ static new_with_location(name: string, place_type: PlaceType, location: Location): Place
1936
1802
  _init(config?: Place.ConstructorProperties): void
1937
1803
  }
1938
1804
 
@@ -2197,8 +2063,8 @@ export interface NominatimClass {
2197
2063
  // Own fields of GeocodeGlib-1.0.GeocodeGlib.NominatimClass
2198
2064
 
2199
2065
  parent_class: GObject.ObjectClass
2200
- query: (self: Nominatim, uri: string | null, cancellable: Gio.Cancellable | null) => string | null
2201
- query_async: (self: Nominatim, uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2066
+ query: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null) => string | null
2067
+ query_async: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2202
2068
  query_finish: (self: Nominatim, res: Gio.AsyncResult) => string | null
2203
2069
  }
2204
2070
 
@@ -673,7 +673,7 @@ module Forward {
673
673
  /**
674
674
  * The number of requested results to a search query.
675
675
  */
676
- answer_count?: number | null
676
+ answerCount?: number | null
677
677
  /**
678
678
  * If set to #TRUE then only results in the #GeocodeForward:search-area
679
679
  * bounding box are returned.
@@ -681,16 +681,6 @@ module Forward {
681
681
  * preferred area for results.
682
682
  */
683
683
  bounded?: boolean | null
684
- /**
685
- * The bounding box that limits the search area.
686
- * If #GeocodeForward:bounded property is set to #TRUE only results from
687
- * this area is returned.
688
- */
689
- search_area?: BoundingBox | null
690
- /**
691
- * The number of requested results to a search query.
692
- */
693
- answerCount?: number | null
694
684
  /**
695
685
  * The bounding box that limits the search area.
696
686
  * If #GeocodeForward:bounded property is set to #TRUE only results from
@@ -705,10 +695,6 @@ interface Forward {
705
695
 
706
696
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Forward
707
697
 
708
- /**
709
- * The number of requested results to a search query.
710
- */
711
- answer_count: number
712
698
  /**
713
699
  * The number of requested results to a search query.
714
700
  */
@@ -720,12 +706,6 @@ interface Forward {
720
706
  * preferred area for results.
721
707
  */
722
708
  bounded: boolean
723
- /**
724
- * The bounding box that limits the search area.
725
- * If #GeocodeForward:bounded property is set to #TRUE only results from
726
- * this area is returned.
727
- */
728
- search_area: BoundingBox
729
709
  /**
730
710
  * The bounding box that limits the search area.
731
711
  * If #GeocodeForward:bounded property is set to #TRUE only results from
@@ -865,7 +845,7 @@ class Forward extends GObject.Object {
865
845
  * @param str a string containing a free-form description of the location
866
846
  * @returns a new #GeocodeForward. Use g_object_unref() when done.
867
847
  */
868
- static new_for_string(str: string | null): Forward
848
+ static new_for_string(str: string): Forward
869
849
  _init(config?: Forward.ConstructorProperties): void
870
850
  }
871
851
 
@@ -990,7 +970,7 @@ interface Location {
990
970
  * Gets the description of location `loc`.
991
971
  * @returns The description of location @loc.
992
972
  */
993
- get_description(): string | null
973
+ get_description(): string
994
974
  /**
995
975
  * Calculates the distance in km, along the curvature of the Earth,
996
976
  * between 2 locations. Note that altitude changes are not
@@ -1019,7 +999,7 @@ interface Location {
1019
999
  * Sets the description of `loc` to `description`.
1020
1000
  * @param description a description for the location
1021
1001
  */
1022
- set_description(description: string | null): void
1002
+ set_description(description: string): void
1023
1003
  /**
1024
1004
  * Initialize a #GeocodeLocation object with the given `uri`.
1025
1005
  *
@@ -1036,7 +1016,7 @@ interface Location {
1036
1016
  * @param uri a URI mapping out a location
1037
1017
  * @returns %TRUE on success and %FALSE on error.
1038
1018
  */
1039
- set_from_uri(uri: string | null): boolean
1019
+ set_from_uri(uri: string): boolean
1040
1020
  /**
1041
1021
  * Creates a URI representing `loc` in the scheme specified in `scheme`.
1042
1022
  * @param scheme the scheme of the requested URI
@@ -1114,7 +1094,7 @@ class Location extends GObject.Object {
1114
1094
  * @param description a description for the location
1115
1095
  * @returns a new #GeocodeLocation object. Use g_object_unref() when done.
1116
1096
  */
1117
- static new_with_description(latitude: number, longitude: number, accuracy: number, description: string | null): Location
1097
+ static new_with_description(latitude: number, longitude: number, accuracy: number, description: string): Location
1118
1098
  _init(config?: Location.ConstructorProperties): void
1119
1099
  }
1120
1100
 
@@ -1236,31 +1216,6 @@ module Nominatim {
1236
1216
 
1237
1217
  // Own constructor properties of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1238
1218
 
1239
- /**
1240
- * The base URL of the Nominatim service, for example
1241
- * `https://nominatim.example.org`.
1242
- */
1243
- base_url?: string | null
1244
- /**
1245
- * E-mail address of the maintainer of the software making the
1246
- * geocoding requests to the Nominatim server. This is used to contact
1247
- * them in the event of a problem with their usage. See
1248
- * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1249
- */
1250
- maintainer_email_address?: string | null
1251
- /**
1252
- * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1253
- * default user agent, which is derived from the geocode-glib version
1254
- * and #GApplication:id, for example: `geocode-glib/3.20 (MyAppId)`.
1255
- *
1256
- * As per the
1257
- * [Nominatim usage policy](http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy),
1258
- * it should be set to a string which identifies the application which
1259
- * is using geocode-glib, and must be a valid
1260
- * [user agent](https://tools.ietf.org/html/rfc7231#section-5.5.3)
1261
- * string.
1262
- */
1263
- user_agent?: string | null
1264
1219
  /**
1265
1220
  * The base URL of the Nominatim service, for example
1266
1221
  * `https://nominatim.example.org`.
@@ -1294,23 +1249,11 @@ interface Nominatim extends Backend {
1294
1249
 
1295
1250
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1296
1251
 
1297
- /**
1298
- * The base URL of the Nominatim service, for example
1299
- * `https://nominatim.example.org`.
1300
- */
1301
- readonly base_url: string | null
1302
1252
  /**
1303
1253
  * The base URL of the Nominatim service, for example
1304
1254
  * `https://nominatim.example.org`.
1305
1255
  */
1306
1256
  readonly baseUrl: string | null
1307
- /**
1308
- * E-mail address of the maintainer of the software making the
1309
- * geocoding requests to the Nominatim server. This is used to contact
1310
- * them in the event of a problem with their usage. See
1311
- * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1312
- */
1313
- readonly maintainer_email_address: string | null
1314
1257
  /**
1315
1258
  * E-mail address of the maintainer of the software making the
1316
1259
  * geocoding requests to the Nominatim server. This is used to contact
@@ -1318,19 +1261,6 @@ interface Nominatim extends Backend {
1318
1261
  * [the Nominatim API](http://wiki.openstreetmap.org/wiki/Nominatim).
1319
1262
  */
1320
1263
  readonly maintainerEmailAddress: string | null
1321
- /**
1322
- * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1323
- * default user agent, which is derived from the geocode-glib version
1324
- * and #GApplication:id, for example: `geocode-glib/3.20 (MyAppId)`.
1325
- *
1326
- * As per the
1327
- * [Nominatim usage policy](http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy),
1328
- * it should be set to a string which identifies the application which
1329
- * is using geocode-glib, and must be a valid
1330
- * [user agent](https://tools.ietf.org/html/rfc7231#section-5.5.3)
1331
- * string.
1332
- */
1333
- user_agent: string | null
1334
1264
  /**
1335
1265
  * User-Agent string to send with HTTP(S) requests, or %NULL to use the
1336
1266
  * default user agent, which is derived from the geocode-glib version
@@ -1351,8 +1281,8 @@ interface Nominatim extends Backend {
1351
1281
 
1352
1282
  // Own virtual methods of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1353
1283
 
1354
- vfunc_query(uri: string | null, cancellable: Gio.Cancellable | null): string | null
1355
- vfunc_query_async(uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1284
+ vfunc_query(uri: string, cancellable: Gio.Cancellable | null): string | null
1285
+ vfunc_query_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1356
1286
  vfunc_query_finish(res: Gio.AsyncResult): string | null
1357
1287
 
1358
1288
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Nominatim
@@ -1396,7 +1326,7 @@ class Nominatim extends GObject.Object {
1396
1326
  * @param maintainer_email_address the email address of the software maintainer.
1397
1327
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1398
1328
  */
1399
- constructor(base_url: string | null, maintainer_email_address: string | null)
1329
+ constructor(base_url: string, maintainer_email_address: string)
1400
1330
  /**
1401
1331
  * Creates a new backend implementation for an online Nominatim server. See
1402
1332
  * the documentation for #GeocodeNominatim:base-url and
@@ -1406,7 +1336,7 @@ class Nominatim extends GObject.Object {
1406
1336
  * @param maintainer_email_address the email address of the software maintainer.
1407
1337
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1408
1338
  */
1409
- static new(base_url: string | null, maintainer_email_address: string | null): Nominatim
1339
+ static new(base_url: string, maintainer_email_address: string): Nominatim
1410
1340
  _init(config?: Nominatim.ConstructorProperties): void
1411
1341
  /**
1412
1342
  * Gets a reference to the default Nominatim server on nominatim.gnome.org.
@@ -1428,7 +1358,7 @@ module Place {
1428
1358
  /**
1429
1359
  * The local administrative area.
1430
1360
  */
1431
- administrative_area?: string | null
1361
+ administrativeArea?: string | null
1432
1362
  /**
1433
1363
  * A named area such as a campus or neighborhood.
1434
1364
  */
@@ -1436,7 +1366,7 @@ module Place {
1436
1366
  /**
1437
1367
  * The bounding box for the place.
1438
1368
  */
1439
- bounding_box?: BoundingBox | null
1369
+ boundingBox?: BoundingBox | null
1440
1370
  /**
1441
1371
  * A specific building on a street or in an area.
1442
1372
  */
@@ -1452,7 +1382,7 @@ module Place {
1452
1382
  /**
1453
1383
  * The country code.
1454
1384
  */
1455
- country_code?: string | null
1385
+ countryCode?: string | null
1456
1386
  /**
1457
1387
  * The county.
1458
1388
  */
@@ -1468,19 +1398,19 @@ module Place {
1468
1398
  /**
1469
1399
  * The OpenStreetMap id of the place.
1470
1400
  */
1471
- osm_id?: string | null
1401
+ osmId?: string | null
1472
1402
  /**
1473
1403
  * The OpenStreetMap type of the place.
1474
1404
  */
1475
- osm_type?: PlaceOsmType | null
1405
+ osmType?: PlaceOsmType | null
1476
1406
  /**
1477
1407
  * The type of the place.
1478
1408
  */
1479
- place_type?: PlaceType | null
1409
+ placeType?: PlaceType | null
1480
1410
  /**
1481
1411
  * The postal code.
1482
1412
  */
1483
- postal_code?: string | null
1413
+ postalCode?: string | null
1484
1414
  /**
1485
1415
  * The state.
1486
1416
  */
@@ -1492,43 +1422,11 @@ module Place {
1492
1422
  /**
1493
1423
  * The street address.
1494
1424
  */
1495
- street_address?: string | null
1425
+ streetAddress?: string | null
1496
1426
  /**
1497
1427
  * The town.
1498
1428
  */
1499
1429
  town?: string | null
1500
- /**
1501
- * The local administrative area.
1502
- */
1503
- administrativeArea?: string | null
1504
- /**
1505
- * The bounding box for the place.
1506
- */
1507
- boundingBox?: BoundingBox | null
1508
- /**
1509
- * The country code.
1510
- */
1511
- countryCode?: string | null
1512
- /**
1513
- * The OpenStreetMap id of the place.
1514
- */
1515
- osmId?: string | null
1516
- /**
1517
- * The OpenStreetMap type of the place.
1518
- */
1519
- osmType?: PlaceOsmType | null
1520
- /**
1521
- * The type of the place.
1522
- */
1523
- placeType?: PlaceType | null
1524
- /**
1525
- * The postal code.
1526
- */
1527
- postalCode?: string | null
1528
- /**
1529
- * The street address.
1530
- */
1531
- streetAddress?: string | null
1532
1430
  }
1533
1431
 
1534
1432
  }
@@ -1537,10 +1435,6 @@ interface Place {
1537
1435
 
1538
1436
  // Own properties of GeocodeGlib-1.0.GeocodeGlib.Place
1539
1437
 
1540
- /**
1541
- * The local administrative area.
1542
- */
1543
- administrative_area: string | null
1544
1438
  /**
1545
1439
  * The local administrative area.
1546
1440
  */
@@ -1549,10 +1443,6 @@ interface Place {
1549
1443
  * A named area such as a campus or neighborhood.
1550
1444
  */
1551
1445
  area: string | null
1552
- /**
1553
- * The bounding box for the place.
1554
- */
1555
- bounding_box: BoundingBox
1556
1446
  /**
1557
1447
  * The bounding box for the place.
1558
1448
  */
@@ -1569,10 +1459,6 @@ interface Place {
1569
1459
  * The country.
1570
1460
  */
1571
1461
  country: string | null
1572
- /**
1573
- * The country code.
1574
- */
1575
- country_code: string | null
1576
1462
  /**
1577
1463
  * The country code.
1578
1464
  */
@@ -1593,34 +1479,18 @@ interface Place {
1593
1479
  * The name of the place.
1594
1480
  */
1595
1481
  name: string | null
1596
- /**
1597
- * The OpenStreetMap id of the place.
1598
- */
1599
- osm_id: string | null
1600
1482
  /**
1601
1483
  * The OpenStreetMap id of the place.
1602
1484
  */
1603
1485
  osmId: string | null
1604
- /**
1605
- * The OpenStreetMap type of the place.
1606
- */
1607
- osm_type: PlaceOsmType
1608
1486
  /**
1609
1487
  * The OpenStreetMap type of the place.
1610
1488
  */
1611
1489
  osmType: PlaceOsmType
1612
- /**
1613
- * The type of the place.
1614
- */
1615
- readonly place_type: PlaceType
1616
1490
  /**
1617
1491
  * The type of the place.
1618
1492
  */
1619
1493
  readonly placeType: PlaceType
1620
- /**
1621
- * The postal code.
1622
- */
1623
- postal_code: string | null
1624
1494
  /**
1625
1495
  * The postal code.
1626
1496
  */
@@ -1633,10 +1503,6 @@ interface Place {
1633
1503
  * The street name.
1634
1504
  */
1635
1505
  street: string | null
1636
- /**
1637
- * The street address.
1638
- */
1639
- street_address: string | null
1640
1506
  /**
1641
1507
  * The street address.
1642
1508
  */
@@ -1664,12 +1530,12 @@ interface Place {
1664
1530
  * Gets the local administrative area of the `place`.
1665
1531
  * @returns The local administrative area of the @place.
1666
1532
  */
1667
- get_administrative_area(): string | null
1533
+ get_administrative_area(): string
1668
1534
  /**
1669
1535
  * Gets the area of the `place`.
1670
1536
  * @returns The area of the @place.
1671
1537
  */
1672
- get_area(): string | null
1538
+ get_area(): string
1673
1539
  /**
1674
1540
  * Gets the bounding box for the place `place`.
1675
1541
  * @returns A #GeocodeBoundingBox, or NULL if boundaries are unknown.
@@ -1679,27 +1545,27 @@ interface Place {
1679
1545
  * Gets the building of the `place`.
1680
1546
  * @returns The building of the @place.
1681
1547
  */
1682
- get_building(): string | null
1548
+ get_building(): string
1683
1549
  /**
1684
1550
  * Gets the continent of the `place`.
1685
1551
  * @returns The continent of the @place.
1686
1552
  */
1687
- get_continent(): string | null
1553
+ get_continent(): string
1688
1554
  /**
1689
1555
  * Gets the country of the `place`.
1690
1556
  * @returns The country of the @place.
1691
1557
  */
1692
- get_country(): string | null
1558
+ get_country(): string
1693
1559
  /**
1694
1560
  * Gets the ISO-3166 country code of the `place`.
1695
1561
  * @returns The ISO-3166 country code of the @place, in upper case.
1696
1562
  */
1697
- get_country_code(): string | null
1563
+ get_country_code(): string
1698
1564
  /**
1699
1565
  * Gets the county of the `place`.
1700
1566
  * @returns The country of the @place.
1701
1567
  */
1702
- get_county(): string | null
1568
+ get_county(): string
1703
1569
  /**
1704
1570
  * Gets the #GIcon representing the `place`.
1705
1571
  * @returns The #GIcon representing the @place.
@@ -1714,12 +1580,12 @@ interface Place {
1714
1580
  * Gets the name of the `place`.
1715
1581
  * @returns The name of the @place.
1716
1582
  */
1717
- get_name(): string | null
1583
+ get_name(): string
1718
1584
  /**
1719
1585
  * Gets the OpenStreetMap ID of the `place`.
1720
1586
  * @returns The osm ID of the @place.
1721
1587
  */
1722
- get_osm_id(): string | null
1588
+ get_osm_id(): string
1723
1589
  /**
1724
1590
  * Gets the OpenStreetMap type of the `place`.
1725
1591
  * @returns The osm type of the @place.
@@ -1734,37 +1600,37 @@ interface Place {
1734
1600
  * Gets the postal code of the `place`.
1735
1601
  * @returns The postal code of the @place.
1736
1602
  */
1737
- get_postal_code(): string | null
1603
+ get_postal_code(): string
1738
1604
  /**
1739
1605
  * Gets the state of the `place`.
1740
1606
  * @returns The state of the @place.
1741
1607
  */
1742
- get_state(): string | null
1608
+ get_state(): string
1743
1609
  /**
1744
1610
  * Gets the street of the `place`.
1745
1611
  * @returns The street of the @place.
1746
1612
  */
1747
- get_street(): string | null
1613
+ get_street(): string
1748
1614
  /**
1749
1615
  * Gets the street address of the `place`.
1750
1616
  * @returns The street address of the @place.
1751
1617
  */
1752
- get_street_address(): string | null
1618
+ get_street_address(): string
1753
1619
  /**
1754
1620
  * Gets the town of the `place`.
1755
1621
  * @returns The town of the @place.
1756
1622
  */
1757
- get_town(): string | null
1623
+ get_town(): string
1758
1624
  /**
1759
1625
  * Sets the local administrative area of `place` to `admin_area`.
1760
1626
  * @param admin_area an administrative area for the place
1761
1627
  */
1762
- set_administrative_area(admin_area: string | null): void
1628
+ set_administrative_area(admin_area: string): void
1763
1629
  /**
1764
1630
  * Sets the area of `place` to `area`.
1765
1631
  * @param area a area
1766
1632
  */
1767
- set_area(area: string | null): void
1633
+ set_area(area: string): void
1768
1634
  /**
1769
1635
  * Sets the #GeocodeBoundingBox for the place `place`.
1770
1636
  * @param bbox A #GeocodeBoundingBox for the place
@@ -1774,27 +1640,27 @@ interface Place {
1774
1640
  * Sets the building of `place` to `building`.
1775
1641
  * @param building a building
1776
1642
  */
1777
- set_building(building: string | null): void
1643
+ set_building(building: string): void
1778
1644
  /**
1779
1645
  * Sets the continent of `place` to `continent`.
1780
1646
  * @param continent a continent for the place
1781
1647
  */
1782
- set_continent(continent: string | null): void
1648
+ set_continent(continent: string): void
1783
1649
  /**
1784
1650
  * Sets the country of `place` to `country`.
1785
1651
  * @param country a country for the place
1786
1652
  */
1787
- set_country(country: string | null): void
1653
+ set_country(country: string): void
1788
1654
  /**
1789
1655
  * Sets the ISO country code of `place` to `country_code`.
1790
1656
  * @param country_code an ISO country code for the place
1791
1657
  */
1792
- set_country_code(country_code: string | null): void
1658
+ set_country_code(country_code: string): void
1793
1659
  /**
1794
1660
  * Sets the county of `place` to `county`.
1795
1661
  * @param county a county for the place
1796
1662
  */
1797
- set_county(county: string | null): void
1663
+ set_county(county: string): void
1798
1664
  /**
1799
1665
  * Sets the location of `place` to `location`.
1800
1666
  * @param location A location
@@ -1804,32 +1670,32 @@ interface Place {
1804
1670
  * Sets the name of the `place` to `name`.
1805
1671
  * @param name the name of place
1806
1672
  */
1807
- set_name(name: string | null): void
1673
+ set_name(name: string): void
1808
1674
  /**
1809
1675
  * Sets the postal code of `place` to `postal_code`.
1810
1676
  * @param postal_code a postal code for the place
1811
1677
  */
1812
- set_postal_code(postal_code: string | null): void
1678
+ set_postal_code(postal_code: string): void
1813
1679
  /**
1814
1680
  * Sets the state of `place` to `state`.
1815
1681
  * @param state a state for the place
1816
1682
  */
1817
- set_state(state: string | null): void
1683
+ set_state(state: string): void
1818
1684
  /**
1819
1685
  * Sets the street of `place` to `street`.
1820
1686
  * @param street a street
1821
1687
  */
1822
- set_street(street: string | null): void
1688
+ set_street(street: string): void
1823
1689
  /**
1824
1690
  * Sets the street address of `place` to `street_address`.
1825
1691
  * @param street_address a street address for the place
1826
1692
  */
1827
- set_street_address(street_address: string | null): void
1693
+ set_street_address(street_address: string): void
1828
1694
  /**
1829
1695
  * Sets the town of `place` to `town`.
1830
1696
  * @param town a town for the place
1831
1697
  */
1832
- set_town(town: string | null): void
1698
+ set_town(town: string): void
1833
1699
 
1834
1700
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Place
1835
1701
 
@@ -1917,7 +1783,7 @@ class Place extends GObject.Object {
1917
1783
  * @param place_type the type of place
1918
1784
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1919
1785
  */
1920
- constructor(name: string | null, place_type: PlaceType)
1786
+ constructor(name: string, place_type: PlaceType)
1921
1787
  /**
1922
1788
  * Creates a new #GeocodePlace object.
1923
1789
  * @constructor
@@ -1925,7 +1791,7 @@ class Place extends GObject.Object {
1925
1791
  * @param place_type the type of place
1926
1792
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1927
1793
  */
1928
- static new(name: string | null, place_type: PlaceType): Place
1794
+ static new(name: string, place_type: PlaceType): Place
1929
1795
  /**
1930
1796
  * Creates a new #GeocodePlace object.
1931
1797
  * @constructor
@@ -1934,7 +1800,7 @@ class Place extends GObject.Object {
1934
1800
  * @param location the location info for the place
1935
1801
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1936
1802
  */
1937
- static new_with_location(name: string | null, place_type: PlaceType, location: Location): Place
1803
+ static new_with_location(name: string, place_type: PlaceType, location: Location): Place
1938
1804
  _init(config?: Place.ConstructorProperties): void
1939
1805
  }
1940
1806
 
@@ -2199,8 +2065,8 @@ interface NominatimClass {
2199
2065
  // Own fields of GeocodeGlib-1.0.GeocodeGlib.NominatimClass
2200
2066
 
2201
2067
  parent_class: GObject.ObjectClass
2202
- query: (self: Nominatim, uri: string | null, cancellable: Gio.Cancellable | null) => string | null
2203
- query_async: (self: Nominatim, uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2068
+ query: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null) => string | null
2069
+ query_async: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2204
2070
  query_finish: (self: Nominatim, res: Gio.AsyncResult) => string | null
2205
2071
  }
2206
2072
 
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/geocodeglib-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for GeocodeGlib-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "geocodeglib-1.0.js",
7
7
  "main": "geocodeglib-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./geocodeglib-1.0-ambient.d.ts",
10
- "./import": "./geocodeglib-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./geocodeglib-1.0-ambient.d.ts",
11
+ "default": "./geocodeglib-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./geocodeglib-1.0-import.d.ts",
15
+ "default": "./geocodeglib-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./geocodeglib-1.0.d.ts",
@@ -25,12 +31,12 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit geocodeglib-1.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/json-1.0": "^1.7.1-3.2.6",
33
- "@girs/soup-2.4": "^2.74.3-3.2.6"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
38
+ "@girs/json-1.0": "^1.7.1-3.2.8",
39
+ "@girs/soup-2.4": "^2.74.3-3.2.8"
34
40
  },
35
41
  "devDependencies": {
36
42
  "typescript": "*"
@@ -47,7 +53,7 @@
47
53
  "license": "MIT",
48
54
  "repository": {
49
55
  "type": "git",
50
- "url": "git+https://github.com/gjsify/types.git"
56
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
51
57
  },
52
58
  "bugs": {
53
59
  "url": "https://github.com/gjsify/ts-for-gir/issues"