style: fix import

This commit is contained in:
Tony
2025-11-27 11:22:19 +08:00
parent d5e4fba8b2
commit bf9f4b5961
8 changed files with 9 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
import type { Context } from 'hono';
import InvalidParameterError from '@/errors/types/invalid-parameter';
import type { type Data, Route } from '@/types';
import type { Data, Route } from '@/types';
import logger from '@/utils/logger';
import ofetch from '@/utils/ofetch';
import { parseDate } from '@/utils/parse-date';

View File

@@ -1,4 +1,4 @@
import type { type Data, Route } from '@/types';
import type { Data, Route } from '@/types';
import ofetch from '@/utils/ofetch';
import { parseDate } from '@/utils/parse-date';

View File

@@ -1,5 +1,5 @@
import InvalidParameterError from '@/errors/types/invalid-parameter';
import type { type Data, Route } from '@/types';
import type { Data, Route } from '@/types';
import ofetch from '@/utils/ofetch';
import { parseDate } from '@/utils/parse-date';

View File

@@ -1,6 +1,6 @@
import { load } from 'cheerio';
import type { type DataItem, Route } from '@/types';
import type { DataItem, Route } from '@/types';
import got from '@/utils/got';
import { parseDate } from '@/utils/parse-date';

View File

@@ -1,6 +1,6 @@
import { type CheerioAPI, load } from 'cheerio';
import type { type Data, type DataItem, Route } from '@/types';
import type { Data, DataItem, Route } from '@/types';
import ofetch from '@/utils/ofetch';
import { parseDate } from '@/utils/parse-date';
import timezone from '@/utils/timezone';

View File

@@ -1,6 +1,6 @@
import { renderItemActionToHTML } from '@rss3/sdk';
import type { type DataItem, Route } from '@/types';
import type { DataItem, Route } from '@/types';
import { camelcaseKeys } from '@/utils/camelcase-keys';
import ofetch from '@/utils/ofetch';

View File

@@ -1,6 +1,7 @@
import readline from 'node:readline';
import { TelegramClient } from 'telegram';
import { StringSession } from 'telegram/sessions/index.js';
import readline from 'node:readline';
import winston from 'winston';
function userInput(question) {

View File

@@ -1,5 +1,5 @@
import { unified } from 'unified';
import remarkParse from 'remark-parse';
import { unified } from 'unified';
// @TODO maybe we could use label or some other better ways to distinguish bug/feature issues
const matchTitle = ['路由地址', 'Routes'];