import { callWithTelemetryAndErrorHandling , IActionContext } from "vscode-azureextensionui" ; import { IAppSettingsClient } from "../../vscode-azurefunctions.api" ; import { uploadAppSettingsInternal } from "../appSettings/uploadAppSettings" ; export async function uploadAppSettingsFromApi ( client , exclude ? ) { return await callWithTelemetryAndErrorHandling ( 'api.uploadAppSettings' , async ( context ) => { await uploadAppSettingsInternal ( context , client , undefined , exclude ) ; } ) ; }