@webiny/api-elasticsearch 5.40.5 → 5.41.0-dbt.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/operations/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-elasticsearch",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.41.0-dbt.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/webiny/webiny-js.git",
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@elastic/elasticsearch": "7.12.0",
|
|
16
|
-
"@webiny/api": "5.
|
|
17
|
-
"@webiny/error": "5.
|
|
18
|
-
"@webiny/plugins": "5.
|
|
19
|
-
"@webiny/utils": "5.
|
|
16
|
+
"@webiny/api": "5.41.0-dbt.0",
|
|
17
|
+
"@webiny/error": "5.41.0-dbt.0",
|
|
18
|
+
"@webiny/plugins": "5.41.0-dbt.0",
|
|
19
|
+
"@webiny/utils": "5.41.0-dbt.0",
|
|
20
20
|
"aws-elasticsearch-connector": "9.2.0",
|
|
21
21
|
"elastic-ts": "0.8.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@babel/cli": "7.24.1",
|
|
25
25
|
"@babel/core": "7.24.3",
|
|
26
|
-
"@webiny/cli": "5.
|
|
27
|
-
"@webiny/project-utils": "5.
|
|
26
|
+
"@webiny/cli": "5.41.0-dbt.0",
|
|
27
|
+
"@webiny/project-utils": "5.41.0-dbt.0",
|
|
28
28
|
"rimraf": "5.0.5",
|
|
29
29
|
"ttypescript": "1.5.15",
|
|
30
|
-
"typescript": "4.
|
|
30
|
+
"typescript": "4.9.5"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build": "yarn webiny run build",
|
|
38
38
|
"watch": "yarn webiny run watch"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "bbaec4dd1685579548c08bbde386aee5d96b80f8"
|
|
41
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Plugin } from "@webiny/plugins";
|
|
2
2
|
import { FieldSortOptions, SortOrder } from "elastic-ts";
|
|
3
|
-
export
|
|
3
|
+
export type UnmappedTypes = "date" | "long" | string;
|
|
4
4
|
export interface ToSearchValueParams {
|
|
5
5
|
/**
|
|
6
6
|
* The value to transform.
|
package/types.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface ElasticsearchBoolQueryConfig extends esBoolQueryConfig {
|
|
|
24
24
|
*
|
|
25
25
|
* @category Elasticsearch
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type ElasticsearchQueryOperator = "eq" | "not" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | "gt" | "gte" | "lt" | "lte" | string;
|
|
28
28
|
/**
|
|
29
29
|
* Definition for arguments of the ElasticsearchQueryBuilderOperatorPlugin.apply method.
|
|
30
30
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Client } from "../../client";
|
|
2
2
|
import { ElasticsearchCatClusterHealthStatus } from "../../operations/types";
|
|
3
3
|
import { ClusterHealthReason, MemoryReason, ProcessorReason } from "./reason";
|
|
4
|
-
export
|
|
4
|
+
export type WaitingReason = ProcessorReason | MemoryReason | ClusterHealthReason;
|
|
5
5
|
export interface IWaitUntilHealthyParams {
|
|
6
6
|
/**
|
|
7
7
|
* Minimum status allowed, otherwise the cluster is considered unhealthy.
|
package/where.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElasticsearchBoolQueryConfig } from "./types";
|
|
2
2
|
import { ElasticsearchFieldPlugin } from "./plugins/definition/ElasticsearchFieldPlugin";
|
|
3
3
|
import { ElasticsearchQueryBuilderOperatorPlugin } from "./plugins/definition/ElasticsearchQueryBuilderOperatorPlugin";
|
|
4
|
-
|
|
4
|
+
type Records<T> = Record<string, T>;
|
|
5
5
|
export interface ApplyWhereParams {
|
|
6
6
|
query: ElasticsearchBoolQueryConfig;
|
|
7
7
|
where: Records<any>;
|