mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 23:56:18 +00:00
rewrite repo-list-view
This commit is contained in:
14
frontend/src/models/group.js
Normal file
14
frontend/src/models/group.js
Normal file
@@ -0,0 +1,14 @@
|
||||
class Group {
|
||||
constructor(object) {
|
||||
this.id= object.id;
|
||||
this.name = object.name;
|
||||
this.owner = object.owner;
|
||||
this.admins = object.admins;
|
||||
this.avatar_url = object.avatar_url;
|
||||
this.created_at = object.created_at;
|
||||
this.parent_group_id = object.parent_group_id;
|
||||
this.wiki_enabled = object.wiki_enabled;
|
||||
}
|
||||
}
|
||||
|
||||
export default Group;
|
Reference in New Issue
Block a user