@girs/geoclue-2.0 2.0.0-3.2.7 → 2.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/geoclue-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Geoclue-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Geoclue-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  GeoClue is a D-Bus geoinformation service. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/geoclue-2.0.d.cts CHANGED
@@ -110,43 +110,19 @@ export module Client {
110
110
  *
111
111
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
112
112
  */
113
- desktop_id?: string | null
113
+ desktopId?: string | null
114
114
  /**
115
115
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
116
116
  *
117
117
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
118
118
  */
119
- distance_threshold?: number | null
119
+ distanceThreshold?: number | null
120
120
  /**
121
121
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link>.
122
122
  *
123
123
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
124
124
  */
125
125
  location?: string | null
126
- /**
127
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
128
- *
129
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
130
- */
131
- requested_accuracy_level?: number | null
132
- /**
133
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
134
- *
135
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
136
- */
137
- time_threshold?: number | null
138
- /**
139
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
140
- *
141
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
142
- */
143
- desktopId?: string | null
144
- /**
145
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
146
- *
147
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
148
- */
149
- distanceThreshold?: number | null
150
126
  /**
151
127
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
152
128
  *
@@ -173,24 +149,12 @@ export interface Client {
173
149
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
174
150
  */
175
151
  active: boolean
176
- /**
177
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
178
- *
179
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
180
- */
181
- desktop_id: string | null
182
152
  /**
183
153
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
184
154
  *
185
155
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
186
156
  */
187
157
  desktopId: string | null
188
- /**
189
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
190
- *
191
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
192
- */
193
- distance_threshold: number
194
158
  /**
195
159
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
196
160
  *
@@ -203,24 +167,12 @@ export interface Client {
203
167
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
204
168
  */
205
169
  location: string | null
206
- /**
207
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
208
- *
209
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
210
- */
211
- requested_accuracy_level: number
212
170
  /**
213
171
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
214
172
  *
215
173
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
216
174
  */
217
175
  requestedAccuracyLevel: number
218
- /**
219
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
220
- *
221
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
222
- */
223
- time_threshold: number
224
176
  /**
225
177
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
226
178
  *
@@ -587,18 +539,6 @@ export module Manager {
587
539
 
588
540
  // Own constructor properties of Geoclue-2.0.Geoclue.Manager
589
541
 
590
- /**
591
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
592
- *
593
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
594
- */
595
- available_accuracy_level?: number | null
596
- /**
597
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
598
- *
599
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
600
- */
601
- in_use?: boolean | null
602
542
  /**
603
543
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
604
544
  *
@@ -619,24 +559,12 @@ export interface Manager {
619
559
 
620
560
  // Own properties of Geoclue-2.0.Geoclue.Manager
621
561
 
622
- /**
623
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
624
- *
625
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
626
- */
627
- available_accuracy_level: number
628
562
  /**
629
563
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
630
564
  *
631
565
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
632
566
  */
633
567
  availableAccuracyLevel: number
634
- /**
635
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
636
- *
637
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
638
- */
639
- in_use: boolean
640
568
  /**
641
569
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
642
570
  *
@@ -1983,30 +1911,6 @@ export module Simple {
1983
1911
 
1984
1912
  // Own constructor properties of Geoclue-2.0.Geoclue.Simple
1985
1913
 
1986
- /**
1987
- * The requested maximum accuracy level.
1988
- */
1989
- accuracy_level?: AccuracyLevel | null
1990
- /**
1991
- * The Desktop ID of the application.
1992
- */
1993
- desktop_id?: string | null
1994
- /**
1995
- * The current distance threshold in meters. This value is used by the
1996
- * service when it gets new location info. If the distance moved is
1997
- * below the threshold, it won't emit the LocationUpdated signal.
1998
- *
1999
- * When set to 0 (default), it always emits the signal.
2000
- */
2001
- distance_threshold?: number | null
2002
- /**
2003
- * The current time threshold in seconds. This value is used by the
2004
- * service when it gets new location info. If the time passed is
2005
- * below the threshold, it won't emit the LocationUpdated signal.
2006
- *
2007
- * When set to 0 (default), it always emits the signal.
2008
- */
2009
- time_threshold?: number | null
2010
1914
  /**
2011
1915
  * The requested maximum accuracy level.
2012
1916
  */
@@ -2039,10 +1943,6 @@ export interface Simple extends Gio.AsyncInitable {
2039
1943
 
2040
1944
  // Own properties of Geoclue-2.0.Geoclue.Simple
2041
1945
 
2042
- /**
2043
- * The requested maximum accuracy level.
2044
- */
2045
- readonly accuracy_level: AccuracyLevel
2046
1946
  /**
2047
1947
  * The requested maximum accuracy level.
2048
1948
  */
@@ -2052,22 +1952,10 @@ export interface Simple extends Gio.AsyncInitable {
2052
1952
  * (i-e when inside the Flatpak sandbox).
2053
1953
  */
2054
1954
  readonly client: ClientProxy
2055
- /**
2056
- * The Desktop ID of the application.
2057
- */
2058
- readonly desktop_id: string | null
2059
1955
  /**
2060
1956
  * The Desktop ID of the application.
2061
1957
  */
2062
1958
  readonly desktopId: string | null
2063
- /**
2064
- * The current distance threshold in meters. This value is used by the
2065
- * service when it gets new location info. If the distance moved is
2066
- * below the threshold, it won't emit the LocationUpdated signal.
2067
- *
2068
- * When set to 0 (default), it always emits the signal.
2069
- */
2070
- readonly distance_threshold: number
2071
1959
  /**
2072
1960
  * The current distance threshold in meters. This value is used by the
2073
1961
  * service when it gets new location info. If the distance moved is
@@ -2080,14 +1968,6 @@ export interface Simple extends Gio.AsyncInitable {
2080
1968
  * The current location.
2081
1969
  */
2082
1970
  readonly location: LocationProxy
2083
- /**
2084
- * The current time threshold in seconds. This value is used by the
2085
- * service when it gets new location info. If the time passed is
2086
- * below the threshold, it won't emit the LocationUpdated signal.
2087
- *
2088
- * When set to 0 (default), it always emits the signal.
2089
- */
2090
- readonly time_threshold: number
2091
1971
  /**
2092
1972
  * The current time threshold in seconds. This value is used by the
2093
1973
  * service when it gets new location info. If the time passed is
package/geoclue-2.0.d.ts CHANGED
@@ -112,43 +112,19 @@ module Client {
112
112
  *
113
113
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
114
114
  */
115
- desktop_id?: string | null
115
+ desktopId?: string | null
116
116
  /**
117
117
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
118
118
  *
119
119
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
120
120
  */
121
- distance_threshold?: number | null
121
+ distanceThreshold?: number | null
122
122
  /**
123
123
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link>.
124
124
  *
125
125
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
126
126
  */
127
127
  location?: string | null
128
- /**
129
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
130
- *
131
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
132
- */
133
- requested_accuracy_level?: number | null
134
- /**
135
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
136
- *
137
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
138
- */
139
- time_threshold?: number | null
140
- /**
141
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
142
- *
143
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
144
- */
145
- desktopId?: string | null
146
- /**
147
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
148
- *
149
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
150
- */
151
- distanceThreshold?: number | null
152
128
  /**
153
129
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
154
130
  *
@@ -175,24 +151,12 @@ interface Client {
175
151
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
176
152
  */
177
153
  active: boolean
178
- /**
179
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
180
- *
181
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
182
- */
183
- desktop_id: string | null
184
154
  /**
185
155
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
186
156
  *
187
157
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
188
158
  */
189
159
  desktopId: string | null
190
- /**
191
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
192
- *
193
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
194
- */
195
- distance_threshold: number
196
160
  /**
197
161
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
198
162
  *
@@ -205,24 +169,12 @@ interface Client {
205
169
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
206
170
  */
207
171
  location: string | null
208
- /**
209
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
210
- *
211
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
212
- */
213
- requested_accuracy_level: number
214
172
  /**
215
173
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
216
174
  *
217
175
  * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
218
176
  */
219
177
  requestedAccuracyLevel: number
220
- /**
221
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
222
- *
223
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
224
- */
225
- time_threshold: number
226
178
  /**
227
179
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
228
180
  *
@@ -589,18 +541,6 @@ module Manager {
589
541
 
590
542
  // Own constructor properties of Geoclue-2.0.Geoclue.Manager
591
543
 
592
- /**
593
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
594
- *
595
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
596
- */
597
- available_accuracy_level?: number | null
598
- /**
599
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
600
- *
601
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
602
- */
603
- in_use?: boolean | null
604
544
  /**
605
545
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
606
546
  *
@@ -621,24 +561,12 @@ interface Manager {
621
561
 
622
562
  // Own properties of Geoclue-2.0.Geoclue.Manager
623
563
 
624
- /**
625
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
626
- *
627
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
628
- */
629
- available_accuracy_level: number
630
564
  /**
631
565
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
632
566
  *
633
567
  * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
634
568
  */
635
569
  availableAccuracyLevel: number
636
- /**
637
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
638
- *
639
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
640
- */
641
- in_use: boolean
642
570
  /**
643
571
  * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
644
572
  *
@@ -1985,30 +1913,6 @@ module Simple {
1985
1913
 
1986
1914
  // Own constructor properties of Geoclue-2.0.Geoclue.Simple
1987
1915
 
1988
- /**
1989
- * The requested maximum accuracy level.
1990
- */
1991
- accuracy_level?: AccuracyLevel | null
1992
- /**
1993
- * The Desktop ID of the application.
1994
- */
1995
- desktop_id?: string | null
1996
- /**
1997
- * The current distance threshold in meters. This value is used by the
1998
- * service when it gets new location info. If the distance moved is
1999
- * below the threshold, it won't emit the LocationUpdated signal.
2000
- *
2001
- * When set to 0 (default), it always emits the signal.
2002
- */
2003
- distance_threshold?: number | null
2004
- /**
2005
- * The current time threshold in seconds. This value is used by the
2006
- * service when it gets new location info. If the time passed is
2007
- * below the threshold, it won't emit the LocationUpdated signal.
2008
- *
2009
- * When set to 0 (default), it always emits the signal.
2010
- */
2011
- time_threshold?: number | null
2012
1916
  /**
2013
1917
  * The requested maximum accuracy level.
2014
1918
  */
@@ -2041,10 +1945,6 @@ interface Simple extends Gio.AsyncInitable {
2041
1945
 
2042
1946
  // Own properties of Geoclue-2.0.Geoclue.Simple
2043
1947
 
2044
- /**
2045
- * The requested maximum accuracy level.
2046
- */
2047
- readonly accuracy_level: AccuracyLevel
2048
1948
  /**
2049
1949
  * The requested maximum accuracy level.
2050
1950
  */
@@ -2054,22 +1954,10 @@ interface Simple extends Gio.AsyncInitable {
2054
1954
  * (i-e when inside the Flatpak sandbox).
2055
1955
  */
2056
1956
  readonly client: ClientProxy
2057
- /**
2058
- * The Desktop ID of the application.
2059
- */
2060
- readonly desktop_id: string | null
2061
1957
  /**
2062
1958
  * The Desktop ID of the application.
2063
1959
  */
2064
1960
  readonly desktopId: string | null
2065
- /**
2066
- * The current distance threshold in meters. This value is used by the
2067
- * service when it gets new location info. If the distance moved is
2068
- * below the threshold, it won't emit the LocationUpdated signal.
2069
- *
2070
- * When set to 0 (default), it always emits the signal.
2071
- */
2072
- readonly distance_threshold: number
2073
1961
  /**
2074
1962
  * The current distance threshold in meters. This value is used by the
2075
1963
  * service when it gets new location info. If the distance moved is
@@ -2082,14 +1970,6 @@ interface Simple extends Gio.AsyncInitable {
2082
1970
  * The current location.
2083
1971
  */
2084
1972
  readonly location: LocationProxy
2085
- /**
2086
- * The current time threshold in seconds. This value is used by the
2087
- * service when it gets new location info. If the time passed is
2088
- * below the threshold, it won't emit the LocationUpdated signal.
2089
- *
2090
- * When set to 0 (default), it always emits the signal.
2091
- */
2092
- readonly time_threshold: number
2093
1973
  /**
2094
1974
  * The current time threshold in seconds. This value is used by the
2095
1975
  * service when it gets new location info. If the time passed is
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/geoclue-2.0",
3
- "version": "2.0.0-3.2.7",
3
+ "version": "2.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Geoclue-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "geoclue-2.0.js",
7
7
  "main": "geoclue-2.0.js",
8
8
  "exports": {
9
- "./ambient": "./geoclue-2.0-ambient.d.ts",
10
- "./import": "./geoclue-2.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./geoclue-2.0-ambient.d.ts",
11
+ "default": "./geoclue-2.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./geoclue-2.0-import.d.ts",
15
+ "default": "./geoclue-2.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./geoclue-2.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit geoclue-2.0.d.cts"
26
32
  },
27
33
  "dependencies": {
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"
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"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"