@studyportals/anonymous-student-interfaces
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -1,13 +0,1 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./anonymous-student-service.interface"), exports); | ||
export * from './anonymous-student-service.interface'; |
@@ -1,5 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EventType = void 0; | ||
var EventType; | ||
export var EventType; | ||
(function (EventType) { | ||
@@ -9,2 +6,2 @@ EventType["AnonymousStudentServiceReady"] = "anonymous-student-service-ready"; | ||
EventType["AnonymousStudentProfileSynced"] = "anonymous-student-profile-synced"; | ||
})(EventType = exports.EventType || (exports.EventType = {})); | ||
})(EventType || (EventType = {})); |
@@ -1,15 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./event-type"), exports); | ||
__exportStar(require("./interest-type"), exports); | ||
__exportStar(require("./student-repository-state-type"), exports); | ||
export * from './event-type'; | ||
export * from './interest-type'; | ||
export * from './student-repository-state-type'; |
@@ -1,8 +0,5 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InterestType = void 0; | ||
var InterestType; | ||
export var InterestType; | ||
(function (InterestType) { | ||
InterestType["COUNTRY"] = "interests_countries"; | ||
InterestType["DISCIPLINE"] = "interests_disciplines"; | ||
})(InterestType = exports.InterestType || (exports.InterestType = {})); | ||
})(InterestType || (InterestType = {})); |
@@ -1,5 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StudentRepositoryStateType = void 0; | ||
var StudentRepositoryStateType; | ||
export var StudentRepositoryStateType; | ||
(function (StudentRepositoryStateType) { | ||
@@ -9,2 +6,2 @@ StudentRepositoryStateType[StudentRepositoryStateType["PENDING"] = 0] = "PENDING"; | ||
StudentRepositoryStateType[StudentRepositoryStateType["OFFLINE"] = 2] = "OFFLINE"; | ||
})(StudentRepositoryStateType = exports.StudentRepositoryStateType || (exports.StudentRepositoryStateType = {})); | ||
})(StudentRepositoryStateType || (StudentRepositoryStateType = {})); |
@@ -7,3 +7,4 @@ import { IEvent } from '@studyportals/student-interfaces'; | ||
static EventType: string; | ||
eventType: string; | ||
constructor(timestamp: Date, state: StudentRepositoryStateType); | ||
} |
@@ -1,12 +0,9 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AnonymousStudentProfileSynced = void 0; | ||
const event_type_1 = require("../enumerations/event-type"); | ||
class AnonymousStudentProfileSynced { | ||
import { EventType } from '../enumerations/event-type'; | ||
export class AnonymousStudentProfileSynced { | ||
constructor(timestamp, state) { | ||
this.timestamp = timestamp; | ||
this.state = state; | ||
this.eventType = AnonymousStudentProfileSynced.EventType; | ||
} | ||
} | ||
exports.AnonymousStudentProfileSynced = AnonymousStudentProfileSynced; | ||
AnonymousStudentProfileSynced.EventType = event_type_1.EventType.AnonymousStudentProfileSynced; | ||
AnonymousStudentProfileSynced.EventType = EventType.AnonymousStudentProfileSynced; |
@@ -9,3 +9,4 @@ import { IEvent } from '@studyportals/student-interfaces'; | ||
static EventType: string; | ||
eventType: string; | ||
constructor(timestamp: Date, state: StudentRepositoryStateType, changes: IStudent); | ||
} |
@@ -1,6 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AnonymousStudentProfileUpdated = void 0; | ||
const enumerations_1 = require("../enumerations"); | ||
class AnonymousStudentProfileUpdated { | ||
import { EventType } from '../enumerations'; | ||
export class AnonymousStudentProfileUpdated { | ||
constructor(timestamp, state, changes) { | ||
@@ -10,5 +7,5 @@ this.timestamp = timestamp; | ||
this.changes = changes; | ||
this.eventType = AnonymousStudentProfileUpdated.EventType; | ||
} | ||
} | ||
exports.AnonymousStudentProfileUpdated = AnonymousStudentProfileUpdated; | ||
AnonymousStudentProfileUpdated.EventType = enumerations_1.EventType.AnonymousStudentProfileUpdated; | ||
AnonymousStudentProfileUpdated.EventType = EventType.AnonymousStudentProfileUpdated; |
@@ -5,2 +5,3 @@ import { IEvent } from '@studyportals/student-interfaces'; | ||
static EventType: string; | ||
eventType: string; | ||
readonly timestamp: Date; | ||
@@ -7,0 +8,0 @@ readonly anonymousStudentService: IAnonymousStudentService; |
@@ -1,7 +0,5 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AnonymousStudentServiceReady = void 0; | ||
const event_type_1 = require("../enumerations/event-type"); | ||
class AnonymousStudentServiceReady { | ||
import { EventType } from '../enumerations'; | ||
export class AnonymousStudentServiceReady { | ||
constructor(anonymousStudentService) { | ||
this.eventType = AnonymousStudentServiceReady.EventType; | ||
this.timestamp = new Date(); | ||
@@ -11,3 +9,2 @@ this.anonymousStudentService = anonymousStudentService; | ||
} | ||
exports.AnonymousStudentServiceReady = AnonymousStudentServiceReady; | ||
AnonymousStudentServiceReady.EventType = event_type_1.EventType.AnonymousStudentServiceReady; | ||
AnonymousStudentServiceReady.EventType = EventType.AnonymousStudentServiceReady; |
@@ -1,15 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./anonymous-student-profile-synced"), exports); | ||
__exportStar(require("./anonymous-student-profile-updated"), exports); | ||
__exportStar(require("./anonymous-student-service-ready"), exports); | ||
export * from './anonymous-student-profile-synced'; | ||
export * from './anonymous-student-profile-updated'; | ||
export * from './anonymous-student-service-ready'; |
18
index.js
@@ -1,15 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./application"), exports); | ||
__exportStar(require("./enumerations"), exports); | ||
__exportStar(require("./events"), exports); | ||
export * from './application'; | ||
export * from './enumerations'; | ||
export * from './events'; |
{ | ||
"name": "@studyportals/anonymous-student-interfaces", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "The interfaces exposed by Anonymous student", | ||
@@ -23,5 +23,5 @@ "main": "bin/index.js", | ||
"dependencies": { | ||
"@studyportals/student-interfaces": "^1.3.0", | ||
"@studyportals/student-interfaces": "^2.1.0", | ||
"@studyportals/studentdomain": "^1.3.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6604
121
+ Added@studyportals/domain-client@3.39.0(transitive)
+ Added@studyportals/student-interfaces@2.2.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/student-interfaces@1.3.1(transitive)
- Removed@studyportals/wishlist-service-core@4.6.0(transitive)
- Removedinversify@4.14.0(transitive)