Archived
1
0

Move heart and AuthType out of http

This file is going to get blasted in favor of Express.
This commit is contained in:
Asher
2020-10-15 17:00:21 -05:00
parent dcb303a437
commit 2928d362fa
6 changed files with 59 additions and 55 deletions

View File

@ -4,9 +4,13 @@ import yaml from "js-yaml"
import * as os from "os"
import * as path from "path"
import { Args as VsArgs } from "../../lib/vscode/src/vs/server/ipc"
import { AuthType } from "./http"
import { canConnect, generateCertificate, generatePassword, humanPath, paths } from "./util"
export enum AuthType {
Password = "password",
None = "none",
}
export class Optional<T> {
public constructor(public readonly value?: T) {}
}