feat: support author url and avatar for json feed

This commit is contained in:
DIYgod 2024-06-06 01:21:34 +08:00
parent f4b05dbe34
commit 288788c37f
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,13 @@ export type DataItem = {
pubDate?: number | string | Date;
link?: string;
category?: string[];
author?: string | { name: string }[];
author?:
| string
| {
name: string;
url?: string;
avatar?: string;
}[];
doi?: string;
guid?: string;
id?: string;