import { indexPatterns } from '../../../../data/public' ; export const INDEX_ILLEGAL_CHARACTERS_VISIBLE = [ ... indexPatterns . ILLEGAL_CHARACTERS_VISIBLE , '*' ] ; const insertionIndex = Math . floor ( indexPatterns . ILLEGAL_CHARACTERS_VISIBLE . length / 2 ) ; INDEX_ILLEGAL_CHARACTERS_VISIBLE . splice ( insertionIndex , 0 , ',' ) ;