import * as t from 'io-ts' ; import { NonEmptyString } from '@kbn/securitysolution-io-ts-types' ; import { type } from '../type' ; import { listOperator as operator } from '../list_operator' ; export const entriesList = t . exact ( t . type ( { field : NonEmptyString , list : t . exact ( t . type ( { id : NonEmptyString , type } ) ) , operator , type : t . keyof ( { list : null } ) , } ) ) ; export type EntryList = t . TypeOf < typeof entriesList > ;