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