@typeolymp/utils 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  export declare enum NotificationType {
2
2
  STUDENT_UPGRADE_REQUEST = "studentUpgradeRequest",
3
3
  STUDENT_RESET_PASSWORD_REQUEST = "studentResetPasswordRequest",
4
+ STUDENT_COMPLETED_CHAPTER = "studentCompletedChapter",
5
+ STUDENT_EXAM_RESULT = "studentExamResult",
4
6
  TUTOR_INVITE = "tutorInvite"
5
7
  }
@@ -5,6 +5,8 @@ var NotificationType;
5
5
  (function (NotificationType) {
6
6
  NotificationType["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
7
7
  NotificationType["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
8
+ NotificationType["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
9
+ NotificationType["STUDENT_EXAM_RESULT"] = "studentExamResult";
8
10
  NotificationType["TUTOR_INVITE"] = "tutorInvite";
9
11
  })(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
10
12
  //# sourceMappingURL=NotificationType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationType.js","sourceRoot":"","sources":["../../src/enums/NotificationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qEAAiD,CAAA;IACjD,kFAA8D,CAAA;IAC9D,gDAA4B,CAAA;AAC9B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
1
+ {"version":3,"file":"NotificationType.js","sourceRoot":"","sources":["../../src/enums/NotificationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,qEAAiD,CAAA;IACjD,kFAA8D,CAAA;IAC9D,yEAAqD,CAAA;IACrD,6DAAyC,CAAA;IACzC,gDAA4B,CAAA;AAC9B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B"}
@@ -0,0 +1,7 @@
1
+ export declare enum TutorEmailPreference {
2
+ STUDENT_UPGRADE_REQUEST = "studentUpgradeRequest",
3
+ STUDENT_RESET_PASSWORD_REQUEST = "studentResetPasswordRequest",
4
+ STUDENT_COMPLETED_CHAPTER = "studentCompletedChapter",
5
+ STUDENT_EXAM_RESULT = "studentExamResult",
6
+ CLASSROOM_INVITATION = "classroomInvitation"
7
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TutorEmailPreference = void 0;
4
+ var TutorEmailPreference;
5
+ (function (TutorEmailPreference) {
6
+ TutorEmailPreference["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
7
+ TutorEmailPreference["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
8
+ TutorEmailPreference["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
9
+ TutorEmailPreference["STUDENT_EXAM_RESULT"] = "studentExamResult";
10
+ TutorEmailPreference["CLASSROOM_INVITATION"] = "classroomInvitation";
11
+ })(TutorEmailPreference = exports.TutorEmailPreference || (exports.TutorEmailPreference = {}));
12
+ //# sourceMappingURL=TutorEmailPreference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TutorEmailPreference.js","sourceRoot":"","sources":["../../src/enums/TutorEmailPreference.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,yEAAiD,CAAA;IACjD,sFAA8D,CAAA;IAC9D,6EAAqD,CAAA;IACrD,iEAAyC,CAAA;IACzC,oEAA4C,CAAA;AAC9C,CAAC,EANW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAM/B"}
@@ -14,3 +14,4 @@ export * from "./NodeEnv";
14
14
  export * from "./NotificationType";
15
15
  export * from "./Plan";
16
16
  export * from "./TextTopic";
17
+ export * from "./TutorEmailPreference";
@@ -30,4 +30,5 @@ __exportStar(require("./NodeEnv"), exports);
30
30
  __exportStar(require("./NotificationType"), exports);
31
31
  __exportStar(require("./Plan"), exports);
32
32
  __exportStar(require("./TextTopic"), exports);
33
+ __exportStar(require("./TutorEmailPreference"), exports);
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,oDAAkC;AAClC,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,qDAAmC;AACnC,yCAAuB;AACvB,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,oDAAkC;AAClC,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,qDAAmC;AACnC,yCAAuB;AACvB,8CAA4B;AAC5B,yDAAuC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeolymp/utils",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "author": "TypeOlymp",
5
5
  "main": "build/index",
6
6
  "files": ["./build"],
@@ -24,7 +24,7 @@
24
24
  "prepublishOnly": "npm run build"
25
25
  },
26
26
  "publishConfig": {
27
- "access": "restricted"
27
+ "access": "public"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^18.16.0",