mirror of
https://github.com/Mintplex-Labs/nut.js.git
synced 2026-07-21 01:15:22 -04:00
(#129) Re-export new OptionalSearchParameters class to not break existing API
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
import { Region } from "./region.class";
|
||||
import {OptionalSearchParameters} from "./optionalsearchparameters.class";
|
||||
|
||||
/**
|
||||
* {@link LocationParameters} serves as a data class holding location parameters for image search
|
||||
* {@deprecated This module serves as a polyfill to not break existing pre v1.5 code. Will be removed in v2.0.0}
|
||||
*/
|
||||
export class LocationParameters {
|
||||
/**
|
||||
* {@link LocationParameters} class constructor
|
||||
* @param searchRegion Optional {@link Region} to limit the search space to
|
||||
* @param confidence Optional confidence value to configure image match confidence
|
||||
*/
|
||||
constructor(public searchRegion?: Region, public confidence?: number) {}
|
||||
}
|
||||
export {
|
||||
OptionalSearchParameters as LocationParameters
|
||||
}
|
||||
Reference in New Issue
Block a user