Skip to content

Commit

Permalink
feat: update d.ts files (#659)
Browse files Browse the repository at this point in the history
update `types.d.ts` and `player-config.d.ts` files
  • Loading branch information
lianbenjamin authored Oct 16, 2023
1 parent e53698e commit 634f42e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ts-typed/player-config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ declare namespace KalturaPlayerTypes {
vr?: null;
metadata?: Metadata;
captions?: KalturaCaptionSource[];
downloadUrl?: string;
}

export interface Dash {
Expand Down
4 changes: 3 additions & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export interface Sources {
startTime?: number;
vr: Object | null;
imageSourceOptions?: any;
downloadUrl?: string;
}

export interface SourcesMetadata {
Expand Down Expand Up @@ -158,7 +159,7 @@ declare module PlaykitUI {

export type SidePanelPosition = 'top' | 'bottom' | 'right' | 'left';
export type SidePanelMode = 'alongside' | 'hidden' | 'over';
export type ReservedPresetName = 'Playback' | 'Live' | 'Idle' | 'Ads' | 'Error';
export type ReservedPresetName = 'Playback' | 'Live' | 'Idle' | 'Ads' | 'Error' | 'Img';
export const SidePanelOrientation: {
VERTICAL: 'vertical';
HORIZONTAL: 'horizontal';
Expand All @@ -183,6 +184,7 @@ declare module PlaykitUI {
Idle: 'Idle';
Ads: 'Ads';
Error: 'Error';
Img: 'Img';
};

export const ReservedPresetAreas: {
Expand Down

0 comments on commit 634f42e

Please sign in to comment.