kibana/examples/field_formats_example
Tim Sullivan ca2d1d6975
[DataViews] Remove some usage of any (#135767)
* fix editor warning

* use UrlFormatEditorFormatParams

* remove unnecessary any

* remove any from FieldFormatEditorFactory

* remove usage of any from src/plugins/data_view_field_editor

* remove usage of any from data_views/server/fetcher

* fix ts

* fix more ts

* back off changes in src/plugins/data_views/server/fetcher/

* pretty

* remove some unknown

* pretty

* fix ts

* retain null-ability

* fix lint

* fix test

* cleanup

* fixes in FieldFormatEditorFactory

* cleanup

* fix FieldFormatEditorStart

* revert functional diff

* knock out a few small any

* fix lint

* set up generic FieldFormatParams, SerializedFieldFormat, FormatFactory

* revert comment

* fix mistake

* use FormatEditorServiceSetup, FormatEditorServiceStart

* make defaultFieldFormatEditorFactories more type safe

* simplify types

* type fixes

* roll back re-leveling of fieldFormatEditors

* review feedback item

* public api correction

Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-13 08:55:06 -07:00
..
common fix all violations 2022-04-16 01:37:30 -05:00
public [DataViews] Remove some usage of any (#135767) 2022-07-13 08:55:06 -07:00
server fix all violations 2022-04-16 01:37:30 -05:00
kibana.json [FieldFormats] fix example plugin: register examples format on server (#119483) 2021-11-25 13:43:13 +01:00
README.md [FieldFormats] Example plugin (#108070) 2021-08-16 05:18:34 -04:00
tsconfig.json IndexPatternFieldEditor => DataViewFieldEditor (#119261) 2021-11-22 09:12:33 -06:00

Field formats example

Field formats is a service used by index patterns for applying custom formatting to values in a document. Field formats service can also be used separately from index patterns.

This example plugin shows:

  1. How field formats can be used for formatting values
  2. How to create a custom field format and make it available in index pattern field editor
  3. How to create a custom editor for a custom field formatter