-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Index pattern edit field formatter API (#78352)
* Index pattern edit field formatter API
- Loading branch information
Showing
28 changed files
with
226 additions
and
213 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...data/public/kibana-plugin-plugins-data-public.indexpattern.deletefieldformat.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-public](./kibana-plugin-plugins-data-public.md) > [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) > [deleteFieldFormat](./kibana-plugin-plugins-data-public.indexpattern.deletefieldformat.md) | ||
|
||
## IndexPattern.deleteFieldFormat property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
deleteFieldFormat: (fieldName: string) => void; | ||
``` |
24 changes: 24 additions & 0 deletions
24
...kibana-plugin-plugins-data-public.indexpattern.getformatterforfieldnodefault.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-public](./kibana-plugin-plugins-data-public.md) > [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) > [getFormatterForFieldNoDefault](./kibana-plugin-plugins-data-public.indexpattern.getformatterforfieldnodefault.md) | ||
|
||
## IndexPattern.getFormatterForFieldNoDefault() method | ||
|
||
Get formatter for a given field name. Return undefined if none exists | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getFormatterForFieldNoDefault(fieldname: string): FieldFormat | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| fieldname | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`FieldFormat | undefined` | ||
|
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
11 changes: 11 additions & 0 deletions
11
...ns/data/public/kibana-plugin-plugins-data-public.indexpattern.setfieldformat.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-public](./kibana-plugin-plugins-data-public.md) > [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) > [setFieldFormat](./kibana-plugin-plugins-data-public.indexpattern.setfieldformat.md) | ||
|
||
## IndexPattern.setFieldFormat property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setFieldFormat: (fieldName: string, format: SerializedFieldFormat) => void; | ||
``` |
11 changes: 11 additions & 0 deletions
11
.../data/public/kibana-plugin-plugins-data-public.indexpatternspec.fieldformats.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-public](./kibana-plugin-plugins-data-public.md) > [IndexPatternSpec](./kibana-plugin-plugins-data-public.indexpatternspec.md) > [fieldFormats](./kibana-plugin-plugins-data-public.indexpatternspec.fieldformats.md) | ||
|
||
## IndexPatternSpec.fieldFormats property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldFormats?: Record<string, SerializedFieldFormat>; | ||
``` |
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
11 changes: 11 additions & 0 deletions
11
...data/server/kibana-plugin-plugins-data-server.indexpattern.deletefieldformat.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) > [IndexPattern](./kibana-plugin-plugins-data-server.indexpattern.md) > [deleteFieldFormat](./kibana-plugin-plugins-data-server.indexpattern.deletefieldformat.md) | ||
|
||
## IndexPattern.deleteFieldFormat property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
deleteFieldFormat: (fieldName: string) => void; | ||
``` |
24 changes: 24 additions & 0 deletions
24
...kibana-plugin-plugins-data-server.indexpattern.getformatterforfieldnodefault.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) > [IndexPattern](./kibana-plugin-plugins-data-server.indexpattern.md) > [getFormatterForFieldNoDefault](./kibana-plugin-plugins-data-server.indexpattern.getformatterforfieldnodefault.md) | ||
|
||
## IndexPattern.getFormatterForFieldNoDefault() method | ||
|
||
Get formatter for a given field name. Return undefined if none exists | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getFormatterForFieldNoDefault(fieldname: string): FieldFormat | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| fieldname | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`FieldFormat | undefined` | ||
|
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
11 changes: 11 additions & 0 deletions
11
...ns/data/server/kibana-plugin-plugins-data-server.indexpattern.setfieldformat.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) > [IndexPattern](./kibana-plugin-plugins-data-server.indexpattern.md) > [setFieldFormat](./kibana-plugin-plugins-data-server.indexpattern.setfieldformat.md) | ||
|
||
## IndexPattern.setFieldFormat property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setFieldFormat: (fieldName: string, format: SerializedFieldFormat) => void; | ||
``` |
1 change: 1 addition & 0 deletions
1
...lugins/data/common/index_patterns/index_patterns/__snapshots__/index_pattern.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ugins/data/common/index_patterns/index_patterns/__snapshots__/index_patterns.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.