All data rendering in rewind

This commit is contained in:
2025-12-27 03:01:16 +08:00
parent 9d6eb5c378
commit cdf177d321
2 changed files with 456 additions and 115 deletions

View File

@@ -9,6 +9,11 @@ export interface SnRewindActiveData {
mostActiveWeekday: string
latestActiveTime: string
checkInCompleteness: number
lotteriesWins: number
lotteriesLosses: number
lotteriesWinRate: number
newBlockedCount: number
newFriendsCount: number
}
export interface SnRewindMostCalledChat {
@@ -94,6 +99,11 @@ export interface SnRewindMostLovedAudience {
upvoteCounts: number
}
export interface SnAccountCallRewind {
account: SnAccount
duration: number
}
export interface SnRewindSocialData {
totalPostCount: number
totalUpvoteCount: number
@@ -101,10 +111,12 @@ export interface SnRewindSocialData {
mostMessagedDirectChat: SnRewindChatSummary
mostPopularPost: SnRewindMostPopularPost
mostProductiveDay: SnRewindMostProductiveDay
mostCalledAccounts: SnAccount[]
mostCalledAccounts: SnAccountCallRewind[]
mostCalledChatTopMembers: SnAccount[]
mostLovedPublisher: SnRewindMostLovedPublisher
mostLovedAudience: SnRewindMostLovedAudience
mostMessagedChat: SnRewindChatSummary
topWords: { word: string; count: number }[]
}
export interface SnRewind {