import type { EntryExists } from '@kbn/securitysolution-io-ts-list-types' ; import { EXISTS , FIELD , OPERATOR } from '../../constants.mock' ; export const getEntryExistsMock = ( ) : EntryExists => ( { field : FIELD , operator : OPERATOR , type : EXISTS , } ) ; export const getEntryExistsExcludedMock = ( ) : EntryExists => ( { ... getEntryExistsMock ( ) , operator : 'excluded' , } ) ;