[Data] Align deprecation messages (#107175)
* Move more utils to package and cleanup API * docs and imports * better imports * change comment * Better docs * typos * typo * Align deprecation messages * fixes * casting * Code review * Update meta_filter.ts * Update types.ts * Deprecate by 8.1 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
a923d9e091
commit
7af1ec246d
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> - Use serialize() instead.
|
||||
> Use serialize() instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
Filter helpers namespace:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Use IndexPatternField or FieldSpec instead
|
||||
> Use [IndexPatternField](./kibana-plugin-plugins-data-public.indexpatternfield.md) 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
Add scripted field to field list
|
||||
|
|
|
@ -9,9 +9,7 @@
|
|||
```typescript
|
||||
getAggregationRestrictions(): Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
@ -22,9 +20,7 @@ getAggregationRestrictions(): Record<string, Record<string, {
|
|||
|
||||
`Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Deprecated. used by time range index patterns
|
||||
> Used by time range index patterns 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
Remove scripted field from field list
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
## IndexPatternField class
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Use fetch$ instead
|
||||
> Use the `fetch$` method instead 8.0
|
||||
>
|
||||
|
||||
Fetch this source and reject the returned Promise on error
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.1
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.1
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.1
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Use IndexPatternField or FieldSpec instead
|
||||
> Use [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
Add scripted field to field list
|
||||
|
|
|
@ -9,9 +9,7 @@
|
|||
```typescript
|
||||
getAggregationRestrictions(): Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
@ -22,9 +20,7 @@ getAggregationRestrictions(): Record<string, Record<string, {
|
|||
|
||||
`Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Deprecated. used by time range index patterns
|
||||
> Used by time range index patterns 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> use runtime field instead
|
||||
> use runtime field instead 8.0
|
||||
>
|
||||
|
||||
Remove scripted field from field list
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [(constructor)](./kibana-plugin-plugins-data-server.indexpatternfield._constructor_.md)
|
||||
|
||||
## IndexPatternField.(constructor)
|
||||
|
||||
Constructs a new instance of the `IndexPatternField` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor(spec: FieldSpec);
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| spec | <code>FieldSpec</code> | |
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [aggregatable](./kibana-plugin-plugins-data-server.indexpatternfield.aggregatable.md)
|
||||
|
||||
## IndexPatternField.aggregatable property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get aggregatable(): boolean;
|
||||
```
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [conflictDescriptions](./kibana-plugin-plugins-data-server.indexpatternfield.conflictdescriptions.md)
|
||||
|
||||
## IndexPatternField.conflictDescriptions property
|
||||
|
||||
Description of field type conflicts across different indices in the same index pattern
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get conflictDescriptions(): Record<string, string[]> | undefined;
|
||||
|
||||
set conflictDescriptions(conflictDescriptions: Record<string, string[]> | undefined);
|
||||
```
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [count](./kibana-plugin-plugins-data-server.indexpatternfield.count.md)
|
||||
|
||||
## IndexPatternField.count property
|
||||
|
||||
Count is used for field popularity
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get count(): number;
|
||||
|
||||
set count(count: number);
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [customLabel](./kibana-plugin-plugins-data-server.indexpatternfield.customlabel.md)
|
||||
|
||||
## IndexPatternField.customLabel property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get customLabel(): string | undefined;
|
||||
|
||||
set customLabel(customLabel: string | undefined);
|
||||
```
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [deleteCount](./kibana-plugin-plugins-data-server.indexpatternfield.deletecount.md)
|
||||
|
||||
## IndexPatternField.deleteCount() method
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
deleteCount(): void;
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
`void`
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [displayName](./kibana-plugin-plugins-data-server.indexpatternfield.displayname.md)
|
||||
|
||||
## IndexPatternField.displayName property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get displayName(): string;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [esTypes](./kibana-plugin-plugins-data-server.indexpatternfield.estypes.md)
|
||||
|
||||
## IndexPatternField.esTypes property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get esTypes(): string[] | undefined;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [filterable](./kibana-plugin-plugins-data-server.indexpatternfield.filterable.md)
|
||||
|
||||
## IndexPatternField.filterable property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get filterable(): boolean;
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [isMapped](./kibana-plugin-plugins-data-server.indexpatternfield.ismapped.md)
|
||||
|
||||
## IndexPatternField.isMapped property
|
||||
|
||||
Is the field part of the index mapping?
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get isMapped(): boolean | undefined;
|
||||
```
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [lang](./kibana-plugin-plugins-data-server.indexpatternfield.lang.md)
|
||||
|
||||
## IndexPatternField.lang property
|
||||
|
||||
Script field language
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get lang(): "painless" | "expression" | "mustache" | "java" | undefined;
|
||||
|
||||
set lang(lang: "painless" | "expression" | "mustache" | "java" | undefined);
|
||||
```
|
|
@ -0,0 +1,52 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md)
|
||||
|
||||
## IndexPatternField class
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class IndexPatternField implements IFieldType
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)(spec)](./kibana-plugin-plugins-data-server.indexpatternfield._constructor_.md) | | Constructs a new instance of the <code>IndexPatternField</code> class |
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| [aggregatable](./kibana-plugin-plugins-data-server.indexpatternfield.aggregatable.md) | | <code>boolean</code> | |
|
||||
| [conflictDescriptions](./kibana-plugin-plugins-data-server.indexpatternfield.conflictdescriptions.md) | | <code>Record<string, string[]> | undefined</code> | Description of field type conflicts across different indices in the same index pattern |
|
||||
| [count](./kibana-plugin-plugins-data-server.indexpatternfield.count.md) | | <code>number</code> | Count is used for field popularity |
|
||||
| [customLabel](./kibana-plugin-plugins-data-server.indexpatternfield.customlabel.md) | | <code>string | undefined</code> | |
|
||||
| [displayName](./kibana-plugin-plugins-data-server.indexpatternfield.displayname.md) | | <code>string</code> | |
|
||||
| [esTypes](./kibana-plugin-plugins-data-server.indexpatternfield.estypes.md) | | <code>string[] | undefined</code> | |
|
||||
| [filterable](./kibana-plugin-plugins-data-server.indexpatternfield.filterable.md) | | <code>boolean</code> | |
|
||||
| [isMapped](./kibana-plugin-plugins-data-server.indexpatternfield.ismapped.md) | | <code>boolean | undefined</code> | Is the field part of the index mapping? |
|
||||
| [lang](./kibana-plugin-plugins-data-server.indexpatternfield.lang.md) | | <code>"painless" | "expression" | "mustache" | "java" | undefined</code> | Script field language |
|
||||
| [name](./kibana-plugin-plugins-data-server.indexpatternfield.name.md) | | <code>string</code> | |
|
||||
| [readFromDocValues](./kibana-plugin-plugins-data-server.indexpatternfield.readfromdocvalues.md) | | <code>boolean</code> | |
|
||||
| [runtimeField](./kibana-plugin-plugins-data-server.indexpatternfield.runtimefield.md) | | <code>RuntimeField | undefined</code> | |
|
||||
| [script](./kibana-plugin-plugins-data-server.indexpatternfield.script.md) | | <code>string | undefined</code> | Script field code |
|
||||
| [scripted](./kibana-plugin-plugins-data-server.indexpatternfield.scripted.md) | | <code>boolean</code> | |
|
||||
| [searchable](./kibana-plugin-plugins-data-server.indexpatternfield.searchable.md) | | <code>boolean</code> | |
|
||||
| [sortable](./kibana-plugin-plugins-data-server.indexpatternfield.sortable.md) | | <code>boolean</code> | |
|
||||
| [spec](./kibana-plugin-plugins-data-server.indexpatternfield.spec.md) | | <code>FieldSpec</code> | |
|
||||
| [subType](./kibana-plugin-plugins-data-server.indexpatternfield.subtype.md) | | <code>import("@kbn/es-query").IFieldSubType | undefined</code> | |
|
||||
| [type](./kibana-plugin-plugins-data-server.indexpatternfield.type.md) | | <code>string</code> | |
|
||||
| [visualizable](./kibana-plugin-plugins-data-server.indexpatternfield.visualizable.md) | | <code>boolean</code> | |
|
||||
|
||||
## Methods
|
||||
|
||||
| Method | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [deleteCount()](./kibana-plugin-plugins-data-server.indexpatternfield.deletecount.md) | | |
|
||||
| [toJSON()](./kibana-plugin-plugins-data-server.indexpatternfield.tojson.md) | | |
|
||||
| [toSpec({ getFormatterForField, })](./kibana-plugin-plugins-data-server.indexpatternfield.tospec.md) | | |
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [name](./kibana-plugin-plugins-data-server.indexpatternfield.name.md)
|
||||
|
||||
## IndexPatternField.name property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get name(): string;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [readFromDocValues](./kibana-plugin-plugins-data-server.indexpatternfield.readfromdocvalues.md)
|
||||
|
||||
## IndexPatternField.readFromDocValues property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get readFromDocValues(): boolean;
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [runtimeField](./kibana-plugin-plugins-data-server.indexpatternfield.runtimefield.md)
|
||||
|
||||
## IndexPatternField.runtimeField property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get runtimeField(): RuntimeField | undefined;
|
||||
|
||||
set runtimeField(runtimeField: RuntimeField | undefined);
|
||||
```
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [script](./kibana-plugin-plugins-data-server.indexpatternfield.script.md)
|
||||
|
||||
## IndexPatternField.script property
|
||||
|
||||
Script field code
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get script(): string | undefined;
|
||||
|
||||
set script(script: string | undefined);
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [scripted](./kibana-plugin-plugins-data-server.indexpatternfield.scripted.md)
|
||||
|
||||
## IndexPatternField.scripted property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get scripted(): boolean;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [searchable](./kibana-plugin-plugins-data-server.indexpatternfield.searchable.md)
|
||||
|
||||
## IndexPatternField.searchable property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get searchable(): boolean;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [sortable](./kibana-plugin-plugins-data-server.indexpatternfield.sortable.md)
|
||||
|
||||
## IndexPatternField.sortable property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get sortable(): boolean;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [spec](./kibana-plugin-plugins-data-server.indexpatternfield.spec.md)
|
||||
|
||||
## IndexPatternField.spec property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly spec: FieldSpec;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [subType](./kibana-plugin-plugins-data-server.indexpatternfield.subtype.md)
|
||||
|
||||
## IndexPatternField.subType property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get subType(): import("@kbn/es-query").IFieldSubType | undefined;
|
||||
```
|
|
@ -0,0 +1,43 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [toJSON](./kibana-plugin-plugins-data-server.indexpatternfield.tojson.md)
|
||||
|
||||
## IndexPatternField.toJSON() method
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
toJSON(): {
|
||||
count: number;
|
||||
script: string | undefined;
|
||||
lang: "painless" | "expression" | "mustache" | "java" | undefined;
|
||||
conflictDescriptions: Record<string, string[]> | undefined;
|
||||
name: string;
|
||||
type: string;
|
||||
esTypes: string[] | undefined;
|
||||
scripted: boolean;
|
||||
searchable: boolean;
|
||||
aggregatable: boolean;
|
||||
readFromDocValues: boolean;
|
||||
subType: import("@kbn/es-query").IFieldSubType | undefined;
|
||||
customLabel: string | undefined;
|
||||
};
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
`{
|
||||
count: number;
|
||||
script: string | undefined;
|
||||
lang: "painless" | "expression" | "mustache" | "java" | undefined;
|
||||
conflictDescriptions: Record<string, string[]> | undefined;
|
||||
name: string;
|
||||
type: string;
|
||||
esTypes: string[] | undefined;
|
||||
scripted: boolean;
|
||||
searchable: boolean;
|
||||
aggregatable: boolean;
|
||||
readFromDocValues: boolean;
|
||||
subType: import("@kbn/es-query").IFieldSubType | undefined;
|
||||
customLabel: string | undefined;
|
||||
}`
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [toSpec](./kibana-plugin-plugins-data-server.indexpatternfield.tospec.md)
|
||||
|
||||
## IndexPatternField.toSpec() method
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
toSpec({ getFormatterForField, }?: {
|
||||
getFormatterForField?: IndexPattern['getFormatterForField'];
|
||||
}): FieldSpec;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| { getFormatterForField, } | <code>{</code><br/><code> getFormatterForField?: IndexPattern['getFormatterForField'];</code><br/><code> }</code> | |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
`FieldSpec`
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [type](./kibana-plugin-plugins-data-server.indexpatternfield.type.md)
|
||||
|
||||
## IndexPatternField.type property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get type(): string;
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) > [visualizable](./kibana-plugin-plugins-data-server.indexpatternfield.visualizable.md)
|
||||
|
||||
## IndexPatternField.visualizable property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
get visualizable(): boolean;
|
||||
```
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
| --- | --- |
|
||||
| [AggParamType](./kibana-plugin-plugins-data-server.aggparamtype.md) | |
|
||||
| [IndexPattern](./kibana-plugin-plugins-data-server.indexpattern.md) | |
|
||||
| [IndexPatternField](./kibana-plugin-plugins-data-server.indexpatternfield.md) | |
|
||||
| [IndexPatternsFetcher](./kibana-plugin-plugins-data-server.indexpatternsfetcher.md) | |
|
||||
| [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) | |
|
||||
| [IndexPatternsServiceProvider](./kibana-plugin-plugins-data-server.indexpatternsserviceprovider.md) | |
|
||||
|
|
|
@ -72,288 +72,347 @@ import {
|
|||
} from '@kbn/es-query';
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isFilter = oldIsFilter;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isFilterDisabled = oldIsFilterDisabled;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const disableFilter = oldDisableFilter;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const fromKueryExpression = oldFromKueryExpression;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const toElasticsearchQuery = oldToElasticsearchQuery;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const nodeTypes = oldNodeTypes;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildEsQuery = oldBuildEsQuery;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildQueryFromFilters = oldBuildQueryFromFilters;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const luceneStringToDsl = oldLuceneStringToDsl;
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const decorateQuery = olddecorateQuery;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const getPhraseFilterField = oldgetPhraseFilterField;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const getPhraseFilterValue = oldgetPhraseFilterValue;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isFilterPinned = oldIsFilterPinned;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const nodeBuilder = oldNodeBuilder;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isFilters = oldIsFilters;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const uniqFilters = oldUniqFilters;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const onlyDisabledFiltersChanged = oldOnlyDisabledFiltersChanged;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isExistsFilter = oldIsExistsFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isMatchAllFilter = oldIsMatchAllFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isGeoBoundingBoxFilter = oldIsGeoBoundingBoxFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isGeoPolygonFilter = oldIsGeoPolygonFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isMissingFilter = oldIsMissingFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isPhraseFilter = oldIsPhraseFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isPhrasesFilter = oldIsPhrasesFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isRangeFilter = oldIsRangeFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const isQueryStringFilter = oldIsQueryStringFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildQueryFilter = oldBuildQueryFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildPhrasesFilter = oldBuildPhrasesFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildPhraseFilter = oldBuildPhraseFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildRangeFilter = oldBuildRangeFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildCustomFilter = oldBuildCustomFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildFilter = oldBuildFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildEmptyFilter = oldBuildEmptyFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const buildExistsFilter = oldBuildExistsFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const toggleFilterNegated = oldtoggleFilterNegated;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const enableFilter = oldEnableFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const pinFilter = oldPinFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const toggleFilterDisabled = oldToggleFilterDisabled;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const compareFilters = oldCompareFilters;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const dedupFilters = oldDedupFilters;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const COMPARE_ALL_OPTIONS = OLD_COMPARE_ALL_OPTIONS;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const FILTERS = oldFILTERS;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type Filter = oldFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type RangeFilterMeta = oldRangeFilterMeta;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type RangeFilterParams = oldRangeFilterParams;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type ExistsFilter = oldExistsFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type GeoPolygonFilter = oldGeoPolygonFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type PhrasesFilter = oldPhrasesFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type PhraseFilter = oldPhraseFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type MatchAllFilter = oldMatchAllFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type CustomFilter = oldCustomFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type MissingFilter = oldMissingFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type RangeFilter = oldRangeFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type GeoBoundingBoxFilter = oldGeoBoundingBoxFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type KueryNode = oldKueryNode;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type FilterMeta = oldFilterMeta;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type IFieldSubType = oldIFieldSubType;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
type EsQueryConfig = oldEsQueryConfig;
|
||||
|
||||
/**
|
||||
* @deprecated Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
|
||||
export {
|
||||
|
|
|
@ -18,8 +18,9 @@ export * from './utils';
|
|||
export * from './exports';
|
||||
|
||||
/**
|
||||
* Use data plugin interface instead
|
||||
* @deprecated
|
||||
*
|
||||
* @deprecated Use data plugin interface instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
|
||||
export { IndexPatternAttributes } from './types';
|
||||
|
|
|
@ -13,6 +13,7 @@ import type { IFieldType } from './types';
|
|||
import { FieldSpec, IndexPattern } from '../..';
|
||||
import { shortenDottedString } from '../../utils';
|
||||
|
||||
/** @public */
|
||||
export class IndexPatternField implements IFieldType {
|
||||
readonly spec: FieldSpec;
|
||||
// not writable or serialized
|
||||
|
|
|
@ -9,8 +9,8 @@ import { IndexPatternFieldBase } from '@kbn/es-query';
|
|||
import { FieldSpec, IndexPattern } from '../..';
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* Use IndexPatternField or FieldSpec instead
|
||||
* @deprecated Use {@link IndexPatternField}
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export interface IFieldType extends IndexPatternFieldBase {
|
||||
count?: number;
|
||||
|
|
|
@ -52,8 +52,9 @@ export class IndexPattern implements IIndexPattern {
|
|||
public fields: IIndexPatternFieldList & { toSpec: () => IndexPatternFieldMap };
|
||||
public timeFieldName: string | undefined;
|
||||
/**
|
||||
* @deprecated
|
||||
* Deprecated. used by time range index patterns
|
||||
* @deprecated Used by time range index patterns
|
||||
* @removeBy 8.1
|
||||
*
|
||||
*/
|
||||
public intervalName: string | undefined;
|
||||
/**
|
||||
|
@ -241,6 +242,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
* @param fieldType
|
||||
* @param lang
|
||||
* @deprecated use runtime field instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
async addScriptedField(name: string, script: string, fieldType: string = 'string') {
|
||||
const scriptedFields = this.getScriptedFields();
|
||||
|
@ -267,6 +269,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
* Remove scripted field from field list
|
||||
* @param fieldName
|
||||
* @deprecated use runtime field instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
|
||||
removeScriptedField(fieldName: string) {
|
||||
|
@ -279,6 +282,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
/**
|
||||
*
|
||||
* @deprecated use runtime field instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
getNonScriptedFields() {
|
||||
return [...this.fields.getAll().filter((field) => !field.scripted)];
|
||||
|
@ -287,6 +291,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
/**
|
||||
*
|
||||
* @deprecated use runtime field instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
getScriptedFields() {
|
||||
return [...this.fields.getAll().filter((field) => field.scripted)];
|
||||
|
|
|
@ -17,25 +17,25 @@ import {
|
|||
|
||||
/**
|
||||
* @deprecated Import from the "@kbn/field-types" package directly instead.
|
||||
* @removeBy 8.0
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const castEsToKbnFieldTypeName = oldCastEsToKbnFieldTypeName;
|
||||
|
||||
/**
|
||||
* @deprecated Import from the "@kbn/field-types" package directly instead.
|
||||
* @removeBy 8.0
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const getFilterableKbnTypeNames = oldGetFilterableKbnTypeNames;
|
||||
|
||||
/**
|
||||
* @deprecated Import from the "@kbn/field-types" package directly instead.
|
||||
* @removeBy 8.0
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const getKbnFieldType = oldGetKbnFieldType;
|
||||
|
||||
/**
|
||||
* @deprecated Import from the "@kbn/field-types" package directly instead.
|
||||
* @removeBy 8.0
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const getKbnTypeNames = oldGetKbnTypeNames;
|
||||
|
||||
|
|
|
@ -317,7 +317,8 @@ export class AggConfig {
|
|||
}
|
||||
|
||||
/**
|
||||
* @deprecated - Use serialize() instead.
|
||||
* @deprecated Use serialize() instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
toJSON(): AggConfigSerialized {
|
||||
return this.serialize();
|
||||
|
|
|
@ -314,7 +314,8 @@ export class SearchSource {
|
|||
|
||||
/**
|
||||
* Fetch this source and reject the returned Promise on error
|
||||
* @deprecated Use fetch$ instead
|
||||
* @deprecated Use the `fetch$` method instead
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
fetch(options: ISearchOptions = {}) {
|
||||
return this.fetch$(options)
|
||||
|
|
|
@ -70,25 +70,30 @@ import {
|
|||
} from './query';
|
||||
|
||||
/**
|
||||
* @deprecated This import will be removed in v8.0.0.
|
||||
* @deprecated This import will be removed.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const changeTimeFilter = oldChangeTimeFilter;
|
||||
/**
|
||||
* @deprecated This import will be removed in v8.0.0.
|
||||
* @deprecated This import will be removed.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const mapAndFlattenFilters = oldMapAndFlattenFilters;
|
||||
/**
|
||||
* @deprecated This import will be removed in v8.0.0.
|
||||
* @deprecated This import will be removed.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const extractTimeFilter = oldExtractTimeFilter;
|
||||
/**
|
||||
* @deprecated This import will be removed in v8.0.0.
|
||||
* @deprecated This import will be removed.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
const convertRangeFilterToTimeRangeString = oldConvertRangeFilterToTimeRangeString;
|
||||
|
||||
/**
|
||||
* Filter helpers namespace:
|
||||
* @deprecated Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esFilters = {
|
||||
FilterLabel,
|
||||
|
@ -151,7 +156,8 @@ export {
|
|||
};
|
||||
|
||||
/**
|
||||
* @deprecated Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esKuery = {
|
||||
nodeTypes,
|
||||
|
@ -160,7 +166,8 @@ export const esKuery = {
|
|||
};
|
||||
|
||||
/**
|
||||
* @deprecated Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esQuery = {
|
||||
buildEsQuery,
|
||||
|
|
|
@ -1353,9 +1353,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
// (undocumented)
|
||||
getAggregationRestrictions(): Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
@ -1478,8 +1476,6 @@ export interface IndexPatternAttributes {
|
|||
typeMeta: string;
|
||||
}
|
||||
|
||||
// Warning: (ae-missing-release-tag) "IndexPatternField" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export class IndexPatternField implements IFieldType {
|
||||
constructor(spec: FieldSpec);
|
||||
|
@ -2614,13 +2610,13 @@ export interface WaitUntilNextSessionCompletesOptions {
|
|||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:65:5 - (ae-forgotten-export) The symbol "FormatFieldFn" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:138:7 - (ae-forgotten-export) The symbol "FieldAttrSet" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:169:7 - (ae-forgotten-export) The symbol "RuntimeField" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:66:5 - (ae-forgotten-export) The symbol "FormatFieldFn" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:139:7 - (ae-forgotten-export) The symbol "FieldAttrSet" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:170:7 - (ae-forgotten-export) The symbol "RuntimeField" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/search/aggs/types.ts:128:51 - (ae-forgotten-export) The symbol "AggTypesRegistryStart" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:93:23 - (ae-forgotten-export) The symbol "changeTimeFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:93:23 - (ae-forgotten-export) The symbol "convertRangeFilterToTimeRangeString" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:93:23 - (ae-forgotten-export) The symbol "extractTimeFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:98:23 - (ae-forgotten-export) The symbol "changeTimeFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:98:23 - (ae-forgotten-export) The symbol "convertRangeFilterToTimeRangeString" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/deprecated.ts:98:23 - (ae-forgotten-export) The symbol "extractTimeFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/field_formats/field_formats_service.ts:51:3 - (ae-forgotten-export) The symbol "FormatFactory" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/index.ts:53:26 - (ae-forgotten-export) The symbol "FieldFormatsRegistry" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/public/index.ts:53:26 - (ae-forgotten-export) The symbol "BoolFormat" needs to be exported by the entry point index.d.ts
|
||||
|
|
|
@ -23,8 +23,9 @@ import {
|
|||
buildQueryFromFilters,
|
||||
} from '../common';
|
||||
/*
|
||||
* @deprecated Please import from the package kbn/es-query directly. This will be deprecated in v8.0.0.
|
||||
* Filter helper namespace:
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esFilters = {
|
||||
buildQueryFilter,
|
||||
|
@ -46,7 +47,8 @@ import { getEsQueryConfig } from '../common';
|
|||
|
||||
/*
|
||||
* Filter helper namespace
|
||||
* @deprecated Please import from the package kbn/es-query directly. This will be deprecated in v8.0.0.
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esKuery = {
|
||||
nodeTypes,
|
||||
|
@ -56,7 +58,8 @@ export const esKuery = {
|
|||
|
||||
/*
|
||||
* Filter helper namespace
|
||||
* @deprecated Please import from the package kbn/es-query directly. This will be deprecated in v8.0.0.
|
||||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead.
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export const esQuery = {
|
||||
buildQueryFromFilters,
|
||||
|
|
|
@ -93,6 +93,7 @@ export {
|
|||
} from './index_patterns';
|
||||
|
||||
export {
|
||||
IndexPatternField,
|
||||
IFieldType,
|
||||
ES_FIELD_TYPES,
|
||||
KBN_FIELD_TYPES,
|
||||
|
|
|
@ -25,6 +25,7 @@ import type { DataPluginRouter } from '../types';
|
|||
* legacy ES client.
|
||||
*
|
||||
* @deprecated
|
||||
* @removeBy 8.1
|
||||
*/
|
||||
export function registerMsearchRoute(
|
||||
router: DataPluginRouter,
|
||||
|
|
|
@ -698,9 +698,7 @@ export class IndexPattern implements IIndexPattern {
|
|||
// (undocumented)
|
||||
getAggregationRestrictions(): Record<string, Record<string, {
|
||||
agg?: string | undefined;
|
||||
interval?: number | undefined; /**
|
||||
* Get last saved saved object fields
|
||||
*/
|
||||
interval?: number | undefined;
|
||||
fixed_interval?: string | undefined;
|
||||
calendar_interval?: string | undefined;
|
||||
delay?: string | undefined;
|
||||
|
@ -725,8 +723,6 @@ export class IndexPattern implements IIndexPattern {
|
|||
getFieldByName(name: string): IndexPatternField | undefined;
|
||||
getFormatterForField(field: IndexPatternField | IndexPatternField['spec'] | IFieldType): FieldFormat;
|
||||
getFormatterForFieldNoDefault(fieldname: string): FieldFormat | undefined;
|
||||
// Warning: (ae-forgotten-export) The symbol "IndexPatternField" needs to be exported by the entry point index.d.ts
|
||||
//
|
||||
// @deprecated (undocumented)
|
||||
getNonScriptedFields(): IndexPatternField[];
|
||||
getOriginalSavedObjectBody: () => {
|
||||
|
@ -817,6 +813,74 @@ export interface IndexPatternAttributes {
|
|||
typeMeta: string;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export class IndexPatternField implements IFieldType {
|
||||
constructor(spec: FieldSpec);
|
||||
// (undocumented)
|
||||
get aggregatable(): boolean;
|
||||
get conflictDescriptions(): Record<string, string[]> | undefined;
|
||||
set conflictDescriptions(conflictDescriptions: Record<string, string[]> | undefined);
|
||||
get count(): number;
|
||||
set count(count: number);
|
||||
// (undocumented)
|
||||
get customLabel(): string | undefined;
|
||||
set customLabel(customLabel: string | undefined);
|
||||
// (undocumented)
|
||||
deleteCount(): void;
|
||||
// (undocumented)
|
||||
get displayName(): string;
|
||||
// (undocumented)
|
||||
get esTypes(): string[] | undefined;
|
||||
// (undocumented)
|
||||
get filterable(): boolean;
|
||||
get isMapped(): boolean | undefined;
|
||||
get lang(): "painless" | "expression" | "mustache" | "java" | undefined;
|
||||
set lang(lang: "painless" | "expression" | "mustache" | "java" | undefined);
|
||||
// (undocumented)
|
||||
get name(): string;
|
||||
// (undocumented)
|
||||
get readFromDocValues(): boolean;
|
||||
// (undocumented)
|
||||
get runtimeField(): RuntimeField | undefined;
|
||||
set runtimeField(runtimeField: RuntimeField | undefined);
|
||||
get script(): string | undefined;
|
||||
set script(script: string | undefined);
|
||||
// (undocumented)
|
||||
get scripted(): boolean;
|
||||
// (undocumented)
|
||||
get searchable(): boolean;
|
||||
// (undocumented)
|
||||
get sortable(): boolean;
|
||||
// (undocumented)
|
||||
readonly spec: FieldSpec;
|
||||
// (undocumented)
|
||||
get subType(): import("@kbn/es-query").IFieldSubType | undefined;
|
||||
// (undocumented)
|
||||
toJSON(): {
|
||||
count: number;
|
||||
script: string | undefined;
|
||||
lang: "painless" | "expression" | "mustache" | "java" | undefined;
|
||||
conflictDescriptions: Record<string, string[]> | undefined;
|
||||
name: string;
|
||||
type: string;
|
||||
esTypes: string[] | undefined;
|
||||
scripted: boolean;
|
||||
searchable: boolean;
|
||||
aggregatable: boolean;
|
||||
readFromDocValues: boolean;
|
||||
subType: import("@kbn/es-query").IFieldSubType | undefined;
|
||||
customLabel: string | undefined;
|
||||
};
|
||||
// (undocumented)
|
||||
toSpec({ getFormatterForField, }?: {
|
||||
getFormatterForField?: IndexPattern['getFormatterForField'];
|
||||
}): FieldSpec;
|
||||
// (undocumented)
|
||||
get type(): string;
|
||||
// (undocumented)
|
||||
get visualizable(): boolean;
|
||||
}
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "name" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-forgotten-export) The symbol "Input" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-forgotten-export) The symbol "Arguments" needs to be exported by the entry point index.d.ts
|
||||
|
@ -1387,9 +1451,9 @@ export function usageProvider(core: CoreSetup_2): SearchUsage;
|
|||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:52:45 - (ae-forgotten-export) The symbol "IndexPatternFieldMap" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:65:5 - (ae-forgotten-export) The symbol "FormatFieldFn" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:138:7 - (ae-forgotten-export) The symbol "FieldAttrSet" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:169:7 - (ae-forgotten-export) The symbol "RuntimeField" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:66:5 - (ae-forgotten-export) The symbol "FormatFieldFn" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:139:7 - (ae-forgotten-export) The symbol "FieldAttrSet" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts:170:7 - (ae-forgotten-export) The symbol "RuntimeField" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:21:23 - (ae-forgotten-export) The symbol "datatableToCSV" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:49:26 - (ae-forgotten-export) The symbol "FieldFormatsRegistry" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:49:26 - (ae-forgotten-export) The symbol "FieldFormat" needs to be exported by the entry point index.d.ts
|
||||
|
@ -1409,18 +1473,18 @@ export function usageProvider(core: CoreSetup_2): SearchUsage;
|
|||
// src/plugins/data/server/index.ts:49:26 - (ae-forgotten-export) The symbol "HistogramFormat" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:81:27 - (ae-forgotten-export) The symbol "isFilterable" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:81:27 - (ae-forgotten-export) The symbol "isNestedField" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:197:20 - (ae-forgotten-export) The symbol "tabifyAggResponse" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:197:20 - (ae-forgotten-export) The symbol "tabifyGetColumns" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:199:1 - (ae-forgotten-export) The symbol "CidrMask" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:200:1 - (ae-forgotten-export) The symbol "dateHistogramInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:209:1 - (ae-forgotten-export) The symbol "InvalidEsCalendarIntervalError" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:210:1 - (ae-forgotten-export) The symbol "InvalidEsIntervalFormatError" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:211:1 - (ae-forgotten-export) The symbol "IpAddress" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:215:1 - (ae-forgotten-export) The symbol "isValidEsInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:216:1 - (ae-forgotten-export) The symbol "isValidInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:220:1 - (ae-forgotten-export) The symbol "propFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:223:1 - (ae-forgotten-export) The symbol "toAbsoluteDates" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:224:1 - (ae-forgotten-export) The symbol "calcAutoIntervalLessThan" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:198:20 - (ae-forgotten-export) The symbol "tabifyAggResponse" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:198:20 - (ae-forgotten-export) The symbol "tabifyGetColumns" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:200:1 - (ae-forgotten-export) The symbol "CidrMask" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:201:1 - (ae-forgotten-export) The symbol "dateHistogramInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:210:1 - (ae-forgotten-export) The symbol "InvalidEsCalendarIntervalError" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:211:1 - (ae-forgotten-export) The symbol "InvalidEsIntervalFormatError" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:212:1 - (ae-forgotten-export) The symbol "IpAddress" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:216:1 - (ae-forgotten-export) The symbol "isValidEsInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:217:1 - (ae-forgotten-export) The symbol "isValidInterval" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:221:1 - (ae-forgotten-export) The symbol "propFilter" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:224:1 - (ae-forgotten-export) The symbol "toAbsoluteDates" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/index.ts:225:1 - (ae-forgotten-export) The symbol "calcAutoIntervalLessThan" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/plugin.ts:81:74 - (ae-forgotten-export) The symbol "DataEnhancements" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/data/server/search/types.ts:120:5 - (ae-forgotten-export) The symbol "ISearchStartSearchSource" needs to be exported by the entry point index.d.ts
|
||||
|
||||
|
|
Loading…
Reference in a new issue