[
    {
        "DisplayName": "App Download Type",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "Sets how to download the app. Specify the App Download Source and the relevant Git repo or GitHub release settings accordingly. Update the app after changing this setting",
        "Keywords": "download,type",
        "FieldName": "DownloadType",
        "InputType": "enum",
        "IsFlagArgument": false,
        "ParamFieldName": "DownloadType",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Required": true,
        "EnumValues": {
            "": "--Please select--",
            "DownloadURL": "Download URL",
            "GithubRelease": "GitHub release",
            "GitRepo": "Git repo",
            "None": "None"
        }
    },
    {
        "DisplayName": "App Download Source",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "Sets the source for the App Download Type. Git repo = URL that ends in .git. GitHub release = User/Repo. Download URL = URL to a zip file. Update the app after changing this setting",
        "Keywords": "download,source",
        "FieldName": "DownloadSource",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "DownloadSource",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "https://github.com/username/deno-app.git",
        "EnumValues": {}
    },
    {
        "DisplayName": "Git Repo Branch",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "If \"Git repo\" is selected under App Download Type, sets the branch if required. Empty = default branch",
        "Keywords": "git,repo,branch,DownloadBranch",
        "FieldName": "DownloadBranch",
        "InputType": "text",
        "ParamFieldName": "DownloadBranch",
        "DefaultValue": "",
        "EnumValues": {}
    },
    {
        "DisplayName": "Git Repo Username",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "If \"Git repo\" is selected under App Download Type, sets the username if login is required",
        "Keywords": "git,repo,username,DownloadUsername",
        "FieldName": "DownloadUsername",
        "InputType": "text",
        "ParamFieldName": "DownloadUsername",
        "DefaultValue": "",
        "EnumValues": {}
    },
    {
        "DisplayName": "Git Repo Password/Token",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "If \"Git repo\" is selected under App Download Type, sets the password/token if login is required",
        "Keywords": "git,repo,password,token,DownloadPassword",
        "FieldName": "DownloadPassword",
        "InputType": "Password",
        "ParamFieldName": "DownloadPassword",
        "DefaultValue": "",
        "EnumValues": {}
    },
    {
        "DisplayName": "GitHub Release Filename",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "If \"GitHub release\" is selected under App Download Type, sets the name of the zip file to download",
        "Keywords": "github,release,filename",
        "FieldName": "DownloadFilename",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "DownloadFilename",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "deno-app.zip",
        "EnumValues": {}
    },
    {
        "DisplayName": "GitHub Release Version",
        "Category": "Deno App Runner:code",
        "Subcategory": "Download:download:2",
        "Description": "If \"GitHub release\" is selected under App Download Type, sets the release version to download. Empty = latest",
        "Keywords": "github,release,version",
        "FieldName": "DownloadVersion",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "DownloadVersion",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "1.0.0",
        "EnumValues": {}
    },
    {
        "DisplayName": "Deno Version",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets the [Deno version](https://github.com/denoland/deno/releases) to install. Format: v1.40.0. Empty = latest version. Update the server after changing this setting",
        "Keywords": "deno,version,DenoVersion",
        "FieldName": "DenoVersion",
        "InputType": "text",
        "ParamFieldName": "DenoVersion",
        "DefaultValue": "",
        "Placeholder": "v1.40.0",
        "EnumValues": {}
    },
    {
        "DisplayName": "Run App Setup Commands",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "If enabled, the command(s) specified under App Setup Commands will be run when the server is updated and after the app is installed",
        "Keywords": "app,setup,command,RunAppSetupCommands",
        "FieldName": "RunAppSetupCommands",
        "InputType": "checkbox",
        "ParamFieldName": "RunAppSetupCommands",
        "DefaultValue": "false",
        "EnumValues": {
            "False": "false",
            "True": "true"
        }
    },
    {
        "DisplayName": "App Setup Commands",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets any required command(s) to run to set up the app after it is installed, if Run App Setup Commands is enabled. Linux: command1; command2 | Windows: command1 & command2. Include \"deno\" as needed",
        "Keywords": "app,setup,command,AppSetupCommands",
        "FieldName": "AppSetupCommands",
        "InputType": "text",
        "ParamFieldName": "AppSetupCommands",
        "DefaultValue": "",
        "Placeholder": "deno cache main.ts | deno task build",
        "EnumValues": {}
    },
    {
        "DisplayName": "App Name",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets the name of the Deno app to execute. Do not include \"deno\" in front. Include any relative path from the base directory or App Installation Location, if applicable. Supports both .ts and .js files",
        "Keywords": "app,application,name",
        "FieldName": "ApplicationName",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "ApplicationName",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "main.ts | server.js | src/app.ts",
        "EnumValues": {}
    },
    {
        "DisplayName": "App Installation Location",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets any applicable subdirectory path (under the base directory) that the app is installed in. This will set the working directory for running the app accordingly",
        "Keywords": "app,application,location,directory,subdirectory,path,ApplicationLocation",
        "FieldName": "ApplicationLocation",
        "InputType": "text",
        "ParamFieldName": "ApplicationLocation",
        "DefaultValue": "",
        "EnumValues": {}
    },
    {
        "DisplayName": "Deno Command Line Arguments",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets Deno command line arguments (not app command line arguments) to include as startup parameters. Common options: --allow-net, --allow-read, --allow-write, --allow-env",
        "Keywords": "deno,command,line,arguments,args,permissions",
        "FieldName": "DenoArgs",
        "InputType": "text",
        "ParamFieldName": "DenoArgs",
        "DefaultValue": "--allow-net --allow-read --allow-write --allow-env",
        "Placeholder": "--allow-net --allow-read --allow-write --allow-env",
        "EnumValues": {}
    },
    {
        "DisplayName": "App Environment Variables",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "To set a list of environment variables to run the app with, create a '.env' file in the working directory. Deno can load environment variables using --allow-env permission",
        "Keywords": "environment,variables,EnvVars",
        "FieldName": "EnvVars",
        "InputType": "hidden",
        "ParamFieldName": "EnvVars",
        "EnumValues": {}
    },
    {
        "DisplayName": "App Command Line Arguments",
        "Category": "Deno App Runner:code",
        "Subcategory": "App:settings:1",
        "Description": "Sets app command line arguments (not Deno command line arguments) to include as startup parameters",
        "Keywords": "app,command,line,arguments,args",
        "FieldName": "CommandLineArgs",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "CommandLineArgs",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "--port=8000 --host=0.0.0.0",
        "EnumValues": {}
    }
]