Replaced all path alias imports (e.g., '@/napcat-core') with direct package imports (e.g., 'napcat-core/index') across napcat-common, napcat-core, and napcat-webui-backend. This improves compatibility with tooling and workspace resolution, and aligns with standard TypeScript/Node.js import practices.
16 lines
462 B
TypeScript
16 lines
462 B
TypeScript
import { IPacketMsgElement } from '@/napcat-core/packet/message/element';
|
|
import { SendMessageElement, SendMultiForwardMsgElement } from 'napcat-core/index';
|
|
|
|
export type PacketSendMsgElement = SendMessageElement | SendMultiForwardMsgElement;
|
|
|
|
export interface PacketMsg {
|
|
seq?: number;
|
|
clientSeq?: number;
|
|
groupId?: number;
|
|
senderUid: string;
|
|
senderUin: number;
|
|
senderName: string;
|
|
time: number;
|
|
msg: IPacketMsgElement<PacketSendMsgElement>[]
|
|
}
|