import { BindingSettingValue } from '../../../funcConfig/function' ; import { localize } from '../../../localize' ; import { nonNullProp } from '../../../utils/nonNull' ; import { IBindingWizardContext } from '../IBindingWizardContext' ; import { BindingSettingStepBase } from './BindingSettingStepBase' ; export class LocalAppSettingNameStep extends BindingSettingStepBase { public async promptCore ( context ) { const appSettingSuffix = `_${ nonNullProp ( this . _setting , 'resourceType' ) . toUpperCase ( ) }` ; return await context . ui . showInputBox ( { placeHolder : localize ( 'appSettingKeyPlaceholder' , 'Local app setting key' ) , prompt : localize ( 'appSettingKeyPrompt' , 'Provide a key for a connection string' ) , value : `example${ appSettingSuffix }` } ) ; } }