env-manage-plugin
Version:
A dev env plugin that integrates an Express server with request proxying capabilities.
15 lines (14 loc) • 467 B
JavaScript
import { v4 as uuidv4 } from "uuid";
class EnvItemModel {
constructor(envItem) {
this.status = "stopped";
this.id = uuidv4();
this.name = envItem.name ?? "";
this.description = envItem.description ?? "";
this.port = envItem.port ?? "";
this.apiBaseUrl = envItem.apiBaseUrl ?? "";
this.homePage = envItem.homePage ?? "";
this.devServerId = envItem.devServerId ?? "";
}
}
export { EnvItemModel };