mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 20:27:23 +00:00
Add activities page.
This commit is contained in:
@@ -141,3 +141,20 @@ export enum RSort {
|
||||
DownloadsAsc = 4,
|
||||
DownloadsDesc = 5,
|
||||
}
|
||||
|
||||
export enum ActivityType {
|
||||
Unknown = 0,
|
||||
ResourcePublished = 1,
|
||||
ResourceUpdated = 2,
|
||||
ResourceCommented = 3,
|
||||
}
|
||||
|
||||
export interface Activity {
|
||||
id: number;
|
||||
type: ActivityType;
|
||||
user_id: number;
|
||||
created_at: string;
|
||||
resource?: Resource;
|
||||
user?: User;
|
||||
comment?: CommentWithResource;
|
||||
}
|
||||
|
Reference in New Issue
Block a user