Skip to content

Commit 55235fe

Browse files
chore: generated code for commit 61343d52. [skip ci]
algolia/api-clients-automation@61343d5 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent d94fcb4 commit 55235fe

File tree

9 files changed

+15
-3
lines changed

9 files changed

+15
-3
lines changed

packages/algoliasearch-lite/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export * from './tagFilters';
8181
export * from './taskStatus';
8282
export * from './timeRange';
8383
export * from './typoTolerance';
84+
export * from './typoToleranceEnum';
8485
export * from './updatedRuleResponse';
8586
export * from './userId';
8687
export * from './clientMethodProps';
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import type { TypoToleranceEnum } from './typoToleranceEnum';
2+
13
/**
24
* Controls whether typo tolerance is enabled and how it is applied.
35
*/
4-
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true';
6+
export type TypoTolerance = TypoToleranceEnum | boolean;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export type TypoToleranceEnum = 'min' | 'strict';

packages/client-search/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export * from './tagFilters';
122122
export * from './taskStatus';
123123
export * from './timeRange';
124124
export * from './typoTolerance';
125+
export * from './typoToleranceEnum';
125126
export * from './updateApiKeyResponse';
126127
export * from './updatedAtResponse';
127128
export * from './updatedAtWithObjectIdResponse';
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import type { TypoToleranceEnum } from './typoToleranceEnum';
2+
13
/**
24
* Controls whether typo tolerance is enabled and how it is applied.
35
*/
4-
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true';
6+
export type TypoTolerance = TypoToleranceEnum | boolean;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export type TypoToleranceEnum = 'min' | 'strict';

packages/recommend/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ export * from './tagFilters';
3838
export * from './trendingModels';
3939
export * from './trendingRequest';
4040
export * from './typoTolerance';
41+
export * from './typoToleranceEnum';
4142
export * from './clientMethodProps';
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import type { TypoToleranceEnum } from './typoToleranceEnum';
2+
13
/**
24
* Controls whether typo tolerance is enabled and how it is applied.
35
*/
4-
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true';
6+
export type TypoTolerance = TypoToleranceEnum | boolean;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export type TypoToleranceEnum = 'min' | 'strict';

0 commit comments

Comments
 (0)