@provisioner/jitsi
Version:
CodeZero provisioner for Jitsi
15 lines • 653 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createValidateMixin = void 0;
exports.createValidateMixin = (base) => class extends base {
async createValidate() {
const { secret, authPassword, jvbPassword, } = this.spec;
if (!secret || secret === '')
throw new Error('JICOFO Component Secret is required');
if (!authPassword || authPassword === '')
throw new Error('JICOFO Auth Password is required');
if (!jvbPassword || jvbPassword === '')
throw new Error('JVB Auth Password is required');
}
};
//# sourceMappingURL=createValidate.js.map