* Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE * Changed alerting REST API to keep the pattern 'alerts/alert/{id}' * fixed tests * fixed tests * Fixed jest tests * Renamed plugin from alerting to alerts * fixed tests * fixed tests * Fixed alert type check error * Fixed find api * fixed type checks * fixed tests security issues * Fixed view in app * - Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
15 lines
495 B
TypeScript
15 lines
495 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;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { JsonObject } from '../../infra/common/typed_json';
|
|
export interface AlertUrlNavigation {
|
|
path: string;
|
|
}
|
|
export interface AlertStateNavigation {
|
|
state: JsonObject;
|
|
}
|
|
export type AlertNavigation = AlertUrlNavigation | AlertStateNavigation;
|