import listMappings from './list_mappings.json' ; export const getListTemplate = ( index ) : Record < string , unknown > => ( { index_patterns : [ `${ index }-*` ] , mappings : listMappings , settings : { index : { lifecycle : { name : index , rollover_alias : index , } , } , } , } ) ;