mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fetchimg video infos
This commit is contained in:
parent
1056f0ff72
commit
c74ab01927
9 changed files with 60 additions and 13 deletions
|
@ -194,3 +194,14 @@ export type INodeNotification = {
|
|||
export type INotification = IMessageNotification | ICommentNotification;
|
||||
|
||||
export type Unwrap<T> = T extends Promise<infer U> ? U : T;
|
||||
|
||||
export interface IEmbed {
|
||||
provider: string;
|
||||
address: string;
|
||||
id: number;
|
||||
metadata: {
|
||||
title: string;
|
||||
thumb: string;
|
||||
duration: string;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue