1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-11-05 03:54:03 +00:00

Can get all the membership of a user

This commit is contained in:
2019-12-28 16:52:52 +01:00
parent fe11162953
commit 65d07f0f4a
6 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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
) {}
}