Skip to content

Commit ffcb1f2

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

File tree

21 files changed

+100
-83
lines changed

21 files changed

+100
-83
lines changed

packages/algoliasearch/builds/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
BaseSearchParams,
1414
BaseSearchParamsWithoutQuery,
1515
BaseSearchResponse,
16+
BooleanString,
1617
Condition,
1718
Consequence,
1819
ConsequenceHide,
@@ -99,6 +100,7 @@ export {
99100
BaseSearchParams,
100101
BaseSearchParamsWithoutQuery,
101102
BaseSearchResponse,
103+
BooleanString,
102104
Condition,
103105
Consequence,
104106
ConsequenceHide,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2+
3+
export type BooleanString = 'false' | 'true';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3+
import type { BooleanString } from './booleanString';
34
import type { SupportedLanguage } from './supportedLanguage';
45

56
/**
67
* Treat singular, plurals, and other forms of declensions as equivalent. You should only use this feature for the languages used in your index.
78
*/
8-
export type IgnorePlurals = SupportedLanguage[] | boolean;
9+
export type IgnorePlurals = BooleanString | SupportedLanguage[] | boolean;

packages/algoliasearch/lite/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export * from './baseRecommendRequest';
1515
export * from './baseSearchParams';
1616
export * from './baseSearchParamsWithoutQuery';
1717
export * from './baseSearchResponse';
18+
export * from './booleanString';
1819
export * from './boughtTogetherQuery';
1920
export * from './browsePagination';
2021
export * from './browseParamsObject';

packages/algoliasearch/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
{
2-
"name": "algoliasearch",
32
"version": "5.2.3",
4-
"description": "A fully-featured and blazing-fast JavaScript API client to interact with Algolia API.",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "algoliasearch",
12+
"description": "A fully-featured and blazing-fast JavaScript API client to interact with Algolia API.",
13+
"jsdelivr": "./dist/algoliasearch.umd.js",
14+
"unpkg": "./dist/algoliasearch.umd.js",
15+
"browser": {
16+
"./index.js": "./dist/algoliasearch.umd.js",
17+
"./lite.js": "./dist/lite/lite.umd.js"
18+
},
1219
"exports": {
1320
".": {
1421
"node": {
@@ -43,13 +50,6 @@
4350
}
4451
}
4552
},
46-
"jsdelivr": "./dist/algoliasearch.umd.js",
47-
"unpkg": "./dist/algoliasearch.umd.js",
48-
"browser": {
49-
"./index.js": "./dist/algoliasearch.umd.js",
50-
"./lite.js": "./dist/lite/lite.umd.js"
51-
},
52-
"types": "./index.d.ts",
5353
"files": [
5454
"dist",
5555
"builds",

packages/client-abtesting/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-abtesting",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-abtesting",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-abtesting",
12+
"description": "JavaScript client for client-abtesting",
13+
"jsdelivr": "./dist/client-abtesting.umd.js",
14+
"unpkg": "./dist/client-abtesting.umd.js",
15+
"browser": "./dist/client-abtesting.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-abtesting.umd.js",
33-
"unpkg": "./dist/client-abtesting.umd.js",
34-
"browser": "./dist/client-abtesting.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/client-analytics/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-analytics",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-analytics",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-analytics",
12+
"description": "JavaScript client for client-analytics",
13+
"jsdelivr": "./dist/client-analytics.umd.js",
14+
"unpkg": "./dist/client-analytics.umd.js",
15+
"browser": "./dist/client-analytics.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-analytics.umd.js",
33-
"unpkg": "./dist/client-analytics.umd.js",
34-
"browser": "./dist/client-analytics.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/client-insights/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-insights",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-insights",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-insights",
12+
"description": "JavaScript client for client-insights",
13+
"jsdelivr": "./dist/client-insights.umd.js",
14+
"unpkg": "./dist/client-insights.umd.js",
15+
"browser": "./dist/client-insights.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-insights.umd.js",
33-
"unpkg": "./dist/client-insights.umd.js",
34-
"browser": "./dist/client-insights.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/client-personalization/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-personalization",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-personalization",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-personalization",
12+
"description": "JavaScript client for client-personalization",
13+
"jsdelivr": "./dist/client-personalization.umd.js",
14+
"unpkg": "./dist/client-personalization.umd.js",
15+
"browser": "./dist/client-personalization.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-personalization.umd.js",
33-
"unpkg": "./dist/client-personalization.umd.js",
34-
"browser": "./dist/client-personalization.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/client-query-suggestions/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-query-suggestions",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-query-suggestions",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-query-suggestions",
12+
"description": "JavaScript client for client-query-suggestions",
13+
"jsdelivr": "./dist/client-query-suggestions.umd.js",
14+
"unpkg": "./dist/client-query-suggestions.umd.js",
15+
"browser": "./dist/client-query-suggestions.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-query-suggestions.umd.js",
33-
"unpkg": "./dist/client-query-suggestions.umd.js",
34-
"browser": "./dist/client-query-suggestions.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2+
3+
export type BooleanString = 'false' | 'true';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3+
import type { BooleanString } from './booleanString';
34
import type { SupportedLanguage } from './supportedLanguage';
45

56
/**
67
* Treat singular, plurals, and other forms of declensions as equivalent. You should only use this feature for the languages used in your index.
78
*/
8-
export type IgnorePlurals = SupportedLanguage[] | boolean;
9+
export type IgnorePlurals = BooleanString | SupportedLanguage[] | boolean;

packages/client-search/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export * from './batchParams';
2727
export * from './batchRequest';
2828
export * from './batchResponse';
2929
export * from './batchWriteParams';
30+
export * from './booleanString';
3031
export * from './browsePagination';
3132
export * from './browseParams';
3233
export * from './browseParamsObject';

packages/client-search/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-search",
32
"version": "5.2.3",
4-
"description": "JavaScript client for client-search",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-search",
12+
"description": "JavaScript client for client-search",
13+
"jsdelivr": "./dist/client-search.umd.js",
14+
"unpkg": "./dist/client-search.umd.js",
15+
"browser": "./dist/client-search.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-search.umd.js",
33-
"unpkg": "./dist/client-search.umd.js",
34-
"browser": "./dist/client-search.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/client-usage/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/client-usage",
32
"version": "1.2.3",
4-
"description": "JavaScript client for client-usage",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/client-usage",
12+
"description": "JavaScript client for client-usage",
13+
"jsdelivr": "./dist/client-usage.umd.js",
14+
"unpkg": "./dist/client-usage.umd.js",
15+
"browser": "./dist/client-usage.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/client-usage.umd.js",
33-
"unpkg": "./dist/client-usage.umd.js",
34-
"browser": "./dist/client-usage.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/ingestion/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/ingestion",
32
"version": "1.2.3",
4-
"description": "JavaScript client for ingestion",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/ingestion",
12+
"description": "JavaScript client for ingestion",
13+
"jsdelivr": "./dist/ingestion.umd.js",
14+
"unpkg": "./dist/ingestion.umd.js",
15+
"browser": "./dist/ingestion.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/ingestion.umd.js",
33-
"unpkg": "./dist/ingestion.umd.js",
34-
"browser": "./dist/ingestion.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

packages/monitoring/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "@algolia/monitoring",
32
"version": "1.2.3",
4-
"description": "JavaScript client for monitoring",
53
"repository": {
64
"type": "git",
75
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
86
},
7+
"type": "module",
98
"license": "MIT",
109
"author": "Algolia",
11-
"type": "module",
10+
"types": "./index.d.ts",
11+
"name": "@algolia/monitoring",
12+
"description": "JavaScript client for monitoring",
13+
"jsdelivr": "./dist/monitoring.umd.js",
14+
"unpkg": "./dist/monitoring.umd.js",
15+
"browser": "./dist/monitoring.umd.js",
1216
"exports": {
1317
".": {
1418
"node": {
@@ -29,10 +33,6 @@
2933
"./src/*": "./src/*.ts",
3034
"./model": "./model/index.ts"
3135
},
32-
"jsdelivr": "./dist/monitoring.umd.js",
33-
"unpkg": "./dist/monitoring.umd.js",
34-
"browser": "./dist/monitoring.umd.js",
35-
"types": "./index.d.ts",
3636
"files": [
3737
"dist",
3838
"model",

0 commit comments

Comments
 (0)