import { SavedObject } from '../../types' ; import { SavedObjectsImportRetry } from '../types' ; export function createObjectsFilter ( retries ) { const retryKeys = new Set < string > ( retries . map ( ( retry ) => `${ retry . type }:${ retry . id }` ) ) ; return ( obj ) => { return retryKeys . has ( `${ obj . type }:${ obj . id }` ) ; } ; }