fix: NTVoteInfo type

This commit is contained in:
手瓜一十雪
2025-01-24 21:03:15 +08:00
parent e069e0e8aa
commit 15aa1fd0b8
2 changed files with 30 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { BuddyProfileLikeReq, GeneralCallResult } from '@/core';
import { BuddyProfileLikeReq, GeneralCallResult, NTVoteInfo } from '@/core';
export interface NodeIKernelProfileLikeService {
addKernelProfileLikeListener(listener: unknown): number;
@@ -9,7 +9,16 @@ export interface NodeIKernelProfileLikeService {
getBuddyProfileLike(req: BuddyProfileLikeReq): Promise<GeneralCallResult & {
info: {
userLikeInfos: Array<any>,
userLikeInfos: Array<{
voteInfo: {
total_count: number,
new_count: number,
new_nearby_count: number,
last_visit_time: number,
userInfos: Array<NTVoteInfo>
}
}>,
friendMaxVotes: number,
start: number
}