@algolia/client-query-suggestions 5.0.0-alpha.99 → 5.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/builds/browser.d.ts +24 -3
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +24 -3
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/client-query-suggestions.cjs +64 -51
- package/dist/client-query-suggestions.esm.browser.js +60 -59
- package/dist/client-query-suggestions.esm.node.js +64 -51
- package/dist/client-query-suggestions.umd.js +2 -2
- package/dist/model/appID.d.ts +7 -0
- package/dist/model/appID.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +2 -2
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/{querySuggestionsConfiguration.d.ts → configuration.d.ts} +4 -7
- package/dist/model/configuration.d.ts.map +1 -0
- package/dist/model/configurationResponse.d.ts +7 -0
- package/dist/model/configurationResponse.d.ts.map +1 -0
- package/dist/model/configurationWithIndex.d.ts +6 -0
- package/dist/model/configurationWithIndex.d.ts.map +1 -0
- package/dist/model/getConfigStatus200Response.d.ts +4 -4
- package/dist/model/getLogFile200Response.d.ts +2 -2
- package/dist/model/index.d.ts +4 -5
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/languages.d.ts +1 -1
- package/dist/model/logLevel.d.ts +1 -1
- package/dist/model/sourceIndex.d.ts +4 -13
- package/dist/model/sourceIndex.d.ts.map +1 -1
- package/dist/src/querySuggestionsClient.d.ts +37 -31
- package/dist/src/querySuggestionsClient.d.ts.map +1 -1
- package/model/{baseQuerySuggestionsConfigurationWithIndex.ts → appID.ts} +3 -3
- package/model/clientMethodProps.ts +2 -2
- package/model/{querySuggestionsConfiguration.ts → configuration.ts} +3 -6
- package/model/configurationResponse.ts +9 -0
- package/model/configurationWithIndex.ts +8 -0
- package/model/getConfigStatus200Response.ts +4 -4
- package/model/getLogFile200Response.ts +2 -2
- package/model/index.ts +4 -5
- package/model/languages.ts +1 -1
- package/model/logLevel.ts +1 -1
- package/model/sourceIndex.ts +4 -13
- package/package.json +11 -8
- package/dist/model/baseQuerySuggestionsConfigurationResponse.d.ts +0 -19
- package/dist/model/baseQuerySuggestionsConfigurationResponse.d.ts.map +0 -1
- package/dist/model/baseQuerySuggestionsConfigurationWithIndex.d.ts +0 -7
- package/dist/model/baseQuerySuggestionsConfigurationWithIndex.d.ts.map +0 -1
- package/dist/model/querySuggestionsConfiguration.d.ts.map +0 -1
- package/dist/model/querySuggestionsConfigurationResponse.d.ts +0 -4
- package/dist/model/querySuggestionsConfigurationResponse.d.ts.map +0 -1
- package/dist/model/querySuggestionsConfigurationWithIndex.d.ts +0 -7
- package/dist/model/querySuggestionsConfigurationWithIndex.d.ts.map +0 -1
- package/model/baseQuerySuggestionsConfigurationResponse.ts +0 -23
- package/model/querySuggestionsConfigurationResponse.ts +0 -8
- package/model/querySuggestionsConfigurationWithIndex.ts +0 -10
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-query-suggestions",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-beta.10",
|
|
4
4
|
"description": "JavaScript client for client-query-suggestions",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
8
|
+
},
|
|
6
9
|
"license": "MIT",
|
|
7
10
|
"author": "Algolia",
|
|
8
11
|
"type": "module",
|
|
@@ -39,14 +42,14 @@
|
|
|
39
42
|
"clean": "rm -rf ./dist || true"
|
|
40
43
|
},
|
|
41
44
|
"dependencies": {
|
|
42
|
-
"@algolia/client-common": "5.0.0-
|
|
43
|
-
"@algolia/requester-browser-xhr": "5.0.0-
|
|
44
|
-
"@algolia/requester-node-http": "5.0.0-
|
|
45
|
+
"@algolia/client-common": "5.0.0-beta.11",
|
|
46
|
+
"@algolia/requester-browser-xhr": "5.0.0-beta.11",
|
|
47
|
+
"@algolia/requester-node-http": "5.0.0-beta.11"
|
|
45
48
|
},
|
|
46
49
|
"devDependencies": {
|
|
47
|
-
"@types/node": "20.
|
|
48
|
-
"rollup": "4.
|
|
49
|
-
"typescript": "5.
|
|
50
|
+
"@types/node": "20.14.10",
|
|
51
|
+
"rollup": "4.18.0",
|
|
52
|
+
"typescript": "5.5.3"
|
|
50
53
|
},
|
|
51
54
|
"engines": {
|
|
52
55
|
"node": ">= 14.0.0"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type BaseQuerySuggestionsConfigurationResponse = {
|
|
2
|
-
/**
|
|
3
|
-
* Your Algolia application ID.
|
|
4
|
-
*/
|
|
5
|
-
appId?: string;
|
|
6
|
-
/**
|
|
7
|
-
* API key used to read from your source index.
|
|
8
|
-
*/
|
|
9
|
-
sourceIndicesAPIKey?: string;
|
|
10
|
-
/**
|
|
11
|
-
* API key used to write and configure your Query Suggestions index.
|
|
12
|
-
*/
|
|
13
|
-
suggestionsIndicesAPIKey?: string;
|
|
14
|
-
/**
|
|
15
|
-
* API key used to read from external Algolia indices.
|
|
16
|
-
*/
|
|
17
|
-
externalIndicesAPIKey?: string;
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=baseQuerySuggestionsConfigurationResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseQuerySuggestionsConfigurationResponse.d.ts","sourceRoot":"","sources":["../../model/baseQuerySuggestionsConfigurationResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,yCAAyC,GAAG;IACtD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseQuerySuggestionsConfigurationWithIndex.d.ts","sourceRoot":"","sources":["../../model/baseQuerySuggestionsConfigurationWithIndex.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,0CAA0C,GAAG;IACvD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querySuggestionsConfiguration.d.ts","sourceRoot":"","sources":["../../model/querySuggestionsConfiguration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,aAAa,EAAE,WAAW,EAAE,CAAC;IAE7B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BaseQuerySuggestionsConfigurationResponse } from './baseQuerySuggestionsConfigurationResponse';
|
|
2
|
-
import type { QuerySuggestionsConfigurationWithIndex } from './querySuggestionsConfigurationWithIndex';
|
|
3
|
-
export type QuerySuggestionsConfigurationResponse = BaseQuerySuggestionsConfigurationResponse & QuerySuggestionsConfigurationWithIndex;
|
|
4
|
-
//# sourceMappingURL=querySuggestionsConfigurationResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querySuggestionsConfigurationResponse.d.ts","sourceRoot":"","sources":["../../model/querySuggestionsConfigurationResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AAC7G,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAEvG,MAAM,MAAM,qCAAqC,GAC/C,yCAAyC,GACvC,sCAAsC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { BaseQuerySuggestionsConfigurationWithIndex } from './baseQuerySuggestionsConfigurationWithIndex';
|
|
2
|
-
import type { QuerySuggestionsConfiguration } from './querySuggestionsConfiguration';
|
|
3
|
-
/**
|
|
4
|
-
* Query Suggestions configuration.
|
|
5
|
-
*/
|
|
6
|
-
export type QuerySuggestionsConfigurationWithIndex = BaseQuerySuggestionsConfigurationWithIndex & QuerySuggestionsConfiguration;
|
|
7
|
-
//# sourceMappingURL=querySuggestionsConfigurationWithIndex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querySuggestionsConfigurationWithIndex.d.ts","sourceRoot":"","sources":["../../model/querySuggestionsConfigurationWithIndex.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC/G,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAChD,0CAA0C,GAAG,6BAA6B,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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 BaseQuerySuggestionsConfigurationResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* Your Algolia application ID.
|
|
6
|
-
*/
|
|
7
|
-
appId?: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* API key used to read from your source index.
|
|
11
|
-
*/
|
|
12
|
-
sourceIndicesAPIKey?: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* API key used to write and configure your Query Suggestions index.
|
|
16
|
-
*/
|
|
17
|
-
suggestionsIndicesAPIKey?: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* API key used to read from external Algolia indices.
|
|
21
|
-
*/
|
|
22
|
-
externalIndicesAPIKey?: string;
|
|
23
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { BaseQuerySuggestionsConfigurationResponse } from './baseQuerySuggestionsConfigurationResponse';
|
|
4
|
-
import type { QuerySuggestionsConfigurationWithIndex } from './querySuggestionsConfigurationWithIndex';
|
|
5
|
-
|
|
6
|
-
export type QuerySuggestionsConfigurationResponse =
|
|
7
|
-
BaseQuerySuggestionsConfigurationResponse &
|
|
8
|
-
QuerySuggestionsConfigurationWithIndex;
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
import type { BaseQuerySuggestionsConfigurationWithIndex } from './baseQuerySuggestionsConfigurationWithIndex';
|
|
4
|
-
import type { QuerySuggestionsConfiguration } from './querySuggestionsConfiguration';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Query Suggestions configuration.
|
|
8
|
-
*/
|
|
9
|
-
export type QuerySuggestionsConfigurationWithIndex =
|
|
10
|
-
BaseQuerySuggestionsConfigurationWithIndex & QuerySuggestionsConfiguration;
|