1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-25 23:09:22 +00:00
comunicapiv2/src/entities/UserMembershipEntry.ts

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
) {}
}