mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-14 08:13:43 +08:00
Reject unsafe dynamic filter execution, reduce heuristic false positives, add regression coverage, bump the app to 4.9.17, and update Next.js to the latest stable security patch.
28 lines
531 B
TypeScript
28 lines
531 B
TypeScript
export interface Segment {
|
|
url: string;
|
|
duration: number;
|
|
lineIndex: number;
|
|
}
|
|
|
|
export interface Block {
|
|
segments: Segment[];
|
|
startLineIndex: number;
|
|
endLineIndex: number;
|
|
hasCueTag: boolean;
|
|
}
|
|
|
|
export interface MainPattern {
|
|
filenameRegex: RegExp | null;
|
|
avgDuration: number;
|
|
commonPrefix: string;
|
|
pathPrefix: string;
|
|
origin: string;
|
|
usesNtscLikeGrid: boolean;
|
|
usesFilm24LikeGrid: boolean;
|
|
}
|
|
|
|
export interface SegmentLocation {
|
|
origin: string;
|
|
pathPrefix: string;
|
|
}
|