* Check security privileges before allowing reindexing * Add global readyForUpgrade flag for Cloud * Add ml_settings to cluster_settings * Generalize locking mechanism for stop/starting watcher * Display ML/Watcher stopping/resuming steps in UI * Fix type issues * Handle security being disabled for privilege check * Use xpack_main.info + add types * Fix x-pack builds
15 lines
425 B
TypeScript
15 lines
425 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 'hapi';
|
|
import { XPackMainPlugin } from 'x-pack/plugins/xpack_main/xpack_main';
|
|
|
|
declare module 'hapi' {
|
|
interface PluginProperties {
|
|
xpack_main: XPackMainPlugin;
|
|
}
|
|
}
|