diff --git a/lib/api/category/one.ts b/lib/api/category/one.ts index a10c535da3..b5021b545f 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 289cb78f2f..843a72a12e 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 fe11a79e7d..ee17cfeeef 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 29cf03604f..12f0c29d96 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 847ad6fb36..b28cbb68ac 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 1cbfb313ba..b83c04319c 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 cbf992f31e..1c105702a3 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 59dc87aa11..ab639f9584 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 40fea47b35..1305e792c8 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 b5d735f2b2..f541b8ed2b 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 b662c520c5..3dc1c155f1 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 b63d79a9ce..3c894ca3a3 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 3392d90a31..8a2889422a 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 dfc131a0d0..1abf1fec0b 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 7215fe2c39..7c955205ce 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 fd09d51bde..fc74125f9f 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 27212464f2..15e0d3174c 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 3a7f302203..1d76c2b922 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 9df1bb83f9..8616904f15 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 c5b85488b7..6bd3d11d0a 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 850e105f5f..49369c150b 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 df9cca0edb..c5adbaac4e 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 dc81344082..20f4aec24d 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 18aa1f6c98..16081d6349 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 417b9d33b3..9448965ecd 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 b671770fbf..d2b90ad9f1 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 b0b018ce0f..46807eb286 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 95ecda4fc8..5e17a04040 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 6a72b1f618..bcee63b7f8 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 f3625721b7..d2e8f6a35f 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 16ceacd57e..777914120d 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 3e194b6d36..852b2ddd81 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 91d1b36de9..a6d6aea6ef 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 4af188a3b5..1c1a0ac732 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 7a083ccd3a..0d26e3a19a 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 a07980d2a4..8886cc81ae 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 f02f5f499f..82c1ef7b23 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 4a2f12ce7d..90e988af93 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 2fd4144691..2fa91f3fa1 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 0d05dc3e1f..2ab57d6c8d 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 a4266157d8..b7e101aa30 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 8e2e92fd8e..e9d6733815 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 72d25a9ce4..13af461882 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 7278cfb92d..775d909dd1 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 aa7c3951ff..521bd6486c 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 446fa3b455..7d01d96169 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 783891b557..4c8b67cb04 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 d7b74a65c5..9760659526 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 7eb2067afb..87fd6a80a2 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 bdf4d8a0a6..c903ee1cce 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 21c05025b1..ff570fb683 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 dff0f91a09..8852ebe826 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 3fe81e7a92..222e179398 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 3be927cc84..36781bcad2 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 b5e37c73af..01282222a8 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 b90bce7835..aa22c95e9e 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 1b6d122dc3..ba2ee96920 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 222c01d5bf..35d6509934 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 51ff8612a6..288610b9a7 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 bf1ff7c3e5..ab5287a68c 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 3e2fd85fb8..657b0f5a28 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 eb00ad08f4..6711d06fe3 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 77d71cc961..78a386c655 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 f723e18f49..4847145fee 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 0cfffe2b57..83354cd154 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 99b9d0ecf3..4e53d2102f 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 9d72a80b36..210f9b3b6d 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 322acd5bfc..487513ece0 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 434dc37316..52271de15b 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 055cd8bfcb..25ff74ab31 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 1ae433a732..4e7bd397a7 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 bd6b9d2623..153b867ccc 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 d0d8b7e362..b73df20113 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 c6e5e72d5c..74cef3b348 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 aa571da318..fcfbe7f018 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 7438f95680..9ccc2e4a4e 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 64a28a5adb..35f985d805 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 988ae246cb..083cdd8770 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 8986ffd666..099491b2ea 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 65091fcab1..ad1070cc50 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 fe52724a5f..2fd2b6dbd8 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 368f07a340..6f8fdd76a3 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 968e30d0c8..560c0ed014 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 06b7816370..1edc339066 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 785a42e377..935f7c2495 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 f0c95a5bde..1a3e8a00f9 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 4ebfb47de4..02d4ac3cc0 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 3970df6802..b098379480 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 9d56ffd45e..4cece332d9 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 f8b3fb29b5..dd873c9594 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 d65c88dba9..4004eced9a 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 2082a2e7c5..d178da61b7 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 7d695ac590..035e99bcc3 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 23de73a3e0..67750f0501 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 da483c90d9..cd00a7092d 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 be4d2b83f2..b6d83a11e6 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 6215456ee2..c734c0dc16 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 13bf595e8d..53e14b08a7 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 6d487c0ac9..afc304724b 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 0ff7f04684..eb347e9277 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 bfc2cb5c7d..104985fb2b 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 0a4d124f1c..48c07c61ea 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 d866b9e351..4d46920a6e 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 af50d4a507..34a7d28b8f 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 dc2416224f..317fe40611 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 7fba291ca8..73a12f261b 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 2698d5c1df..1b73cbccb2 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 a330a8f637..5848f44260 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 a9e58a4eb2..59e9a35b9e 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 e0fdadf15c..afe682c343 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 49afdb60f2..0e3ed6f218 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 159e5ccb25..c19c420a56 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 bb1d55f484..c7e8e35d66 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 de211f0c30..321b77963f 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 1a5253b382..56bf6dcce8 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 803b3c6b8c..2fb2e0d6cc 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 91dcfb91f5..45240225e2 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 8af078cbee..aa519143a8 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 bdf6ac7ab2..9374884d66 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 b32af1c736..6042fb6cac 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 1c9e975c12..2e03ee1963 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 d33a0d62c6..61bacfca55 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 2e3bcaff8b..6afc77c952 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 8f3ee3c0ff..94f9622e89 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 507fc94fcd..21d11be851 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 ec50350d0c..f29c472d38 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 fd7ba0c641..eece3e8e71 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 fa30c5879b..40c22f409a 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 f71df3d0f6..fa77035b47 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 0e91283cf9..af613ec217 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 4d2ead2d0a..e44d549e64 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 3e47a5fc88..a6dc2ad134 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 99b313337b..9fcaf070c9 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 c4426baa15..aaed2a28d8 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 c8a773ec87..0e3b76fb0d 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 9c0559f766..e0f0201e86 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 aee57ca0b9..3ad29ca23d 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 fd70f315e3..a73c23bc0a 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 1235ea3fa2..71a1e41820 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 78f2760966..3a533d08af 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 0b30ee6b5b..c5250de2ab 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 0e102c7b43..b57138550b 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 f733cc8abe..b84470563d 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 1112689817..d16cbe6e93 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 91ffaf3d30..dd76bb7dcb 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 375785a2b6..8d822668c2 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 d34eea3511..684d111531 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 cbeb949bde..801a23582a 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 1edd69730a..0989cf543a 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 9dee87c6e4..3320a05e9f 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 5c8d3d4a48..5f094d79fe 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 faaab5f5b5..f80a5f7b80 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 c289a75e66..075088ab50 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 fffb35d594..4e3082866c 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 487bbcd585..7aa8d2b53e 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 03f3175954..add7334ad1 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 c80bb75020..078f0d369a 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 3c69ff4950..4cc15d9023 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 6b956e937d..021756173d 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 1d676743f0..6381796903 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 e313daf1c1..ac69a00529 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 9e4a94ab4c..8f4403d07a 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 3278086324..c4a0fe66e3 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 dcffc513df..9b63c11557 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 5cc2240ab9..29c92e2530 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 bff21586d7..35fb62cf56 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 6c453641ed..e8abe8359c 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 85ea43e90d..614fcbbc7c 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 7906f519c0..78ce1c9533 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 44be2aff07..7af879c73f 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 f0c815fff7..2ca287c9ff 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 b567817880..60ce2b6516 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 9588c7fa05..3ade427207 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 4c5be8d30c..ddd28b7395 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 b041a7ec32..c5c0466a75 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 55b244a74d..95ae491692 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 3ff96aeb10..b6b1db54c6 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 d497edbe00..67a208d961 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 46dfa51545..f5c9ea1d49 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 d258c6f14a..a891cc5018 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 3b6aad7f31..0961b884ac 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 13c1fb6f7a..a49bcab360 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 f4b08df473..d9fc359b99 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 42af225ee7..e76aa0ab1b 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 68d4fb8fa8..864e658c2c 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 6eff8472a9..d507b89170 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 84bc503ae6..4277d803c0 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 5ee9924c2f..e4f81e5964 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 baf25f5667..4506089d53 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 d397b7875d..b8183916a0 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 b3ad3992dc..afada6ceae 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 886646994b..b54d2a6564 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 7c629b0832..a099a8a264 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 cd2f531a62..3e5b8c936f 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 5dca3a3232..46d1103e7b 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 03cb877ebf..62f2ebcf01 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 3306da329a..01dc05c6b8 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 a72f315d10..7cf1f7488d 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 97e7493fce..b7489c7074 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 82be8df6a4..3a9aa30368 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 274f0b585b..d67426d67b 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 1c30b1bf5a..c54c84f562 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 0736b5da1f..f801f2251f 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 a6de6560b7..e0bdbebca1 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 c53b139641..8c948ad159 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 abadabb271..06c3f726e1 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 c550c67810..fa46f7d0a3 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 aa95320dc2..d063693b19 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 8364ab02dd..1821d905b0 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 77942cba47..32ff6a6eb4 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 fc9d9a395a..c3689f22b3 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 2f91b1c303..e475a6111a 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 9cc946654c..75864e2709 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 7c61a91be8..33f371cfba 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 c927f49c55..f7738467e2 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 8ebac2a725..72f82fb46b 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 362232def4..489a403103 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 cb2bd12ddf..c8ee415f67 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 0c47cd076b..8943a0d24b 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 5a5d5b7b93..1cee882c97 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 dfd5dddc6b..1834aea161 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 02d6217405..f6bab793da 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 6c40d644f7..d6c1476aaa 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 a6c6afe120..f2cfdfdc6b 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 f7445b9209..1c4f175294 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 f3324dbc47..ef3be9eebd 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 7ffdf8fd71..7756ee0612 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 a3faef1f93..6c5a6569ed 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 db1fae8b4f..452fa6674b 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 95d395ad41..f679f6048a 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 03e6502f4f..85efa60b77 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 b05ac12273..4019b0b84c 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 87af674a34..a36ada8abb 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 bb8ff211d9..13fab5bea7 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 e5c5b02a9a..0d7a4f6a22 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 116b69efac..15e5002f2e 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 97358cb4dd..a5ec40a7ab 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 dc5912ba8e..cd28c42ab7 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 9daf7a2a0c..cee89df350 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 0893164d87..726ec45936 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 ff772e3ed0..138959c65c 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 04033f10b0..969409a143 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 03da6d9097..85c6797b1a 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 2f2cd37d75..38e64c8466 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 7af9b7c67b..1c0680f50b 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 3affa67334..20658a262a 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 843f337b1c..a98ca2f143 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 55f141d1c5..926c6ac217 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 7e4eba4152..f3da25b69e 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 711f6e26b2..0b6391e521 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 2e4443952a..b10499b56a 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 13c7323937..5d578f2768 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 07db43160a..30f3aa64ad 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 709fa4983b..781b812ca7 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 56237e0640..d760115962 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 0868ef6250..8fa7e26efd 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 291a727158..98d44ce7af 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';