@backstage/plugin-search-backend-module-elasticsearch 1.7.9-next.0 → 1.7.9-next.1
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/CHANGELOG.md +11 -0
- package/dist/index.d.ts +11 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @backstage/plugin-search-backend-module-elasticsearch
|
|
2
2
|
|
|
3
|
+
## 1.7.9-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-plugin-api@1.6.0-next.1
|
|
9
|
+
- @backstage/config@1.3.6
|
|
10
|
+
- @backstage/integration-aws-node@0.1.19
|
|
11
|
+
- @backstage/plugin-search-backend-node@1.4.0-next.1
|
|
12
|
+
- @backstage/plugin-search-common@1.2.21
|
|
13
|
+
|
|
3
14
|
## 1.7.9-next.0
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { ConnectionOptions } from 'tls';
|
|
|
7
7
|
import * as _elastic_elasticsearch_lib_Helpers from '@elastic/elasticsearch/lib/Helpers';
|
|
8
8
|
import * as _elastic_elasticsearch_lib_Transport from '@elastic/elasticsearch/lib/Transport';
|
|
9
9
|
import * as _elastic_elasticsearch from '@elastic/elasticsearch';
|
|
10
|
-
import * as
|
|
10
|
+
import * as _opensearch_project_opensearch_lib_Transport_js from '@opensearch-project/opensearch/lib/Transport.js';
|
|
11
11
|
import * as _opensearch_project_opensearch from '@opensearch-project/opensearch';
|
|
12
12
|
import { Readable } from 'stream';
|
|
13
13
|
|
|
@@ -280,34 +280,34 @@ declare class ElasticSearchClientWrapper {
|
|
|
280
280
|
search(options: {
|
|
281
281
|
index: string | string[];
|
|
282
282
|
body: Object;
|
|
283
|
-
}):
|
|
283
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
284
284
|
bulk(bulkOptions: {
|
|
285
285
|
datasource: Readable;
|
|
286
286
|
onDocument: (doc: any) => ElasticSearchIndexAction;
|
|
287
287
|
refreshOnCompletion?: string | boolean;
|
|
288
288
|
}): _elastic_elasticsearch_lib_Helpers.BulkHelper<_elastic_elasticsearch_lib_Helpers.BulkStats>;
|
|
289
|
-
putIndexTemplate(template: ElasticSearchCustomIndexTemplate):
|
|
289
|
+
putIndexTemplate(template: ElasticSearchCustomIndexTemplate): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
290
290
|
listIndices(options: {
|
|
291
291
|
index: string;
|
|
292
|
-
}):
|
|
292
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
293
293
|
indexExists(options: {
|
|
294
294
|
index: string | string[];
|
|
295
|
-
}):
|
|
295
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<boolean, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<boolean, unknown>>;
|
|
296
296
|
deleteIndex(options: {
|
|
297
297
|
index: string | string[];
|
|
298
|
-
}):
|
|
298
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
299
299
|
/**
|
|
300
300
|
* @deprecated unused by the ElasticSearch Engine, will be removed in the future
|
|
301
301
|
*/
|
|
302
302
|
getAliases(options: {
|
|
303
303
|
aliases: string[];
|
|
304
|
-
}):
|
|
304
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
305
305
|
createIndex(options: {
|
|
306
306
|
index: string;
|
|
307
|
-
}):
|
|
307
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
308
308
|
updateAliases(options: {
|
|
309
309
|
actions: ElasticSearchAliasAction[];
|
|
310
|
-
}):
|
|
310
|
+
}): _opensearch_project_opensearch_lib_Transport_js.TransportRequestPromise<_opensearch_project_opensearch.ApiResponse<Record<string, any>, unknown>> | _elastic_elasticsearch_lib_Transport.TransportRequestPromise<_elastic_elasticsearch.ApiResponse<Record<string, any>, unknown>>;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
/**
|
|
@@ -486,4 +486,5 @@ declare const elasticsearchTranslatorExtensionPoint: _backstage_backend_plugin_a
|
|
|
486
486
|
*/
|
|
487
487
|
declare const _default: _backstage_backend_plugin_api.BackendFeature;
|
|
488
488
|
|
|
489
|
-
export {
|
|
489
|
+
export { ElasticSearchClientWrapper, ElasticSearchSearchEngine, ElasticSearchSearchEngineIndexer, decodePageCursor as decodeElasticSearchPageCursor, _default as default, elasticsearchTranslatorExtensionPoint, isOpenSearchCompatible };
|
|
490
|
+
export type { BaseElasticSearchClientOptions, ElasticSearchAgentOptions, ElasticSearchAliasAction, ElasticSearchAuth, ElasticSearchClientOptions, ElasticSearchConcreteQuery, ElasticSearchConnectionConstructor, ElasticSearchCustomIndexTemplate, ElasticSearchCustomIndexTemplateBody, ElasticSearchElasticSearchClientOptions, ElasticSearchHighlightConfig, ElasticSearchHighlightOptions, ElasticSearchIndexAction, ElasticSearchNodeOptions, ElasticSearchOptions, ElasticSearchQueryConfig, ElasticSearchQueryTranslator, ElasticSearchQueryTranslatorExtensionPoint, ElasticSearchQueryTranslatorOptions, ElasticSearchSearchEngineIndexerOptions, ElasticSearchTransportConstructor, OpenSearchAuth, OpenSearchConnectionConstructor, OpenSearchElasticSearchClientOptions, OpenSearchNodeOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-search-backend-module-elasticsearch",
|
|
3
|
-
"version": "1.7.9-next.
|
|
3
|
+
"version": "1.7.9-next.1",
|
|
4
4
|
"description": "A module for the search backend that implements search using ElasticSearch",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"test": "backstage-cli package test"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@backstage/backend-plugin-api": "1.
|
|
65
|
+
"@backstage/backend-plugin-api": "1.6.0-next.1",
|
|
66
66
|
"@backstage/config": "1.3.6",
|
|
67
67
|
"@backstage/integration-aws-node": "0.1.19",
|
|
68
|
-
"@backstage/plugin-search-backend-node": "1.4.0-next.
|
|
68
|
+
"@backstage/plugin-search-backend-node": "1.4.0-next.1",
|
|
69
69
|
"@backstage/plugin-search-common": "1.2.21",
|
|
70
70
|
"@elastic/elasticsearch": "^7.13.0",
|
|
71
71
|
"@opensearch-project/opensearch": "^2.2.1",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"uuid": "^11.0.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@backstage/backend-test-utils": "1.10.
|
|
79
|
-
"@backstage/cli": "0.
|
|
78
|
+
"@backstage/backend-test-utils": "1.10.2-next.1",
|
|
79
|
+
"@backstage/cli": "0.35.0-next.2",
|
|
80
80
|
"@elastic/elasticsearch-mock": "^1.0.0",
|
|
81
81
|
"@short.io/opensearch-mock": "^0.4.0",
|
|
82
82
|
"@types/aws4": "^1.5.1"
|