1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-29 16:56:29 +00:00
comunicapiv2/src/entities/UserMembershipEntry.ts

17 lines
313 B
TypeScript
Raw Normal View History

2019-12-28 15:52:52 +00:00
import { Friend } from "./Friend";
/**
* Get information about a membership
*
* @author Pierre HUBERT
*/
export enum UserMembershipType { GROUP, FRIEND }
export class UserMembershipEntry {
constructor(
public lastActivity: number,
public el: Friend | number,
public type: UserMembershipType
) {}
}