@girs/geocodeglib-1.0 1.0.0-3.2.6 → 1.0.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/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.7.
9
9
 
10
10
  Geocode Helper library
11
11
 
@@ -863,7 +863,7 @@ export class Forward extends GObject.Object {
863
863
  * @param str a string containing a free-form description of the location
864
864
  * @returns a new #GeocodeForward. Use g_object_unref() when done.
865
865
  */
866
- static new_for_string(str: string | null): Forward
866
+ static new_for_string(str: string): Forward
867
867
  _init(config?: Forward.ConstructorProperties): void
868
868
  }
869
869
 
@@ -988,7 +988,7 @@ export interface Location {
988
988
  * Gets the description of location `loc`.
989
989
  * @returns The description of location @loc.
990
990
  */
991
- get_description(): string | null
991
+ get_description(): string
992
992
  /**
993
993
  * Calculates the distance in km, along the curvature of the Earth,
994
994
  * between 2 locations. Note that altitude changes are not
@@ -1017,7 +1017,7 @@ export interface Location {
1017
1017
  * Sets the description of `loc` to `description`.
1018
1018
  * @param description a description for the location
1019
1019
  */
1020
- set_description(description: string | null): void
1020
+ set_description(description: string): void
1021
1021
  /**
1022
1022
  * Initialize a #GeocodeLocation object with the given `uri`.
1023
1023
  *
@@ -1034,7 +1034,7 @@ export interface Location {
1034
1034
  * @param uri a URI mapping out a location
1035
1035
  * @returns %TRUE on success and %FALSE on error.
1036
1036
  */
1037
- set_from_uri(uri: string | null): boolean
1037
+ set_from_uri(uri: string): boolean
1038
1038
  /**
1039
1039
  * Creates a URI representing `loc` in the scheme specified in `scheme`.
1040
1040
  * @param scheme the scheme of the requested URI
@@ -1112,7 +1112,7 @@ export class Location extends GObject.Object {
1112
1112
  * @param description a description for the location
1113
1113
  * @returns a new #GeocodeLocation object. Use g_object_unref() when done.
1114
1114
  */
1115
- static new_with_description(latitude: number, longitude: number, accuracy: number, description: string | null): Location
1115
+ static new_with_description(latitude: number, longitude: number, accuracy: number, description: string): Location
1116
1116
  _init(config?: Location.ConstructorProperties): void
1117
1117
  }
1118
1118
 
@@ -1349,8 +1349,8 @@ export interface Nominatim extends Backend {
1349
1349
 
1350
1350
  // Own virtual methods of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1351
1351
 
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
1352
+ vfunc_query(uri: string, cancellable: Gio.Cancellable | null): string | null
1353
+ vfunc_query_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1354
1354
  vfunc_query_finish(res: Gio.AsyncResult): string | null
1355
1355
 
1356
1356
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Nominatim
@@ -1394,7 +1394,7 @@ export class Nominatim extends GObject.Object {
1394
1394
  * @param maintainer_email_address the email address of the software maintainer.
1395
1395
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1396
1396
  */
1397
- constructor(base_url: string | null, maintainer_email_address: string | null)
1397
+ constructor(base_url: string, maintainer_email_address: string)
1398
1398
  /**
1399
1399
  * Creates a new backend implementation for an online Nominatim server. See
1400
1400
  * the documentation for #GeocodeNominatim:base-url and
@@ -1404,7 +1404,7 @@ export class Nominatim extends GObject.Object {
1404
1404
  * @param maintainer_email_address the email address of the software maintainer.
1405
1405
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1406
1406
  */
1407
- static new(base_url: string | null, maintainer_email_address: string | null): Nominatim
1407
+ static new(base_url: string, maintainer_email_address: string): Nominatim
1408
1408
  _init(config?: Nominatim.ConstructorProperties): void
1409
1409
  /**
1410
1410
  * Gets a reference to the default Nominatim server on nominatim.gnome.org.
@@ -1662,12 +1662,12 @@ export interface Place {
1662
1662
  * Gets the local administrative area of the `place`.
1663
1663
  * @returns The local administrative area of the @place.
1664
1664
  */
1665
- get_administrative_area(): string | null
1665
+ get_administrative_area(): string
1666
1666
  /**
1667
1667
  * Gets the area of the `place`.
1668
1668
  * @returns The area of the @place.
1669
1669
  */
1670
- get_area(): string | null
1670
+ get_area(): string
1671
1671
  /**
1672
1672
  * Gets the bounding box for the place `place`.
1673
1673
  * @returns A #GeocodeBoundingBox, or NULL if boundaries are unknown.
@@ -1677,27 +1677,27 @@ export interface Place {
1677
1677
  * Gets the building of the `place`.
1678
1678
  * @returns The building of the @place.
1679
1679
  */
1680
- get_building(): string | null
1680
+ get_building(): string
1681
1681
  /**
1682
1682
  * Gets the continent of the `place`.
1683
1683
  * @returns The continent of the @place.
1684
1684
  */
1685
- get_continent(): string | null
1685
+ get_continent(): string
1686
1686
  /**
1687
1687
  * Gets the country of the `place`.
1688
1688
  * @returns The country of the @place.
1689
1689
  */
1690
- get_country(): string | null
1690
+ get_country(): string
1691
1691
  /**
1692
1692
  * Gets the ISO-3166 country code of the `place`.
1693
1693
  * @returns The ISO-3166 country code of the @place, in upper case.
1694
1694
  */
1695
- get_country_code(): string | null
1695
+ get_country_code(): string
1696
1696
  /**
1697
1697
  * Gets the county of the `place`.
1698
1698
  * @returns The country of the @place.
1699
1699
  */
1700
- get_county(): string | null
1700
+ get_county(): string
1701
1701
  /**
1702
1702
  * Gets the #GIcon representing the `place`.
1703
1703
  * @returns The #GIcon representing the @place.
@@ -1712,12 +1712,12 @@ export interface Place {
1712
1712
  * Gets the name of the `place`.
1713
1713
  * @returns The name of the @place.
1714
1714
  */
1715
- get_name(): string | null
1715
+ get_name(): string
1716
1716
  /**
1717
1717
  * Gets the OpenStreetMap ID of the `place`.
1718
1718
  * @returns The osm ID of the @place.
1719
1719
  */
1720
- get_osm_id(): string | null
1720
+ get_osm_id(): string
1721
1721
  /**
1722
1722
  * Gets the OpenStreetMap type of the `place`.
1723
1723
  * @returns The osm type of the @place.
@@ -1732,37 +1732,37 @@ export interface Place {
1732
1732
  * Gets the postal code of the `place`.
1733
1733
  * @returns The postal code of the @place.
1734
1734
  */
1735
- get_postal_code(): string | null
1735
+ get_postal_code(): string
1736
1736
  /**
1737
1737
  * Gets the state of the `place`.
1738
1738
  * @returns The state of the @place.
1739
1739
  */
1740
- get_state(): string | null
1740
+ get_state(): string
1741
1741
  /**
1742
1742
  * Gets the street of the `place`.
1743
1743
  * @returns The street of the @place.
1744
1744
  */
1745
- get_street(): string | null
1745
+ get_street(): string
1746
1746
  /**
1747
1747
  * Gets the street address of the `place`.
1748
1748
  * @returns The street address of the @place.
1749
1749
  */
1750
- get_street_address(): string | null
1750
+ get_street_address(): string
1751
1751
  /**
1752
1752
  * Gets the town of the `place`.
1753
1753
  * @returns The town of the @place.
1754
1754
  */
1755
- get_town(): string | null
1755
+ get_town(): string
1756
1756
  /**
1757
1757
  * Sets the local administrative area of `place` to `admin_area`.
1758
1758
  * @param admin_area an administrative area for the place
1759
1759
  */
1760
- set_administrative_area(admin_area: string | null): void
1760
+ set_administrative_area(admin_area: string): void
1761
1761
  /**
1762
1762
  * Sets the area of `place` to `area`.
1763
1763
  * @param area a area
1764
1764
  */
1765
- set_area(area: string | null): void
1765
+ set_area(area: string): void
1766
1766
  /**
1767
1767
  * Sets the #GeocodeBoundingBox for the place `place`.
1768
1768
  * @param bbox A #GeocodeBoundingBox for the place
@@ -1772,27 +1772,27 @@ export interface Place {
1772
1772
  * Sets the building of `place` to `building`.
1773
1773
  * @param building a building
1774
1774
  */
1775
- set_building(building: string | null): void
1775
+ set_building(building: string): void
1776
1776
  /**
1777
1777
  * Sets the continent of `place` to `continent`.
1778
1778
  * @param continent a continent for the place
1779
1779
  */
1780
- set_continent(continent: string | null): void
1780
+ set_continent(continent: string): void
1781
1781
  /**
1782
1782
  * Sets the country of `place` to `country`.
1783
1783
  * @param country a country for the place
1784
1784
  */
1785
- set_country(country: string | null): void
1785
+ set_country(country: string): void
1786
1786
  /**
1787
1787
  * Sets the ISO country code of `place` to `country_code`.
1788
1788
  * @param country_code an ISO country code for the place
1789
1789
  */
1790
- set_country_code(country_code: string | null): void
1790
+ set_country_code(country_code: string): void
1791
1791
  /**
1792
1792
  * Sets the county of `place` to `county`.
1793
1793
  * @param county a county for the place
1794
1794
  */
1795
- set_county(county: string | null): void
1795
+ set_county(county: string): void
1796
1796
  /**
1797
1797
  * Sets the location of `place` to `location`.
1798
1798
  * @param location A location
@@ -1802,32 +1802,32 @@ export interface Place {
1802
1802
  * Sets the name of the `place` to `name`.
1803
1803
  * @param name the name of place
1804
1804
  */
1805
- set_name(name: string | null): void
1805
+ set_name(name: string): void
1806
1806
  /**
1807
1807
  * Sets the postal code of `place` to `postal_code`.
1808
1808
  * @param postal_code a postal code for the place
1809
1809
  */
1810
- set_postal_code(postal_code: string | null): void
1810
+ set_postal_code(postal_code: string): void
1811
1811
  /**
1812
1812
  * Sets the state of `place` to `state`.
1813
1813
  * @param state a state for the place
1814
1814
  */
1815
- set_state(state: string | null): void
1815
+ set_state(state: string): void
1816
1816
  /**
1817
1817
  * Sets the street of `place` to `street`.
1818
1818
  * @param street a street
1819
1819
  */
1820
- set_street(street: string | null): void
1820
+ set_street(street: string): void
1821
1821
  /**
1822
1822
  * Sets the street address of `place` to `street_address`.
1823
1823
  * @param street_address a street address for the place
1824
1824
  */
1825
- set_street_address(street_address: string | null): void
1825
+ set_street_address(street_address: string): void
1826
1826
  /**
1827
1827
  * Sets the town of `place` to `town`.
1828
1828
  * @param town a town for the place
1829
1829
  */
1830
- set_town(town: string | null): void
1830
+ set_town(town: string): void
1831
1831
 
1832
1832
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Place
1833
1833
 
@@ -1915,7 +1915,7 @@ export class Place extends GObject.Object {
1915
1915
  * @param place_type the type of place
1916
1916
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1917
1917
  */
1918
- constructor(name: string | null, place_type: PlaceType)
1918
+ constructor(name: string, place_type: PlaceType)
1919
1919
  /**
1920
1920
  * Creates a new #GeocodePlace object.
1921
1921
  * @constructor
@@ -1923,7 +1923,7 @@ export class Place extends GObject.Object {
1923
1923
  * @param place_type the type of place
1924
1924
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1925
1925
  */
1926
- static new(name: string | null, place_type: PlaceType): Place
1926
+ static new(name: string, place_type: PlaceType): Place
1927
1927
  /**
1928
1928
  * Creates a new #GeocodePlace object.
1929
1929
  * @constructor
@@ -1932,7 +1932,7 @@ export class Place extends GObject.Object {
1932
1932
  * @param location the location info for the place
1933
1933
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1934
1934
  */
1935
- static new_with_location(name: string | null, place_type: PlaceType, location: Location): Place
1935
+ static new_with_location(name: string, place_type: PlaceType, location: Location): Place
1936
1936
  _init(config?: Place.ConstructorProperties): void
1937
1937
  }
1938
1938
 
@@ -2197,8 +2197,8 @@ export interface NominatimClass {
2197
2197
  // Own fields of GeocodeGlib-1.0.GeocodeGlib.NominatimClass
2198
2198
 
2199
2199
  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
2200
+ query: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null) => string | null
2201
+ query_async: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2202
2202
  query_finish: (self: Nominatim, res: Gio.AsyncResult) => string | null
2203
2203
  }
2204
2204
 
@@ -865,7 +865,7 @@ class Forward extends GObject.Object {
865
865
  * @param str a string containing a free-form description of the location
866
866
  * @returns a new #GeocodeForward. Use g_object_unref() when done.
867
867
  */
868
- static new_for_string(str: string | null): Forward
868
+ static new_for_string(str: string): Forward
869
869
  _init(config?: Forward.ConstructorProperties): void
870
870
  }
871
871
 
@@ -990,7 +990,7 @@ interface Location {
990
990
  * Gets the description of location `loc`.
991
991
  * @returns The description of location @loc.
992
992
  */
993
- get_description(): string | null
993
+ get_description(): string
994
994
  /**
995
995
  * Calculates the distance in km, along the curvature of the Earth,
996
996
  * between 2 locations. Note that altitude changes are not
@@ -1019,7 +1019,7 @@ interface Location {
1019
1019
  * Sets the description of `loc` to `description`.
1020
1020
  * @param description a description for the location
1021
1021
  */
1022
- set_description(description: string | null): void
1022
+ set_description(description: string): void
1023
1023
  /**
1024
1024
  * Initialize a #GeocodeLocation object with the given `uri`.
1025
1025
  *
@@ -1036,7 +1036,7 @@ interface Location {
1036
1036
  * @param uri a URI mapping out a location
1037
1037
  * @returns %TRUE on success and %FALSE on error.
1038
1038
  */
1039
- set_from_uri(uri: string | null): boolean
1039
+ set_from_uri(uri: string): boolean
1040
1040
  /**
1041
1041
  * Creates a URI representing `loc` in the scheme specified in `scheme`.
1042
1042
  * @param scheme the scheme of the requested URI
@@ -1114,7 +1114,7 @@ class Location extends GObject.Object {
1114
1114
  * @param description a description for the location
1115
1115
  * @returns a new #GeocodeLocation object. Use g_object_unref() when done.
1116
1116
  */
1117
- static new_with_description(latitude: number, longitude: number, accuracy: number, description: string | null): Location
1117
+ static new_with_description(latitude: number, longitude: number, accuracy: number, description: string): Location
1118
1118
  _init(config?: Location.ConstructorProperties): void
1119
1119
  }
1120
1120
 
@@ -1351,8 +1351,8 @@ interface Nominatim extends Backend {
1351
1351
 
1352
1352
  // Own virtual methods of GeocodeGlib-1.0.GeocodeGlib.Nominatim
1353
1353
 
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
1354
+ vfunc_query(uri: string, cancellable: Gio.Cancellable | null): string | null
1355
+ vfunc_query_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1356
1356
  vfunc_query_finish(res: Gio.AsyncResult): string | null
1357
1357
 
1358
1358
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Nominatim
@@ -1396,7 +1396,7 @@ class Nominatim extends GObject.Object {
1396
1396
  * @param maintainer_email_address the email address of the software maintainer.
1397
1397
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1398
1398
  */
1399
- constructor(base_url: string | null, maintainer_email_address: string | null)
1399
+ constructor(base_url: string, maintainer_email_address: string)
1400
1400
  /**
1401
1401
  * Creates a new backend implementation for an online Nominatim server. See
1402
1402
  * the documentation for #GeocodeNominatim:base-url and
@@ -1406,7 +1406,7 @@ class Nominatim extends GObject.Object {
1406
1406
  * @param maintainer_email_address the email address of the software maintainer.
1407
1407
  * @returns a new #GeocodeNominatim. Use g_object_unref() when done.
1408
1408
  */
1409
- static new(base_url: string | null, maintainer_email_address: string | null): Nominatim
1409
+ static new(base_url: string, maintainer_email_address: string): Nominatim
1410
1410
  _init(config?: Nominatim.ConstructorProperties): void
1411
1411
  /**
1412
1412
  * Gets a reference to the default Nominatim server on nominatim.gnome.org.
@@ -1664,12 +1664,12 @@ interface Place {
1664
1664
  * Gets the local administrative area of the `place`.
1665
1665
  * @returns The local administrative area of the @place.
1666
1666
  */
1667
- get_administrative_area(): string | null
1667
+ get_administrative_area(): string
1668
1668
  /**
1669
1669
  * Gets the area of the `place`.
1670
1670
  * @returns The area of the @place.
1671
1671
  */
1672
- get_area(): string | null
1672
+ get_area(): string
1673
1673
  /**
1674
1674
  * Gets the bounding box for the place `place`.
1675
1675
  * @returns A #GeocodeBoundingBox, or NULL if boundaries are unknown.
@@ -1679,27 +1679,27 @@ interface Place {
1679
1679
  * Gets the building of the `place`.
1680
1680
  * @returns The building of the @place.
1681
1681
  */
1682
- get_building(): string | null
1682
+ get_building(): string
1683
1683
  /**
1684
1684
  * Gets the continent of the `place`.
1685
1685
  * @returns The continent of the @place.
1686
1686
  */
1687
- get_continent(): string | null
1687
+ get_continent(): string
1688
1688
  /**
1689
1689
  * Gets the country of the `place`.
1690
1690
  * @returns The country of the @place.
1691
1691
  */
1692
- get_country(): string | null
1692
+ get_country(): string
1693
1693
  /**
1694
1694
  * Gets the ISO-3166 country code of the `place`.
1695
1695
  * @returns The ISO-3166 country code of the @place, in upper case.
1696
1696
  */
1697
- get_country_code(): string | null
1697
+ get_country_code(): string
1698
1698
  /**
1699
1699
  * Gets the county of the `place`.
1700
1700
  * @returns The country of the @place.
1701
1701
  */
1702
- get_county(): string | null
1702
+ get_county(): string
1703
1703
  /**
1704
1704
  * Gets the #GIcon representing the `place`.
1705
1705
  * @returns The #GIcon representing the @place.
@@ -1714,12 +1714,12 @@ interface Place {
1714
1714
  * Gets the name of the `place`.
1715
1715
  * @returns The name of the @place.
1716
1716
  */
1717
- get_name(): string | null
1717
+ get_name(): string
1718
1718
  /**
1719
1719
  * Gets the OpenStreetMap ID of the `place`.
1720
1720
  * @returns The osm ID of the @place.
1721
1721
  */
1722
- get_osm_id(): string | null
1722
+ get_osm_id(): string
1723
1723
  /**
1724
1724
  * Gets the OpenStreetMap type of the `place`.
1725
1725
  * @returns The osm type of the @place.
@@ -1734,37 +1734,37 @@ interface Place {
1734
1734
  * Gets the postal code of the `place`.
1735
1735
  * @returns The postal code of the @place.
1736
1736
  */
1737
- get_postal_code(): string | null
1737
+ get_postal_code(): string
1738
1738
  /**
1739
1739
  * Gets the state of the `place`.
1740
1740
  * @returns The state of the @place.
1741
1741
  */
1742
- get_state(): string | null
1742
+ get_state(): string
1743
1743
  /**
1744
1744
  * Gets the street of the `place`.
1745
1745
  * @returns The street of the @place.
1746
1746
  */
1747
- get_street(): string | null
1747
+ get_street(): string
1748
1748
  /**
1749
1749
  * Gets the street address of the `place`.
1750
1750
  * @returns The street address of the @place.
1751
1751
  */
1752
- get_street_address(): string | null
1752
+ get_street_address(): string
1753
1753
  /**
1754
1754
  * Gets the town of the `place`.
1755
1755
  * @returns The town of the @place.
1756
1756
  */
1757
- get_town(): string | null
1757
+ get_town(): string
1758
1758
  /**
1759
1759
  * Sets the local administrative area of `place` to `admin_area`.
1760
1760
  * @param admin_area an administrative area for the place
1761
1761
  */
1762
- set_administrative_area(admin_area: string | null): void
1762
+ set_administrative_area(admin_area: string): void
1763
1763
  /**
1764
1764
  * Sets the area of `place` to `area`.
1765
1765
  * @param area a area
1766
1766
  */
1767
- set_area(area: string | null): void
1767
+ set_area(area: string): void
1768
1768
  /**
1769
1769
  * Sets the #GeocodeBoundingBox for the place `place`.
1770
1770
  * @param bbox A #GeocodeBoundingBox for the place
@@ -1774,27 +1774,27 @@ interface Place {
1774
1774
  * Sets the building of `place` to `building`.
1775
1775
  * @param building a building
1776
1776
  */
1777
- set_building(building: string | null): void
1777
+ set_building(building: string): void
1778
1778
  /**
1779
1779
  * Sets the continent of `place` to `continent`.
1780
1780
  * @param continent a continent for the place
1781
1781
  */
1782
- set_continent(continent: string | null): void
1782
+ set_continent(continent: string): void
1783
1783
  /**
1784
1784
  * Sets the country of `place` to `country`.
1785
1785
  * @param country a country for the place
1786
1786
  */
1787
- set_country(country: string | null): void
1787
+ set_country(country: string): void
1788
1788
  /**
1789
1789
  * Sets the ISO country code of `place` to `country_code`.
1790
1790
  * @param country_code an ISO country code for the place
1791
1791
  */
1792
- set_country_code(country_code: string | null): void
1792
+ set_country_code(country_code: string): void
1793
1793
  /**
1794
1794
  * Sets the county of `place` to `county`.
1795
1795
  * @param county a county for the place
1796
1796
  */
1797
- set_county(county: string | null): void
1797
+ set_county(county: string): void
1798
1798
  /**
1799
1799
  * Sets the location of `place` to `location`.
1800
1800
  * @param location A location
@@ -1804,32 +1804,32 @@ interface Place {
1804
1804
  * Sets the name of the `place` to `name`.
1805
1805
  * @param name the name of place
1806
1806
  */
1807
- set_name(name: string | null): void
1807
+ set_name(name: string): void
1808
1808
  /**
1809
1809
  * Sets the postal code of `place` to `postal_code`.
1810
1810
  * @param postal_code a postal code for the place
1811
1811
  */
1812
- set_postal_code(postal_code: string | null): void
1812
+ set_postal_code(postal_code: string): void
1813
1813
  /**
1814
1814
  * Sets the state of `place` to `state`.
1815
1815
  * @param state a state for the place
1816
1816
  */
1817
- set_state(state: string | null): void
1817
+ set_state(state: string): void
1818
1818
  /**
1819
1819
  * Sets the street of `place` to `street`.
1820
1820
  * @param street a street
1821
1821
  */
1822
- set_street(street: string | null): void
1822
+ set_street(street: string): void
1823
1823
  /**
1824
1824
  * Sets the street address of `place` to `street_address`.
1825
1825
  * @param street_address a street address for the place
1826
1826
  */
1827
- set_street_address(street_address: string | null): void
1827
+ set_street_address(street_address: string): void
1828
1828
  /**
1829
1829
  * Sets the town of `place` to `town`.
1830
1830
  * @param town a town for the place
1831
1831
  */
1832
- set_town(town: string | null): void
1832
+ set_town(town: string): void
1833
1833
 
1834
1834
  // Class property signals of GeocodeGlib-1.0.GeocodeGlib.Place
1835
1835
 
@@ -1917,7 +1917,7 @@ class Place extends GObject.Object {
1917
1917
  * @param place_type the type of place
1918
1918
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1919
1919
  */
1920
- constructor(name: string | null, place_type: PlaceType)
1920
+ constructor(name: string, place_type: PlaceType)
1921
1921
  /**
1922
1922
  * Creates a new #GeocodePlace object.
1923
1923
  * @constructor
@@ -1925,7 +1925,7 @@ class Place extends GObject.Object {
1925
1925
  * @param place_type the type of place
1926
1926
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1927
1927
  */
1928
- static new(name: string | null, place_type: PlaceType): Place
1928
+ static new(name: string, place_type: PlaceType): Place
1929
1929
  /**
1930
1930
  * Creates a new #GeocodePlace object.
1931
1931
  * @constructor
@@ -1934,7 +1934,7 @@ class Place extends GObject.Object {
1934
1934
  * @param location the location info for the place
1935
1935
  * @returns a new #GeocodePlace object. Use g_object_unref() when done.
1936
1936
  */
1937
- static new_with_location(name: string | null, place_type: PlaceType, location: Location): Place
1937
+ static new_with_location(name: string, place_type: PlaceType, location: Location): Place
1938
1938
  _init(config?: Place.ConstructorProperties): void
1939
1939
  }
1940
1940
 
@@ -2199,8 +2199,8 @@ interface NominatimClass {
2199
2199
  // Own fields of GeocodeGlib-1.0.GeocodeGlib.NominatimClass
2200
2200
 
2201
2201
  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
2202
+ query: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null) => string | null
2203
+ query_async: (self: Nominatim, uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2204
2204
  query_finish: (self: Nominatim, res: Gio.AsyncResult) => string | null
2205
2205
  }
2206
2206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/geocodeglib-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.7",
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",
@@ -25,12 +25,12 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit geocodeglib-1.0.d.cts"
26
26
  },
27
27
  "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"
28
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
29
+ "@girs/gjs": "^3.2.7",
30
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
31
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
32
+ "@girs/json-1.0": "^1.7.1-3.2.7",
33
+ "@girs/soup-2.4": "^2.74.3-3.2.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "*"