UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

22 lines 911 B
export declare const MAX_DATE_RANGE_DAYS = 60; export declare const MAX_TIME_RANGE_MS: number; export declare const MAX_AUDIENCE_TIME_RANGE_DAYS = 90; export declare function isValidDateFormat(dateStr: string): boolean; export declare function isStartDateBeforeEndDate(startDay: string, endDay: string): boolean; export declare function validateDateRange(startDay: string, endDay: string, maxDays?: number): { valid: boolean; error?: string; daysDiff?: number; }; export declare function isValidTimestamp(value: unknown): boolean; export declare function validateTimestampRange(startTime: number, endTime: number, maxMs?: number): { valid: boolean; error?: string; msDiff?: number; }; export declare function validate90DayTimestampRange(startTime: number, endTime: number): { valid: boolean; error?: string; daysDiff?: number; }; //# sourceMappingURL=date-validation.d.ts.map