Skip to content

Commit

Permalink
feat(FEC-11738): Related Entries - Phase 1 (#511)
Browse files Browse the repository at this point in the history
Add types for related content grid.

Fixes FEC-11738.
  • Loading branch information
SivanA-Kaltura authored Jan 16, 2022
1 parent 3224c70 commit 13163a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ts-typed/base-plugin.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
declare namespace KalturaPlayerTypes {
export interface BasePlugin {
player: KalturaPlayerTypes.Player;
eventManager: KalturaPlayerTypes.EventManager;
config: any;
logger: KalturaPlayerTypes.Logger;
getName(): string;
}
export interface BasePlugin {
player: KalturaPlayerTypes.Player;
eventManager: KalturaPlayerTypes.EventManager;
config: any;
logger: KalturaPlayerTypes.Logger;
getName(): string;
destroy();
}
}
5 changes: 5 additions & 0 deletions ts-typed/kaltura-player.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,23 @@ declare module 'global' {
getLogger: (name: string) => KalturaPlayerTypes.Logger;
bindActions(actions: Record<string, unknown>[]): (...args: any) => void;
KeyMap: Record<string, number>;
toHHMMSS: (seconds: number) => string;
};
components: {
withPlayer: any;
Tooltip: any;
Icon: any;
IconType: any;
IconState: any;
PLAYER_SIZE: Record<string, string>;
Remove: string;
Settings: {
displayName: string;
};
PrevNext: any;
PrePlaybackPlayOverlay: any;
};
style: any;
preactHooks: any;
preacti18n: any;
};
Expand Down

0 comments on commit 13163a8

Please sign in to comment.