2020-12-20 17:33:14 +00:00
|
|
|
export interface UserAggregates {
|
|
|
|
id: number;
|
|
|
|
user_id: number;
|
|
|
|
post_count: number;
|
|
|
|
post_score: number;
|
|
|
|
comment_count: number;
|
|
|
|
comment_score: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface SiteAggregates {
|
|
|
|
id: number;
|
|
|
|
site_id: number;
|
|
|
|
users: number;
|
|
|
|
posts: number;
|
|
|
|
comments: number;
|
|
|
|
communities: number;
|
2021-01-29 15:11:11 +00:00
|
|
|
users_active_day: number;
|
|
|
|
users_active_week: number;
|
|
|
|
users_active_month: number;
|
|
|
|
users_active_half_year: number;
|
2020-12-20 17:33:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface PostAggregates {
|
|
|
|
id: number;
|
|
|
|
post_id: number;
|
|
|
|
comments: number;
|
|
|
|
score: number;
|
|
|
|
upvotes: number;
|
|
|
|
downvotes: number;
|
2021-01-24 05:22:43 +00:00
|
|
|
newest_comment_time: string;
|
2020-12-20 17:33:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface CommunityAggregates {
|
|
|
|
id: number;
|
|
|
|
community_id: number;
|
|
|
|
subscribers: number;
|
|
|
|
posts: number;
|
|
|
|
comments: number;
|
2021-01-29 15:11:11 +00:00
|
|
|
users_active_day: number;
|
|
|
|
users_active_week: number;
|
|
|
|
users_active_month: number;
|
|
|
|
users_active_half_year: number;
|
2020-12-20 17:33:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface CommentAggregates {
|
|
|
|
id: number;
|
|
|
|
comment_id: number;
|
|
|
|
score: number;
|
|
|
|
upvotes: number;
|
|
|
|
downvotes: number;
|
|
|
|
}
|