Replace nap-proto-core with napcat-protobuf package

Switched all imports from '@napneko/nap-proto-core' to the new 'napcat-protobuf' package across napcat-core and related packages. Updated dependencies and references to support the new package structure, improving maintainability and workspace integration.
This commit is contained in:
手瓜一十雪
2025-11-14 16:19:26 +08:00
parent a703bbfef7
commit 4f850cd4dc
98 changed files with 363 additions and 109 deletions

View File

@@ -4,6 +4,7 @@ import { getInitialWebUiToken } from '@/napcat-webui-backend/index';
import { AuthHelper } from '@/napcat-webui-backend/helper/SignToken';
import { sendError } from '@/napcat-webui-backend/utils/response';
import type { WebUiCredentialJson } from '@/napcat-webui-backend/types';
// 鉴权中间件
export async function auth (req: Request, res: Response, next: NextFunction) {