mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
* feat: pnpm new * Refactor build and release workflows, update dependencies Switch build scripts and workflows from npm to pnpm, update build and artifact paths, and simplify release workflow by removing version detection and changelog steps. Add new dependencies (silk-wasm, express, ws, node-pty-prebuilt-multiarch), update exports in package.json files, and add vite config for napcat-framework. Also, rename manifest.json for framework package and fix static asset copying in shell build config.
14 lines
430 B
TypeScript
14 lines
430 B
TypeScript
import type { QQItem } from '@/components/quick_login';
|
|
|
|
/**
|
|
* 判断 QQ 快速登录列表项是否为 QQ 信息
|
|
* @param data QQ 快速登录列表项
|
|
* @returns 是否为 QQ 信息
|
|
* @description 用于判定 QQ 快速登录列表项是否为 QQ 信息
|
|
*/
|
|
export const isQQQuickNewItem = (
|
|
data?: QQItem | LoginListItem | null
|
|
): data is LoginListItem => {
|
|
return !!data && 'nickName' in data && 'faceUrl' in data;
|
|
};
|