import { i18n } from '@kbn/i18n' ; import { UiSettingsParams } from 'src/core/server' ; import { schema } from '@kbn/config-schema' ; import { DISABLE_BFETCH_COMPRESSION } from '../common' ; export function getUiSettings ( ) { return { [ DISABLE_BFETCH_COMPRESSION ] : { name : i18n . translate ( 'bfetch.disableBfetchCompression' , { defaultMessage : 'Disable Batch Compression' , } ) , value : false , description : i18n . translate ( 'bfetch.disableBfetchCompressionDesc' , { defaultMessage : 'Disable batch compression. This allows you to debug individual requests, but increases response size.' , } ) , schema : schema . boolean ( ) , category : [ ] , } , } ; }