UNPKG

anonymous-student

Version:

Anonymous student is used to retrieve and save information from our website users.

17 lines (14 loc) 603 B
import { IEvent } from '@studyportals/event-aggregation-service-interface'; import { IStudent } from '@studyportals/studentdomain'; import { EventType, StudentRepositoryStateType } from '../enumerations'; export class AnonymousStudentProfileUpdated implements IEvent { public static EventType: string = EventType.AnonymousStudentProfileUpdated; public eventType: string = AnonymousStudentProfileUpdated.EventType; constructor( public readonly timestamp: Date, public readonly state: StudentRepositoryStateType, public readonly changes: IStudent, public readonly isLocal: boolean, ) { } }