import * as t from 'io-ts' ; import { created_at , created_by , deserializerOrUndefined , list_id , metaOrUndefined , serializerOrUndefined , tie_breaker_id , updated_at , updated_by , } from '@kbn/securitysolution-io-ts-list-types' ; import { esDataTypeUnion } from '../common/schemas' ; export const indexEsListItemSchema = t . intersection ( [ t . exact ( t . type ( { created_at , created_by , deserializer : deserializerOrUndefined , list_id , meta : metaOrUndefined , serializer : serializerOrUndefined , tie_breaker_id , updated_at , updated_by , } ) ) , esDataTypeUnion , ] ) ; export type IndexEsListItemSchema = t . OutputOf < typeof indexEsListItemSchema > ;