mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Re-introduce required id types for FormatType
. (#133812)
This commit is contained in:
parent
3902b17c37
commit
2dd0ea1b76
1 changed files with 5 additions and 1 deletions
|
@ -123,6 +123,10 @@ export interface ConfigProps {
|
|||
series?: SeriesUrl;
|
||||
}
|
||||
|
||||
interface FormatType extends SerializedFieldFormat<FieldFormatParams> {
|
||||
id: 'duration' | 'number' | 'bytes' | 'percent';
|
||||
}
|
||||
|
||||
export type AppDataType = 'synthetics' | 'ux' | 'infra_logs' | 'infra_metrics' | 'apm' | 'mobile';
|
||||
|
||||
type InputFormat = 'microseconds' | 'milliseconds' | 'seconds';
|
||||
|
@ -138,7 +142,7 @@ export interface FieldFormatParams extends BaseFieldFormatParams {
|
|||
|
||||
export interface FieldFormat {
|
||||
field: string;
|
||||
format: SerializedFieldFormat<FieldFormatParams>;
|
||||
format: FormatType;
|
||||
}
|
||||
|
||||
export interface BuilderItem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue