mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
24 lines
426 B
TypeScript
24 lines
426 B
TypeScript
export type DataItem = {
|
|
title: string;
|
|
description?: string;
|
|
pubDate: number | string;
|
|
link?: string;
|
|
category?: string[];
|
|
author?: string;
|
|
doi?: string;
|
|
|
|
_extra?: Record<string, any> & {
|
|
links?: {
|
|
url: string;
|
|
type: string;
|
|
content_html?: string;
|
|
}[];
|
|
};
|
|
}
|
|
export type Data = {
|
|
title: string;
|
|
description: string;
|
|
link?: string;
|
|
item: DataItem[];
|
|
allowEmpty?: boolean;
|
|
} |