From d5e4fba8b2116e284d8a17c2e94faf15f7e74093 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Thu, 27 Nov 2025 11:04:48 +0800 Subject: [PATCH] style: format --- lib/api/category/one.ts | 2 +- lib/api/namespace/one.ts | 2 +- lib/api/radar/rules/one.ts | 2 +- lib/routes/500px/tribe-set.ts | 2 +- lib/routes/acfun/article.ts | 2 +- lib/routes/acfun/bangumi.ts | 2 +- lib/routes/acfun/video.ts | 2 +- lib/routes/ainvest/news.ts | 2 +- lib/routes/ajmide/index.ts | 2 +- lib/routes/altotrain/news.ts | 2 +- lib/routes/amz123/kx.ts | 2 +- lib/routes/apnews/mobile-api.ts | 2 +- lib/routes/apnews/rss.ts | 2 +- lib/routes/apnews/sitemap.ts | 2 +- lib/routes/apnews/topics.ts | 2 +- lib/routes/apple/apps.ts | 2 +- lib/routes/baidu/gushitong/index.ts | 2 +- lib/routes/behance/user.ts | 2 +- lib/routes/bestofjs/monthly.ts | 2 +- lib/routes/bigquant/collections.ts | 2 +- lib/routes/bilibili/bangumi.ts | 2 +- lib/routes/bilibili/dynamic.ts | 2 +- lib/routes/bilibili/ranking.ts | 2 +- lib/routes/bilibili/readlist.ts | 2 +- lib/routes/bilibili/video.ts | 2 +- lib/routes/binance/announcement.ts | 2 +- lib/routes/bitget/announcement.ts | 2 +- lib/routes/bjp/apod.ts | 2 +- lib/routes/bloomberg/authors.ts | 2 +- lib/routes/bloomberg/index.ts | 2 +- lib/routes/bookfere/category.ts | 2 +- lib/routes/bsky/feeds.ts | 2 +- lib/routes/bsky/posts.ts | 2 +- lib/routes/caixin/latest.ts | 2 +- lib/routes/ce/district.ts | 2 +- lib/routes/changba/user.ts | 2 +- lib/routes/cngal/weekly.ts | 2 +- lib/routes/css-tricks/articles.ts | 2 +- lib/routes/css-tricks/collections.ts | 2 +- lib/routes/css-tricks/popular.ts | 2 +- lib/routes/daily/discussed.ts | 2 +- lib/routes/daily/popular.ts | 2 +- lib/routes/daily/squads.ts | 2 +- lib/routes/daily/upvoted.ts | 2 +- lib/routes/discord/search.ts | 2 +- lib/routes/dlsite/ci-en/article.ts | 2 +- lib/routes/dlsite/new.ts | 2 +- lib/routes/dockerhub/build.ts | 2 +- lib/routes/dockerhub/repositories.ts | 2 +- lib/routes/dora-world/article.ts | 2 +- lib/routes/douban/other/group.ts | 2 +- lib/routes/douban/people/status.ts | 2 +- lib/routes/eastmoney/gerenzhongxin/cfh.ts | 2 +- lib/routes/eastmoney/gerenzhongxin/guba.ts | 2 +- lib/routes/eastmoney/gerenzhongxin/trpl.ts | 2 +- lib/routes/eastmoney/report/index.ts | 2 +- lib/routes/eastmoney/search/index.ts | 2 +- lib/routes/eastmoney/ttjj/user.ts | 2 +- lib/routes/easynomad/joblist.ts | 2 +- lib/routes/economist/espresso.ts | 2 +- lib/routes/economist/full.ts | 2 +- lib/routes/epicgames/index.ts | 2 +- lib/routes/fantia/search.ts | 2 +- lib/routes/fantia/user.ts | 2 +- lib/routes/fastbull/express-news.ts | 2 +- lib/routes/fastbull/news.ts | 2 +- lib/routes/fediverse/timeline.ts | 2 +- lib/routes/finology/bullets.ts | 2 +- lib/routes/finviz/news.ts | 2 +- lib/routes/followin/index.ts | 2 +- lib/routes/followin/news.ts | 2 +- lib/routes/fx678/kx.ts | 2 +- lib/routes/gamer/ani/anime.ts | 2 +- lib/routes/gamer/ani/new-anime.ts | 2 +- lib/routes/gamer/gnn-index.ts | 2 +- lib/routes/gamer/hot.ts | 2 +- lib/routes/gelbooru/post.ts | 2 +- lib/routes/gelonghui/home.ts | 2 +- lib/routes/gelonghui/hot-article.ts | 2 +- lib/routes/gelonghui/keyword.ts | 2 +- lib/routes/gelonghui/live.ts | 2 +- lib/routes/gelonghui/subject.ts | 2 +- lib/routes/gelonghui/user.ts | 2 +- lib/routes/gettr/user.ts | 2 +- lib/routes/github/activity.ts | 2 +- lib/routes/github/issue.ts | 2 +- lib/routes/github/org-event.ts | 2 +- lib/routes/github/private-feed.ts | 2 +- lib/routes/github/repo-event.ts | 2 +- lib/routes/github/star.ts | 2 +- lib/routes/github/trending.ts | 2 +- lib/routes/github/user-event.ts | 2 +- lib/routes/google/doodles.ts | 2 +- lib/routes/gq/news.ts | 2 +- lib/routes/hackernews/index.ts | 2 +- lib/routes/hedwig/posts.ts | 2 +- lib/routes/hpoi/all.ts | 2 +- lib/routes/hpoi/character.ts | 2 +- lib/routes/hpoi/work.ts | 2 +- lib/routes/hrbust/cs.ts | 2 +- lib/routes/hrbust/gzc.ts | 2 +- lib/routes/hrbust/jwzx.ts | 2 +- lib/routes/hrbust/lib.ts | 2 +- lib/routes/hrbust/news.ts | 2 +- lib/routes/hrbust/nic.ts | 2 +- lib/routes/huijin-inv/news.ts | 2 +- lib/routes/idolypride/news.ts | 2 +- lib/routes/ifanr/index.ts | 2 +- lib/routes/imdb/chart.ts | 2 +- lib/routes/imhcg/blog.ts | 2 +- lib/routes/inoreader/index.ts | 2 +- lib/routes/inoreader/rss.ts | 2 +- lib/routes/instagram/private-api/index.ts | 2 +- lib/routes/iplaysoft/category.ts | 2 +- lib/routes/iplaysoft/index.ts | 2 +- lib/routes/iplaysoft/tag.ts | 2 +- lib/routes/jamesclear/book-summaries.ts | 2 +- lib/routes/jamesclear/great-speeches.ts | 2 +- lib/routes/jamesclear/quotes.ts | 2 +- lib/routes/jamesclear/three-two-one.ts | 2 +- lib/routes/javbus/index.ts | 2 +- lib/routes/jianshu/collection.ts | 2 +- lib/routes/jianshu/home.ts | 2 +- lib/routes/jianshu/user.ts | 2 +- lib/routes/jike/topic.ts | 2 +- lib/routes/jike/user.ts | 2 +- lib/routes/jimmyspa/books.ts | 2 +- lib/routes/jimmyspa/news.ts | 2 +- lib/routes/jin10/category.ts | 2 +- lib/routes/jin10/index.ts | 2 +- lib/routes/jin10/topic.ts | 2 +- lib/routes/jinse/lives.ts | 2 +- lib/routes/jinse/timeline.ts | 2 +- lib/routes/jiuyangongshe/community.ts | 2 +- lib/routes/jjwxc/book.ts | 2 +- lib/routes/konachan/post.ts | 2 +- lib/routes/kurogames/wutheringwaves/news.ts | 2 +- lib/routes/kurogames/wutheringwaves/utils.ts | 2 +- lib/routes/landiannews/category.ts | 2 +- lib/routes/landiannews/index.ts | 2 +- lib/routes/landiannews/tag.ts | 2 +- lib/routes/laohu8/personal.ts | 2 +- lib/routes/linkedin/jobs.ts | 2 +- lib/routes/lofter/user.ts | 2 +- lib/routes/luolei/index.ts | 2 +- lib/routes/magnumphotos/magazine.ts | 2 +- lib/routes/manus/blog.ts | 2 +- lib/routes/mastodon/account-id.ts | 2 +- lib/routes/mastodon/acct.ts | 2 +- lib/routes/mastodon/timeline-local.ts | 2 +- lib/routes/mastodon/timeline-remote.ts | 2 +- lib/routes/mckinsey/cn/index.ts | 2 +- lib/routes/medium/feed.ts | 2 +- lib/routes/melonbooks/parser.ts | 2 +- lib/routes/mi/crowdfunding.ts | 2 +- lib/routes/misskey/featured-notes.ts | 2 +- lib/routes/misskey/home-timeline.ts | 2 +- lib/routes/misskey/user-timeline.ts | 2 +- lib/routes/moodysmismicrosite/report.ts | 2 +- lib/routes/nasa/apod.ts | 2 +- lib/routes/natgeo/dailyphoto.ts | 2 +- lib/routes/natgeo/dailyselection.ts | 2 +- lib/routes/ncku/csie.ts | 2 +- lib/routes/ncku/phys.ts | 2 +- lib/routes/newslaundry/explainer.ts | 2 +- lib/routes/newslaundry/nl-cheatsheet.ts | 2 +- lib/routes/newslaundry/nl-collaborations.ts | 2 +- lib/routes/newslaundry/podcast.ts | 2 +- lib/routes/newslaundry/reports.ts | 2 +- lib/routes/newslaundry/shot.ts | 2 +- lib/routes/newslaundry/subscriber-only.ts | 2 +- lib/routes/newyorker/news.ts | 2 +- lib/routes/nga/forum.ts | 2 +- lib/routes/nhk/news.ts | 2 +- lib/routes/notefolio/search.ts | 2 +- lib/routes/nycu/aa.ts | 2 +- lib/routes/nycu/announcement.ts | 2 +- lib/routes/nycu/cs.ts | 2 +- lib/routes/nycu/osa.ts | 2 +- lib/routes/nytimes/book.ts | 2 +- lib/routes/nytimes/index.ts | 2 +- lib/routes/nytimes/rss.ts | 2 +- lib/routes/picnob.info/user.ts | 2 +- lib/routes/picnob/user.ts | 2 +- lib/routes/pixabay/search.ts | 2 +- lib/routes/pixiv/novels.ts | 2 +- lib/routes/pixiv/ranking.ts | 2 +- lib/routes/pixiv/search.ts | 2 +- lib/routes/pixiv/user.ts | 2 +- lib/routes/pixivision/index.ts | 2 +- lib/routes/plurk/top.ts | 2 +- lib/routes/plurk/topic.ts | 2 +- lib/routes/plurk/user.ts | 2 +- lib/routes/podwise/collections.ts | 2 +- lib/routes/pornhub/category.ts | 2 +- lib/routes/pornhub/search.ts | 2 +- lib/routes/ps/monthly-games.ts | 2 +- lib/routes/qidian/chapter.ts | 2 +- lib/routes/reuters/common.ts | 2 +- lib/routes/reuters/investigates.ts | 2 +- lib/routes/rsshub/routes.ts | 2 +- lib/routes/smzdm/keyword.ts | 2 +- lib/routes/smzdm/ranking.ts | 2 +- lib/routes/solidot/main.ts | 2 +- lib/routes/sotwe/user.ts | 2 +- lib/routes/soundon/podcast.ts | 2 +- lib/routes/spglobal/ratings.ts | 2 +- lib/routes/spotify/artist.ts | 2 +- lib/routes/spotify/playlist.ts | 2 +- lib/routes/spotify/show.ts | 2 +- lib/routes/sspai/index.ts | 2 +- lib/routes/stockedge/daily-news.ts | 2 +- lib/routes/substack/subscribe.ts | 2 +- lib/routes/syosetu/search.ts | 2 +- lib/routes/syosetu/utils.ts | 2 +- lib/routes/techflowpost/express.ts | 2 +- lib/routes/techflowpost/index.ts | 2 +- lib/routes/telegram/blog.ts | 2 +- lib/routes/telegram/channel.ts | 2 +- lib/routes/telegram/stickerpack.ts | 2 +- lib/routes/theblockbeats/index.ts | 2 +- lib/routes/themoviedb/seasons.ts | 2 +- lib/routes/threads/index.ts | 2 +- lib/routes/tingtingfm/program.ts | 2 +- lib/routes/twitch/live.ts | 2 +- lib/routes/twitch/video.ts | 2 +- lib/routes/twitter/keyword.ts | 2 +- lib/routes/twitter/media.ts | 2 +- lib/routes/twitter/user.ts | 2 +- lib/routes/v2ex/tab.ts | 2 +- lib/routes/v2ex/topics.ts | 2 +- lib/routes/v2ex/xna.ts | 2 +- lib/routes/vimeo/category.ts | 2 +- lib/routes/vimeo/usr-videos.ts | 2 +- lib/routes/visualstudio/code-blog.ts | 2 +- lib/routes/warp/blog.ts | 2 +- lib/routes/weibo/keyword.ts | 2 +- lib/routes/weibo/search/hot.ts | 2 +- lib/routes/weibo/user.ts | 2 +- lib/routes/whu/rsgis.ts | 2 +- lib/routes/xiaohongshu/user.ts | 2 +- lib/routes/xiaoyuzhou/podcast.ts | 2 +- lib/routes/yande/post.ts | 2 +- lib/routes/yilinzazhi/index.ts | 2 +- lib/routes/yilinzazhi/latest.ts | 2 +- lib/routes/youtube/playlist.ts | 2 +- lib/routes/youtube/user.ts | 2 +- lib/routes/youzhiyouxing/materials.ts | 2 +- lib/routes/yyets/article.ts | 2 +- lib/routes/yyets/today.ts | 2 +- lib/routes/zcool/top.ts | 2 +- lib/routes/zcool/user.ts | 2 +- lib/routes/zed/blog.ts | 2 +- lib/routes/zhihu/activities.ts | 2 +- lib/routes/zhihu/hot.ts | 2 +- lib/routes/zhitongcaijing/index.ts | 2 +- lib/routes/zhizhuan100/report.ts | 2 +- 257 files changed, 257 insertions(+), 257 deletions(-) diff --git a/lib/api/category/one.ts b/lib/api/category/one.ts index a10c535da..b5021b545 100644 --- a/lib/api/category/one.ts +++ b/lib/api/category/one.ts @@ -1,4 +1,4 @@ -import type { RouteHandler} from '@hono/zod-openapi'; +import type { RouteHandler } from '@hono/zod-openapi'; import { createRoute, z } from '@hono/zod-openapi'; import { namespaces } from '@/registry'; diff --git a/lib/api/namespace/one.ts b/lib/api/namespace/one.ts index 289cb78f2..843a72a12 100644 --- a/lib/api/namespace/one.ts +++ b/lib/api/namespace/one.ts @@ -1,4 +1,4 @@ -import type { RouteHandler} from '@hono/zod-openapi'; +import type { RouteHandler } from '@hono/zod-openapi'; import { createRoute, z } from '@hono/zod-openapi'; import { namespaces } from '@/registry'; diff --git a/lib/api/radar/rules/one.ts b/lib/api/radar/rules/one.ts index fe11a79e7..ee17cfeee 100644 --- a/lib/api/radar/rules/one.ts +++ b/lib/api/radar/rules/one.ts @@ -1,4 +1,4 @@ -import type { RouteHandler} from '@hono/zod-openapi'; +import type { RouteHandler } from '@hono/zod-openapi'; import { createRoute, z } from '@hono/zod-openapi'; import { parse } from 'tldts'; diff --git a/lib/routes/500px/tribe-set.ts b/lib/routes/500px/tribe-set.ts index 29cf03604..12f0c29d9 100644 --- a/lib/routes/500px/tribe-set.ts +++ b/lib/routes/500px/tribe-set.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { parseDate } from '@/utils/parse-date'; import { art } from '@/utils/render'; diff --git a/lib/routes/acfun/article.ts b/lib/routes/acfun/article.ts index 847ad6fb3..b28cbb68a 100644 --- a/lib/routes/acfun/article.ts +++ b/lib/routes/acfun/article.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/acfun/bangumi.ts b/lib/routes/acfun/bangumi.ts index 1cbfb313b..b83c04319 100644 --- a/lib/routes/acfun/bangumi.ts +++ b/lib/routes/acfun/bangumi.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/acfun/video.ts b/lib/routes/acfun/video.ts index cbf992f31..1c105702a 100644 --- a/lib/routes/acfun/video.ts +++ b/lib/routes/acfun/video.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/ainvest/news.ts b/lib/routes/ainvest/news.ts index 59dc87aa1..ab639f958 100644 --- a/lib/routes/ainvest/news.ts +++ b/lib/routes/ainvest/news.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/ajmide/index.ts b/lib/routes/ajmide/index.ts index 40fea47b3..1305e792c 100644 --- a/lib/routes/ajmide/index.ts +++ b/lib/routes/ajmide/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/altotrain/news.ts b/lib/routes/altotrain/news.ts index b5d735f2b..f541b8ed2 100644 --- a/lib/routes/altotrain/news.ts +++ b/lib/routes/altotrain/news.ts @@ -1,6 +1,6 @@ import 'dayjs/locale/fr.js'; -import type { Cheerio} from 'cheerio'; +import type { Cheerio } from 'cheerio'; import { load } from 'cheerio'; import dayjs from 'dayjs'; import localizedFormat from 'dayjs/plugin/localizedFormat.js'; diff --git a/lib/routes/amz123/kx.ts b/lib/routes/amz123/kx.ts index b662c520c..3dc1c155f 100644 --- a/lib/routes/amz123/kx.ts +++ b/lib/routes/amz123/kx.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/apnews/mobile-api.ts b/lib/routes/apnews/mobile-api.ts index b63d79a9c..3c894ca3a 100644 --- a/lib/routes/apnews/mobile-api.ts +++ b/lib/routes/apnews/mobile-api.ts @@ -1,6 +1,6 @@ import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/apnews/rss.ts b/lib/routes/apnews/rss.ts index 3392d90a3..8a2889422 100644 --- a/lib/routes/apnews/rss.ts +++ b/lib/routes/apnews/rss.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import parser from '@/utils/rss-parser'; diff --git a/lib/routes/apnews/sitemap.ts b/lib/routes/apnews/sitemap.ts index dfc131a0d..1abf1fec0 100644 --- a/lib/routes/apnews/sitemap.ts +++ b/lib/routes/apnews/sitemap.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/apnews/topics.ts b/lib/routes/apnews/topics.ts index 7215fe2c3..7c955205c 100644 --- a/lib/routes/apnews/topics.ts +++ b/lib/routes/apnews/topics.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/apple/apps.ts b/lib/routes/apple/apps.ts index fd09d51bd..fc74125f9 100644 --- a/lib/routes/apple/apps.ts +++ b/lib/routes/apple/apps.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/baidu/gushitong/index.ts b/lib/routes/baidu/gushitong/index.ts index 27212464f..15e0d3174 100644 --- a/lib/routes/baidu/gushitong/index.ts +++ b/lib/routes/baidu/gushitong/index.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { art } from '@/utils/render'; diff --git a/lib/routes/behance/user.ts b/lib/routes/behance/user.ts index 3a7f30220..1d76c2b92 100644 --- a/lib/routes/behance/user.ts +++ b/lib/routes/behance/user.ts @@ -1,7 +1,7 @@ import crypto from 'node:crypto'; import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/bestofjs/monthly.ts b/lib/routes/bestofjs/monthly.ts index 9df1bb83f..8616904f1 100644 --- a/lib/routes/bestofjs/monthly.ts +++ b/lib/routes/bestofjs/monthly.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/bigquant/collections.ts b/lib/routes/bigquant/collections.ts index c5b85488b..6bd3d11d0 100644 --- a/lib/routes/bigquant/collections.ts +++ b/lib/routes/bigquant/collections.ts @@ -1,6 +1,6 @@ import MarkdownIt from 'markdown-it'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/bilibili/bangumi.ts b/lib/routes/bilibili/bangumi.ts index 850e105f5..49369c150 100644 --- a/lib/routes/bilibili/bangumi.ts +++ b/lib/routes/bilibili/bangumi.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; diff --git a/lib/routes/bilibili/dynamic.ts b/lib/routes/bilibili/dynamic.ts index df9cca0ed..c5adbaac4 100644 --- a/lib/routes/bilibili/dynamic.ts +++ b/lib/routes/bilibili/dynamic.ts @@ -2,7 +2,7 @@ import JSONbig from 'json-bigint'; import { config } from '@/config'; import CaptchaError from '@/errors/types/captcha'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/bilibili/ranking.ts b/lib/routes/bilibili/ranking.ts index dc8134408..20f4aec24 100644 --- a/lib/routes/bilibili/ranking.ts +++ b/lib/routes/bilibili/ranking.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/bilibili/readlist.ts b/lib/routes/bilibili/readlist.ts index 18aa1f6c9..16081d634 100644 --- a/lib/routes/bilibili/readlist.ts +++ b/lib/routes/bilibili/readlist.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/bilibili/video.ts b/lib/routes/bilibili/video.ts index 417b9d33b..9448965ec 100644 --- a/lib/routes/bilibili/video.ts +++ b/lib/routes/bilibili/video.ts @@ -1,7 +1,7 @@ import type { Context } from 'hono'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDuration } from '@/utils/helpers'; diff --git a/lib/routes/binance/announcement.ts b/lib/routes/binance/announcement.ts index b671770fb..d2b90ad9f 100644 --- a/lib/routes/binance/announcement.ts +++ b/lib/routes/binance/announcement.ts @@ -1,6 +1,6 @@ import * as cheerio from 'cheerio'; -import type { DataItem, Route} from '@/types'; +import type { DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/bitget/announcement.ts b/lib/routes/bitget/announcement.ts index b0b018ce0..46807eb28 100644 --- a/lib/routes/bitget/announcement.ts +++ b/lib/routes/bitget/announcement.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import { config } from '@/config'; -import type { DataItem, Route} from '@/types'; +import type { DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/bjp/apod.ts b/lib/routes/bjp/apod.ts index 95ecda4fc..5e17a0404 100644 --- a/lib/routes/bjp/apod.ts +++ b/lib/routes/bjp/apod.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/bloomberg/authors.ts b/lib/routes/bloomberg/authors.ts index 6a72b1f61..bcee63b7f 100644 --- a/lib/routes/bloomberg/authors.ts +++ b/lib/routes/bloomberg/authors.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import rssParser from '@/utils/rss-parser'; diff --git a/lib/routes/bloomberg/index.ts b/lib/routes/bloomberg/index.ts index f3625721b..d2e8f6a35 100644 --- a/lib/routes/bloomberg/index.ts +++ b/lib/routes/bloomberg/index.ts @@ -1,6 +1,6 @@ import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { parseArticle, parseNewsList, rootUrl } from './utils'; diff --git a/lib/routes/bookfere/category.ts b/lib/routes/bookfere/category.ts index 16ceacd57..777914120 100644 --- a/lib/routes/bookfere/category.ts +++ b/lib/routes/bookfere/category.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/bsky/feeds.ts b/lib/routes/bsky/feeds.ts index 3e194b6d3..852b2ddd8 100644 --- a/lib/routes/bsky/feeds.ts +++ b/lib/routes/bsky/feeds.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/bsky/posts.ts b/lib/routes/bsky/posts.ts index 91d1b36de..a6d6aea6e 100644 --- a/lib/routes/bsky/posts.ts +++ b/lib/routes/bsky/posts.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import querystring from 'node:querystring'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/caixin/latest.ts b/lib/routes/caixin/latest.ts index 4af188a3b..1c1a0ac73 100644 --- a/lib/routes/caixin/latest.ts +++ b/lib/routes/caixin/latest.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/ce/district.ts b/lib/routes/ce/district.ts index 7a083ccd3..0d26e3a19 100644 --- a/lib/routes/ce/district.ts +++ b/lib/routes/ce/district.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/changba/user.ts b/lib/routes/changba/user.ts index a07980d2a..8886cc81a 100644 --- a/lib/routes/changba/user.ts +++ b/lib/routes/changba/user.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/cngal/weekly.ts b/lib/routes/cngal/weekly.ts index f02f5f499..82c1ef7b2 100644 --- a/lib/routes/cngal/weekly.ts +++ b/lib/routes/cngal/weekly.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/css-tricks/articles.ts b/lib/routes/css-tricks/articles.ts index 4a2f12ce7..90e988af9 100644 --- a/lib/routes/css-tricks/articles.ts +++ b/lib/routes/css-tricks/articles.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/css-tricks/collections.ts b/lib/routes/css-tricks/collections.ts index 2fd414469..2fa91f3fa 100644 --- a/lib/routes/css-tricks/collections.ts +++ b/lib/routes/css-tricks/collections.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { extractMiniCards, processWithWp, rootUrl } from './utils'; diff --git a/lib/routes/css-tricks/popular.ts b/lib/routes/css-tricks/popular.ts index 0d05dc3e1..2ab57d6c8 100644 --- a/lib/routes/css-tricks/popular.ts +++ b/lib/routes/css-tricks/popular.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { extractMiniCards, processWithWp, rootUrl } from './utils'; diff --git a/lib/routes/daily/discussed.ts b/lib/routes/daily/discussed.ts index a4266157d..b7e101aa3 100644 --- a/lib/routes/daily/discussed.ts +++ b/lib/routes/daily/discussed.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { baseUrl, getData, getList, variables } from './utils.js'; diff --git a/lib/routes/daily/popular.ts b/lib/routes/daily/popular.ts index 8e2e92fd8..e9d673381 100644 --- a/lib/routes/daily/popular.ts +++ b/lib/routes/daily/popular.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { baseUrl, getData, getList, variables } from './utils.js'; diff --git a/lib/routes/daily/squads.ts b/lib/routes/daily/squads.ts index 72d25a9ce..13af46188 100644 --- a/lib/routes/daily/squads.ts +++ b/lib/routes/daily/squads.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { baseUrl, getData, getList, variables } from './utils.js'; diff --git a/lib/routes/daily/upvoted.ts b/lib/routes/daily/upvoted.ts index 7278cfb92..775d909dd 100644 --- a/lib/routes/daily/upvoted.ts +++ b/lib/routes/daily/upvoted.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { baseUrl, getData, getList, variables } from './utils.js'; diff --git a/lib/routes/discord/search.ts b/lib/routes/discord/search.ts index aa7c3951f..521bd6486 100644 --- a/lib/routes/discord/search.ts +++ b/lib/routes/discord/search.ts @@ -8,7 +8,7 @@ import { parseDate } from '@/utils/parse-date'; import { queryToBoolean } from '@/utils/readable-social'; import { art } from '@/utils/render'; -import type { HasType, SearchGuildMessagesParams} from './discord-api'; +import type { HasType, SearchGuildMessagesParams } from './discord-api'; import { baseUrl, getGuild, searchGuildMessages, VALID_HAS_TYPES } from './discord-api'; export const route: Route = { diff --git a/lib/routes/dlsite/ci-en/article.ts b/lib/routes/dlsite/ci-en/article.ts index 446fa3b45..7d01d9616 100644 --- a/lib/routes/dlsite/ci-en/article.ts +++ b/lib/routes/dlsite/ci-en/article.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/dlsite/new.ts b/lib/routes/dlsite/new.ts index 783891b55..4c8b67cb0 100644 --- a/lib/routes/dlsite/new.ts +++ b/lib/routes/dlsite/new.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/dockerhub/build.ts b/lib/routes/dockerhub/build.ts index d7b74a65c..976065952 100644 --- a/lib/routes/dockerhub/build.ts +++ b/lib/routes/dockerhub/build.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/dockerhub/repositories.ts b/lib/routes/dockerhub/repositories.ts index 7eb2067af..87fd6a80a 100644 --- a/lib/routes/dockerhub/repositories.ts +++ b/lib/routes/dockerhub/repositories.ts @@ -1,6 +1,6 @@ import type { Context } from 'hono'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/dora-world/article.ts b/lib/routes/dora-world/article.ts index bdf4d8a0a..c903ee1cc 100644 --- a/lib/routes/dora-world/article.ts +++ b/lib/routes/dora-world/article.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/douban/other/group.ts b/lib/routes/douban/other/group.ts index 21c05025b..ff570fb68 100644 --- a/lib/routes/douban/other/group.ts +++ b/lib/routes/douban/other/group.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/douban/people/status.ts b/lib/routes/douban/people/status.ts index dff0f91a0..8852ebe82 100644 --- a/lib/routes/douban/people/status.ts +++ b/lib/routes/douban/people/status.ts @@ -1,7 +1,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/eastmoney/gerenzhongxin/cfh.ts b/lib/routes/eastmoney/gerenzhongxin/cfh.ts index 3fe81e7a9..222e17939 100644 --- a/lib/routes/eastmoney/gerenzhongxin/cfh.ts +++ b/lib/routes/eastmoney/gerenzhongxin/cfh.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/eastmoney/gerenzhongxin/guba.ts b/lib/routes/eastmoney/gerenzhongxin/guba.ts index 3be927cc8..36781bcad 100644 --- a/lib/routes/eastmoney/gerenzhongxin/guba.ts +++ b/lib/routes/eastmoney/gerenzhongxin/guba.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/eastmoney/gerenzhongxin/trpl.ts b/lib/routes/eastmoney/gerenzhongxin/trpl.ts index b5e37c73a..01282222a 100644 --- a/lib/routes/eastmoney/gerenzhongxin/trpl.ts +++ b/lib/routes/eastmoney/gerenzhongxin/trpl.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import md5 from '@/utils/md5'; diff --git a/lib/routes/eastmoney/report/index.ts b/lib/routes/eastmoney/report/index.ts index b90bce783..aa22c95e9 100644 --- a/lib/routes/eastmoney/report/index.ts +++ b/lib/routes/eastmoney/report/index.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/eastmoney/search/index.ts b/lib/routes/eastmoney/search/index.ts index 1b6d122dc..ba2ee9692 100644 --- a/lib/routes/eastmoney/search/index.ts +++ b/lib/routes/eastmoney/search/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/eastmoney/ttjj/user.ts b/lib/routes/eastmoney/ttjj/user.ts index 222c01d5b..35d650993 100644 --- a/lib/routes/eastmoney/ttjj/user.ts +++ b/lib/routes/eastmoney/ttjj/user.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/easynomad/joblist.ts b/lib/routes/easynomad/joblist.ts index 51ff8612a..288610b9a 100644 --- a/lib/routes/easynomad/joblist.ts +++ b/lib/routes/easynomad/joblist.ts @@ -1,6 +1,6 @@ import MarkdownIt from 'markdown-it'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/economist/espresso.ts b/lib/routes/economist/espresso.ts index bf1ff7c3e..ab5287a68 100644 --- a/lib/routes/economist/espresso.ts +++ b/lib/routes/economist/espresso.ts @@ -3,7 +3,7 @@ import sanitizeHtml from 'sanitize-html'; import xxhash from 'xxhash-wasm'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/economist/full.ts b/lib/routes/economist/full.ts index 3e2fd85fb..657b0f5a2 100644 --- a/lib/routes/economist/full.ts +++ b/lib/routes/economist/full.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/epicgames/index.ts b/lib/routes/epicgames/index.ts index eb00ad08f..6711d06fe 100644 --- a/lib/routes/epicgames/index.ts +++ b/lib/routes/epicgames/index.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import dayjs from 'dayjs'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/fantia/search.ts b/lib/routes/fantia/search.ts index 77d71cc96..78a386c65 100644 --- a/lib/routes/fantia/search.ts +++ b/lib/routes/fantia/search.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/fantia/user.ts b/lib/routes/fantia/user.ts index f723e18f4..4847145fe 100644 --- a/lib/routes/fantia/user.ts +++ b/lib/routes/fantia/user.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/fastbull/express-news.ts b/lib/routes/fastbull/express-news.ts index 0cfffe2b5..83354cd15 100644 --- a/lib/routes/fastbull/express-news.ts +++ b/lib/routes/fastbull/express-news.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/fastbull/news.ts b/lib/routes/fastbull/news.ts index 99b9d0ecf..4e53d2102 100644 --- a/lib/routes/fastbull/news.ts +++ b/lib/routes/fastbull/news.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/fediverse/timeline.ts b/lib/routes/fediverse/timeline.ts index 9d72a80b3..210f9b3b6 100644 --- a/lib/routes/fediverse/timeline.ts +++ b/lib/routes/fediverse/timeline.ts @@ -1,7 +1,7 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/finology/bullets.ts b/lib/routes/finology/bullets.ts index 322acd5bf..487513ece 100644 --- a/lib/routes/finology/bullets.ts +++ b/lib/routes/finology/bullets.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/finviz/news.ts b/lib/routes/finviz/news.ts index 434dc3731..52271de15 100644 --- a/lib/routes/finviz/news.ts +++ b/lib/routes/finviz/news.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/followin/index.ts b/lib/routes/followin/index.ts index 055cd8bfc..25ff74ab3 100644 --- a/lib/routes/followin/index.ts +++ b/lib/routes/followin/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/followin/news.ts b/lib/routes/followin/news.ts index 1ae433a73..4e7bd397a 100644 --- a/lib/routes/followin/news.ts +++ b/lib/routes/followin/news.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/fx678/kx.ts b/lib/routes/fx678/kx.ts index bd6b9d262..153b867cc 100644 --- a/lib/routes/fx678/kx.ts +++ b/lib/routes/fx678/kx.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gamer/ani/anime.ts b/lib/routes/gamer/ani/anime.ts index d0d8b7e36..b73df2011 100644 --- a/lib/routes/gamer/ani/anime.ts +++ b/lib/routes/gamer/ani/anime.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/gamer/ani/new-anime.ts b/lib/routes/gamer/ani/new-anime.ts index c6e5e72d5..74cef3b34 100644 --- a/lib/routes/gamer/ani/new-anime.ts +++ b/lib/routes/gamer/ani/new-anime.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/gamer/gnn-index.ts b/lib/routes/gamer/gnn-index.ts index aa571da31..fcfbe7f01 100644 --- a/lib/routes/gamer/gnn-index.ts +++ b/lib/routes/gamer/gnn-index.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import pMap from 'p-map'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gamer/hot.ts b/lib/routes/gamer/hot.ts index 7438f9568..9ccc2e4a4 100644 --- a/lib/routes/gamer/hot.ts +++ b/lib/routes/gamer/hot.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gelbooru/post.ts b/lib/routes/gelbooru/post.ts index 64a28a5ad..35f985d80 100644 --- a/lib/routes/gelbooru/post.ts +++ b/lib/routes/gelbooru/post.ts @@ -1,7 +1,7 @@ import type { Context } from 'hono'; import queryString from 'query-string'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/gelonghui/home.ts b/lib/routes/gelonghui/home.ts index 988ae246c..083cdd877 100644 --- a/lib/routes/gelonghui/home.ts +++ b/lib/routes/gelonghui/home.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gelonghui/hot-article.ts b/lib/routes/gelonghui/hot-article.ts index 8986ffd66..099491b2e 100644 --- a/lib/routes/gelonghui/hot-article.ts +++ b/lib/routes/gelonghui/hot-article.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gelonghui/keyword.ts b/lib/routes/gelonghui/keyword.ts index 65091fcab..ad1070cc5 100644 --- a/lib/routes/gelonghui/keyword.ts +++ b/lib/routes/gelonghui/keyword.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gelonghui/live.ts b/lib/routes/gelonghui/live.ts index fe52724a5..2fd2b6dbd 100644 --- a/lib/routes/gelonghui/live.ts +++ b/lib/routes/gelonghui/live.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/gelonghui/subject.ts b/lib/routes/gelonghui/subject.ts index 368f07a34..6f8fdd76a 100644 --- a/lib/routes/gelonghui/subject.ts +++ b/lib/routes/gelonghui/subject.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gelonghui/user.ts b/lib/routes/gelonghui/user.ts index 968e30d0c..560c0ed01 100644 --- a/lib/routes/gelonghui/user.ts +++ b/lib/routes/gelonghui/user.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/gettr/user.ts b/lib/routes/gettr/user.ts index 06b781637..1edc33906 100644 --- a/lib/routes/gettr/user.ts +++ b/lib/routes/gettr/user.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/github/activity.ts b/lib/routes/github/activity.ts index 785a42e37..935f7c249 100644 --- a/lib/routes/github/activity.ts +++ b/lib/routes/github/activity.ts @@ -1,7 +1,7 @@ import Parser from 'rss-parser'; import sanitizeHtml from 'sanitize-html'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/github/issue.ts b/lib/routes/github/issue.ts index f0c95a5bd..1a3e8a00f 100644 --- a/lib/routes/github/issue.ts +++ b/lib/routes/github/issue.ts @@ -2,7 +2,7 @@ import MarkdownIt from 'markdown-it'; import queryString from 'query-string'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/github/org-event.ts b/lib/routes/github/org-event.ts index 4ebfb47de..02d4ac3cc 100644 --- a/lib/routes/github/org-event.ts +++ b/lib/routes/github/org-event.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/github/private-feed.ts b/lib/routes/github/private-feed.ts index 3970df680..b09837948 100644 --- a/lib/routes/github/private-feed.ts +++ b/lib/routes/github/private-feed.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/github/repo-event.ts b/lib/routes/github/repo-event.ts index 9d56ffd45..4cece332d 100644 --- a/lib/routes/github/repo-event.ts +++ b/lib/routes/github/repo-event.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/github/star.ts b/lib/routes/github/star.ts index f8b3fb29b..dd873c959 100644 --- a/lib/routes/github/star.ts +++ b/lib/routes/github/star.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/github/trending.ts b/lib/routes/github/trending.ts index d65c88dba..4004eced9 100644 --- a/lib/routes/github/trending.ts +++ b/lib/routes/github/trending.ts @@ -4,7 +4,7 @@ import { load } from 'cheerio'; import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { art } from '@/utils/render'; diff --git a/lib/routes/github/user-event.ts b/lib/routes/github/user-event.ts index 2082a2e7c..d178da61b 100644 --- a/lib/routes/github/user-event.ts +++ b/lib/routes/github/user-event.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/google/doodles.ts b/lib/routes/google/doodles.ts index 7d695ac59..035e99bcc 100644 --- a/lib/routes/google/doodles.ts +++ b/lib/routes/google/doodles.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/gq/news.ts b/lib/routes/gq/news.ts index 23de73a3e..67750f050 100644 --- a/lib/routes/gq/news.ts +++ b/lib/routes/gq/news.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hackernews/index.ts b/lib/routes/hackernews/index.ts index da483c90d..cd00a7092 100644 --- a/lib/routes/hackernews/index.ts +++ b/lib/routes/hackernews/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/hedwig/posts.ts b/lib/routes/hedwig/posts.ts index be4d2b83f..b6d83a11e 100644 --- a/lib/routes/hedwig/posts.ts +++ b/lib/routes/hedwig/posts.ts @@ -2,7 +2,7 @@ import { load } from 'cheerio'; import MarkdownIt from 'markdown-it'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/hpoi/all.ts b/lib/routes/hpoi/all.ts index 6215456ee..c734c0dc1 100644 --- a/lib/routes/hpoi/all.ts +++ b/lib/routes/hpoi/all.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { ProcessFeed } from './utils'; diff --git a/lib/routes/hpoi/character.ts b/lib/routes/hpoi/character.ts index 13bf595e8..53e14b08a 100644 --- a/lib/routes/hpoi/character.ts +++ b/lib/routes/hpoi/character.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { ProcessFeed } from './utils'; diff --git a/lib/routes/hpoi/work.ts b/lib/routes/hpoi/work.ts index 6d487c0ac..afc304724 100644 --- a/lib/routes/hpoi/work.ts +++ b/lib/routes/hpoi/work.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { ProcessFeed } from './utils'; diff --git a/lib/routes/hrbust/cs.ts b/lib/routes/hrbust/cs.ts index 0ff7f0468..eb347e927 100644 --- a/lib/routes/hrbust/cs.ts +++ b/lib/routes/hrbust/cs.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hrbust/gzc.ts b/lib/routes/hrbust/gzc.ts index bfc2cb5c7..104985fb2 100644 --- a/lib/routes/hrbust/gzc.ts +++ b/lib/routes/hrbust/gzc.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hrbust/jwzx.ts b/lib/routes/hrbust/jwzx.ts index 0a4d124f1..48c07c61e 100644 --- a/lib/routes/hrbust/jwzx.ts +++ b/lib/routes/hrbust/jwzx.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hrbust/lib.ts b/lib/routes/hrbust/lib.ts index d866b9e35..4d46920a6 100644 --- a/lib/routes/hrbust/lib.ts +++ b/lib/routes/hrbust/lib.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hrbust/news.ts b/lib/routes/hrbust/news.ts index af50d4a50..34a7d28b8 100644 --- a/lib/routes/hrbust/news.ts +++ b/lib/routes/hrbust/news.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/hrbust/nic.ts b/lib/routes/hrbust/nic.ts index dc2416224..317fe4061 100644 --- a/lib/routes/hrbust/nic.ts +++ b/lib/routes/hrbust/nic.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/huijin-inv/news.ts b/lib/routes/huijin-inv/news.ts index 7fba291ca..73a12f261 100644 --- a/lib/routes/huijin-inv/news.ts +++ b/lib/routes/huijin-inv/news.ts @@ -1,6 +1,6 @@ import { type CheerioAPI, load } from 'cheerio'; -import type { type Data, type DataItem, Route } from '@/types'; +import type { type Data, type DataItem, Route } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; import timezone from '@/utils/timezone'; diff --git a/lib/routes/idolypride/news.ts b/lib/routes/idolypride/news.ts index 2698d5c1d..1b73cbccb 100644 --- a/lib/routes/idolypride/news.ts +++ b/lib/routes/idolypride/news.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/ifanr/index.ts b/lib/routes/ifanr/index.ts index a330a8f63..5848f4426 100644 --- a/lib/routes/ifanr/index.ts +++ b/lib/routes/ifanr/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/imdb/chart.ts b/lib/routes/imdb/chart.ts index a9e58a4eb..59e9a35b9 100644 --- a/lib/routes/imdb/chart.ts +++ b/lib/routes/imdb/chart.ts @@ -3,7 +3,7 @@ import path from 'node:path'; import * as cheerio from 'cheerio'; import type { Context } from 'hono'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { art } from '@/utils/render'; diff --git a/lib/routes/imhcg/blog.ts b/lib/routes/imhcg/blog.ts index e0fdadf15..afe682c34 100644 --- a/lib/routes/imhcg/blog.ts +++ b/lib/routes/imhcg/blog.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/inoreader/index.ts b/lib/routes/inoreader/index.ts index 49afdb60f..0e3ed6f21 100644 --- a/lib/routes/inoreader/index.ts +++ b/lib/routes/inoreader/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/inoreader/rss.ts b/lib/routes/inoreader/rss.ts index 159e5ccb2..c19c420a5 100644 --- a/lib/routes/inoreader/rss.ts +++ b/lib/routes/inoreader/rss.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import parser from '@/utils/rss-parser'; diff --git a/lib/routes/instagram/private-api/index.ts b/lib/routes/instagram/private-api/index.ts index bb1d55f48..c7e8e35d6 100644 --- a/lib/routes/instagram/private-api/index.ts +++ b/lib/routes/instagram/private-api/index.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import logger from '@/utils/logger'; diff --git a/lib/routes/iplaysoft/category.ts b/lib/routes/iplaysoft/category.ts index de211f0c3..321b77963 100644 --- a/lib/routes/iplaysoft/category.ts +++ b/lib/routes/iplaysoft/category.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCategory, fetchNewsItems } from './utils'; diff --git a/lib/routes/iplaysoft/index.ts b/lib/routes/iplaysoft/index.ts index 1a5253b38..56bf6dcce 100644 --- a/lib/routes/iplaysoft/index.ts +++ b/lib/routes/iplaysoft/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; // html parser -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/iplaysoft/tag.ts b/lib/routes/iplaysoft/tag.ts index 803b3c6b8..2fb2e0d6c 100644 --- a/lib/routes/iplaysoft/tag.ts +++ b/lib/routes/iplaysoft/tag.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchNewsItems, fetchTag } from './utils'; diff --git a/lib/routes/jamesclear/book-summaries.ts b/lib/routes/jamesclear/book-summaries.ts index 91dcfb91f..45240225e 100644 --- a/lib/routes/jamesclear/book-summaries.ts +++ b/lib/routes/jamesclear/book-summaries.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchContent, processItem, rootUrl } from './utils'; diff --git a/lib/routes/jamesclear/great-speeches.ts b/lib/routes/jamesclear/great-speeches.ts index 8af078cbe..aa519143a 100644 --- a/lib/routes/jamesclear/great-speeches.ts +++ b/lib/routes/jamesclear/great-speeches.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchContent, processItem, rootUrl } from './utils'; diff --git a/lib/routes/jamesclear/quotes.ts b/lib/routes/jamesclear/quotes.ts index bdf6ac7ab..9374884d6 100644 --- a/lib/routes/jamesclear/quotes.ts +++ b/lib/routes/jamesclear/quotes.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchContent, processItem, rootUrl } from './utils'; diff --git a/lib/routes/jamesclear/three-two-one.ts b/lib/routes/jamesclear/three-two-one.ts index b32af1c73..6042fb6ca 100644 --- a/lib/routes/jamesclear/three-two-one.ts +++ b/lib/routes/jamesclear/three-two-one.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchContent, processItem, rootUrl } from './utils'; diff --git a/lib/routes/javbus/index.ts b/lib/routes/javbus/index.ts index 1c9e975c1..2e03ee196 100644 --- a/lib/routes/javbus/index.ts +++ b/lib/routes/javbus/index.ts @@ -4,7 +4,7 @@ import { load } from 'cheerio'; import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { getSubPath } from '@/utils/common-utils'; diff --git a/lib/routes/jianshu/collection.ts b/lib/routes/jianshu/collection.ts index d33a0d62c..61bacfca5 100644 --- a/lib/routes/jianshu/collection.ts +++ b/lib/routes/jianshu/collection.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jianshu/home.ts b/lib/routes/jianshu/home.ts index 2e3bcaff8..6afc77c95 100644 --- a/lib/routes/jianshu/home.ts +++ b/lib/routes/jianshu/home.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jianshu/user.ts b/lib/routes/jianshu/user.ts index 8f3ee3c0f..94f9622e8 100644 --- a/lib/routes/jianshu/user.ts +++ b/lib/routes/jianshu/user.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jike/topic.ts b/lib/routes/jike/topic.ts index 507fc94fc..21d11be85 100644 --- a/lib/routes/jike/topic.ts +++ b/lib/routes/jike/topic.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import dayjs from 'dayjs'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jike/user.ts b/lib/routes/jike/user.ts index ec50350d0..f29c472d3 100644 --- a/lib/routes/jike/user.ts +++ b/lib/routes/jike/user.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/jimmyspa/books.ts b/lib/routes/jimmyspa/books.ts index fd7ba0c64..eece3e8e7 100644 --- a/lib/routes/jimmyspa/books.ts +++ b/lib/routes/jimmyspa/books.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jimmyspa/news.ts b/lib/routes/jimmyspa/news.ts index fa30c5879..40c22f409 100644 --- a/lib/routes/jimmyspa/news.ts +++ b/lib/routes/jimmyspa/news.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/jin10/category.ts b/lib/routes/jin10/category.ts index f71df3d0f..fa77035b4 100644 --- a/lib/routes/jin10/category.ts +++ b/lib/routes/jin10/category.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jin10/index.ts b/lib/routes/jin10/index.ts index 0e91283cf..af613ec21 100644 --- a/lib/routes/jin10/index.ts +++ b/lib/routes/jin10/index.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jin10/topic.ts b/lib/routes/jin10/topic.ts index 4d2ead2d0..e44d549e6 100644 --- a/lib/routes/jin10/topic.ts +++ b/lib/routes/jin10/topic.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jinse/lives.ts b/lib/routes/jinse/lives.ts index 3e47a5fc8..a6dc2ad13 100644 --- a/lib/routes/jinse/lives.ts +++ b/lib/routes/jinse/lives.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/jinse/timeline.ts b/lib/routes/jinse/timeline.ts index 99b313337..9fcaf070c 100644 --- a/lib/routes/jinse/timeline.ts +++ b/lib/routes/jinse/timeline.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/jiuyangongshe/community.ts b/lib/routes/jiuyangongshe/community.ts index c4426baa1..aaed2a28d 100644 --- a/lib/routes/jiuyangongshe/community.ts +++ b/lib/routes/jiuyangongshe/community.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import type { Context } from 'hono'; -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import md5 from '@/utils/md5'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/jjwxc/book.ts b/lib/routes/jjwxc/book.ts index c8a773ec8..0e3b76fb0 100644 --- a/lib/routes/jjwxc/book.ts +++ b/lib/routes/jjwxc/book.ts @@ -3,7 +3,7 @@ import path from 'node:path'; import { load } from 'cheerio'; import iconv from 'iconv-lite'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/konachan/post.ts b/lib/routes/konachan/post.ts index 9c0559f76..e0f0201e8 100644 --- a/lib/routes/konachan/post.ts +++ b/lib/routes/konachan/post.ts @@ -1,6 +1,6 @@ import queryString from 'query-string'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/kurogames/wutheringwaves/news.ts b/lib/routes/kurogames/wutheringwaves/news.ts index aee57ca0b..3ad29ca23 100644 --- a/lib/routes/kurogames/wutheringwaves/news.ts +++ b/lib/routes/kurogames/wutheringwaves/news.ts @@ -6,7 +6,7 @@ import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; import timezone from '@/utils/timezone'; -import type { Article} from './constants'; +import type { Article } from './constants'; import { Language, Parameter, SUPPORTED_LANGUAGES } from './constants'; import { fetchArticles, getArticleContentLink, getArticleLink, getHandlerLanguage, isValidLanguage, parseInteger } from './utils'; diff --git a/lib/routes/kurogames/wutheringwaves/utils.ts b/lib/routes/kurogames/wutheringwaves/utils.ts index fd70f315e..a73c23bc0 100644 --- a/lib/routes/kurogames/wutheringwaves/utils.ts +++ b/lib/routes/kurogames/wutheringwaves/utils.ts @@ -1,7 +1,7 @@ import type { Data } from '@/types'; import ofetch from '@/utils/ofetch'; -import type { Article} from './constants'; +import type { Article } from './constants'; import { Language, SUPPORTED_LANGUAGES } from './constants'; /** diff --git a/lib/routes/landiannews/category.ts b/lib/routes/landiannews/category.ts index 1235ea3fa..71a1e4182 100644 --- a/lib/routes/landiannews/category.ts +++ b/lib/routes/landiannews/category.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCategory, fetchNewsItems } from './utils'; diff --git a/lib/routes/landiannews/index.ts b/lib/routes/landiannews/index.ts index 78f276096..3a533d08a 100644 --- a/lib/routes/landiannews/index.ts +++ b/lib/routes/landiannews/index.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchNewsItems } from './utils'; diff --git a/lib/routes/landiannews/tag.ts b/lib/routes/landiannews/tag.ts index 0b30ee6b5..c5250de2a 100644 --- a/lib/routes/landiannews/tag.ts +++ b/lib/routes/landiannews/tag.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchNewsItems, fetchTag } from './utils'; diff --git a/lib/routes/laohu8/personal.ts b/lib/routes/laohu8/personal.ts index 0e102c7b4..b57138550 100644 --- a/lib/routes/laohu8/personal.ts +++ b/lib/routes/laohu8/personal.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/linkedin/jobs.ts b/lib/routes/linkedin/jobs.ts index f733cc8ab..b84470563 100644 --- a/lib/routes/linkedin/jobs.ts +++ b/lib/routes/linkedin/jobs.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/lofter/user.ts b/lib/routes/lofter/user.ts index 111268981..d16cbe6e9 100644 --- a/lib/routes/lofter/user.ts +++ b/lib/routes/lofter/user.ts @@ -1,5 +1,5 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/luolei/index.ts b/lib/routes/luolei/index.ts index 91ffaf3d3..dd76bb7dc 100644 --- a/lib/routes/luolei/index.ts +++ b/lib/routes/luolei/index.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Route } from '@/types'; diff --git a/lib/routes/magnumphotos/magazine.ts b/lib/routes/magnumphotos/magazine.ts index 375785a2b..8d822668c 100644 --- a/lib/routes/magnumphotos/magazine.ts +++ b/lib/routes/magnumphotos/magazine.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/manus/blog.ts b/lib/routes/manus/blog.ts index d34eea351..684d11153 100644 --- a/lib/routes/manus/blog.ts +++ b/lib/routes/manus/blog.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/mastodon/account-id.ts b/lib/routes/mastodon/account-id.ts index cbeb949bd..801a23582 100644 --- a/lib/routes/mastodon/account-id.ts +++ b/lib/routes/mastodon/account-id.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import utils from './utils'; diff --git a/lib/routes/mastodon/acct.ts b/lib/routes/mastodon/acct.ts index 1edd69730..0989cf543 100644 --- a/lib/routes/mastodon/acct.ts +++ b/lib/routes/mastodon/acct.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import utils from './utils'; diff --git a/lib/routes/mastodon/timeline-local.ts b/lib/routes/mastodon/timeline-local.ts index 9dee87c6e..3320a05e9 100644 --- a/lib/routes/mastodon/timeline-local.ts +++ b/lib/routes/mastodon/timeline-local.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/mastodon/timeline-remote.ts b/lib/routes/mastodon/timeline-remote.ts index 5c8d3d4a4..5f094d79f 100644 --- a/lib/routes/mastodon/timeline-remote.ts +++ b/lib/routes/mastodon/timeline-remote.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/mckinsey/cn/index.ts b/lib/routes/mckinsey/cn/index.ts index faaab5f5b..f80a5f7b8 100644 --- a/lib/routes/mckinsey/cn/index.ts +++ b/lib/routes/mckinsey/cn/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/medium/feed.ts b/lib/routes/medium/feed.ts index c289a75e6..075088ab5 100644 --- a/lib/routes/medium/feed.ts +++ b/lib/routes/medium/feed.ts @@ -1,5 +1,5 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { parseDate } from '@/utils/parse-date'; import parser from '@/utils/rss-parser'; diff --git a/lib/routes/melonbooks/parser.ts b/lib/routes/melonbooks/parser.ts index fffb35d59..4e3082866 100644 --- a/lib/routes/melonbooks/parser.ts +++ b/lib/routes/melonbooks/parser.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import { type DataItem } from '@/types'; diff --git a/lib/routes/mi/crowdfunding.ts b/lib/routes/mi/crowdfunding.ts index 487bbcd58..7aa8d2b53 100644 --- a/lib/routes/mi/crowdfunding.ts +++ b/lib/routes/mi/crowdfunding.ts @@ -1,4 +1,4 @@ -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import type { CrowdfundingDetailInfo, CrowdfundingList } from './types'; diff --git a/lib/routes/misskey/featured-notes.ts b/lib/routes/misskey/featured-notes.ts index 03f317595..add7334ad 100644 --- a/lib/routes/misskey/featured-notes.ts +++ b/lib/routes/misskey/featured-notes.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/misskey/home-timeline.ts b/lib/routes/misskey/home-timeline.ts index c80bb7502..078f0d369 100644 --- a/lib/routes/misskey/home-timeline.ts +++ b/lib/routes/misskey/home-timeline.ts @@ -2,7 +2,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { queryToBoolean } from '@/utils/readable-social'; diff --git a/lib/routes/misskey/user-timeline.ts b/lib/routes/misskey/user-timeline.ts index 3c69ff495..4cc15d902 100644 --- a/lib/routes/misskey/user-timeline.ts +++ b/lib/routes/misskey/user-timeline.ts @@ -3,7 +3,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fallback, queryToBoolean } from '@/utils/readable-social'; diff --git a/lib/routes/moodysmismicrosite/report.ts b/lib/routes/moodysmismicrosite/report.ts index 6b956e937..021756173 100644 --- a/lib/routes/moodysmismicrosite/report.ts +++ b/lib/routes/moodysmismicrosite/report.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseRelativeDate } from '@/utils/parse-date'; diff --git a/lib/routes/nasa/apod.ts b/lib/routes/nasa/apod.ts index 1d676743f..638179690 100644 --- a/lib/routes/nasa/apod.ts +++ b/lib/routes/nasa/apod.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/natgeo/dailyphoto.ts b/lib/routes/natgeo/dailyphoto.ts index e313daf1c..ac69a0052 100644 --- a/lib/routes/natgeo/dailyphoto.ts +++ b/lib/routes/natgeo/dailyphoto.ts @@ -3,7 +3,7 @@ import path from 'node:path'; import { load } from 'cheerio'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/natgeo/dailyselection.ts b/lib/routes/natgeo/dailyselection.ts index 9e4a94ab4..8f4403d07 100644 --- a/lib/routes/natgeo/dailyselection.ts +++ b/lib/routes/natgeo/dailyselection.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/ncku/csie.ts b/lib/routes/ncku/csie.ts index 327808632..c4a0fe66e 100644 --- a/lib/routes/ncku/csie.ts +++ b/lib/routes/ncku/csie.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Route } from '@/types'; diff --git a/lib/routes/ncku/phys.ts b/lib/routes/ncku/phys.ts index dcffc513d..9b63c1155 100644 --- a/lib/routes/ncku/phys.ts +++ b/lib/routes/ncku/phys.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Route } from '@/types'; diff --git a/lib/routes/newslaundry/explainer.ts b/lib/routes/newslaundry/explainer.ts index 5cc2240ab..29c92e253 100644 --- a/lib/routes/newslaundry/explainer.ts +++ b/lib/routes/newslaundry/explainer.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection, rootUrl } from './utils'; diff --git a/lib/routes/newslaundry/nl-cheatsheet.ts b/lib/routes/newslaundry/nl-cheatsheet.ts index bff21586d..35fb62cf5 100644 --- a/lib/routes/newslaundry/nl-cheatsheet.ts +++ b/lib/routes/newslaundry/nl-cheatsheet.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection, rootUrl } from './utils'; diff --git a/lib/routes/newslaundry/nl-collaborations.ts b/lib/routes/newslaundry/nl-collaborations.ts index 6c453641e..e8abe8359 100644 --- a/lib/routes/newslaundry/nl-collaborations.ts +++ b/lib/routes/newslaundry/nl-collaborations.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection, rootUrl } from './utils'; diff --git a/lib/routes/newslaundry/podcast.ts b/lib/routes/newslaundry/podcast.ts index 85ea43e90..614fcbbc7 100644 --- a/lib/routes/newslaundry/podcast.ts +++ b/lib/routes/newslaundry/podcast.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection, rootUrl } from './utils'; diff --git a/lib/routes/newslaundry/reports.ts b/lib/routes/newslaundry/reports.ts index 7906f519c..78ce1c953 100644 --- a/lib/routes/newslaundry/reports.ts +++ b/lib/routes/newslaundry/reports.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection } from './utils'; diff --git a/lib/routes/newslaundry/shot.ts b/lib/routes/newslaundry/shot.ts index 44be2aff0..7af879c73 100644 --- a/lib/routes/newslaundry/shot.ts +++ b/lib/routes/newslaundry/shot.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection } from './utils'; diff --git a/lib/routes/newslaundry/subscriber-only.ts b/lib/routes/newslaundry/subscriber-only.ts index f0c815fff..2ca287c9f 100644 --- a/lib/routes/newslaundry/subscriber-only.ts +++ b/lib/routes/newslaundry/subscriber-only.ts @@ -1,4 +1,4 @@ -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fetchCollection } from './utils'; diff --git a/lib/routes/newyorker/news.ts b/lib/routes/newyorker/news.ts index b56781788..60ce2b651 100644 --- a/lib/routes/newyorker/news.ts +++ b/lib/routes/newyorker/news.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/nga/forum.ts b/lib/routes/nga/forum.ts index 9588c7fa0..3ade42720 100644 --- a/lib/routes/nga/forum.ts +++ b/lib/routes/nga/forum.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/nhk/news.ts b/lib/routes/nhk/news.ts index 4c5be8d30..ddd28b739 100644 --- a/lib/routes/nhk/news.ts +++ b/lib/routes/nhk/news.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/notefolio/search.ts b/lib/routes/notefolio/search.ts index b041a7ec3..c5c0466a7 100644 --- a/lib/routes/notefolio/search.ts +++ b/lib/routes/notefolio/search.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import dayjs from 'dayjs'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; // 导入所需模组 import got from '@/utils/got'; // 自订的 got diff --git a/lib/routes/nycu/aa.ts b/lib/routes/nycu/aa.ts index 55b244a74..95ae49169 100644 --- a/lib/routes/nycu/aa.ts +++ b/lib/routes/nycu/aa.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Context } from 'hono'; diff --git a/lib/routes/nycu/announcement.ts b/lib/routes/nycu/announcement.ts index 3ff96aeb1..b6b1db54c 100644 --- a/lib/routes/nycu/announcement.ts +++ b/lib/routes/nycu/announcement.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Context } from 'hono'; diff --git a/lib/routes/nycu/cs.ts b/lib/routes/nycu/cs.ts index d497edbe0..67a208d96 100644 --- a/lib/routes/nycu/cs.ts +++ b/lib/routes/nycu/cs.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Context } from 'hono'; diff --git a/lib/routes/nycu/osa.ts b/lib/routes/nycu/osa.ts index 46dfa5154..f5c9ea1d4 100644 --- a/lib/routes/nycu/osa.ts +++ b/lib/routes/nycu/osa.ts @@ -1,4 +1,4 @@ -import type { CheerioAPI} from 'cheerio'; +import type { CheerioAPI } from 'cheerio'; import { load } from 'cheerio'; import type { Context } from 'hono'; diff --git a/lib/routes/nytimes/book.ts b/lib/routes/nytimes/book.ts index d258c6f14..a891cc501 100644 --- a/lib/routes/nytimes/book.ts +++ b/lib/routes/nytimes/book.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/nytimes/index.ts b/lib/routes/nytimes/index.ts index 3b6aad7f3..0961b884a 100644 --- a/lib/routes/nytimes/index.ts +++ b/lib/routes/nytimes/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/nytimes/rss.ts b/lib/routes/nytimes/rss.ts index 13c1fb6f7..a49bcab36 100644 --- a/lib/routes/nytimes/rss.ts +++ b/lib/routes/nytimes/rss.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/picnob.info/user.ts b/lib/routes/picnob.info/user.ts index f4b08df47..d9fc359b9 100644 --- a/lib/routes/picnob.info/user.ts +++ b/lib/routes/picnob.info/user.ts @@ -1,7 +1,7 @@ import xxhash from 'xxhash-wasm'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/picnob/user.ts b/lib/routes/picnob/user.ts index 42af225ee..e76aa0ab1 100644 --- a/lib/routes/picnob/user.ts +++ b/lib/routes/picnob/user.ts @@ -3,7 +3,7 @@ import type { ConnectResult, Options } from 'puppeteer-real-browser'; import { connect } from 'puppeteer-real-browser'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseRelativeDate } from '@/utils/parse-date'; diff --git a/lib/routes/pixabay/search.ts b/lib/routes/pixabay/search.ts index 68d4fb8fa..864e658c2 100644 --- a/lib/routes/pixabay/search.ts +++ b/lib/routes/pixabay/search.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/pixiv/novels.ts b/lib/routes/pixiv/novels.ts index 6eff8472a..d507b8917 100644 --- a/lib/routes/pixiv/novels.ts +++ b/lib/routes/pixiv/novels.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Data, Route} from '@/types'; +import type { Data, Route } from '@/types'; import { ViewType } from '@/types'; import { fallback, queryToBoolean } from '@/utils/readable-social'; diff --git a/lib/routes/pixiv/ranking.ts b/lib/routes/pixiv/ranking.ts index 84bc503ae..4277d803c 100644 --- a/lib/routes/pixiv/ranking.ts +++ b/lib/routes/pixiv/ranking.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/pixiv/search.ts b/lib/routes/pixiv/search.ts index 5ee9924c2..e4f81e596 100644 --- a/lib/routes/pixiv/search.ts +++ b/lib/routes/pixiv/search.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/pixiv/user.ts b/lib/routes/pixiv/user.ts index baf25f566..4506089d5 100644 --- a/lib/routes/pixiv/user.ts +++ b/lib/routes/pixiv/user.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/pixivision/index.ts b/lib/routes/pixivision/index.ts index d397b7875..b8183916a 100644 --- a/lib/routes/pixivision/index.ts +++ b/lib/routes/pixivision/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/plurk/top.ts b/lib/routes/plurk/top.ts index b3ad3992d..afada6cea 100644 --- a/lib/routes/plurk/top.ts +++ b/lib/routes/plurk/top.ts @@ -1,5 +1,5 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/plurk/topic.ts b/lib/routes/plurk/topic.ts index 886646994..b54d2a656 100644 --- a/lib/routes/plurk/topic.ts +++ b/lib/routes/plurk/topic.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/plurk/user.ts b/lib/routes/plurk/user.ts index 7c629b083..a099a8a26 100644 --- a/lib/routes/plurk/user.ts +++ b/lib/routes/plurk/user.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/podwise/collections.ts b/lib/routes/podwise/collections.ts index cd2f531a6..3e5b8c936 100644 --- a/lib/routes/podwise/collections.ts +++ b/lib/routes/podwise/collections.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; // 统一使用的请求库 diff --git a/lib/routes/pornhub/category.ts b/lib/routes/pornhub/category.ts index 5dca3a323..46d1103e7 100644 --- a/lib/routes/pornhub/category.ts +++ b/lib/routes/pornhub/category.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/pornhub/search.ts b/lib/routes/pornhub/search.ts index 03cb877eb..62f2ebcf0 100644 --- a/lib/routes/pornhub/search.ts +++ b/lib/routes/pornhub/search.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/ps/monthly-games.ts b/lib/routes/ps/monthly-games.ts index 3306da329..01dc05c6b 100644 --- a/lib/routes/ps/monthly-games.ts +++ b/lib/routes/ps/monthly-games.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { art } from '@/utils/render'; diff --git a/lib/routes/qidian/chapter.ts b/lib/routes/qidian/chapter.ts index a72f315d1..7cf1f7488 100644 --- a/lib/routes/qidian/chapter.ts +++ b/lib/routes/qidian/chapter.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/reuters/common.ts b/lib/routes/reuters/common.ts index 97e7493fc..b7489c707 100644 --- a/lib/routes/reuters/common.ts +++ b/lib/routes/reuters/common.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/reuters/investigates.ts b/lib/routes/reuters/investigates.ts index 82be8df6a..3a9aa3036 100644 --- a/lib/routes/reuters/investigates.ts +++ b/lib/routes/reuters/investigates.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/rsshub/routes.ts b/lib/routes/rsshub/routes.ts index 274f0b585..d67426d67 100644 --- a/lib/routes/rsshub/routes.ts +++ b/lib/routes/rsshub/routes.ts @@ -1,6 +1,6 @@ import * as cheerio from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/smzdm/keyword.ts b/lib/routes/smzdm/keyword.ts index 1c30b1bf5..c54c84f56 100644 --- a/lib/routes/smzdm/keyword.ts +++ b/lib/routes/smzdm/keyword.ts @@ -2,7 +2,7 @@ import { load } from 'cheerio'; import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/smzdm/ranking.ts b/lib/routes/smzdm/ranking.ts index 0736b5da1..f801f2251 100644 --- a/lib/routes/smzdm/ranking.ts +++ b/lib/routes/smzdm/ranking.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import timezone from '@/utils/timezone'; diff --git a/lib/routes/solidot/main.ts b/lib/routes/solidot/main.ts index a6de6560b..e0bdbebca 100644 --- a/lib/routes/solidot/main.ts +++ b/lib/routes/solidot/main.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; // html parser import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; // Warning: The author still knows nothing about javascript! diff --git a/lib/routes/sotwe/user.ts b/lib/routes/sotwe/user.ts index c53b13964..8c948ad15 100644 --- a/lib/routes/sotwe/user.ts +++ b/lib/routes/sotwe/user.ts @@ -1,7 +1,7 @@ import sanitizeHtml from 'sanitize-html'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import logger from '@/utils/logger'; diff --git a/lib/routes/soundon/podcast.ts b/lib/routes/soundon/podcast.ts index abadabb27..06c3f726e 100644 --- a/lib/routes/soundon/podcast.ts +++ b/lib/routes/soundon/podcast.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/spglobal/ratings.ts b/lib/routes/spglobal/ratings.ts index c550c6781..fa46f7d0a 100644 --- a/lib/routes/spglobal/ratings.ts +++ b/lib/routes/spglobal/ratings.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/spotify/artist.ts b/lib/routes/spotify/artist.ts index aa95320dc..d063693b1 100644 --- a/lib/routes/spotify/artist.ts +++ b/lib/routes/spotify/artist.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/spotify/playlist.ts b/lib/routes/spotify/playlist.ts index 8364ab02d..1821d905b 100644 --- a/lib/routes/spotify/playlist.ts +++ b/lib/routes/spotify/playlist.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/spotify/show.ts b/lib/routes/spotify/show.ts index 77942cba4..32ff6a6eb 100644 --- a/lib/routes/spotify/show.ts +++ b/lib/routes/spotify/show.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/sspai/index.ts b/lib/routes/sspai/index.ts index fc9d9a395..c3689f22b 100644 --- a/lib/routes/sspai/index.ts +++ b/lib/routes/sspai/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/stockedge/daily-news.ts b/lib/routes/stockedge/daily-news.ts index 2f91b1c30..e475a6111 100644 --- a/lib/routes/stockedge/daily-news.ts +++ b/lib/routes/stockedge/daily-news.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; diff --git a/lib/routes/substack/subscribe.ts b/lib/routes/substack/subscribe.ts index 9cc946654..75864e270 100644 --- a/lib/routes/substack/subscribe.ts +++ b/lib/routes/substack/subscribe.ts @@ -1,5 +1,5 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/syosetu/search.ts b/lib/routes/syosetu/search.ts index 7c61a91be..33f371cfb 100644 --- a/lib/routes/syosetu/search.ts +++ b/lib/routes/syosetu/search.ts @@ -10,7 +10,7 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; import type { Data, Route } from '@/types'; import { art } from '@/utils/render'; -import type { NarouSearchParams} from './types/search'; +import type { NarouSearchParams } from './types/search'; import { SyosetuSub, syosetuSubToJapanese } from './types/search'; export const route: Route = { diff --git a/lib/routes/syosetu/utils.ts b/lib/routes/syosetu/utils.ts index c927f49c5..f7738467e 100644 --- a/lib/routes/syosetu/utils.ts +++ b/lib/routes/syosetu/utils.ts @@ -1,5 +1,5 @@ import { load } from 'cheerio'; -import type { NarouSearchResult} from 'narou'; +import type { NarouSearchResult } from 'narou'; import { NarouNovelFetch, SearchBuilder, SearchBuilderR18 } from 'narou'; import { config } from '@/config'; diff --git a/lib/routes/techflowpost/express.ts b/lib/routes/techflowpost/express.ts index 8ebac2a72..72f82fb46 100644 --- a/lib/routes/techflowpost/express.ts +++ b/lib/routes/techflowpost/express.ts @@ -1,6 +1,6 @@ import dayjs from 'dayjs'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/techflowpost/index.ts b/lib/routes/techflowpost/index.ts index 362232def..489a40310 100644 --- a/lib/routes/techflowpost/index.ts +++ b/lib/routes/techflowpost/index.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/telegram/blog.ts b/lib/routes/telegram/blog.ts index cb2bd12dd..c8ee415f6 100644 --- a/lib/routes/telegram/blog.ts +++ b/lib/routes/telegram/blog.ts @@ -1,6 +1,6 @@ import * as cheerio from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/telegram/channel.ts b/lib/routes/telegram/channel.ts index 0c47cd076..8943a0d24 100644 --- a/lib/routes/telegram/channel.ts +++ b/lib/routes/telegram/channel.ts @@ -4,7 +4,7 @@ import querystring from 'node:querystring'; import { load } from 'cheerio'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/telegram/stickerpack.ts b/lib/routes/telegram/stickerpack.ts index 5a5d5b7b9..1cee882c9 100644 --- a/lib/routes/telegram/stickerpack.ts +++ b/lib/routes/telegram/stickerpack.ts @@ -1,6 +1,6 @@ import { config } from '@/config'; import ConfigNotFoundError from '@/errors/types/config-not-found'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/theblockbeats/index.ts b/lib/routes/theblockbeats/index.ts index dfd5dddc6..1834aea16 100644 --- a/lib/routes/theblockbeats/index.ts +++ b/lib/routes/theblockbeats/index.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/themoviedb/seasons.ts b/lib/routes/themoviedb/seasons.ts index 02d621740..f6bab793d 100644 --- a/lib/routes/themoviedb/seasons.ts +++ b/lib/routes/themoviedb/seasons.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/threads/index.ts b/lib/routes/threads/index.ts index 6c40d644f..d6c1476aa 100644 --- a/lib/routes/threads/index.ts +++ b/lib/routes/threads/index.ts @@ -1,7 +1,7 @@ import { JSDOM } from 'jsdom'; import { JSONPath } from 'jsonpath-plus'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/tingtingfm/program.ts b/lib/routes/tingtingfm/program.ts index a6c6afe12..f2cfdfdc6 100644 --- a/lib/routes/tingtingfm/program.ts +++ b/lib/routes/tingtingfm/program.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/twitch/live.ts b/lib/routes/twitch/live.ts index f7445b920..1c4f17529 100644 --- a/lib/routes/twitch/live.ts +++ b/lib/routes/twitch/live.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/twitch/video.ts b/lib/routes/twitch/video.ts index f3324dbc4..ef3be9eeb 100644 --- a/lib/routes/twitch/video.ts +++ b/lib/routes/twitch/video.ts @@ -1,5 +1,5 @@ import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/twitter/keyword.ts b/lib/routes/twitter/keyword.ts index 7ffdf8fd7..7756ee061 100644 --- a/lib/routes/twitter/keyword.ts +++ b/lib/routes/twitter/keyword.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import api from './api'; diff --git a/lib/routes/twitter/media.ts b/lib/routes/twitter/media.ts index a3faef1f9..6c5a6569e 100644 --- a/lib/routes/twitter/media.ts +++ b/lib/routes/twitter/media.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import logger from '@/utils/logger'; diff --git a/lib/routes/twitter/user.ts b/lib/routes/twitter/user.ts index db1fae8b4..452fa6674 100644 --- a/lib/routes/twitter/user.ts +++ b/lib/routes/twitter/user.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import logger from '@/utils/logger'; diff --git a/lib/routes/v2ex/tab.ts b/lib/routes/v2ex/tab.ts index 95d395ad4..f679f6048 100644 --- a/lib/routes/v2ex/tab.ts +++ b/lib/routes/v2ex/tab.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/v2ex/topics.ts b/lib/routes/v2ex/topics.ts index 03e6502f4..85efa60b7 100644 --- a/lib/routes/v2ex/topics.ts +++ b/lib/routes/v2ex/topics.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/v2ex/xna.ts b/lib/routes/v2ex/xna.ts index b05ac1227..4019b0b84 100644 --- a/lib/routes/v2ex/xna.ts +++ b/lib/routes/v2ex/xna.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/vimeo/category.ts b/lib/routes/vimeo/category.ts index 87af674a3..a36ada8ab 100644 --- a/lib/routes/vimeo/category.ts +++ b/lib/routes/vimeo/category.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/vimeo/usr-videos.ts b/lib/routes/vimeo/usr-videos.ts index bb8ff211d..13fab5bea 100644 --- a/lib/routes/vimeo/usr-videos.ts +++ b/lib/routes/vimeo/usr-videos.ts @@ -1,6 +1,6 @@ import path from 'node:path'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/visualstudio/code-blog.ts b/lib/routes/visualstudio/code-blog.ts index e5c5b02a9..0d7a4f6a2 100644 --- a/lib/routes/visualstudio/code-blog.ts +++ b/lib/routes/visualstudio/code-blog.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/warp/blog.ts b/lib/routes/warp/blog.ts index 116b69efa..15e5002f2 100644 --- a/lib/routes/warp/blog.ts +++ b/lib/routes/warp/blog.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/weibo/keyword.ts b/lib/routes/weibo/keyword.ts index 97358cb4d..a5ec40a7a 100644 --- a/lib/routes/weibo/keyword.ts +++ b/lib/routes/weibo/keyword.ts @@ -1,7 +1,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/weibo/search/hot.ts b/lib/routes/weibo/search/hot.ts index dc5912ba8..cd28c42ab 100644 --- a/lib/routes/weibo/search/hot.ts +++ b/lib/routes/weibo/search/hot.ts @@ -3,7 +3,7 @@ import path from 'node:path'; import { load } from 'cheerio'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/weibo/user.ts b/lib/routes/weibo/user.ts index 9daf7a2a0..cee89df35 100644 --- a/lib/routes/weibo/user.ts +++ b/lib/routes/weibo/user.ts @@ -1,7 +1,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/whu/rsgis.ts b/lib/routes/whu/rsgis.ts index 0893164d8..726ec4593 100644 --- a/lib/routes/whu/rsgis.ts +++ b/lib/routes/whu/rsgis.ts @@ -1,4 +1,4 @@ -import type { AnyNode, Cheerio} from 'cheerio'; +import type { AnyNode, Cheerio } from 'cheerio'; import { load } from 'cheerio'; import type { Context } from 'hono'; diff --git a/lib/routes/xiaohongshu/user.ts b/lib/routes/xiaohongshu/user.ts index ff772e3ed..138959c65 100644 --- a/lib/routes/xiaohongshu/user.ts +++ b/lib/routes/xiaohongshu/user.ts @@ -2,7 +2,7 @@ import querystring from 'node:querystring'; import { config } from '@/config'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import { fallback, queryToBoolean } from '@/utils/readable-social'; diff --git a/lib/routes/xiaoyuzhou/podcast.ts b/lib/routes/xiaoyuzhou/podcast.ts index 04033f10b..969409a14 100644 --- a/lib/routes/xiaoyuzhou/podcast.ts +++ b/lib/routes/xiaoyuzhou/podcast.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { DataItem, Route} from '@/types'; +import type { DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/yande/post.ts b/lib/routes/yande/post.ts index 03da6d909..85c6797b1 100644 --- a/lib/routes/yande/post.ts +++ b/lib/routes/yande/post.ts @@ -1,6 +1,6 @@ import queryString from 'query-string'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/yilinzazhi/index.ts b/lib/routes/yilinzazhi/index.ts index 2f2cd37d7..38e64c846 100644 --- a/lib/routes/yilinzazhi/index.ts +++ b/lib/routes/yilinzazhi/index.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/yilinzazhi/latest.ts b/lib/routes/yilinzazhi/latest.ts index 7af9b7c67..1c0680f50 100644 --- a/lib/routes/yilinzazhi/latest.ts +++ b/lib/routes/yilinzazhi/latest.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import dayjs from 'dayjs'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/youtube/playlist.ts b/lib/routes/youtube/playlist.ts index 3affa6733..20658a262 100644 --- a/lib/routes/youtube/playlist.ts +++ b/lib/routes/youtube/playlist.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { getDataByPlaylistId as getDataByPlaylistIdGoogle } from './api/google'; diff --git a/lib/routes/youtube/user.ts b/lib/routes/youtube/user.ts index 843f337b1..a98ca2f14 100644 --- a/lib/routes/youtube/user.ts +++ b/lib/routes/youtube/user.ts @@ -1,4 +1,4 @@ -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import { getDataByUsername as getDataByUsernameGoogle } from './api/google'; diff --git a/lib/routes/youzhiyouxing/materials.ts b/lib/routes/youzhiyouxing/materials.ts index 55f141d1c..926c6ac21 100644 --- a/lib/routes/youzhiyouxing/materials.ts +++ b/lib/routes/youzhiyouxing/materials.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/yyets/article.ts b/lib/routes/yyets/article.ts index 7e4eba415..f3da25b69 100644 --- a/lib/routes/yyets/article.ts +++ b/lib/routes/yyets/article.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/yyets/today.ts b/lib/routes/yyets/today.ts index 711f6e26b..0b6391e52 100644 --- a/lib/routes/yyets/today.ts +++ b/lib/routes/yyets/today.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; diff --git a/lib/routes/zcool/top.ts b/lib/routes/zcool/top.ts index 2e4443952..b10499b56 100644 --- a/lib/routes/zcool/top.ts +++ b/lib/routes/zcool/top.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/zcool/user.ts b/lib/routes/zcool/user.ts index 13c732393..5d578f276 100644 --- a/lib/routes/zcool/user.ts +++ b/lib/routes/zcool/user.ts @@ -1,7 +1,7 @@ import { load } from 'cheerio'; import InvalidParameterError from '@/errors/types/invalid-parameter'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/zed/blog.ts b/lib/routes/zed/blog.ts index 07db43160..30f3aa64a 100644 --- a/lib/routes/zed/blog.ts +++ b/lib/routes/zed/blog.ts @@ -1,6 +1,6 @@ import { load } from 'cheerio'; -import type { Data, DataItem, Route} from '@/types'; +import type { Data, DataItem, Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import ofetch from '@/utils/ofetch'; diff --git a/lib/routes/zhihu/activities.ts b/lib/routes/zhihu/activities.ts index 709fa4983..781b812ca 100644 --- a/lib/routes/zhihu/activities.ts +++ b/lib/routes/zhihu/activities.ts @@ -1,6 +1,6 @@ import sanitizeHtml from 'sanitize-html'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/zhihu/hot.ts b/lib/routes/zhihu/hot.ts index 56237e064..d76011596 100644 --- a/lib/routes/zhihu/hot.ts +++ b/lib/routes/zhihu/hot.ts @@ -1,5 +1,5 @@ import { config } from '@/config'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; diff --git a/lib/routes/zhitongcaijing/index.ts b/lib/routes/zhitongcaijing/index.ts index 0868ef625..8fa7e26ef 100644 --- a/lib/routes/zhitongcaijing/index.ts +++ b/lib/routes/zhitongcaijing/index.ts @@ -2,7 +2,7 @@ import path from 'node:path'; import { load } from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; diff --git a/lib/routes/zhizhuan100/report.ts b/lib/routes/zhizhuan100/report.ts index 291a72715..98d44ce7a 100644 --- a/lib/routes/zhizhuan100/report.ts +++ b/lib/routes/zhizhuan100/report.ts @@ -1,6 +1,6 @@ import * as cheerio from 'cheerio'; -import type { Route} from '@/types'; +import type { Route } from '@/types'; import { ViewType } from '@/types'; import ofetch from '@/utils/ofetch'; import { parseRelativeDate } from '@/utils/parse-date';