@studyportals/student-interfaces
Advanced tools
Comparing version 2.0.0-beta.0 to 2.1.0-beta.2
{ | ||
"name": "@studyportals/student-interfaces", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.1.0-beta.2", | ||
"description": "The interfaces exposed by StudentJS", | ||
@@ -23,4 +23,4 @@ "main": "bin/index.js", | ||
"dependencies": { | ||
"@studyportals/wishlist-service-core": "^4.5.0" | ||
"@studyportals/wishlist-service-core": "^6.0.1" | ||
} | ||
} |
@@ -6,2 +6,3 @@ import { ITokenBasedSession } from '..'; | ||
readonly timestamp: Date; | ||
readonly eventType: SessionServiceEventType; | ||
readonly session: ITokenBasedSession; | ||
@@ -8,0 +9,0 @@ static EventType: SessionServiceEventType; |
import { SessionServiceEventType } from '../enums/event-types'; | ||
export class SessionCreatedEvent { | ||
constructor(session) { | ||
this.eventType = SessionCreatedEvent.EventType; | ||
this.timestamp = new Date(); | ||
@@ -5,0 +6,0 @@ this.session = session; |
@@ -5,4 +5,5 @@ import { IEvent } from '../../event-aggregation-service'; | ||
readonly timestamp: Date; | ||
readonly eventType: SessionServiceEventType; | ||
static EventType: SessionServiceEventType; | ||
constructor(); | ||
} |
import { SessionServiceEventType } from '../enums/event-types'; | ||
export class SessionDestroyedEvent { | ||
constructor() { | ||
this.eventType = SessionDestroyedEvent.EventType; | ||
this.timestamp = new Date(); | ||
@@ -5,0 +6,0 @@ } |
@@ -5,2 +5,3 @@ import { IEvent } from "../../event-aggregation-service"; | ||
readonly timestamp: Date; | ||
readonly eventType: string; | ||
readonly sessionService: ITokenBasedSessionService; | ||
@@ -7,0 +8,0 @@ static EventType: string; |
import { SessionServiceEventType } from "../enums/event-types"; | ||
export class SessionServiceReadyEvent { | ||
constructor(sessionService) { | ||
this.eventType = SessionServiceReadyEvent.EventType; | ||
this.timestamp = new Date(); | ||
@@ -5,0 +6,0 @@ this.sessionService = sessionService; |
9748
198
+ Added@studyportals/domain-client@3.39.0(transitive)
+ Added@studyportals/wishlist-service-core@6.0.1(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removed@studyportals/wishlist-service-core@4.6.0(transitive)
- Removedinversify@4.14.0(transitive)