Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studyportals/anonymous-student-interfaces

Package Overview
Dependencies
Maintainers
12
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/anonymous-student-interfaces - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

14

application/index.js

@@ -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';

7

enumerations/event-type.js

@@ -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';

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc