@girs/trackerminer-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/trackerminer-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for TrackerMiner-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 TrackerMiner-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
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/trackerminer-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 TrackerMiner-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "trackerminer-1.0.js",
@@ -25,12 +25,12 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit trackerminer-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/gmodule-2.0": "^2.0.0-3.2.6",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
33
- "@girs/tracker-1.0": "^1.0.0-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/gmodule-2.0": "^2.0.0-3.2.7",
32
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
33
+ "@girs/tracker-1.0": "^1.0.0-3.2.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "*"
@@ -119,25 +119,25 @@ export enum DirectoryFlags {
119
119
  * The name of the D-Bus interface to use for all data miners that
120
120
  * inter-operate with Tracker.
121
121
  */
122
- export const MINER_DBUS_INTERFACE: string | null
122
+ export const MINER_DBUS_INTERFACE: string
123
123
  /**
124
124
  * D-Bus name prefix to use for all data miners. This allows custom
125
125
  * miners to be written using `TRACKER_MINER_DBUS_NAME_PREFIX` + "Files" for
126
126
  * example and would show up on D-Bus under
127
127
  * "org.freedesktop.Tracker1.Miner.Files".
128
128
  */
129
- export const MINER_DBUS_NAME_PREFIX: string | null
129
+ export const MINER_DBUS_NAME_PREFIX: string
130
130
  /**
131
131
  * D-Bus path prefix to use for all data miners. This allows custom
132
132
  * miners to be written using `TRACKER_MINER_DBUS_PATH_PREFIX` + "Files" for
133
133
  * example and would show up on D-Bus under
134
134
  * "/org/freedesktop/Tracker1/Miner/Files".
135
135
  */
136
- export const MINER_DBUS_PATH_PREFIX: string | null
136
+ export const MINER_DBUS_PATH_PREFIX: string
137
137
  /**
138
138
  * Used as the domain for any #GErrors reported by `TrackerMiner` objects.
139
139
  */
140
- export const MINER_ERROR_DOMAIN: string | null
140
+ export const MINER_ERROR_DOMAIN: string
141
141
  export module DataProvider {
142
142
 
143
143
  // Constructor properties interface
@@ -171,7 +171,7 @@ export interface DataProvider {
171
171
  * @param cancellable optional #GCancellable object, %NULL to ignore.
172
172
  * @returns a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
173
173
  */
174
- begin(url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
174
+ begin(url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
175
175
  /**
176
176
  * Precisely the same operation as tracker_data_provider_begin()
177
177
  * is performing, but asynchronously.
@@ -200,7 +200,7 @@ export interface DataProvider {
200
200
  * @param cancellable optional #GCancellable object, %NULL to ignore
201
201
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
202
202
  */
203
- begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
203
+ begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
204
204
 
205
205
  // Overloads of begin_async
206
206
 
@@ -234,7 +234,7 @@ export interface DataProvider {
234
234
  * @param cancellable optional #GCancellable object, %NULL to ignore
235
235
  * @returns A Promise of: a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
236
236
  */
237
- begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<Enumerator>
237
+ begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<Enumerator>
238
238
  /**
239
239
  * Finishes the asynchronous operation started with
240
240
  * tracker_data_provider_begin_async().
@@ -351,7 +351,7 @@ export interface DataProvider {
351
351
  * @param cancellable optional #GCancellable object, %NULL to ignore.
352
352
  * @returns a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
353
353
  */
354
- vfunc_begin(url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
354
+ vfunc_begin(url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
355
355
  /**
356
356
  * Precisely the same operation as tracker_data_provider_begin()
357
357
  * is performing, but asynchronously.
@@ -381,7 +381,7 @@ export interface DataProvider {
381
381
  * @param cancellable optional #GCancellable object, %NULL to ignore
382
382
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
383
383
  */
384
- vfunc_begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
384
+ vfunc_begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
385
385
  /**
386
386
  * Finishes the asynchronous operation started with
387
387
  * tracker_data_provider_begin_async().
@@ -695,7 +695,7 @@ export interface Decorator extends Gio.Initable {
695
695
  * so it's clear WHO has extracted this extended metadata.
696
696
  * @returns a const gchar* or #NULL if an error happened.
697
697
  */
698
- get_data_source(): string | null
698
+ get_data_source(): string
699
699
  /**
700
700
  * Get the number of items left in the queue to be processed. This
701
701
  * indicates content that may already exist in Tracker but is waiting
@@ -738,7 +738,7 @@ export interface Decorator extends Gio.Initable {
738
738
  * standard time it would take to index content.
739
739
  * @param rdf_types a string array of rdf types
740
740
  */
741
- set_priority_rdf_types(rdf_types: string | null): void
741
+ set_priority_rdf_types(rdf_types: string): void
742
742
 
743
743
  // Own virtual methods of TrackerMiner-1.0.TrackerMiner.Decorator
744
744
 
@@ -969,7 +969,7 @@ export interface IndexingTree {
969
969
  * @param filter filter type
970
970
  * @param glob_string glob-style string for the filter
971
971
  */
972
- add_filter(filter: FilterType, glob_string: string | null): void
972
+ add_filter(filter: FilterType, glob_string: string): void
973
973
  /**
974
974
  * Clears all filters of a given type.
975
975
  * @param type filter type to clear
@@ -1285,12 +1285,12 @@ export interface Miner extends Gio.Initable {
1285
1285
  * Gets the DBus name registered by `miner`
1286
1286
  * @returns a constant string which should not be modified by the caller.
1287
1287
  */
1288
- get_dbus_full_name(): string | null
1288
+ get_dbus_full_name(): string
1289
1289
  /**
1290
1290
  * Gets the DBus path registered by `miner`
1291
1291
  * @returns a constant string which should not be modified by the caller.
1292
1292
  */
1293
- get_dbus_full_path(): string | null
1293
+ get_dbus_full_path(): string
1294
1294
  /**
1295
1295
  * Returns the number of pause reasons holding `miner` from
1296
1296
  * indexing contents.
@@ -1319,7 +1319,7 @@ export interface Miner extends Gio.Initable {
1319
1319
  * @param reason reason to pause
1320
1320
  * @returns The pause cookie ID.
1321
1321
  */
1322
- pause(reason: string | null): number
1322
+ pause(reason: string): number
1323
1323
  /**
1324
1324
  * Asks the miner to resume processing. The cookie must be something
1325
1325
  * returned by tracker_miner_pause(). The miner won't actually resume
@@ -1346,7 +1346,7 @@ export interface Miner extends Gio.Initable {
1346
1346
  */
1347
1347
  vfunc_ignore_next_update(urls: string[]): void
1348
1348
  vfunc_paused(): void
1349
- vfunc_progress(status: string | null, progress: number): void
1349
+ vfunc_progress(status: string, progress: number): void
1350
1350
  vfunc_resumed(): void
1351
1351
  vfunc_started(): void
1352
1352
  vfunc_stopped(): void
@@ -1955,8 +1955,8 @@ export interface DataProviderIface {
1955
1955
  * @field
1956
1956
  */
1957
1957
  g_iface: GObject.TypeInterface
1958
- begin: (data_provider: DataProvider, url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null) => Enumerator
1959
- begin_async: (data_provider: DataProvider, url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
1958
+ begin: (data_provider: DataProvider, url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null) => Enumerator
1959
+ begin_async: (data_provider: DataProvider, url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
1960
1960
  begin_finish: (data_provider: DataProvider, result: Gio.AsyncResult) => Enumerator
1961
1961
  end: (data_provider: DataProvider, enumerator: Enumerator, cancellable: Gio.Cancellable | null) => boolean
1962
1962
  end_async: (data_provider: DataProvider, enumerator: Enumerator, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
@@ -2046,7 +2046,7 @@ export interface DecoratorInfo {
2046
2046
  * ¹: http://en.wikipedia.org/wiki/MIME
2047
2047
  * @returns the MIME type for #TrackerDecoratorInfo on success or #NULL on error.
2048
2048
  */
2049
- get_mimetype(): string | null
2049
+ get_mimetype(): string
2050
2050
  /**
2051
2051
  * A #TrackerSparqlBuilder allows the caller to extract the final
2052
2052
  * SPARQL used to insert the extracted metadata into the database for
@@ -2073,13 +2073,13 @@ export interface DecoratorInfo {
2073
2073
  * with a resource in the database. For example, 'file:///tmp/foo.txt'.
2074
2074
  * @returns the URL for #TrackerDecoratorInfo on success or #NULL on error.
2075
2075
  */
2076
- get_url(): string | null
2076
+ get_url(): string
2077
2077
  /**
2078
2078
  * A URN is a Uniform Resource Name and should be a unique identifier
2079
2079
  * for a resource in the database.
2080
2080
  * @returns the URN for #TrackerDecoratorInfo on success or #NULL on error.
2081
2081
  */
2082
- get_urn(): string | null
2082
+ get_urn(): string
2083
2083
  /**
2084
2084
  * Increases the reference count of `info` by 1.
2085
2085
  * @returns the same @info passed in, or %NULL on error.
@@ -2168,7 +2168,7 @@ export interface MinerClass {
2168
2168
  stopped: (miner: Miner) => void
2169
2169
  paused: (miner: Miner) => void
2170
2170
  resumed: (miner: Miner) => void
2171
- progress: (miner: Miner, status: string | null, progress: number) => void
2171
+ progress: (miner: Miner, status: string, progress: number) => void
2172
2172
  ignore_next_update: (miner: Miner, urls: string[]) => void
2173
2173
  /**
2174
2174
  * Reserved for future API improvements.
@@ -121,25 +121,25 @@ enum DirectoryFlags {
121
121
  * The name of the D-Bus interface to use for all data miners that
122
122
  * inter-operate with Tracker.
123
123
  */
124
- const MINER_DBUS_INTERFACE: string | null
124
+ const MINER_DBUS_INTERFACE: string
125
125
  /**
126
126
  * D-Bus name prefix to use for all data miners. This allows custom
127
127
  * miners to be written using `TRACKER_MINER_DBUS_NAME_PREFIX` + "Files" for
128
128
  * example and would show up on D-Bus under
129
129
  * &quot;org.freedesktop.Tracker1.Miner.Files&quot;.
130
130
  */
131
- const MINER_DBUS_NAME_PREFIX: string | null
131
+ const MINER_DBUS_NAME_PREFIX: string
132
132
  /**
133
133
  * D-Bus path prefix to use for all data miners. This allows custom
134
134
  * miners to be written using `TRACKER_MINER_DBUS_PATH_PREFIX` + "Files" for
135
135
  * example and would show up on D-Bus under
136
136
  * &quot;/org/freedesktop/Tracker1/Miner/Files&quot;.
137
137
  */
138
- const MINER_DBUS_PATH_PREFIX: string | null
138
+ const MINER_DBUS_PATH_PREFIX: string
139
139
  /**
140
140
  * Used as the domain for any #GErrors reported by `TrackerMiner` objects.
141
141
  */
142
- const MINER_ERROR_DOMAIN: string | null
142
+ const MINER_ERROR_DOMAIN: string
143
143
  module DataProvider {
144
144
 
145
145
  // Constructor properties interface
@@ -173,7 +173,7 @@ interface DataProvider {
173
173
  * @param cancellable optional #GCancellable object, %NULL to ignore.
174
174
  * @returns a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
175
175
  */
176
- begin(url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
176
+ begin(url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
177
177
  /**
178
178
  * Precisely the same operation as tracker_data_provider_begin()
179
179
  * is performing, but asynchronously.
@@ -202,7 +202,7 @@ interface DataProvider {
202
202
  * @param cancellable optional #GCancellable object, %NULL to ignore
203
203
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
204
204
  */
205
- begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
205
+ begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
206
206
 
207
207
  // Overloads of begin_async
208
208
 
@@ -236,7 +236,7 @@ interface DataProvider {
236
236
  * @param cancellable optional #GCancellable object, %NULL to ignore
237
237
  * @returns A Promise of: a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
238
238
  */
239
- begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<Enumerator>
239
+ begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<Enumerator>
240
240
  /**
241
241
  * Finishes the asynchronous operation started with
242
242
  * tracker_data_provider_begin_async().
@@ -353,7 +353,7 @@ interface DataProvider {
353
353
  * @param cancellable optional #GCancellable object, %NULL to ignore.
354
354
  * @returns a #TrackerEnumerator or %NULL on failure. This must be freed with g_object_unref().
355
355
  */
356
- vfunc_begin(url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
356
+ vfunc_begin(url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null): Enumerator
357
357
  /**
358
358
  * Precisely the same operation as tracker_data_provider_begin()
359
359
  * is performing, but asynchronously.
@@ -383,7 +383,7 @@ interface DataProvider {
383
383
  * @param cancellable optional #GCancellable object, %NULL to ignore
384
384
  * @param callback a #GAsyncReadyCallback to call when the request is satisfied
385
385
  */
386
- vfunc_begin_async(url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
386
+ vfunc_begin_async(url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
387
387
  /**
388
388
  * Finishes the asynchronous operation started with
389
389
  * tracker_data_provider_begin_async().
@@ -697,7 +697,7 @@ interface Decorator extends Gio.Initable {
697
697
  * so it's clear WHO has extracted this extended metadata.
698
698
  * @returns a const gchar* or #NULL if an error happened.
699
699
  */
700
- get_data_source(): string | null
700
+ get_data_source(): string
701
701
  /**
702
702
  * Get the number of items left in the queue to be processed. This
703
703
  * indicates content that may already exist in Tracker but is waiting
@@ -740,7 +740,7 @@ interface Decorator extends Gio.Initable {
740
740
  * standard time it would take to index content.
741
741
  * @param rdf_types a string array of rdf types
742
742
  */
743
- set_priority_rdf_types(rdf_types: string | null): void
743
+ set_priority_rdf_types(rdf_types: string): void
744
744
 
745
745
  // Own virtual methods of TrackerMiner-1.0.TrackerMiner.Decorator
746
746
 
@@ -971,7 +971,7 @@ interface IndexingTree {
971
971
  * @param filter filter type
972
972
  * @param glob_string glob-style string for the filter
973
973
  */
974
- add_filter(filter: FilterType, glob_string: string | null): void
974
+ add_filter(filter: FilterType, glob_string: string): void
975
975
  /**
976
976
  * Clears all filters of a given type.
977
977
  * @param type filter type to clear
@@ -1287,12 +1287,12 @@ interface Miner extends Gio.Initable {
1287
1287
  * Gets the DBus name registered by `miner`
1288
1288
  * @returns a constant string which should not be modified by the caller.
1289
1289
  */
1290
- get_dbus_full_name(): string | null
1290
+ get_dbus_full_name(): string
1291
1291
  /**
1292
1292
  * Gets the DBus path registered by `miner`
1293
1293
  * @returns a constant string which should not be modified by the caller.
1294
1294
  */
1295
- get_dbus_full_path(): string | null
1295
+ get_dbus_full_path(): string
1296
1296
  /**
1297
1297
  * Returns the number of pause reasons holding `miner` from
1298
1298
  * indexing contents.
@@ -1321,7 +1321,7 @@ interface Miner extends Gio.Initable {
1321
1321
  * @param reason reason to pause
1322
1322
  * @returns The pause cookie ID.
1323
1323
  */
1324
- pause(reason: string | null): number
1324
+ pause(reason: string): number
1325
1325
  /**
1326
1326
  * Asks the miner to resume processing. The cookie must be something
1327
1327
  * returned by tracker_miner_pause(). The miner won't actually resume
@@ -1348,7 +1348,7 @@ interface Miner extends Gio.Initable {
1348
1348
  */
1349
1349
  vfunc_ignore_next_update(urls: string[]): void
1350
1350
  vfunc_paused(): void
1351
- vfunc_progress(status: string | null, progress: number): void
1351
+ vfunc_progress(status: string, progress: number): void
1352
1352
  vfunc_resumed(): void
1353
1353
  vfunc_started(): void
1354
1354
  vfunc_stopped(): void
@@ -1957,8 +1957,8 @@ interface DataProviderIface {
1957
1957
  * @field
1958
1958
  */
1959
1959
  g_iface: GObject.TypeInterface
1960
- begin: (data_provider: DataProvider, url: Gio.File, attributes: string | null, flags: DirectoryFlags, cancellable: Gio.Cancellable | null) => Enumerator
1961
- begin_async: (data_provider: DataProvider, url: Gio.File, attributes: string | null, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
1960
+ begin: (data_provider: DataProvider, url: Gio.File, attributes: string, flags: DirectoryFlags, cancellable: Gio.Cancellable | null) => Enumerator
1961
+ begin_async: (data_provider: DataProvider, url: Gio.File, attributes: string, flags: DirectoryFlags, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
1962
1962
  begin_finish: (data_provider: DataProvider, result: Gio.AsyncResult) => Enumerator
1963
1963
  end: (data_provider: DataProvider, enumerator: Enumerator, cancellable: Gio.Cancellable | null) => boolean
1964
1964
  end_async: (data_provider: DataProvider, enumerator: Enumerator, io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
@@ -2048,7 +2048,7 @@ interface DecoratorInfo {
2048
2048
  * ¹: http://en.wikipedia.org/wiki/MIME
2049
2049
  * @returns the MIME type for #TrackerDecoratorInfo on success or #NULL on error.
2050
2050
  */
2051
- get_mimetype(): string | null
2051
+ get_mimetype(): string
2052
2052
  /**
2053
2053
  * A #TrackerSparqlBuilder allows the caller to extract the final
2054
2054
  * SPARQL used to insert the extracted metadata into the database for
@@ -2075,13 +2075,13 @@ interface DecoratorInfo {
2075
2075
  * with a resource in the database. For example, 'file:///tmp/foo.txt'.
2076
2076
  * @returns the URL for #TrackerDecoratorInfo on success or #NULL on error.
2077
2077
  */
2078
- get_url(): string | null
2078
+ get_url(): string
2079
2079
  /**
2080
2080
  * A URN is a Uniform Resource Name and should be a unique identifier
2081
2081
  * for a resource in the database.
2082
2082
  * @returns the URN for #TrackerDecoratorInfo on success or #NULL on error.
2083
2083
  */
2084
- get_urn(): string | null
2084
+ get_urn(): string
2085
2085
  /**
2086
2086
  * Increases the reference count of `info` by 1.
2087
2087
  * @returns the same @info passed in, or %NULL on error.
@@ -2170,7 +2170,7 @@ interface MinerClass {
2170
2170
  stopped: (miner: Miner) => void
2171
2171
  paused: (miner: Miner) => void
2172
2172
  resumed: (miner: Miner) => void
2173
- progress: (miner: Miner, status: string | null, progress: number) => void
2173
+ progress: (miner: Miner, status: string, progress: number) => void
2174
2174
  ignore_next_update: (miner: Miner, urls: string[]) => void
2175
2175
  /**
2176
2176
  * Reserved for future API improvements.