54 lines
1.2 KiB
TypeScript
54 lines
1.2 KiB
TypeScript
export type LogEvents = {
|
|
init: {
|
|
initMs: number
|
|
}
|
|
'notifications:openApp': {}
|
|
'state:background': {}
|
|
'state:foreground': {}
|
|
'feed:endReached': {
|
|
feedType: string
|
|
itemCount: number
|
|
}
|
|
'feed:refresh': {
|
|
feedType: string
|
|
reason: 'pull-to-refresh' | 'soft-reset' | 'load-latest'
|
|
}
|
|
'post:create': {
|
|
imageCount: number
|
|
isReply: boolean
|
|
hasLink: boolean
|
|
hasQuote: boolean
|
|
langs: string
|
|
logContext: 'Composer'
|
|
}
|
|
'post:like': {
|
|
logContext: 'FeedItem' | 'PostThreadItem' | 'Post'
|
|
}
|
|
'post:repost': {
|
|
logContext: 'FeedItem' | 'PostThreadItem' | 'Post'
|
|
}
|
|
'post:unlike': {
|
|
logContext: 'FeedItem' | 'PostThreadItem' | 'Post'
|
|
}
|
|
'post:unrepost': {
|
|
logContext: 'FeedItem' | 'PostThreadItem' | 'Post'
|
|
}
|
|
'profile:follow': {
|
|
logContext:
|
|
| 'RecommendedFollowsItem'
|
|
| 'PostThreadItem'
|
|
| 'ProfileCard'
|
|
| 'ProfileHeader'
|
|
| 'ProfileHeaderSuggestedFollows'
|
|
| 'ProfileMenu'
|
|
}
|
|
'profile:unfollow': {
|
|
logContext:
|
|
| 'RecommendedFollowsItem'
|
|
| 'PostThreadItem'
|
|
| 'ProfileCard'
|
|
| 'ProfileHeader'
|
|
| 'ProfileHeaderSuggestedFollows'
|
|
| 'ProfileMenu'
|
|
}
|
|
}
|