import { IStorageAccountWizardContext } from 'vscode-azureextensionui' ; import { getStorageConnectionString } from '../../../utils/azure' ; import { IBindingWizardContext } from '../IBindingWizardContext' ; import { AzureConnectionCreateStepBase , IConnection } from './AzureConnectionCreateStepBase' ; export class StorageConnectionCreateStep extends AzureConnectionCreateStepBase < IStorageAccountWizardContext & IBindingWizardContext > { public async getConnection ( context ) { return await getStorageConnectionString ( context ) ; } public shouldExecute ( context ) { return ! ! context . storageAccount ; } }