mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-29 16:56:29 +00:00
17 lines
313 B
TypeScript
17 lines
313 B
TypeScript
|
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
|
||
|
) {}
|
||
|
}
|