5f024eb1f7
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
18 lines
357 B
TypeScript
18 lines
357 B
TypeScript
import { Event } from "authentik-api";
|
|
|
|
export interface EventUser {
|
|
pk: number;
|
|
email?: string;
|
|
username: string;
|
|
on_behalf_of?: EventUser;
|
|
}
|
|
|
|
export interface EventContext {
|
|
[key: string]: EventContext | string | number | string[];
|
|
}
|
|
|
|
export interface EventWithContext extends Event {
|
|
user: EventUser;
|
|
context: EventContext;
|
|
}
|