mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 07:16:51 +00:00
同步ui
This commit is contained in:
12
src/types/electron.d.ts
vendored
12
src/types/electron.d.ts
vendored
@@ -342,7 +342,7 @@ export interface ElectronAPI {
|
||||
success: boolean
|
||||
data?: {
|
||||
year: number
|
||||
myName: string
|
||||
selfName: string
|
||||
friendUsername: string
|
||||
friendName: string
|
||||
firstChat: {
|
||||
@@ -352,7 +352,7 @@ export interface ElectronAPI {
|
||||
isSentByMe: boolean
|
||||
senderUsername?: string
|
||||
} | null
|
||||
thisYearFirstChat?: {
|
||||
yearFirstChat?: {
|
||||
createTime: number
|
||||
createTimeStr: string
|
||||
content: string
|
||||
@@ -365,7 +365,7 @@ export interface ElectronAPI {
|
||||
createTimeStr: string
|
||||
}>
|
||||
} | null
|
||||
yearlyStats: {
|
||||
stats: {
|
||||
totalMessages: number
|
||||
totalWords: number
|
||||
imageCount: number
|
||||
@@ -376,11 +376,7 @@ export interface ElectronAPI {
|
||||
myTopEmojiUrl?: string
|
||||
friendTopEmojiUrl?: string
|
||||
}
|
||||
wordCloud: {
|
||||
words: Array<{ phrase: string; count: number }>
|
||||
totalWords: number
|
||||
totalMessages: number
|
||||
}
|
||||
topPhrases: Array<{ phrase: string; count: number }>
|
||||
}
|
||||
error?: string
|
||||
}>
|
||||
|
||||
Reference in New Issue
Block a user