import { IActionContext } from 'vscode-azureextensionui' ; import { IParsedHostJson } from '../funcConfig/host' ; import { FuncVersion } from '../FuncVersion' ; import { ProjectSource } from './projectContextValues' ; export type ApplicationSettings = { [ propertyName ] : string ; } ; export type FuncHostRequest = { url : string ; rejectUnauthorized ? : boolean ; } ; export interface IProjectTreeItem { source : ProjectSource ; getHostRequest ( context ) : Promise < FuncHostRequest > ; getHostJson ( context ) : Promise < IParsedHostJson > ; getVersion ( context ) : Promise < FuncVersion > ; getApplicationSettings ( context ) : Promise < ApplicationSettings > ; setApplicationSetting ( context , key , value ) : Promise < void > ; }