import * as t from 'io-ts' ; import { NonEmptyString } from '@kbn/securitysolution-io-ts-types' ; export const list_id = NonEmptyString ; export type ListId = t . TypeOf < typeof list_id > ; export const list_idOrUndefined = t . union ( [ list_id , t . undefined ] ) ; export type ListIdOrUndefined = t . TypeOf < typeof list_idOrUndefined > ;