Skip to content

Commit 5526b75

Browse files
algolia-botmillotp
andcommitted
fix(specs): typoTolerance can be a boolean string (generated)
algolia/api-clients-automation#4900 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent c9a67ad commit 5526b75

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/algoliasearch/lite/model/typoToleranceEnum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
55
*/
6-
export type TypoToleranceEnum = 'min' | 'strict';
6+
export type TypoToleranceEnum = 'min' | 'strict' | 'true' | 'false';

packages/client-composition/model/typoToleranceEnum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
55
*/
6-
export type TypoToleranceEnum = 'min' | 'strict';
6+
export type TypoToleranceEnum = 'min' | 'strict' | 'true' | 'false';

packages/client-search/model/typoToleranceEnum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
55
*/
6-
export type TypoToleranceEnum = 'min' | 'strict';
6+
export type TypoToleranceEnum = 'min' | 'strict' | 'true' | 'false';

packages/recommend/model/typoToleranceEnum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
55
*/
6-
export type TypoToleranceEnum = 'min' | 'strict';
6+
export type TypoToleranceEnum = 'min' | 'strict' | 'true' | 'false';

0 commit comments

Comments
 (0)