import * as t from 'io-ts' ; import { NonEmptyArray } from '@kbn/securitysolution-io-ts-types' ; export const machine_learning_job_id_normalized = NonEmptyArray ( t . string ) ; export type MachineLearningJobIdNormalized = t . TypeOf < typeof machine_learning_job_id_normalized > ; export const machineLearningJobIdNormalizedOrUndefined = t . union ( [ machine_learning_job_id_normalized , t . undefined , ] ) ; export type MachineLearningJobIdNormalizedOrUndefined = t . TypeOf < typeof machineLearningJobIdNormalizedOrUndefined > ;