import type { DomainType } from '../contstants'; import type { Role } from '../role'; import type { DomainEventBaseContext } from '../types-base'; import type { User } from '../user'; import type { Realm } from '../realm'; export interface UserRole { id: string; role_id: Role['id']; role: Role; role_realm_id: Realm['id'] | null; role_realm: Realm | null; user_id: User['id']; user: User; user_realm_id: Realm['id'] | null; user_realm: Realm | null; created_at: string; updated_at: string; } export type UserRoleEventContext = DomainEventBaseContext & { type: `${DomainType.USER_ROLE}`; data: UserRole; }; //# sourceMappingURL=types.d.ts.map