kibana/x-pack/plugins/observability/typings/common.ts
Dominique Clarke a4d35601b5
[Uptime] Add Custom Fleet Integration UI (#91584)
Register Synthetics integration package override to provide custom integration ui
2021-04-20 13:33:46 -04:00

25 lines
696 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
export type ObservabilityApp =
| 'infra_metrics'
| 'infra_logs'
| 'apm'
// we will remove uptime in future to replace to be replace by synthetics
| 'uptime'
| 'synthetics'
| 'observability-overview'
| 'stack_monitoring'
| 'ux'
| 'fleet';
export type PromiseReturnType<Func> = Func extends (...args: any[]) => Promise<infer Value>
? Value
: Func;
export { Coordinates } from '../public/typings/fetch_overview_data/';