mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Add statistics.
This commit is contained in:
@@ -5,6 +5,8 @@ export interface User {
|
||||
avatar_path: string;
|
||||
is_admin: boolean;
|
||||
can_upload: boolean;
|
||||
uploads_count: number;
|
||||
comments_count: number;
|
||||
}
|
||||
|
||||
export interface UserWithToken extends User {
|
||||
@@ -62,6 +64,8 @@ export interface ResourceDetails {
|
||||
images: Image[];
|
||||
files: RFile[];
|
||||
author: User;
|
||||
views: number;
|
||||
downloads: number;
|
||||
}
|
||||
|
||||
export interface Storage {
|
||||
|
Reference in New Issue
Block a user