import * as t from 'io-ts' ; import { DefaultStringBooleanFalse } from '@kbn/securitysolution-io-ts-types' ; import { RequiredKeepUndefined } from '../../common/required_keep_undefined' ; import { id } from '../../common/id' ; export const deleteListSchema = t . intersection ( [ t . exact ( t . type ( { id , } ) ) , t . exact ( t . partial ( { deleteReferences : DefaultStringBooleanFalse , ignoreReferences : DefaultStringBooleanFalse , } ) ) , ] ) ; export type DeleteListSchema = RequiredKeepUndefined < t . TypeOf < typeof deleteListSchema > > ; export type DeleteListSchemaEncoded = t . OutputOf < typeof deleteListSchema > ;