@colearn/microservices-kit
Advanced tools
Comparing version 0.0.57 to 0.0.58
@@ -5,3 +5,5 @@ export declare enum BrokerMessageType { | ||
ResetPasswordEmail = "ResetPasswordEmail", | ||
StartCleverSync = "StartCleverSync" | ||
StartCleverSync = "StartCleverSync", | ||
LearnerJourneySubmitted = "LearnerJourneySubmitted", | ||
LearnerJourneyPublshed = "LearnerJourneyPublshed" | ||
} | ||
@@ -37,2 +39,16 @@ export interface FamilyEmailMessage { | ||
} | ||
export type BrokerMessage = FamilyEmailMessage | WelcomeEmailMessage | ResetPasswordEmailMessage | StartCleverSyncMessage; | ||
export interface LearnerJourneySubmittedMessage { | ||
type: BrokerMessageType.LearnerJourneySubmitted; | ||
journeyId: number; | ||
personId: number; | ||
journeyName: string; | ||
token?: string; | ||
} | ||
export interface LearnerJourneyPublshedMessage { | ||
type: BrokerMessageType.LearnerJourneyPublshed; | ||
journeyId: number; | ||
personId: number; | ||
journeyName: string; | ||
token?: string; | ||
} | ||
export type BrokerMessage = FamilyEmailMessage | WelcomeEmailMessage | ResetPasswordEmailMessage | StartCleverSyncMessage | LearnerJourneySubmittedMessage | LearnerJourneyPublshedMessage; |
@@ -10,3 +10,5 @@ "use strict"; | ||
BrokerMessageType["StartCleverSync"] = "StartCleverSync"; | ||
BrokerMessageType["LearnerJourneySubmitted"] = "LearnerJourneySubmitted"; | ||
BrokerMessageType["LearnerJourneyPublshed"] = "LearnerJourneyPublshed"; | ||
})(BrokerMessageType || (exports.BrokerMessageType = BrokerMessageType = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@colearn/microservices-kit", | ||
"version": "0.0.57", | ||
"version": "0.0.58", | ||
"description": "colearn microservice kit", | ||
@@ -37,3 +37,3 @@ "author": "Colearn", | ||
"dependencies": { | ||
"@sentry/node": "^7.56.0", | ||
"@sentry/node": "^7.57.0", | ||
"body-parser": "^1.20.2", | ||
@@ -47,9 +47,9 @@ "express-jwt": "^8.3.0", | ||
"@types/express-jwt": "^7.4.2", | ||
"@types/node": "^20.3.2", | ||
"eslint": "^8.43.0", | ||
"@types/node": "^20.4.0", | ||
"eslint": "^8.44.0", | ||
"express": "^4.18.2", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.2.2", | ||
"lint-staged": "^13.2.3", | ||
"prettier": "^2.8.8", | ||
"typescript": "^5.1.5" | ||
"typescript": "^5.1.6" | ||
}, | ||
@@ -56,0 +56,0 @@ "lint-staged": { |
Sorry, the diff of this file is not supported yet
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
77913
1310
Updated@sentry/node@^7.57.0