import { localize } from "./localize" ; export const projectLanguageSetting = 'projectLanguage' ; export const funcVersionSetting = 'projectRuntime' ; export const projectSubpathSetting = 'projectSubpath' ; export const templateFilterSetting = 'templateFilter' ; export const deploySubpathSetting = 'deploySubpath' ; export const templateVersionSetting = 'templateVersion' ; export const preDeployTaskSetting = 'preDeployTask' ; export const pythonVenvSetting = 'pythonVenv' ; export const projectOpenBehaviorSetting = 'projectOpenBehavior' ; export const hiddenStacksSetting = 'showHiddenStacks' ; export const projectTemplateKeySetting = 'projectTemplateKey' ; export const remoteBuildSetting = 'scmDoBuildDuringDeployment' ; export const javaBuildTool = 'javaBuildTool' ; export enum ProjectLanguage { CSharp = 'C#' , CSharpScript = 'C#Script' , FSharp = 'F#' , FSharpScript = 'F#Script' , Java = 'Java' , JavaScript = 'JavaScript' , PowerShell = 'PowerShell' , Python = 'Python' , TypeScript = 'TypeScript' , Custom = 'Custom' } export enum TemplateFilter { All = 'All' , Core = 'Core' , Verified = 'Verified' } export const hostFileName = 'host.json' ; export const localSettingsFileName = 'local.settings.json' ; export const functionJsonFileName = 'function.json' ; export const tasksFileName = 'tasks.json' ; export const launchFileName = 'launch.json' ; export const settingsFileName = 'settings.json' ; export const vscodeFolderName = '.vscode' ; export const gitignoreFileName = '.gitignore' ; export const requirementsFileName = 'requirements.txt' ; export const extensionsCsprojFileName = 'extensions.csproj' ; export const pomXmlFileName = 'pom.xml' ; export const buildGradleFileName = 'build.gradle' ; export enum JavaBuildTool { maven = 'maven' , gradle = 'gradle' } export enum PackageManager { npm = 'npm' , brew = 'brew' } export const funcPackageName = 'azure-functions-core-tools' ; export enum ScmType { None = 'None' , LocalGit = 'LocalGit' , GitHub = 'GitHub' } export const func = 'func' ; export const extInstallCommand = 'extensions install' ; export const extInstallTaskName = `${ func }: ${ extInstallCommand }` ; export const hostStartCommand = 'host start' ; export const hostStartTaskName = `${ func }: ${ hostStartCommand }` ; export const packCommand = 'pack' ; export const buildNativeDeps = '--build-native-deps' ; export const packTaskName = `${ func }: ${ packCommand }` ; export const localhost = '127.0.0.1' ; export const tsDefaultOutDir = 'dist' ; export const tsConfigFileName = 'tsconfig.json' ; export const localEmulatorConnectionString = 'UseDevelopmentStorage=true' ; export const workerRuntimeKey = 'FUNCTIONS_WORKER_RUNTIME' ; export const workerRuntimeVersionKey = 'FUNCTIONS_WORKER_RUNTIME_VERSION' ; export const extensionVersionKey = 'FUNCTIONS_EXTENSION_VERSION' ; export const runFromPackageKey = 'WEBSITE_RUN_FROM_PACKAGE' ; export const contentConnectionStringKey = 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' ; export const contentShareKey = 'WEBSITE_CONTENTSHARE' ; export const viewOutput = localize ( 'viewOutput' , 'View Output' ) ; export const previewDescription = localize ( 'preview' , '(Preview)' ) ; export const webProvider = 'Microsoft.Web' ;