Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Es query] Move to package #103530

Merged
merged 85 commits into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
adc6234
remove es query dependency on format.convert
Jun 23, 2021
f8e7e15
FieldBase
Jun 23, 2021
759a016
Merge branch 'master' of github.com:elastic/kibana into es-kuery/remo…
Jun 23, 2021
1a2284f
fix types
Jun 23, 2021
9111374
Merge branch 'master' of github.com:elastic/kibana into es-kuery/remo…
Jun 27, 2021
5b40ebc
types
Jun 27, 2021
435c547
Merge branch 'es-kuery/remove-convert' into es-query/field-base
Jun 27, 2021
08a5c85
Fix type imports
Jun 27, 2021
a0696b5
test types
Jun 27, 2021
3342d1b
Merge branch 'master' of github.com:elastic/kibana into es-query/fiel…
Jun 28, 2021
7984b50
fix jest
Jun 28, 2021
7e82c83
move
Jun 28, 2021
3ba52f8
Merge branch 'master' of github.com:elastic/kibana into es-query/fiel…
Jun 29, 2021
08d8090
Merge branch 'es-query/field-base' into es-query/move-to-package
Jun 29, 2021
d5df964
Merge branch 'master' of github.com:elastic/kibana into es-query/fiel…
Jun 29, 2021
028d7da
rename
Jun 29, 2021
66323f6
Merge branch 'es-query/field-base' into es-query/move-to-package
Jun 29, 2021
d210ddb
docs
Jun 29, 2021
b879943
Merge branch 'es-query/field-base' into es-query/move-to-package
Jun 29, 2021
60146c2
bunch of imports
Jun 30, 2021
34598e8
Merge branch 'master' of github.com:elastic/kibana into es-query/fiel…
Jun 30, 2021
ebb9a14
comment
Jun 30, 2021
29bdc4b
Merge branch 'es-query/field-base' into es-query/move-to-package
Jun 30, 2021
712b31d
js
Jun 30, 2021
831e759
ts
Jun 30, 2021
433dfc1
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jun 30, 2021
cf6a350
update peg
Jun 30, 2021
c3727ff
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 1, 2021
1f029ca
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 1, 2021
f987afe
chore(NA): working build for kbn-es-query
mistic Jul 1, 2021
aeb1ccc
remove old build task
Jul 1, 2021
79ecff3
import cleanup
Jul 1, 2021
a92ac94
Merge branch 'master' into es-query/move-to-package
kibanamachine Jul 1, 2021
498c288
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 5, 2021
65f1854
Fix imports
Jul 5, 2021
ce7bd25
Merge branch 'es-query/move-to-package' of github.com:lizozom/kibana …
Jul 5, 2021
328d60f
imports
Jul 5, 2021
ecc572a
stubs in package tests
Jul 5, 2021
32dc288
test
Jul 5, 2021
d72f18f
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 7, 2021
08e5d74
mock grammar
Jul 7, 2021
06ac548
fix(NA): build for package
mistic Jul 8, 2021
936259b
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 12, 2021
bef0765
Merge commit '06ac5484fb0f4b48790c3bebe994a07a1ebb812e' into es-query…
Jul 12, 2021
7096c57
imports \ exports
Jul 12, 2021
a085c15
docs and ts projects
Jul 12, 2021
13d3e15
Bazel bazel bazel
Jul 12, 2021
0603bcd
i18n
Jul 12, 2021
450a059
i18n, stubs, imports and bazel fun
Jul 12, 2021
72ee2fa
imports
Jul 12, 2021
ec2c3d7
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 12, 2021
724eeb1
export any type so we don't break code (compatible with before moving…
Jul 12, 2021
6dd0ae4
dont change siem yet
Jul 12, 2021
e0d2446
imports
Jul 13, 2021
bbf573b
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 13, 2021
6279ad9
update mock grammar
Jul 13, 2021
ec4e160
chore(NA): correctly setup the pegjs build arguments
mistic Jul 13, 2021
ad97a58
chore(NA): update tests expected messages
mistic Jul 13, 2021
f0adfab
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 13, 2021
2ba2e0a
eslint
Jul 13, 2021
84c918c
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 14, 2021
08612ef
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 14, 2021
3dfc6a5
Docs and deprecation
Jul 15, 2021
5595d71
docs
Jul 15, 2021
b6e9920
typo
Jul 15, 2021
2fe94ca
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 15, 2021
c27bab7
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 18, 2021
5d73c56
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 19, 2021
b20dfbf
update preggy, format error
Jul 19, 2021
180fe43
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 19, 2021
9534de5
docs
Jul 19, 2021
23d2223
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 19, 2021
5edad80
Better error formatting
Jul 19, 2021
7c46199
space
Jul 19, 2021
f336f20
formatting
Jul 19, 2021
95a0fe4
jest
Jul 19, 2021
78375dd
cleanup
Jul 19, 2021
1c1d571
test
Jul 19, 2021
fb4866c
err
Jul 19, 2021
d16bdd2
jest error messages
Jul 20, 2021
868b00a
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 20, 2021
3a665cb
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 21, 2021
c19d0ca
docs
Jul 21, 2021
141ff6e
Merge branch 'master' of github.com:elastic/kibana into es-query/move…
Jul 21, 2021
b6a0734
doc
Jul 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"management": ["src/legacy/core_plugins/management", "src/plugins/management"],
"maps_legacy": "src/plugins/maps_legacy",
"monaco": "packages/kbn-monaco/src",
"esQuery": "packages/kbn-es-query/src",
"presentationUtil": "src/plugins/presentation_util",
"indexPatternFieldEditor": "src/plugins/index_pattern_field_editor",
"indexPatternManagement": "src/plugins/index_pattern_management",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ esFilters: {
FILTERS: typeof FILTERS;
FilterStateStore: typeof FilterStateStore;
buildEmptyFilter: (isPinned: boolean, index?: string | undefined) => import("../common").Filter;
buildPhrasesFilter: (field: import("../common").IndexPatternFieldBase, params: any[], indexPattern: import("../common").IndexPatternBase) => import("../common").PhrasesFilter;
buildExistsFilter: (field: import("../common").IndexPatternFieldBase, indexPattern: import("../common").IndexPatternBase) => import("../common").ExistsFilter;
buildPhraseFilter: (field: import("../common").IndexPatternFieldBase, value: any, indexPattern: import("../common").IndexPatternBase) => import("../common").PhraseFilter;
buildQueryFilter: (query: any, index: string, alias: string) => import("../common").QueryStringFilter;
buildRangeFilter: (field: import("../common").IndexPatternFieldBase, params: import("../common").RangeFilterParams, indexPattern: import("../common").IndexPatternBase, formattedValue?: string | undefined) => import("../common").RangeFilter;
buildPhrasesFilter: (field: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternFieldBase, params: any[], indexPattern: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase) => import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").PhrasesFilter;
buildExistsFilter: (field: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternFieldBase, indexPattern: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase) => import("../common").ExistsFilter;
buildPhraseFilter: (field: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternFieldBase, value: any, indexPattern: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase) => import("../common").PhraseFilter;
buildQueryFilter: (query: any, index: string, alias: string) => import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").QueryStringFilter;
buildRangeFilter: (field: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternFieldBase, params: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").RangeFilterParams, indexPattern: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase, formattedValue?: string | undefined) => import("../common").RangeFilter;
isPhraseFilter: (filter: any) => filter is import("../common").PhraseFilter;
isExistsFilter: (filter: any) => filter is import("../common").ExistsFilter;
isPhrasesFilter: (filter: any) => filter is import("../common").PhrasesFilter;
isPhrasesFilter: (filter: any) => filter is import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").PhrasesFilter;
isRangeFilter: (filter: any) => filter is import("../common").RangeFilter;
isMatchAllFilter: (filter: any) => filter is import("../common").MatchAllFilter;
isMissingFilter: (filter: any) => filter is import("../common").MissingFilter;
isQueryStringFilter: (filter: any) => filter is import("../common").QueryStringFilter;
isQueryStringFilter: (filter: any) => filter is import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").QueryStringFilter;
isFilterPinned: (filter: import("../common").Filter) => boolean | undefined;
toggleFilterNegated: (filter: import("../common").Filter) => {
meta: {
Expand All @@ -39,7 +39,7 @@ esFilters: {
params?: any;
value?: string | undefined;
};
$state?: import("../common").FilterState | undefined;
$state?: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types/filters/types").FilterState | undefined;
query?: any;
};
disableFilter: (filter: import("../common").Filter) => import("../common").Filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

```typescript
esKuery: {
nodeTypes: import("../common/es_query/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("../common").KueryParseOptions>) => import("../common").KueryNode;
toElasticsearchQuery: (node: import("../common").KueryNode, indexPattern?: import("../common").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
nodeTypes: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("../common").KueryNode;
toElasticsearchQuery: (node: import("../common").KueryNode, indexPattern?: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
esQuery: {
buildEsQuery: typeof buildEsQuery;
getEsQueryConfig: typeof getEsQueryConfig;
buildQueryFromFilters: (filters: import("../common").Filter[] | undefined, indexPattern: import("../common").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean) => {
buildQueryFromFilters: (filters: import("../common").Filter[] | undefined, indexPattern: import("../../../../bazel-out/k8-fastbuild/bin/packages/kbn-es-query/target_types").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => {
must: never[];
filter: import("../common").Filter[];
should: never[];
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export declare class IndexPatternField implements IFieldType
| [searchable](./kibana-plugin-plugins-data-public.indexpatternfield.searchable.md) | | <code>boolean</code> | |
| [sortable](./kibana-plugin-plugins-data-public.indexpatternfield.sortable.md) | | <code>boolean</code> | |
| [spec](./kibana-plugin-plugins-data-public.indexpatternfield.spec.md) | | <code>FieldSpec</code> | |
| [subType](./kibana-plugin-plugins-data-public.indexpatternfield.subtype.md) | | <code>import(&quot;../..&quot;).IFieldSubType &#124; undefined</code> | |
| [subType](./kibana-plugin-plugins-data-public.indexpatternfield.subtype.md) | | <code>import(&quot;../../../public&quot;).IFieldSubType &#124; undefined</code> | |
| [type](./kibana-plugin-plugins-data-public.indexpatternfield.type.md) | | <code>string</code> | |
| [visualizable](./kibana-plugin-plugins-data-public.indexpatternfield.visualizable.md) | | <code>boolean</code> | |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
get subType(): import("../..").IFieldSubType | undefined;
get subType(): import("../../../public").IFieldSubType | undefined;
```
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ toJSON(): {
searchable: boolean;
aggregatable: boolean;
readFromDocValues: boolean;
subType: import("../..").IFieldSubType | undefined;
subType: import("../../../public").IFieldSubType | undefined;
customLabel: string | undefined;
};
```
Expand All @@ -37,7 +37,7 @@ toJSON(): {
searchable: boolean;
aggregatable: boolean;
readFromDocValues: boolean;
subType: import("../..").IFieldSubType | undefined;
subType: import("../../../public").IFieldSubType | undefined;
customLabel: string | undefined;
}`

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading