mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
fix: 准备第二次重构uid/uin
This commit is contained in:
parent
8a5d4a683b
commit
491ec04b46
@ -1,5 +1,10 @@
|
||||
import { QQLevel, Sex } from './user';
|
||||
|
||||
export enum GroupListUpdateType {
|
||||
REFRESHALL,
|
||||
GETALL,
|
||||
MODIFIED,
|
||||
REMOVE
|
||||
}
|
||||
export interface Group {
|
||||
groupCode: string,
|
||||
createTime?:string,//高版本才有
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Group, GroupMember, GroupNotify } from '@/core/entities';
|
||||
import { Group, GroupListUpdateType, GroupMember, GroupNotify } from '@/core/entities';
|
||||
|
||||
interface IGroupListener {
|
||||
onGroupListUpdate(updateType: number, groupList: Group[]): void;
|
||||
onGroupListUpdate(updateType: GroupListUpdateType, groupList: Group[]): void;
|
||||
|
||||
onGroupExtListUpdate(...args: unknown[]): void;
|
||||
|
||||
@ -202,7 +202,7 @@ export class DebugGroupListener implements IGroupListener {
|
||||
console.log('onGroupNotifiesUnreadCountUpdated:', ...args);
|
||||
}
|
||||
|
||||
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]){
|
||||
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]) {
|
||||
console.log('onGroupSingleScreenNotifies:');
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,11 @@ import {
|
||||
import { GeneralCallResult } from '@/core/services/common';
|
||||
|
||||
export interface NodeIKernelGroupService {
|
||||
|
||||
getUidByUin(uin: string): Promise<string>;
|
||||
|
||||
getUinByUid(uid: string): Promise<string>;
|
||||
//26702
|
||||
getGroupMemberLevelInfo(groupCode: string): Promise<unknown>;
|
||||
//26702
|
||||
getGroupHonorList(groupCodes: Array<string>): unknown;
|
||||
|
@ -14,6 +14,10 @@ export enum ProfileBizType {
|
||||
KOTHER
|
||||
}
|
||||
export interface NodeIKernelProfileService {
|
||||
|
||||
getUidByUin(uin: string): Promise<string>;
|
||||
|
||||
getUinByUid(uid: string): Promise<string>;
|
||||
// {
|
||||
// coreInfo: CoreInfo,
|
||||
// baseInfo: BaseInfo,
|
||||
|
Loading…
Reference in New Issue
Block a user