Rename mentor matching to similar players

This commit is contained in:
dahyeon committed 2026-07-03 03:18:59 -07:00
1 parent cfbc74d882
commit ce00bc84b5
14 files changed
+529 -388

No files matched your search

+21 -13
View File
@@ -97,43 +97,51 @@ export interface PlayerAnalysisDto {
updatedAt: string;
}
export interface MentorRiotIdDto {
export interface SimilarPlayerRiotIdDto {
gameName: string;
tagLine: string;
}
export interface SimilarMentorMetricDto {
/** 상대 유저의 티어가 내 티어 대비 어느 쪽인지. 티어 정보가 없으면 unknown. */
export type TierComparison = 'higher' | 'same' | 'lower' | 'unknown';
export interface SimilarMetricDto {
metricId: MetricId;
currentValue: number;
mentorValue: number;
otherValue: number;
absoluteGap: number;
}
export interface GapMentorMetricDto {
export interface LeadMetricDto {
metricId: MetricId;
currentValue: number;
mentorValue: number;
mentorAdvantage: number;
otherValue: number;
/** direction 반영 우위 폭. 항상 양수. */
lead: number;
}
export interface MentorMatchDto {
mentorDisplayId: string;
riotId: MentorRiotIdDto | null;
export interface SimilarPlayerDto {
displayId: string;
riotId: SimilarPlayerRiotIdDto | null;
similarityScore: number;
finalScore: number;
tier?: string;
division?: string;
leaguePoints?: number;
tierComparison: TierComparison;
mainRole: Role;
mainChampions: ChampionPoolEntryDto[];
sampleGameCount: number;
similarMetrics: SimilarMentorMetricDto[];
gapMetrics: GapMentorMetricDto[];
similarMetrics: SimilarMetricDto[];
/** 이 유저가 나보다 앞서는 지표 Top 3 */
strongerMetrics: LeadMetricDto[];
/** 내가 이 유저보다 앞서는 지표 Top 3 */
weakerMetrics: LeadMetricDto[];
}
export interface MentorMatchesDto {
export interface SimilarPlayersDto {
puuid: string;
queueId: number;
profileUpdatedAt: string;
matches: MentorMatchDto[];
matches: SimilarPlayerDto[];
}