NapCatQQ/packages/napcat-core/services/NodeIKernelMsgBackupService.ts
手瓜一十雪 4360775eff
refactor: 整体重构 (#1381)
* 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.
2025-11-13 15:39:42 +08:00

28 lines
912 B
TypeScript

export interface NodeIKernelMsgBackupService {
addKernelMsgBackupListener(listener: unknown): number;
removeKernelMsgBackupListener(listenerId: number): void;
getMsgBackupLocation(...args: unknown[]): unknown;// needs 0 arguments
setMsgBackupLocation(...args: unknown[]): unknown;// needs 1 arguments
requestMsgBackup(...args: unknown[]): unknown;// needs 0 arguments
requestMsgRestore(...args: unknown[]): unknown;// needs 1 arguments
requestMsgMigrate(...args: unknown[]): unknown;// needs 1 arguments
getLocalStorageBackup(...args: unknown[]): unknown;// needs 0 arguments
deleteLocalBackup(...args: unknown[]): unknown;// needs 1 arguments
clearCache(...args: unknown[]): unknown;// needs 0 arguments
start(...args: unknown[]): unknown;// needs 1 arguments
stop(...args: unknown[]): unknown;// needs 1 arguments
pause(...args: unknown[]): unknown;// needs 2 arguments
}