feat: use jsx (#14863)

* feat: render rss using jsx

* fix: error page response header

* feat: render atom using jsx

* feat: export art

* feat: use jsxRenderer

* chore: upgrade hono
This commit is contained in:
DIYgod
2024-03-20 16:28:11 +00:00
committed by GitHub
parent f957e664d8
commit 40350abcbb
10 changed files with 475 additions and 473 deletions

View File

@@ -24,6 +24,8 @@ export type DataItem = {
enclosure_title?: string;
enclosure_length?: number;
itunes_duration?: number | string;
itunes_item_image?: string;
media?: Record<string, Record<string, string>>;
_extra?: Record<string, any> & {
links?: {
@@ -45,6 +47,13 @@ export type Data = {
language?: string;
feedLink?: string;
lastBuildDate?: string;
itunes_author?: string;
itunes_category?: string;
itunes_explicit?: string | boolean;
id?: string;
atomlink?: string;
ttl?: number;
};
// namespace