import { WebSiteManagementModels } from '@azure/arm-appservice' ; import { IActionContext } from 'vscode-azureextensionui' ; import { ParsedFunctionJson } from '../../funcConfig/function' ; import { FunctionTreeItemBase } from '../FunctionTreeItemBase' ; import { LocalFunctionsTreeItem } from './LocalFunctionsTreeItem' ; export class LocalFunctionTreeItem extends FunctionTreeItemBase { public readonly parent : LocalFunctionsTreeItem ; public readonly functionJsonPath : string | undefined ; private constructor ( parent , name , config , functionJsonPath , func ) { super ( parent , config , name , func ) ; this . functionJsonPath = functionJsonPath ; } public static async create ( context , parent , name , config , functionJsonPath , func ) { const ti = new LocalFunctionTreeItem ( parent , name , config , functionJsonPath , func ) ; await ti . initAsync ( context ) ; return ti ; } public async getKey ( ) { return undefined ; } }