Skip to content

Commit

Permalink
undefined to null for fileStream values
Browse files Browse the repository at this point in the history
  • Loading branch information
Bramart committed Nov 29, 2024
1 parent a0817db commit 2b1f0e9
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,31 +464,31 @@ export type FileStream =
export interface FileVideoStream {
fileId: string;
index: number;
codecName?: string;
codecLongName?: string;
duration?: number;
width?: number;
height?: number;
displayAspectRatioNumerator?: number;
displayAspectRatioDenominator?: number;
bitRate?: number;
codecName: string | null;
codecLongName: string | null;
duration: number | null;
width: number | null;
height: number | null;
displayAspectRatioNumerator: number | null;
displayAspectRatioDenominator: number | null;
bitRate: number | null;
rFrameRateNumerator: number;
rFrameRateDenominator: number;
level?: number;
profile?: string;
startTime?: number;
chromaSubsampling?: string;
scanningType?: string;
timecode?: string;
nbFrames?: number;
level: number | null;
profile: string | null;
startTime: number | null;
chromaSubsampling: string | null;
scanningType: string | null;
timecode: string | null;
nbFrames: number | null;
}

export interface FileAudioStream {
fileId: string;
index: number;
codecName: string;
codecLongName: string;
duration?: number;
duration: number | null;
sampleRate: number;
sampleFormat: string;
channels: number;
Expand All @@ -502,21 +502,21 @@ export interface FileAudioStream {
export interface FileSubtitleStream {
fileId: string;
index: number;
codecName?: string;
codecLongName?: string;
version?: Formats.Version;
frameRateNumerator?: number;
frameRateDenominator?: number;
startTimecode?: string;
firstCue?: string;
subtitleType?: string;
codecName: string | null;
codecLongName: string | null;
version: Formats.Version | null;
frameRateNumerator: number | null;
frameRateDenominator: number | null;
startTimecode: string | null;
firstCue: string | null;
subtitleType: string | null;
typeVersion: Formats.SubtitleTypeVersion | null;
}

export interface FileDataStream {
fileId: string;
index: number;
timecode?: string;
timecode: string | null;
}

export interface FluffyStream {
Expand Down

0 comments on commit 2b1f0e9

Please sign in to comment.