Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Warry committed Aug 13, 2024
1 parent 23ff61c commit 24c9260
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,31 +168,13 @@ export interface SubtitleFormatApi {
export interface SubtitleFormats {
id: string;
name: string;
format: SubtitleFileFormat;
format: Formats.SubtitleFileFormat;
start_timecode?: string;
frame_rate?: FrameRate;
display_standard?: SubtitleDisplayStandard;
frame_rate?: Formats.FrameRate;
display_standard?: Formats.SubtitleDisplayStandard;
offset?: string;
}

export enum SubtitleFileFormat {
STL = "STL",
WebVTT = "WebVTT",
SRT = "SRT",
}

export enum SubtitleDisplayStandard {
Open = "Open",
Teletext1 = "Teletext1",
Teletext2 = "Teletext2",
}

export interface FrameRate {
id: string;
numerator: number;
denominator: number;
}

export interface DeliverPayload {
format: string;
versionMapping: Formats.Mapping;
Expand Down

0 comments on commit 24c9260

Please sign in to comment.