@programisto/edrm-exams 0.1.5 → 0.1.6

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.
Files changed (27) hide show
  1. package/dist/modules/edrm-exams/listeners/correct.listener.d.ts +1 -1
  2. package/dist/modules/edrm-exams/listeners/correct.listener.js +1 -1
  3. package/dist/modules/edrm-exams/models/candidate.models.d.ts +1 -1
  4. package/dist/modules/edrm-exams/models/candidate.models.js +1 -1
  5. package/dist/modules/edrm-exams/models/company.model.d.ts +1 -1
  6. package/dist/modules/edrm-exams/models/company.model.js +1 -1
  7. package/dist/modules/edrm-exams/models/test-category.models.d.ts +1 -1
  8. package/dist/modules/edrm-exams/models/test-category.models.js +1 -1
  9. package/dist/modules/edrm-exams/models/test-question.model.d.ts +1 -1
  10. package/dist/modules/edrm-exams/models/test-question.model.js +1 -1
  11. package/dist/modules/edrm-exams/models/test-result.model.d.ts +1 -1
  12. package/dist/modules/edrm-exams/models/test-result.model.js +1 -1
  13. package/dist/modules/edrm-exams/models/test.model.d.ts +1 -1
  14. package/dist/modules/edrm-exams/models/test.model.js +1 -1
  15. package/dist/modules/edrm-exams/models/user.model.d.ts +1 -1
  16. package/dist/modules/edrm-exams/models/user.model.js +1 -1
  17. package/dist/modules/edrm-exams/routes/company.router.d.ts +1 -1
  18. package/dist/modules/edrm-exams/routes/company.router.js +1 -1
  19. package/dist/modules/edrm-exams/routes/exams-candidate.router.d.ts +1 -1
  20. package/dist/modules/edrm-exams/routes/exams-candidate.router.js +1 -1
  21. package/dist/modules/edrm-exams/routes/exams.router.d.ts +1 -1
  22. package/dist/modules/edrm-exams/routes/exams.router.js +1 -1
  23. package/dist/modules/edrm-exams/routes/result.router.d.ts +1 -1
  24. package/dist/modules/edrm-exams/routes/result.router.js +1 -1
  25. package/dist/modules/edrm-exams/routes/user.router.d.ts +1 -1
  26. package/dist/modules/edrm-exams/routes/user.router.js +1 -1
  27. package/package.json +2 -4
@@ -1,2 +1,2 @@
1
- import { enduranceListener } from 'endurance-core';
1
+ import { enduranceListener } from '@programisto/endurance-core';
2
2
  export default enduranceListener;
@@ -1,4 +1,4 @@
1
- import { enduranceListener, enduranceEventTypes } from 'endurance-core';
1
+ import { enduranceListener, enduranceEventTypes } from '@programisto/endurance-core';
2
2
  import TestQuestion from '../models/test-question.model.js';
3
3
  import { generateLiveMessage } from '../lib/openai.js';
4
4
  import TestResult, { TestState } from '../models/test-result.model.js';
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  declare class Candidate extends EnduranceSchema {
3
3
  firstName: string;
4
4
  lastName: string;
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  let Candidate = class Candidate extends EnduranceSchema {
12
12
  firstName;
13
13
  lastName;
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  declare class Company extends EnduranceSchema {
3
3
  name: string;
4
4
  logo: string;
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  let Company = class Company extends EnduranceSchema {
12
12
  name;
13
13
  logo;
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  declare class TestCategory extends EnduranceSchema {
3
3
  name: string;
4
4
  static getModel(): import("@typegoose/typegoose").ReturnModelType<typeof TestCategory, import("@typegoose/typegoose/lib/types").BeAnObject>;
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  let TestCategory = class TestCategory extends EnduranceSchema {
12
12
  name;
13
13
  static getModel() {
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  declare enum QuestionType {
3
3
  MCQ = "MCQ",
4
4
  FreeQuestion = "free question",
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  var QuestionType;
12
12
  (function (QuestionType) {
13
13
  // eslint-disable-next-line no-unused-vars
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema, ObjectId } from 'endurance-core';
1
+ import { EnduranceSchema, ObjectId } from '@programisto/endurance-core';
2
2
  import Test from './test.model.js';
3
3
  import User from './user.model.js';
4
4
  export declare enum TestState {
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  import Test from './test.model.js';
12
12
  import User from './user.model.js';
13
13
  export var TestState;
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  import Company from './company.model.js';
3
3
  import TestQuestion from './test-question.model.js';
4
4
  import TestCategory from './test-category.models.js';
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  import Company from './company.model.js';
12
12
  import User from './user.model.js';
13
13
  var TestState;
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from 'endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance-core';
2
2
  import Company from './company.model.js';
3
3
  declare enum UserRole {
4
4
  Admin = "admin",
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { EnduranceSchema, EnduranceModelType } from 'endurance-core';
10
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
11
  import Company from './company.model.js';
12
12
  var UserRole;
13
13
  (function (UserRole) {
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from 'endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance-core';
2
2
  declare class CompanyRouter extends EnduranceRouter {
3
3
  constructor();
4
4
  setupRoutes(): void;
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter, EnduranceAuthMiddleware } from 'endurance-core';
1
+ import { EnduranceRouter, EnduranceAuthMiddleware } from '@programisto/endurance-core';
2
2
  import Company from '../models/company.model.js';
3
3
  import User from '../models/user.model.js';
4
4
  class CompanyRouter extends EnduranceRouter {
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from 'endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance-core';
2
2
  declare class CandidateRouter extends EnduranceRouter {
3
3
  constructor();
4
4
  setupRoutes(): void;
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter, enduranceEventTypes } from 'endurance-core';
1
+ import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter, enduranceEventTypes } from '@programisto/endurance-core';
2
2
  import CandidateModel from '../models/candidate.models.js';
3
3
  import TestResult from '../models/test-result.model.js';
4
4
  import Test from '../models/test.model.js';
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from 'endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance-core';
2
2
  declare class ExamsRouter extends EnduranceRouter {
3
3
  constructor();
4
4
  setupRoutes(): void;
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter as emitter, enduranceEventTypes as eventTypes } from 'endurance-core';
1
+ import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter as emitter, enduranceEventTypes as eventTypes } from '@programisto/endurance-core';
2
2
  import Test from '../models/test.model.js';
3
3
  import TestQuestion from '../models/test-question.model.js';
4
4
  import TestResult from '../models/test-result.model.js';
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from 'endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance-core';
2
2
  declare class ResultRouter extends EnduranceRouter {
3
3
  constructor();
4
4
  setupRoutes(): void;
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter, enduranceEventTypes } from 'endurance-core';
1
+ import { EnduranceRouter, EnduranceAuthMiddleware, enduranceEmitter, enduranceEventTypes } from '@programisto/endurance-core';
2
2
  import CandidateModel from '../models/candidate.models.js';
3
3
  import TestResult, { TestState } from '../models/test-result.model.js';
4
4
  import Test from '../models/test.model.js';
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from 'endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance-core';
2
2
  declare class UserRouter extends EnduranceRouter {
3
3
  constructor();
4
4
  setupRoutes(): void;
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter, EnduranceAuthMiddleware } from 'endurance-core';
1
+ import { EnduranceRouter, EnduranceAuthMiddleware } from '@programisto/endurance-core';
2
2
  import User from '../models/user.model.js';
3
3
  class UserRouter extends EnduranceRouter {
4
4
  constructor() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@programisto/edrm-exams",
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -19,9 +19,7 @@
19
19
  "dependencies": {
20
20
  "aws-sdk": "^2.1692.0",
21
21
  "debug": "^4.3.7",
22
- "edrm-mailer": "^0.4.5",
23
- "edrm-user": "^0.4.9",
24
- "endurance-core": "^0.4.25",
22
+ "@programisto/endurance-core": "^0.5.6",
25
23
  "fs": "^0.0.1-security",
26
24
  "http": "^0.0.1-security",
27
25
  "jsonwebtoken": "^9.0.2",