UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

27 lines 721 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_SESSION_CONFIG = exports.SessionStateValidation = void 0; exports.SessionStateValidation = { accountName: { required: true, pattern: /^[a-zA-Z0-9_-]+$/, maxLength: 50 }, processId: { required: true, type: 'number', positive: true }, terminalId: { required: true, pattern: /^[a-zA-Z0-9_-]+$/, maxLength: 100 } }; exports.DEFAULT_SESSION_CONFIG = { sessionDir: '.polyv/sessions', envVarName: 'POLYV_SESSION_ACCOUNT', filePrefix: 'session', expirationMs: 24 * 60 * 60 * 1000 }; //# sourceMappingURL=session.types.js.map