[ML] Sharing ml node available hook (#152074)

Update to https://github.com/elastic/kibana/pull/150166
Exporting the hook from the ML app.
This commit is contained in:
James Gowdy 2023-02-24 11:40:33 +00:00 committed by GitHub
parent 4a775b83a6
commit f4ccd89b92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,4 +67,7 @@ type AwaitReturnType<T> = T extends PromiseLike<infer U> ? U : T;
export type GetMlSharedImportsReturnType = AwaitReturnType<ReturnType<typeof getMlSharedImports>>;
export { MLJobsAwaitingNodeWarning } from './application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared';
export { MlNodeAvailableWarningShared } from './application/components/node_available_warning';
export {
MlNodeAvailableWarningShared,
useMlNodeAvailableCheck,
} from './application/components/node_available_warning';