-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nls/more-env-fix
- Loading branch information
Showing
217 changed files
with
4,537 additions
and
2,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../server/kibana-plugin-plugins-data-server.indexpatternsservice._constructor_.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [(constructor)](./kibana-plugin-plugins-data-server.indexpatternsservice._constructor_.md) | ||
|
||
## IndexPatternsService.(constructor) | ||
|
||
Constructs a new instance of the `IndexPatternsService` class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
constructor({ uiSettings, savedObjectsClient, apiClient, fieldFormats, onNotification, onError, onRedirectNoIndexPattern, }: IndexPatternsServiceDeps); | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| { uiSettings, savedObjectsClient, apiClient, fieldFormats, onNotification, onError, onRedirectNoIndexPattern, } | <code>IndexPatternsServiceDeps</code> | | | ||
|
13 changes: 13 additions & 0 deletions
13
...ata/server/kibana-plugin-plugins-data-server.indexpatternsservice.clearcache.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [clearCache](./kibana-plugin-plugins-data-server.indexpatternsservice.clearcache.md) | ||
|
||
## IndexPatternsService.clearCache property | ||
|
||
Clear index pattern list cache | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
clearCache: (id?: string | undefined) => void; | ||
``` |
27 changes: 27 additions & 0 deletions
27
...ns/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.create.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- 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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [create](./kibana-plugin-plugins-data-server.indexpatternsservice.create.md) | ||
|
||
## IndexPatternsService.create() method | ||
|
||
Create a new index pattern instance | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
create(spec: IndexPatternSpec, skipFetchFields?: boolean): Promise<IndexPattern>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| spec | <code>IndexPatternSpec</code> | | | ||
| skipFetchFields | <code>boolean</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<IndexPattern>` | ||
|
||
IndexPattern | ||
|
26 changes: 26 additions & 0 deletions
26
.../server/kibana-plugin-plugins-data-server.indexpatternsservice.createandsave.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- 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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [createAndSave](./kibana-plugin-plugins-data-server.indexpatternsservice.createandsave.md) | ||
|
||
## IndexPatternsService.createAndSave() method | ||
|
||
Create a new index pattern and save it right away | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
createAndSave(spec: IndexPatternSpec, override?: boolean, skipFetchFields?: boolean): Promise<IndexPattern>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| spec | <code>IndexPatternSpec</code> | | | ||
| override | <code>boolean</code> | | | ||
| skipFetchFields | <code>boolean</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<IndexPattern>` | ||
|
25 changes: 25 additions & 0 deletions
25
...ver/kibana-plugin-plugins-data-server.indexpatternsservice.createsavedobject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- 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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [createSavedObject](./kibana-plugin-plugins-data-server.indexpatternsservice.createsavedobject.md) | ||
|
||
## IndexPatternsService.createSavedObject() method | ||
|
||
Save a new index pattern | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
createSavedObject(indexPattern: IndexPattern, override?: boolean): Promise<IndexPattern>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| indexPattern | <code>IndexPattern</code> | | | ||
| override | <code>boolean</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<IndexPattern>` | ||
|
24 changes: 24 additions & 0 deletions
24
...ns/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.delete.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [delete](./kibana-plugin-plugins-data-server.indexpatternsservice.delete.md) | ||
|
||
## IndexPatternsService.delete() method | ||
|
||
Deletes an index pattern from .kibana index | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
delete(indexPatternId: string): Promise<{}>; | ||
``` | ||
## Parameters | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| indexPatternId | <code>string</code> | | | ||
<b>Returns:</b> | ||
`Promise<{}>` | ||
11 changes: 11 additions & 0 deletions
11
...na-plugin-plugins-data-server.indexpatternsservice.ensuredefaultindexpattern.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [ensureDefaultIndexPattern](./kibana-plugin-plugins-data-server.indexpatternsservice.ensuredefaultindexpattern.md) | ||
|
||
## IndexPatternsService.ensureDefaultIndexPattern property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
ensureDefaultIndexPattern: EnsureDefaultIndexPattern; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...erver/kibana-plugin-plugins-data-server.indexpatternsservice.fieldarraytomap.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [fieldArrayToMap](./kibana-plugin-plugins-data-server.indexpatternsservice.fieldarraytomap.md) | ||
|
||
## IndexPatternsService.fieldArrayToMap property | ||
|
||
Converts field array to map | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldArrayToMap: (fields: FieldSpec[], fieldAttrs?: FieldAttrs | undefined) => Record<string, FieldSpec>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...gins/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.find.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [find](./kibana-plugin-plugins-data-server.indexpatternsservice.find.md) | ||
|
||
## IndexPatternsService.find property | ||
|
||
Find and load index patterns by title | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
find: (search: string, size?: number) => Promise<IndexPattern[]>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ugins/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [get](./kibana-plugin-plugins-data-server.indexpatternsservice.get.md) | ||
|
||
## IndexPatternsService.get property | ||
|
||
Get an index pattern by id. Cache optimized | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
get: (id: string) => Promise<IndexPattern>; | ||
``` |
11 changes: 11 additions & 0 deletions
11
.../data/server/kibana-plugin-plugins-data-server.indexpatternsservice.getcache.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getCache](./kibana-plugin-plugins-data-server.indexpatternsservice.getcache.md) | ||
|
||
## IndexPatternsService.getCache property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getCache: () => Promise<SavedObject<IndexPatternSavedObjectAttrs>[] | null | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ata/server/kibana-plugin-plugins-data-server.indexpatternsservice.getdefault.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getDefault](./kibana-plugin-plugins-data-server.indexpatternsservice.getdefault.md) | ||
|
||
## IndexPatternsService.getDefault property | ||
|
||
Get default index pattern | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getDefault: () => Promise<IndexPattern | null>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ana-plugin-plugins-data-server.indexpatternsservice.getfieldsforindexpattern.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getFieldsForIndexPattern](./kibana-plugin-plugins-data-server.indexpatternsservice.getfieldsforindexpattern.md) | ||
|
||
## IndexPatternsService.getFieldsForIndexPattern property | ||
|
||
Get field list by providing an index patttern (or spec) | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getFieldsForIndexPattern: (indexPattern: IndexPattern | IndexPatternSpec, options?: GetFieldsOptions | undefined) => Promise<any>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
.../kibana-plugin-plugins-data-server.indexpatternsservice.getfieldsforwildcard.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getFieldsForWildcard](./kibana-plugin-plugins-data-server.indexpatternsservice.getfieldsforwildcard.md) | ||
|
||
## IndexPatternsService.getFieldsForWildcard property | ||
|
||
Get field list by providing { pattern } | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getFieldsForWildcard: (options: GetFieldsOptions) => Promise<any>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ns/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.getids.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getIds](./kibana-plugin-plugins-data-server.indexpatternsservice.getids.md) | ||
|
||
## IndexPatternsService.getIds property | ||
|
||
Get list of index pattern ids | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getIds: (refresh?: boolean) => Promise<string[]>; | ||
``` |
16 changes: 16 additions & 0 deletions
16
...erver/kibana-plugin-plugins-data-server.indexpatternsservice.getidswithtitle.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- 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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getIdsWithTitle](./kibana-plugin-plugins-data-server.indexpatternsservice.getidswithtitle.md) | ||
|
||
## IndexPatternsService.getIdsWithTitle property | ||
|
||
Get list of index pattern ids with titles | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getIdsWithTitle: (refresh?: boolean) => Promise<Array<{ | ||
id: string; | ||
title: string; | ||
}>>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...data/server/kibana-plugin-plugins-data-server.indexpatternsservice.gettitles.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) > [IndexPatternsService](./kibana-plugin-plugins-data-server.indexpatternsservice.md) > [getTitles](./kibana-plugin-plugins-data-server.indexpatternsservice.gettitles.md) | ||
|
||
## IndexPatternsService.getTitles property | ||
|
||
Get list of index pattern titles | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTitles: (refresh?: boolean) => Promise<string[]>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.