import { Tenant } from 'src/types/tenant'; import { Subjects } from './subjects'; export interface RatingCreatedEvent { subject: Subjects.RatingCreated; data: { tenant: Tenant; targetId: string; orderId: string; authorId: string; authorNickName?: string; authorName?: string; text: string; criteria: { [key: string]: number; }; }; }