forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
job.ts
35 lines (23 loc) · 996 Bytes
/
job.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* 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.
*/
import { estypes } from '@elastic/elasticsearch';
export type JobId = string;
export type BucketSpan = string;
// temporary Job override, waiting for es client to have correct types
export type Job = estypes.MlJob;
export type MlJobBlocked = estypes.MlJobBlocked;
export type AnalysisConfig = estypes.MlAnalysisConfig;
export type Detector = estypes.MlDetector;
export type AnalysisLimits = estypes.MlAnalysisLimits;
export type DataDescription = estypes.MlDataDescription;
export type ModelPlotConfig = estypes.MlModelPlotConfig;
export type CustomRule = estypes.MlDetectionRule;
export interface PerPartitionCategorization {
enabled?: boolean;
stop_on_warn?: boolean;
}
export type CustomSettings = estypes.MlCustomSettings;