Skip to content

Commit

Permalink
add image type
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTGold committed Jan 12, 2023
1 parent 68dfc7b commit 400b14c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions flow-typed/types/image-player-options.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare type ImageSourceOptions = {
thumbnailAPIParams: { [parmaName: string]: string }
};
4 changes: 3 additions & 1 deletion flow-typed/types/sources-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ declare type PKSourcesConfigObject = {
hls: Array<PKMediaSourceObject>,
dash: Array<PKMediaSourceObject>,
progressive: Array<PKMediaSourceObject>,
image: Array<PKMediaSourceObject>,
captions?: Array<PKExternalCaptionObject>,
thumbnails?: PKExternalThumbnailsConfig,
options: PKMediaSourceOptionsObject,
Expand All @@ -13,5 +14,6 @@ declare type PKSourcesConfigObject = {
poster?: string,
duration?: number,
startTime?: number,
vr: ?Object
vr: ?Object,
imageSourceOptions?: ImageSourceOptions
};

0 comments on commit 400b14c

Please sign in to comment.