mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-08-08 09:14:02 +09:00
Update summary.ts
This commit is contained in:
committed by
GitHub
parent
eb97e0c67d
commit
b1a091a4a6
@ -20,19 +20,9 @@ type Summary = {
|
|||||||
thumbnail: string;
|
thumbnail: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The url of the player of that web page
|
* The player of that web page
|
||||||
*/
|
*/
|
||||||
player: string;
|
player: Player;
|
||||||
|
|
||||||
/**
|
|
||||||
* The width of the player of that web page
|
|
||||||
*/
|
|
||||||
playerWidth: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The height of the player of that web page
|
|
||||||
*/
|
|
||||||
playerHeight: number;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The title of that web page
|
* The title of that web page
|
||||||
@ -41,3 +31,22 @@ type Summary = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default Summary;
|
export default Summary;
|
||||||
|
|
||||||
|
type Player = {
|
||||||
|
/**
|
||||||
|
* The url of the player
|
||||||
|
*/
|
||||||
|
player: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The width of the player
|
||||||
|
*/
|
||||||
|
playerWidth: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The height of the player
|
||||||
|
*/
|
||||||
|
playerHeight: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Player;
|
||||||
|
Reference in New Issue
Block a user