ENCOA-217: Adapted the invite system to now work based on Entities instead of Users/Groups

This commit is contained in:
Tiago Ribeiro
2024-11-05 10:40:33 +00:00
parent df41611093
commit e8b56485ee
10 changed files with 63 additions and 102 deletions

View File

@@ -1,11 +1,12 @@
import {User} from "./user";
import { Entity } from "./entity";
export interface Invite {
id: string;
from: string;
entity: string;
from: string
to: string;
}
export interface InviteWithUsers extends Omit<Invite, "from"> {
from?: User;
export interface InviteWithEntity extends Omit<Invite, "entity"> {
entity?: Entity;
}