feat: parse imeta

This commit is contained in:
2023-12-11 11:36:14 +00:00
parent cb95032e7c
commit fce7cc70a3
9 changed files with 160 additions and 68 deletions

View File

@ -81,3 +81,13 @@ export interface FullRelaySettings {
}
export type NotSignedNostrEvent = Omit<NostrEvent, "sig">;
export interface IMeta {
magnet?: string;
sha256?: string;
blurHash?: string;
height?: number;
width?: number;
alt?: string;
fallback?: Array<string>;
}