@studyportals/anonymous-student-interfaces
Advanced tools
Comparing version 1.1.1 to 2.0.1
@@ -1,7 +0,6 @@ | ||
import { StudentData } from '../DTOs/student-data'; | ||
import { InterestType } from '../enumerations/interest-type'; | ||
import { StudentField } from '../enumerations/student-field'; | ||
import { IStudent, StudentField } from '@studyportals/studentdomain'; | ||
import { InterestType } from '../enumerations'; | ||
export interface IAnonymousStudentService { | ||
setStudentData(studentData: StudentData): Promise<void>; | ||
getStudentData(studentFields: StudentField[]): Promise<StudentData>; | ||
setStudentData(studentData: IStudent): Promise<void>; | ||
getStudentData(studentFields: StudentField[]): Promise<IStudent>; | ||
getStudentDataCompleteness(studentFields: StudentField[]): Promise<number>; | ||
@@ -8,0 +7,0 @@ addDisciplines(ids: number[]): Promise<void>; |
export * from './event-type'; | ||
export * from './interest-type'; | ||
export * from './student-field'; | ||
export * from './student-repository-state-type'; |
@@ -8,3 +8,2 @@ "use strict"; | ||
__export(require("./interest-type")); | ||
__export(require("./student-field")); | ||
__export(require("./student-repository-state-type")); |
import { IEvent } from '@studyportals/student-interfaces'; | ||
import { StudentData } from '../DTOs/student-data'; | ||
import { StudentRepositoryStateType } from '../enumerations/student-repository-state-type'; | ||
import { IStudent } from '@studyportals/studentdomain'; | ||
import { StudentRepositoryStateType } from '../enumerations'; | ||
export declare class AnonymousStudentProfileUpdated implements IEvent { | ||
readonly timestamp: Date; | ||
readonly state: StudentRepositoryStateType; | ||
readonly changes: StudentData; | ||
readonly changes: IStudent; | ||
static EventType: string; | ||
constructor(timestamp: Date, state: StudentRepositoryStateType, changes: StudentData); | ||
constructor(timestamp: Date, state: StudentRepositoryStateType, changes: IStudent); | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const event_type_1 = require("../enumerations/event-type"); | ||
const enumerations_1 = require("../enumerations"); | ||
class AnonymousStudentProfileUpdated { | ||
@@ -12,2 +12,2 @@ constructor(timestamp, state, changes) { | ||
exports.AnonymousStudentProfileUpdated = AnonymousStudentProfileUpdated; | ||
AnonymousStudentProfileUpdated.EventType = event_type_1.EventType.AnonymousStudentProfileUpdated; | ||
AnonymousStudentProfileUpdated.EventType = enumerations_1.EventType.AnonymousStudentProfileUpdated; |
export * from './application'; | ||
export * from './DTOs'; | ||
export * from './enumerations'; | ||
export * from './events'; |
{ | ||
"name": "@studyportals/anonymous-student-interfaces", | ||
"version": "1.1.1", | ||
"version": "2.0.1", | ||
"description": "The interfaces exposed by Anonymous student", | ||
@@ -22,4 +22,5 @@ "main": "bin/index.js", | ||
"dependencies": { | ||
"@studyportals/student-interfaces": "^1.1.4" | ||
"@studyportals/student-interfaces": "^1.1.4", | ||
"@studyportals/studentdomain": "^1.1.1" | ||
} | ||
} |
6487
2
21
124
+ Added@studyportals/studentdomain@1.4.0(transitive)
+ Addedtypescript@4.9.5(transitive)