mirror of
https://github.com/outline/outline.git
synced 2026-06-25 17:24:23 +03:00
20 lines
299 B
JavaScript
20 lines
299 B
JavaScript
// @flow
|
|
import BaseModel from "./BaseModel";
|
|
|
|
class Group extends BaseModel {
|
|
id: string;
|
|
name: string;
|
|
isPrivate: boolean;
|
|
memberCount: number;
|
|
updatedAt: string;
|
|
|
|
toJS = () => {
|
|
return {
|
|
name: this.name,
|
|
isPrivate: this.isPrivate,
|
|
};
|
|
};
|
|
}
|
|
|
|
export default Group;
|