-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/stop-generation
- Loading branch information
Showing
46 changed files
with
29 additions
and
72 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/action.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* Type of operation. | ||
*/ | ||
|
||
export type Action = | ||
| 'addObject' | ||
| 'clear' | ||
|
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/anchoring.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Whether the pattern parameter must match the beginning or the end of the query string, or both, or none. | ||
*/ | ||
|
||
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith'; |
3 changes: 3 additions & 0 deletions
3
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/aroundRadius.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import type { AroundRadiusAll } from './aroundRadiusAll'; | ||
|
||
/** | ||
* Define the maximum radius for a geo search (in meters). | ||
*/ | ||
export type AroundRadius = AroundRadiusAll | number; |
1 change: 0 additions & 1 deletion
1
...algoliasearch-client-javascript/packages/algoliasearch-lite/model/builtInOperationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* The operation to apply on the attribute. | ||
*/ | ||
|
||
export type BuiltInOperationType = | ||
| 'Add' | ||
| 'AddUnique' | ||
|
1 change: 0 additions & 1 deletion
1
...nts/algoliasearch-client-javascript/packages/algoliasearch-lite/model/dictionaryAction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Actions to perform. | ||
*/ | ||
|
||
export type DictionaryAction = 'addEntry' | 'deleteEntry'; |
1 change: 0 additions & 1 deletion
1
...algoliasearch-client-javascript/packages/algoliasearch-lite/model/dictionaryEntryState.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The state of the dictionary entry. | ||
*/ | ||
|
||
export type DictionaryEntryState = 'disabled' | 'enabled'; |
1 change: 0 additions & 1 deletion
1
...goliasearch-client-javascript/packages/algoliasearch-lite/model/exactOnSingleWordQuery.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls how the exact ranking criterion is computed when the query contains only one word. | ||
*/ | ||
|
||
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word'; |
3 changes: 3 additions & 0 deletions
3
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/indexSettings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import type { BaseIndexSettings } from './baseIndexSettings'; | ||
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams'; | ||
|
||
/** | ||
* The Algolia index settings. | ||
*/ | ||
export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/matchLevel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Indicates how well the attribute matched the search query. | ||
*/ | ||
|
||
export type MatchLevel = 'full' | 'none' | 'partial'; |
1 change: 0 additions & 1 deletion
1
.../algoliasearch-client-javascript/packages/algoliasearch-lite/model/multipleQueriesType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Perform a search query with `default`, will search for facet values if `facet` is given. | ||
*/ | ||
|
||
export type MultipleQueriesType = 'default' | 'facet'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/operationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Type of operation to perform (move or copy). | ||
*/ | ||
|
||
export type OperationType = 'copy' | 'move'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/queryType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls if and how query words are interpreted as prefixes. | ||
*/ | ||
|
||
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone'; |
1 change: 0 additions & 1 deletion
1
...goliasearch-client-javascript/packages/algoliasearch-lite/model/removeWordsIfNoResults.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/synonymType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* Type of the synonym object. | ||
*/ | ||
|
||
export type SynonymType = | ||
| 'altcorrection1' | ||
| 'altcorrection2' | ||
|
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/algoliasearch-lite/model/typoTolerance.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls whether typo tolerance is enabled and how it is applied. | ||
*/ | ||
|
||
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-insights/model/eventType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* An eventType can be a click, a conversion, or a view. | ||
*/ | ||
|
||
export type EventType = 'click' | 'conversion' | 'view'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-query-suggestions/model/logLevel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Type of the record, can be one of three values (INFO, SKIP or ERROR). | ||
*/ | ||
|
||
export type LogLevel = 'ERROR' | 'INFO' | 'SKIP'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/action.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* Type of operation. | ||
*/ | ||
|
||
export type Action = | ||
| 'addObject' | ||
| 'clear' | ||
|
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/anchoring.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Whether the pattern parameter must match the beginning or the end of the query string, or both, or none. | ||
*/ | ||
|
||
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith'; |
3 changes: 3 additions & 0 deletions
3
clients/algoliasearch-client-javascript/packages/client-search/model/aroundRadius.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import type { AroundRadiusAll } from './aroundRadiusAll'; | ||
|
||
/** | ||
* Define the maximum radius for a geo search (in meters). | ||
*/ | ||
export type AroundRadius = AroundRadiusAll | number; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/builtInOperationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* The operation to apply on the attribute. | ||
*/ | ||
|
||
export type BuiltInOperationType = | ||
| 'Add' | ||
| 'AddUnique' | ||
|
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/dictionaryAction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Actions to perform. | ||
*/ | ||
|
||
export type DictionaryAction = 'addEntry' | 'deleteEntry'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/dictionaryEntryState.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The state of the dictionary entry. | ||
*/ | ||
|
||
export type DictionaryEntryState = 'disabled' | 'enabled'; |
1 change: 0 additions & 1 deletion
1
...ts/algoliasearch-client-javascript/packages/client-search/model/exactOnSingleWordQuery.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls how the exact ranking criterion is computed when the query contains only one word. | ||
*/ | ||
|
||
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word'; |
3 changes: 3 additions & 0 deletions
3
clients/algoliasearch-client-javascript/packages/client-search/model/indexSettings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import type { BaseIndexSettings } from './baseIndexSettings'; | ||
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams'; | ||
|
||
/** | ||
* The Algolia index settings. | ||
*/ | ||
export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/matchLevel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Indicates how well the attribute matched the search query. | ||
*/ | ||
|
||
export type MatchLevel = 'full' | 'none' | 'partial'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/multipleQueriesType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Perform a search query with `default`, will search for facet values if `facet` is given. | ||
*/ | ||
|
||
export type MultipleQueriesType = 'default' | 'facet'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/operationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Type of operation to perform (move or copy). | ||
*/ | ||
|
||
export type OperationType = 'copy' | 'move'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/queryType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls if and how query words are interpreted as prefixes. | ||
*/ | ||
|
||
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone'; |
1 change: 0 additions & 1 deletion
1
...ts/algoliasearch-client-javascript/packages/client-search/model/removeWordsIfNoResults.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/synonymType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/** | ||
* Type of the synonym object. | ||
*/ | ||
|
||
export type SynonymType = | ||
| 'altcorrection1' | ||
| 'altcorrection2' | ||
|
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-search/model/typoTolerance.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls whether typo tolerance is enabled and how it is applied. | ||
*/ | ||
|
||
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-sources/model/authenticationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The type of authentication to use. | ||
*/ | ||
|
||
export type AuthenticationType = 'basic'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-sources/model/method.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The HTTP method that will be used to fetch the URL. | ||
*/ | ||
|
||
export type Method = 'GET' | 'POST'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-sources/model/operationType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The type of operation to execute. | ||
*/ | ||
|
||
export type OperationType = 'replace'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-sources/model/productType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The product to target. | ||
*/ | ||
|
||
export type ProductType = 'search'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/client-sources/model/taskType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The type of the task executed. | ||
*/ | ||
|
||
export type TaskType = 'csv'; |
3 changes: 3 additions & 0 deletions
3
clients/algoliasearch-client-javascript/packages/recommend/model/aroundRadius.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import type { AroundRadiusAll } from './aroundRadiusAll'; | ||
|
||
/** | ||
* Define the maximum radius for a geo search (in meters). | ||
*/ | ||
export type AroundRadius = AroundRadiusAll | number; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/exactOnSingleWordQuery.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls how the exact ranking criterion is computed when the query contains only one word. | ||
*/ | ||
|
||
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/matchLevel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Indicates how well the attribute matched the search query. | ||
*/ | ||
|
||
export type MatchLevel = 'full' | 'none' | 'partial'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/queryType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls if and how query words are interpreted as prefixes. | ||
*/ | ||
|
||
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/recommendationModels.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The recommendation model to use. | ||
*/ | ||
|
||
export type RecommendationModels = 'bought-together' | 'related-products'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/removeWordsIfNoResults.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/trendingModels.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* The trending model to use. | ||
*/ | ||
|
||
export type TrendingModels = 'trending-facets' | 'trending-items'; |
1 change: 0 additions & 1 deletion
1
clients/algoliasearch-client-javascript/packages/recommend/model/typoTolerance.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/** | ||
* Controls whether typo tolerance is enabled and how it is applied. | ||
*/ | ||
|
||
export type TypoTolerance = 'false' | 'min' | 'strict' | 'true'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,29 @@ | ||
{{#models}} | ||
{{#model}} | ||
{{#models}}{{#model}} | ||
{{#tsImports}} | ||
import { {{classname}} } from '{{filename}}'; | ||
{{/tsImports}} | ||
|
||
{{! We handle types that depend on other interfaces }} | ||
{{#interfaces.size}} | ||
export type {{classname}} = {{#oneOf}}{{.}} {{^-last}}|{{/-last}} {{/oneOf}}{{#allOf}}{{.}} {{^-last}}&{{/-last}} {{/allOf}}; | ||
{{/interfaces.size}} | ||
|
||
{{^interfaces}} | ||
{{#description}} | ||
/** | ||
* {{{description}}} | ||
*/ | ||
{{/description}} | ||
{{^isEnum}} | ||
export type {{classname}} = {{#parent}} {{{.}}} & {{/parent}} { | ||
{{#vars}} | ||
*/{{/description}} | ||
export type {{classname}} = {{#oneOf}}{{{.}}} {{^-last}}|{{/-last}} {{/oneOf}}{{#allOf}}{{{.}}} {{^-last}}&{{/-last}} {{/allOf}}; | ||
{{/interfaces.size}}{{^interfaces.size}} | ||
{{#description}} | ||
/** | ||
* {{{description}}} | ||
*/{{/description}}{{^isEnum}} | ||
export type {{classname}} = {{#parent}} {{{.}}} & {{/parent}} { | ||
{{#vars}}{{#description}} | ||
/** | ||
* {{{description}}} | ||
*/ | ||
{{/description}} | ||
{{name}}{{^required}}?{{/required}}: {{#isEnum}}{{classname}}{{{nameInCamelCase}}}{{#isArray}}[]{{/isArray}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}}; | ||
{{/vars}} | ||
*/{{/description}} | ||
{{name}}{{^required}}?{{/required}}: {{#isEnum}}{{classname}}{{{nameInCamelCase}}}{{#isArray}}[]{{/isArray}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}};{{/vars}} | ||
} | ||
|
||
{{#hasEnums}} | ||
{{#vars}} | ||
{{#isEnum}} | ||
export type {{classname}}{{nameInCamelCase}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}}|{{/-last}}{{/enumVars}}{{/allowableValues}} | ||
|
||
{{/isEnum}} | ||
{{/vars}} | ||
{{/hasEnums}} | ||
{{/isEnum}} | ||
|
||
{{#isEnum}} | ||
export type {{classname}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}}|{{/-last}}{{/enumVars}}{{/allowableValues}} | ||
|
||
{{/isEnum}} | ||
{{#hasEnums}}{{#vars}}{{#isEnum}}export type {{classname}}{{nameInCamelCase}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}}|{{/-last}}{{/enumVars}}{{/allowableValues}}{{/isEnum}}{{/vars}}{{/hasEnums}} | ||
{{#isEnum}}export type {{classname}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}}|{{/-last}}{{/enumVars}}{{/allowableValues}}{{/isEnum}} | ||
|
||
{{/interfaces}} | ||
{{/model}} | ||
{{/models}} | ||
{{/interfaces.size}}{{/model}}{{/models}} |