polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
14 lines • 1.2 kB
TypeScript
import { Command } from 'commander';
export declare function registerChannelCommands(program: Command): void;
declare function parseInteger(value: string): number;
declare function parseBoolean(value: string): boolean;
declare function ensureAtLeastOneOption(options: Record<string, unknown>, fields: string[]): void;
declare function validateScene(value: string): 'topclass' | 'alone' | 'seminar' | 'train' | 'double' | 'guide';
declare function validateTemplate(value: string): 'ppt' | 'portrait_ppt' | 'alone' | 'portrait_alone' | 'topclass' | 'portrait_topclass' | 'seminar';
declare function validateLimit(value: string): number;
declare function validateOutputFormat(value: string): 'table' | 'json';
declare function validateChannelViewerScope(value: string): 'user' | 'teacher';
declare function validateYnFlag(value: string): 'Y' | 'N';
declare function validateChatTokenRole(value: string): 'teacher' | 'admin' | 'guest' | 'assistant' | 'viewer';
export { parseInteger, validateScene, validateTemplate, validateLimit, validateOutputFormat, validateChannelViewerScope, validateYnFlag, validateChatTokenRole, parseBoolean, ensureAtLeastOneOption };
//# sourceMappingURL=channel.commands.d.ts.map