mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: type
This commit is contained in:
@@ -2,4 +2,5 @@ export * from './user';
|
||||
export * from './group';
|
||||
export * from './msg';
|
||||
export * from './notify';
|
||||
export * from './cache';
|
||||
export * from './cache';
|
||||
export * from './system'
|
16
src/core/entities/system.ts
Normal file
16
src/core/entities/system.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { SelfInfo } from "./user"
|
||||
|
||||
export interface LineDevice {
|
||||
instanceId: number
|
||||
clientType: number
|
||||
devUid: string
|
||||
}
|
||||
export interface OBLineDevice {
|
||||
app_id: string;
|
||||
device_name: string;
|
||||
device_kind: string;
|
||||
}
|
||||
export interface CoreCache {
|
||||
selfInfo: SelfInfo,
|
||||
DeviceList: OBLineDevice[]
|
||||
}
|
@@ -208,6 +208,7 @@ export interface QQLevel {
|
||||
moonNum: number;
|
||||
starNum: number
|
||||
}
|
||||
|
||||
export interface User {
|
||||
uid: string; // 加密的字符串
|
||||
uin: string; // QQ号
|
||||
|
Reference in New Issue
Block a user