ENCOA-217: Adapted the invite system to now work based on Entities instead of Users/Groups
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user