import { ExportExceptionDetails } from '@kbn/securitysolution-io-ts-list-types' ; export interface ExportExceptionDetailsMock { listCount ? : number ; missingListsCount ? : number ; missingLists ? : Array < Record < 'list_id' , string > > ; itemCount ? : number ; missingItemCount ? : number ; missingItems ? : Array < Record < 'item_id' , string > > ; } export const getExceptionExportDetailsMock = ( details ? ) : ExportExceptionDetails => ( { exported_exception_list_count : details ?. listCount ?? 0 , exported_exception_list_item_count : details ?. itemCount ?? 0 , missing_exception_list_item_count : details ?. missingItemCount ?? 0 , missing_exception_list_items : details ?. missingItems ?? [ ] , missing_exception_lists : details ?. missingLists ?? [ ] , missing_exception_lists_count : details ?. missingListsCount ?? 0 , } ) ;