@elastic/elasticsearch 8.6.0 → 8.7.0
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/Makefile +11 -0
- package/free-report-junit.xml +5391 -0
- package/lib/api/api/cluster.js +1 -1
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +3 -3
- package/lib/api/api/field_caps.js +2 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/health_report.d.ts +10 -0
- package/lib/api/api/health_report.js +47 -0
- package/lib/api/api/health_report.js.map +1 -0
- package/lib/api/api/license.d.ts +3 -3
- package/lib/api/api/license.js +1 -0
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/ml.d.ts +6 -3
- package/lib/api/api/ml.js +20 -3
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/search_mvt.js +1 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/transform.d.ts +3 -0
- package/lib/api/api/transform.js +17 -0
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/index.d.ts +2 -0
- package/lib/api/index.js +2 -0
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +925 -724
- package/lib/api/typesWithBodyKey.d.ts +925 -724
- package/lib/helpers.d.ts +2 -2
- package/package.json +16 -11
- package/platinum-report-junit.xml +2509 -0
package/lib/helpers.d.ts
CHANGED
|
@@ -55,8 +55,8 @@ interface UpdateActionOperation {
|
|
|
55
55
|
interface DeleteAction {
|
|
56
56
|
delete: T.BulkDeleteOperation;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
type UpdateAction = [UpdateActionOperation, Record<string, any>];
|
|
59
|
+
type Action = IndexAction | CreateAction | UpdateAction | DeleteAction;
|
|
60
60
|
export interface OnDropDocument<TDocument = unknown> {
|
|
61
61
|
status: number;
|
|
62
62
|
operation: Action;
|
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/elasticsearch",
|
|
3
|
-
"version": "8.
|
|
4
|
-
"versionCanary": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
|
+
"versionCanary": "8.7.0-canary.1",
|
|
5
5
|
"description": "The official Elasticsearch client for Node.js",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"test": "npm run build && npm run lint && tap test/
|
|
9
|
+
"test": "npm run build && npm run lint && tap test/unit/{*,**/*}.test.ts",
|
|
10
10
|
"test:unit": "npm run build && tap test/unit/{*,**/*}.test.ts",
|
|
11
|
-
"test:
|
|
12
|
-
"test:coverage-
|
|
13
|
-
"test:coverage-
|
|
14
|
-
"test:coverage-ui": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage --coverage-report=html",
|
|
11
|
+
"test:coverage-100": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage --100",
|
|
12
|
+
"test:coverage-report": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage && nyc report --reporter=text-lcov > coverage.lcov",
|
|
13
|
+
"test:coverage-ui": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage --coverage-report=html",
|
|
15
14
|
"test:integration": "tsc && node test/integration/index.js",
|
|
16
15
|
"lint": "ts-standard src",
|
|
17
16
|
"lint:fix": "ts-standard --fix src",
|
|
@@ -31,10 +30,16 @@
|
|
|
31
30
|
"client",
|
|
32
31
|
"index"
|
|
33
32
|
],
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
"contributors": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Tomas Della Vedova",
|
|
36
|
+
"company": "Elastic BV"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Josh Mock",
|
|
40
|
+
"company": "Elastic BV"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
38
43
|
"license": "Apache-2.0",
|
|
39
44
|
"repository": {
|
|
40
45
|
"type": "git",
|