UNPKG

will-lib

Version:
20 lines (19 loc) 560 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PromptConfig = void 0; class PromptConfig { constructor(authtype, url, site, domain) { this.authtype = authtype; this.url = url; this.site = site; this.domain = domain; } hasConfigure() { if ((this.url && this.url.trim().length > 0) && (this.authtype && this.authtype.trim().length > 0)) { return true; } return false; } } exports.PromptConfig = PromptConfig;