@tudopz/model 2.26.4 → 3.0.0-dev.10

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 (38) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
  3. package/src/constant/neo-test.d.ts +7 -0
  4. package/src/constant/neo-test.js +11 -0
  5. package/src/constant/neo-test.js.map +1 -0
  6. package/src/constants.d.ts +17 -16
  7. package/src/constants.js +18 -63
  8. package/src/constants.js.map +1 -1
  9. package/src/enums.d.ts +22 -19
  10. package/src/enums.js +23 -51
  11. package/src/enums.js.map +1 -1
  12. package/src/model/neo-tag.d.ts +12 -0
  13. package/src/model/neo-tag.js +38 -0
  14. package/src/model/neo-tag.js.map +1 -0
  15. package/src/model/neo-test-flow.d.ts +28 -0
  16. package/src/model/neo-test-flow.js +17 -0
  17. package/src/model/neo-test-flow.js.map +1 -0
  18. package/src/model/neo-test-question-answer.d.ts +8 -0
  19. package/src/model/neo-test-question-answer.js +34 -0
  20. package/src/model/neo-test-question-answer.js.map +1 -0
  21. package/src/model/neo-test-question-category.d.ts +8 -0
  22. package/src/model/neo-test-question-category.js +33 -0
  23. package/src/model/neo-test-question-category.js.map +1 -0
  24. package/src/model/neo-test-question.d.ts +30 -0
  25. package/src/model/neo-test-question.js +99 -0
  26. package/src/model/neo-test-question.js.map +1 -0
  27. package/src/model/neo-test-section-to-question.d.ts +9 -0
  28. package/src/model/neo-test-section-to-question.js +36 -0
  29. package/src/model/neo-test-section-to-question.js.map +1 -0
  30. package/src/model/neo-test-section.d.ts +10 -0
  31. package/src/model/neo-test-section.js +39 -0
  32. package/src/model/neo-test-section.js.map +1 -0
  33. package/src/model/neo-test.d.ts +19 -0
  34. package/src/model/neo-test.js +59 -0
  35. package/src/model/neo-test.js.map +1 -0
  36. package/src/models.d.ts +66 -58
  37. package/src/models.js +67 -128
  38. package/src/models.js.map +1 -1
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Changelogs
4
4
 
5
+ ### v2.26.4
6
+
7
+ - Add `TEMP_SAT` service and `TempSATReport`
8
+
5
9
  ### v2.26.0
6
10
 
7
11
  - Add more `USER_ROLE`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tudopz/model",
3
- "version": "2.26.4",
3
+ "version": "3.0.0-dev.10",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -0,0 +1,7 @@
1
+ export declare const NEO_TEST_QUESTION_TYPE_VALUES: {
2
+ mcq: string;
3
+ 'key-in': string;
4
+ };
5
+ export declare const NEO_TEST_QUESTION_DIFFICULTY_VALUES: string[];
6
+ export declare const NEO_TAG_TYPE_VALUES: string[];
7
+ export declare const NEO_TEST_STATUS_VALUES: string[];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NEO_TEST_STATUS_VALUES = exports.NEO_TAG_TYPE_VALUES = exports.NEO_TEST_QUESTION_DIFFICULTY_VALUES = exports.NEO_TEST_QUESTION_TYPE_VALUES = void 0;
4
+ exports.NEO_TEST_QUESTION_TYPE_VALUES = {
5
+ mcq: 'MCQ',
6
+ 'key-in': 'Key-in',
7
+ };
8
+ exports.NEO_TEST_QUESTION_DIFFICULTY_VALUES = ['Easy', 'Medium', 'Hard'];
9
+ exports.NEO_TAG_TYPE_VALUES = ['Domain', 'Skill'];
10
+ exports.NEO_TEST_STATUS_VALUES = ['Draft', 'Published', 'Inactive'];
11
+ //# sourceMappingURL=neo-test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"neo-test.js","sourceRoot":"","sources":["../../../../../libs/model/src/constant/neo-test.ts"],"names":[],"mappings":";;;AAAa,QAAA,6BAA6B,GAAG;IAC3C,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,QAAQ;CACnB,CAAC;AACW,QAAA,mCAAmC,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;AACjE,QAAA,mBAAmB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAC1C,QAAA,sBAAsB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC"}
@@ -1,16 +1,17 @@
1
- export { CONVERSION_TABLE_TYPE_VALUES } from './constant/conversion-table';
2
- export { COUNTRY_VALUES } from './constant/country';
3
- export { DIMENSION_TYPE_VALUES, DIMENSION_CATEGORY_VALUES } from './constant/dimension';
4
- export { EVENT_CATEGORY_VALUES, EVENT_VISIBILITY_VALUES, EVENT_STATUS_VALUES, } from './constant/event';
5
- export { EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES } from './constant/extracurricular-activity';
6
- export { GUARDIAN_RELATIONSHIP_VALUES } from './constant/guardian';
7
- export { NATIONALITY_VALUES } from './constant/nationality';
8
- export { LEAD_FORM_ASSIGNMENT_VALUES, LEAD_FORM_FIELD_TYPE_VALUES, LEAD_FORM_FIELD_VALIDATION_VALUES, } from './constant/lead-form';
9
- export { LEAD_QUALITY_VALUES } from './constant/lead';
10
- export { OFFICE_VALUES, ROOMS } from './constant/location';
11
- export { SALE_PAYMENT_MODE_VALUES, SALE_PAYMENT_TYPE_VALUES, SALE_TYPE_VALUES, SALE_SUB_TYPE_VALUES, } from './constant/sale';
12
- export { EDUCATION_SYSTEM_VALUES, SCHOOL_VALUES, COURSES, COURSE_SUBJECTS, AREA_OF_STUDIES, } from './constant/school';
13
- export { STUDENT_SERVICE_VALUES, UNDERGRAD_TEST_SERVICES, UNDERGRAD_ADMISSIONS_SERVICES, POSTGRAD_TEST_SERVICES, POSTGRAD_ADMISSIONS_SERVICES, SCHOOL_CURRICULUM_SERVICES, ENGLISH_PROFICIENCY_SERVICES, ENRICHMENT_SERVICES, NO_TARGETS, TEST_PREP_TARGETS, ADMISSIONS_TARGETS, UNDERGRAD_ALL_SERVICES, POSTGRAD_ALL_SERVICES, ALL_ADMISSIONS_SERVICES, ALL_TEST_PREPS_SERVICES, } from './constant/student-service';
14
- export { SUBJECT_VALUES } from './constant/subject';
15
- export { UNI_PREF_SIZES, UNI_PREF_SETTINGS, UNI_PREF_LOCATIONS, } from './constant/university-preference';
16
- export { USER_STATUS_VALUES, USER_ROLE_VALUES } from './constant/user';
1
+ export * from './constant/conversion-table';
2
+ export * from './constant/country';
3
+ export * from './constant/dimension';
4
+ export * from './constant/event';
5
+ export * from './constant/extracurricular-activity';
6
+ export * from './constant/guardian';
7
+ export * from './constant/nationality';
8
+ export * from './constant/lead-form';
9
+ export * from './constant/lead';
10
+ export * from './constant/location';
11
+ export * from './constant/sale';
12
+ export * from './constant/school';
13
+ export * from './constant/student-service';
14
+ export * from './constant/subject';
15
+ export * from './constant/university-preference';
16
+ export * from './constant/user';
17
+ export * from './constant/neo-test';
package/src/constants.js CHANGED
@@ -1,66 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.USER_ROLE_VALUES = exports.USER_STATUS_VALUES = exports.UNI_PREF_LOCATIONS = exports.UNI_PREF_SETTINGS = exports.UNI_PREF_SIZES = exports.SUBJECT_VALUES = exports.ALL_TEST_PREPS_SERVICES = exports.ALL_ADMISSIONS_SERVICES = exports.POSTGRAD_ALL_SERVICES = exports.UNDERGRAD_ALL_SERVICES = exports.ADMISSIONS_TARGETS = exports.TEST_PREP_TARGETS = exports.NO_TARGETS = exports.ENRICHMENT_SERVICES = exports.ENGLISH_PROFICIENCY_SERVICES = exports.SCHOOL_CURRICULUM_SERVICES = exports.POSTGRAD_ADMISSIONS_SERVICES = exports.POSTGRAD_TEST_SERVICES = exports.UNDERGRAD_ADMISSIONS_SERVICES = exports.UNDERGRAD_TEST_SERVICES = exports.STUDENT_SERVICE_VALUES = exports.AREA_OF_STUDIES = exports.COURSE_SUBJECTS = exports.COURSES = exports.SCHOOL_VALUES = exports.EDUCATION_SYSTEM_VALUES = exports.SALE_SUB_TYPE_VALUES = exports.SALE_TYPE_VALUES = exports.SALE_PAYMENT_TYPE_VALUES = exports.SALE_PAYMENT_MODE_VALUES = exports.ROOMS = exports.OFFICE_VALUES = exports.LEAD_QUALITY_VALUES = exports.LEAD_FORM_FIELD_VALIDATION_VALUES = exports.LEAD_FORM_FIELD_TYPE_VALUES = exports.LEAD_FORM_ASSIGNMENT_VALUES = exports.NATIONALITY_VALUES = exports.GUARDIAN_RELATIONSHIP_VALUES = exports.EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES = exports.EVENT_STATUS_VALUES = exports.EVENT_VISIBILITY_VALUES = exports.EVENT_CATEGORY_VALUES = exports.DIMENSION_CATEGORY_VALUES = exports.DIMENSION_TYPE_VALUES = exports.COUNTRY_VALUES = exports.CONVERSION_TABLE_TYPE_VALUES = void 0;
4
- var conversion_table_1 = require("./constant/conversion-table");
5
- Object.defineProperty(exports, "CONVERSION_TABLE_TYPE_VALUES", { enumerable: true, get: function () { return conversion_table_1.CONVERSION_TABLE_TYPE_VALUES; } });
6
- var country_1 = require("./constant/country");
7
- Object.defineProperty(exports, "COUNTRY_VALUES", { enumerable: true, get: function () { return country_1.COUNTRY_VALUES; } });
8
- var dimension_1 = require("./constant/dimension");
9
- Object.defineProperty(exports, "DIMENSION_TYPE_VALUES", { enumerable: true, get: function () { return dimension_1.DIMENSION_TYPE_VALUES; } });
10
- Object.defineProperty(exports, "DIMENSION_CATEGORY_VALUES", { enumerable: true, get: function () { return dimension_1.DIMENSION_CATEGORY_VALUES; } });
11
- var event_1 = require("./constant/event");
12
- Object.defineProperty(exports, "EVENT_CATEGORY_VALUES", { enumerable: true, get: function () { return event_1.EVENT_CATEGORY_VALUES; } });
13
- Object.defineProperty(exports, "EVENT_VISIBILITY_VALUES", { enumerable: true, get: function () { return event_1.EVENT_VISIBILITY_VALUES; } });
14
- Object.defineProperty(exports, "EVENT_STATUS_VALUES", { enumerable: true, get: function () { return event_1.EVENT_STATUS_VALUES; } });
15
- var extracurricular_activity_1 = require("./constant/extracurricular-activity");
16
- Object.defineProperty(exports, "EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES", { enumerable: true, get: function () { return extracurricular_activity_1.EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES; } });
17
- var guardian_1 = require("./constant/guardian");
18
- Object.defineProperty(exports, "GUARDIAN_RELATIONSHIP_VALUES", { enumerable: true, get: function () { return guardian_1.GUARDIAN_RELATIONSHIP_VALUES; } });
19
- var nationality_1 = require("./constant/nationality");
20
- Object.defineProperty(exports, "NATIONALITY_VALUES", { enumerable: true, get: function () { return nationality_1.NATIONALITY_VALUES; } });
21
- var lead_form_1 = require("./constant/lead-form");
22
- Object.defineProperty(exports, "LEAD_FORM_ASSIGNMENT_VALUES", { enumerable: true, get: function () { return lead_form_1.LEAD_FORM_ASSIGNMENT_VALUES; } });
23
- Object.defineProperty(exports, "LEAD_FORM_FIELD_TYPE_VALUES", { enumerable: true, get: function () { return lead_form_1.LEAD_FORM_FIELD_TYPE_VALUES; } });
24
- Object.defineProperty(exports, "LEAD_FORM_FIELD_VALIDATION_VALUES", { enumerable: true, get: function () { return lead_form_1.LEAD_FORM_FIELD_VALIDATION_VALUES; } });
25
- var lead_1 = require("./constant/lead");
26
- Object.defineProperty(exports, "LEAD_QUALITY_VALUES", { enumerable: true, get: function () { return lead_1.LEAD_QUALITY_VALUES; } });
27
- var location_1 = require("./constant/location");
28
- Object.defineProperty(exports, "OFFICE_VALUES", { enumerable: true, get: function () { return location_1.OFFICE_VALUES; } });
29
- Object.defineProperty(exports, "ROOMS", { enumerable: true, get: function () { return location_1.ROOMS; } });
30
- var sale_1 = require("./constant/sale");
31
- Object.defineProperty(exports, "SALE_PAYMENT_MODE_VALUES", { enumerable: true, get: function () { return sale_1.SALE_PAYMENT_MODE_VALUES; } });
32
- Object.defineProperty(exports, "SALE_PAYMENT_TYPE_VALUES", { enumerable: true, get: function () { return sale_1.SALE_PAYMENT_TYPE_VALUES; } });
33
- Object.defineProperty(exports, "SALE_TYPE_VALUES", { enumerable: true, get: function () { return sale_1.SALE_TYPE_VALUES; } });
34
- Object.defineProperty(exports, "SALE_SUB_TYPE_VALUES", { enumerable: true, get: function () { return sale_1.SALE_SUB_TYPE_VALUES; } });
35
- var school_1 = require("./constant/school");
36
- Object.defineProperty(exports, "EDUCATION_SYSTEM_VALUES", { enumerable: true, get: function () { return school_1.EDUCATION_SYSTEM_VALUES; } });
37
- Object.defineProperty(exports, "SCHOOL_VALUES", { enumerable: true, get: function () { return school_1.SCHOOL_VALUES; } });
38
- Object.defineProperty(exports, "COURSES", { enumerable: true, get: function () { return school_1.COURSES; } });
39
- Object.defineProperty(exports, "COURSE_SUBJECTS", { enumerable: true, get: function () { return school_1.COURSE_SUBJECTS; } });
40
- Object.defineProperty(exports, "AREA_OF_STUDIES", { enumerable: true, get: function () { return school_1.AREA_OF_STUDIES; } });
41
- var student_service_1 = require("./constant/student-service");
42
- Object.defineProperty(exports, "STUDENT_SERVICE_VALUES", { enumerable: true, get: function () { return student_service_1.STUDENT_SERVICE_VALUES; } });
43
- Object.defineProperty(exports, "UNDERGRAD_TEST_SERVICES", { enumerable: true, get: function () { return student_service_1.UNDERGRAD_TEST_SERVICES; } });
44
- Object.defineProperty(exports, "UNDERGRAD_ADMISSIONS_SERVICES", { enumerable: true, get: function () { return student_service_1.UNDERGRAD_ADMISSIONS_SERVICES; } });
45
- Object.defineProperty(exports, "POSTGRAD_TEST_SERVICES", { enumerable: true, get: function () { return student_service_1.POSTGRAD_TEST_SERVICES; } });
46
- Object.defineProperty(exports, "POSTGRAD_ADMISSIONS_SERVICES", { enumerable: true, get: function () { return student_service_1.POSTGRAD_ADMISSIONS_SERVICES; } });
47
- Object.defineProperty(exports, "SCHOOL_CURRICULUM_SERVICES", { enumerable: true, get: function () { return student_service_1.SCHOOL_CURRICULUM_SERVICES; } });
48
- Object.defineProperty(exports, "ENGLISH_PROFICIENCY_SERVICES", { enumerable: true, get: function () { return student_service_1.ENGLISH_PROFICIENCY_SERVICES; } });
49
- Object.defineProperty(exports, "ENRICHMENT_SERVICES", { enumerable: true, get: function () { return student_service_1.ENRICHMENT_SERVICES; } });
50
- Object.defineProperty(exports, "NO_TARGETS", { enumerable: true, get: function () { return student_service_1.NO_TARGETS; } });
51
- Object.defineProperty(exports, "TEST_PREP_TARGETS", { enumerable: true, get: function () { return student_service_1.TEST_PREP_TARGETS; } });
52
- Object.defineProperty(exports, "ADMISSIONS_TARGETS", { enumerable: true, get: function () { return student_service_1.ADMISSIONS_TARGETS; } });
53
- Object.defineProperty(exports, "UNDERGRAD_ALL_SERVICES", { enumerable: true, get: function () { return student_service_1.UNDERGRAD_ALL_SERVICES; } });
54
- Object.defineProperty(exports, "POSTGRAD_ALL_SERVICES", { enumerable: true, get: function () { return student_service_1.POSTGRAD_ALL_SERVICES; } });
55
- Object.defineProperty(exports, "ALL_ADMISSIONS_SERVICES", { enumerable: true, get: function () { return student_service_1.ALL_ADMISSIONS_SERVICES; } });
56
- Object.defineProperty(exports, "ALL_TEST_PREPS_SERVICES", { enumerable: true, get: function () { return student_service_1.ALL_TEST_PREPS_SERVICES; } });
57
- var subject_1 = require("./constant/subject");
58
- Object.defineProperty(exports, "SUBJECT_VALUES", { enumerable: true, get: function () { return subject_1.SUBJECT_VALUES; } });
59
- var university_preference_1 = require("./constant/university-preference");
60
- Object.defineProperty(exports, "UNI_PREF_SIZES", { enumerable: true, get: function () { return university_preference_1.UNI_PREF_SIZES; } });
61
- Object.defineProperty(exports, "UNI_PREF_SETTINGS", { enumerable: true, get: function () { return university_preference_1.UNI_PREF_SETTINGS; } });
62
- Object.defineProperty(exports, "UNI_PREF_LOCATIONS", { enumerable: true, get: function () { return university_preference_1.UNI_PREF_LOCATIONS; } });
63
- var user_1 = require("./constant/user");
64
- Object.defineProperty(exports, "USER_STATUS_VALUES", { enumerable: true, get: function () { return user_1.USER_STATUS_VALUES; } });
65
- Object.defineProperty(exports, "USER_ROLE_VALUES", { enumerable: true, get: function () { return user_1.USER_ROLE_VALUES; } });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./constant/conversion-table"), exports);
5
+ tslib_1.__exportStar(require("./constant/country"), exports);
6
+ tslib_1.__exportStar(require("./constant/dimension"), exports);
7
+ tslib_1.__exportStar(require("./constant/event"), exports);
8
+ tslib_1.__exportStar(require("./constant/extracurricular-activity"), exports);
9
+ tslib_1.__exportStar(require("./constant/guardian"), exports);
10
+ tslib_1.__exportStar(require("./constant/nationality"), exports);
11
+ tslib_1.__exportStar(require("./constant/lead-form"), exports);
12
+ tslib_1.__exportStar(require("./constant/lead"), exports);
13
+ tslib_1.__exportStar(require("./constant/location"), exports);
14
+ tslib_1.__exportStar(require("./constant/sale"), exports);
15
+ tslib_1.__exportStar(require("./constant/school"), exports);
16
+ tslib_1.__exportStar(require("./constant/student-service"), exports);
17
+ tslib_1.__exportStar(require("./constant/subject"), exports);
18
+ tslib_1.__exportStar(require("./constant/university-preference"), exports);
19
+ tslib_1.__exportStar(require("./constant/user"), exports);
20
+ tslib_1.__exportStar(require("./constant/neo-test"), exports);
66
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../libs/model/src/constants.ts"],"names":[],"mappings":";;;AAAA,gEAA2E;AAAlE,gIAAA,4BAA4B,OAAA;AACrC,8CAAoD;AAA3C,yGAAA,cAAc,OAAA;AACvB,kDAAwF;AAA/E,kHAAA,qBAAqB,OAAA;AAAE,sHAAA,yBAAyB,OAAA;AACzD,0CAI0B;AAHxB,8GAAA,qBAAqB,OAAA;AACrB,gHAAA,uBAAuB,OAAA;AACvB,4GAAA,mBAAmB,OAAA;AAErB,gFAA+F;AAAtF,oJAAA,wCAAwC,OAAA;AACjD,gDAAmE;AAA1D,wHAAA,4BAA4B,OAAA;AACrC,sDAA4D;AAAnD,iHAAA,kBAAkB,OAAA;AAC3B,kDAI8B;AAH5B,wHAAA,2BAA2B,OAAA;AAC3B,wHAAA,2BAA2B,OAAA;AAC3B,8HAAA,iCAAiC,OAAA;AAEnC,wCAAsD;AAA7C,2GAAA,mBAAmB,OAAA;AAC5B,gDAA2D;AAAlD,yGAAA,aAAa,OAAA;AAAE,iGAAA,KAAK,OAAA;AAC7B,wCAKyB;AAJvB,gHAAA,wBAAwB,OAAA;AACxB,gHAAA,wBAAwB,OAAA;AACxB,wGAAA,gBAAgB,OAAA;AAChB,4GAAA,oBAAoB,OAAA;AAEtB,4CAM2B;AALzB,iHAAA,uBAAuB,OAAA;AACvB,uGAAA,aAAa,OAAA;AACb,iGAAA,OAAO,OAAA;AACP,yGAAA,eAAe,OAAA;AACf,yGAAA,eAAe,OAAA;AAEjB,8DAgBoC;AAflC,yHAAA,sBAAsB,OAAA;AACtB,0HAAA,uBAAuB,OAAA;AACvB,gIAAA,6BAA6B,OAAA;AAC7B,yHAAA,sBAAsB,OAAA;AACtB,+HAAA,4BAA4B,OAAA;AAC5B,6HAAA,0BAA0B,OAAA;AAC1B,+HAAA,4BAA4B,OAAA;AAC5B,sHAAA,mBAAmB,OAAA;AACnB,6GAAA,UAAU,OAAA;AACV,oHAAA,iBAAiB,OAAA;AACjB,qHAAA,kBAAkB,OAAA;AAClB,yHAAA,sBAAsB,OAAA;AACtB,wHAAA,qBAAqB,OAAA;AACrB,0HAAA,uBAAuB,OAAA;AACvB,0HAAA,uBAAuB,OAAA;AAEzB,8CAAoD;AAA3C,yGAAA,cAAc,OAAA;AACvB,0EAI0C;AAHxC,uHAAA,cAAc,OAAA;AACd,0HAAA,iBAAiB,OAAA;AACjB,2HAAA,kBAAkB,OAAA;AAEpB,wCAAuE;AAA9D,0GAAA,kBAAkB,OAAA;AAAE,wGAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../libs/model/src/constants.ts"],"names":[],"mappings":";;;AAAA,sEAA4C;AAC5C,6DAAmC;AACnC,+DAAqC;AACrC,2DAAiC;AACjC,8EAAoD;AACpD,8DAAoC;AACpC,iEAAuC;AACvC,+DAAqC;AACrC,0DAAgC;AAChC,8DAAoC;AACpC,0DAAgC;AAChC,4DAAkC;AAClC,qEAA2C;AAC3C,6DAAmC;AACnC,2EAAiD;AACjD,0DAAgC;AAChC,8DAAoC"}
package/src/enums.d.ts CHANGED
@@ -1,19 +1,22 @@
1
- export { CONVERSION_TABLE_TYPE } from './model/conversion-table';
2
- export { DIMENSION_TYPE, DIMENSION_CATEGORY } from './model/dimension';
3
- export { EVENT_CATEGORY, EVENT_VISIBILITY, EVENT_STATUS, OFFICE } from './model/event';
4
- export { EXTRACURRICULAR_ACTIVITY_CATEGORY } from './model/extracurricular-activity';
5
- export { LOG_TYPE, LOG_ACTION } from './model/log';
6
- export { LEAD_FORM_FIELD_TYPE, LEAD_FORM_FIELD_VALIDATION } from './model/lead-form-field';
7
- export { LEAD_FORM_ASSIGNMENT } from './model/lead-form';
8
- export { LEAD_QUALITY } from './model/lead';
9
- export { GENDER, NATIONALITY, COUNTRY } from './model/profile';
10
- export { SALE_PAYMENT_MODE, SALE_PAYMENT_TYPE, SALE_TYPE, SALE_SUB_TYPE } from './model/sale';
11
- export { SCHOOL_LEVEL } from './model/school';
12
- export { STAFF_HOUR_LOG_TYPE } from './model/staff-hour-log';
13
- export { STUDENT_NOTE_VISIBILITY } from './model/student-note';
14
- export { MEMBERSHIP_LOG_TYPE } from './model/student-service-membership-log';
15
- export { STUDENT_SERVICE } from './model/student-service';
16
- export { TEST_ATTEMPT_STATUS } from './model/test-attempt';
17
- export { TEST_QUESTION_TYPE } from './model/test-question';
18
- export { GUARDIAN_RELATIONSHIP } from './model/user-to-guardian';
19
- export { USER_ROLE, USER_STATUS } from './model/user';
1
+ export * from './model/conversion-table';
2
+ export * from './model/dimension';
3
+ export * from './model/event';
4
+ export * from './model/extracurricular-activity';
5
+ export * from './model/log';
6
+ export * from './model/lead-form-field';
7
+ export * from './model/lead-form';
8
+ export * from './model/lead';
9
+ export * from './model/neo-test';
10
+ export * from './model/profile';
11
+ export * from './model/sale';
12
+ export * from './model/school';
13
+ export * from './model/staff-hour-log';
14
+ export * from './model/student-note';
15
+ export * from './model/student-service-membership-log';
16
+ export * from './model/student-service';
17
+ export * from './model/test-attempt';
18
+ export * from './model/test-question';
19
+ export * from './model/user-to-guardian';
20
+ export * from './model/user';
21
+ export * from './model/neo-tag';
22
+ export * from './model/neo-test-question';
package/src/enums.js CHANGED
@@ -1,54 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.USER_STATUS = exports.USER_ROLE = exports.GUARDIAN_RELATIONSHIP = exports.TEST_QUESTION_TYPE = exports.TEST_ATTEMPT_STATUS = exports.STUDENT_SERVICE = exports.MEMBERSHIP_LOG_TYPE = exports.STUDENT_NOTE_VISIBILITY = exports.STAFF_HOUR_LOG_TYPE = exports.SCHOOL_LEVEL = exports.SALE_SUB_TYPE = exports.SALE_TYPE = exports.SALE_PAYMENT_TYPE = exports.SALE_PAYMENT_MODE = exports.COUNTRY = exports.NATIONALITY = exports.GENDER = exports.LEAD_QUALITY = exports.LEAD_FORM_ASSIGNMENT = exports.LEAD_FORM_FIELD_VALIDATION = exports.LEAD_FORM_FIELD_TYPE = exports.LOG_ACTION = exports.LOG_TYPE = exports.EXTRACURRICULAR_ACTIVITY_CATEGORY = exports.OFFICE = exports.EVENT_STATUS = exports.EVENT_VISIBILITY = exports.EVENT_CATEGORY = exports.DIMENSION_CATEGORY = exports.DIMENSION_TYPE = exports.CONVERSION_TABLE_TYPE = void 0;
4
- var conversion_table_1 = require("./model/conversion-table");
5
- Object.defineProperty(exports, "CONVERSION_TABLE_TYPE", { enumerable: true, get: function () { return conversion_table_1.CONVERSION_TABLE_TYPE; } });
6
- var dimension_1 = require("./model/dimension");
7
- Object.defineProperty(exports, "DIMENSION_TYPE", { enumerable: true, get: function () { return dimension_1.DIMENSION_TYPE; } });
8
- Object.defineProperty(exports, "DIMENSION_CATEGORY", { enumerable: true, get: function () { return dimension_1.DIMENSION_CATEGORY; } });
9
- var event_1 = require("./model/event");
10
- Object.defineProperty(exports, "EVENT_CATEGORY", { enumerable: true, get: function () { return event_1.EVENT_CATEGORY; } });
11
- Object.defineProperty(exports, "EVENT_VISIBILITY", { enumerable: true, get: function () { return event_1.EVENT_VISIBILITY; } });
12
- Object.defineProperty(exports, "EVENT_STATUS", { enumerable: true, get: function () { return event_1.EVENT_STATUS; } });
13
- Object.defineProperty(exports, "OFFICE", { enumerable: true, get: function () { return event_1.OFFICE; } });
14
- var extracurricular_activity_1 = require("./model/extracurricular-activity");
15
- Object.defineProperty(exports, "EXTRACURRICULAR_ACTIVITY_CATEGORY", { enumerable: true, get: function () { return extracurricular_activity_1.EXTRACURRICULAR_ACTIVITY_CATEGORY; } });
16
- var log_1 = require("./model/log");
17
- Object.defineProperty(exports, "LOG_TYPE", { enumerable: true, get: function () { return log_1.LOG_TYPE; } });
18
- Object.defineProperty(exports, "LOG_ACTION", { enumerable: true, get: function () { return log_1.LOG_ACTION; } });
19
- var lead_form_field_1 = require("./model/lead-form-field");
20
- Object.defineProperty(exports, "LEAD_FORM_FIELD_TYPE", { enumerable: true, get: function () { return lead_form_field_1.LEAD_FORM_FIELD_TYPE; } });
21
- Object.defineProperty(exports, "LEAD_FORM_FIELD_VALIDATION", { enumerable: true, get: function () { return lead_form_field_1.LEAD_FORM_FIELD_VALIDATION; } });
22
- var lead_form_1 = require("./model/lead-form");
23
- Object.defineProperty(exports, "LEAD_FORM_ASSIGNMENT", { enumerable: true, get: function () { return lead_form_1.LEAD_FORM_ASSIGNMENT; } });
24
- var lead_1 = require("./model/lead");
25
- Object.defineProperty(exports, "LEAD_QUALITY", { enumerable: true, get: function () { return lead_1.LEAD_QUALITY; } });
26
- var profile_1 = require("./model/profile");
27
- Object.defineProperty(exports, "GENDER", { enumerable: true, get: function () { return profile_1.GENDER; } });
28
- Object.defineProperty(exports, "NATIONALITY", { enumerable: true, get: function () { return profile_1.NATIONALITY; } });
29
- Object.defineProperty(exports, "COUNTRY", { enumerable: true, get: function () { return profile_1.COUNTRY; } });
30
- var sale_1 = require("./model/sale");
31
- Object.defineProperty(exports, "SALE_PAYMENT_MODE", { enumerable: true, get: function () { return sale_1.SALE_PAYMENT_MODE; } });
32
- Object.defineProperty(exports, "SALE_PAYMENT_TYPE", { enumerable: true, get: function () { return sale_1.SALE_PAYMENT_TYPE; } });
33
- Object.defineProperty(exports, "SALE_TYPE", { enumerable: true, get: function () { return sale_1.SALE_TYPE; } });
34
- Object.defineProperty(exports, "SALE_SUB_TYPE", { enumerable: true, get: function () { return sale_1.SALE_SUB_TYPE; } });
35
- var school_1 = require("./model/school");
36
- Object.defineProperty(exports, "SCHOOL_LEVEL", { enumerable: true, get: function () { return school_1.SCHOOL_LEVEL; } });
37
- var staff_hour_log_1 = require("./model/staff-hour-log");
38
- Object.defineProperty(exports, "STAFF_HOUR_LOG_TYPE", { enumerable: true, get: function () { return staff_hour_log_1.STAFF_HOUR_LOG_TYPE; } });
39
- var student_note_1 = require("./model/student-note");
40
- Object.defineProperty(exports, "STUDENT_NOTE_VISIBILITY", { enumerable: true, get: function () { return student_note_1.STUDENT_NOTE_VISIBILITY; } });
41
- var student_service_membership_log_1 = require("./model/student-service-membership-log");
42
- Object.defineProperty(exports, "MEMBERSHIP_LOG_TYPE", { enumerable: true, get: function () { return student_service_membership_log_1.MEMBERSHIP_LOG_TYPE; } });
43
- var student_service_1 = require("./model/student-service");
44
- Object.defineProperty(exports, "STUDENT_SERVICE", { enumerable: true, get: function () { return student_service_1.STUDENT_SERVICE; } });
45
- var test_attempt_1 = require("./model/test-attempt");
46
- Object.defineProperty(exports, "TEST_ATTEMPT_STATUS", { enumerable: true, get: function () { return test_attempt_1.TEST_ATTEMPT_STATUS; } });
47
- var test_question_1 = require("./model/test-question");
48
- Object.defineProperty(exports, "TEST_QUESTION_TYPE", { enumerable: true, get: function () { return test_question_1.TEST_QUESTION_TYPE; } });
49
- var user_to_guardian_1 = require("./model/user-to-guardian");
50
- Object.defineProperty(exports, "GUARDIAN_RELATIONSHIP", { enumerable: true, get: function () { return user_to_guardian_1.GUARDIAN_RELATIONSHIP; } });
51
- var user_1 = require("./model/user");
52
- Object.defineProperty(exports, "USER_ROLE", { enumerable: true, get: function () { return user_1.USER_ROLE; } });
53
- Object.defineProperty(exports, "USER_STATUS", { enumerable: true, get: function () { return user_1.USER_STATUS; } });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./model/conversion-table"), exports);
5
+ tslib_1.__exportStar(require("./model/dimension"), exports);
6
+ tslib_1.__exportStar(require("./model/event"), exports);
7
+ tslib_1.__exportStar(require("./model/extracurricular-activity"), exports);
8
+ tslib_1.__exportStar(require("./model/log"), exports);
9
+ tslib_1.__exportStar(require("./model/lead-form-field"), exports);
10
+ tslib_1.__exportStar(require("./model/lead-form"), exports);
11
+ tslib_1.__exportStar(require("./model/lead"), exports);
12
+ tslib_1.__exportStar(require("./model/neo-test"), exports);
13
+ tslib_1.__exportStar(require("./model/profile"), exports);
14
+ tslib_1.__exportStar(require("./model/sale"), exports);
15
+ tslib_1.__exportStar(require("./model/school"), exports);
16
+ tslib_1.__exportStar(require("./model/staff-hour-log"), exports);
17
+ tslib_1.__exportStar(require("./model/student-note"), exports);
18
+ tslib_1.__exportStar(require("./model/student-service-membership-log"), exports);
19
+ tslib_1.__exportStar(require("./model/student-service"), exports);
20
+ tslib_1.__exportStar(require("./model/test-attempt"), exports);
21
+ tslib_1.__exportStar(require("./model/test-question"), exports);
22
+ tslib_1.__exportStar(require("./model/user-to-guardian"), exports);
23
+ tslib_1.__exportStar(require("./model/user"), exports);
24
+ tslib_1.__exportStar(require("./model/neo-tag"), exports);
25
+ tslib_1.__exportStar(require("./model/neo-test-question"), exports);
54
26
  //# sourceMappingURL=enums.js.map
package/src/enums.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../libs/model/src/enums.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AAAxD,yHAAA,qBAAqB,OAAA;AAC9B,+CAAuE;AAA9D,2GAAA,cAAc,OAAA;AAAE,+GAAA,kBAAkB,OAAA;AAC3C,uCAAuF;AAA9E,uGAAA,cAAc,OAAA;AAAE,yGAAA,gBAAgB,OAAA;AAAE,qGAAA,YAAY,OAAA;AAAE,+FAAA,MAAM,OAAA;AAC/D,6EAAqF;AAA5E,6IAAA,iCAAiC,OAAA;AAC1C,mCAAmD;AAA1C,+FAAA,QAAQ,OAAA;AAAE,iGAAA,UAAU,OAAA;AAC7B,2DAA2F;AAAlF,uHAAA,oBAAoB,OAAA;AAAE,6HAAA,0BAA0B,OAAA;AACzD,+CAAyD;AAAhD,iHAAA,oBAAoB,OAAA;AAC7B,qCAA4C;AAAnC,oGAAA,YAAY,OAAA;AACrB,2CAA+D;AAAtD,iGAAA,MAAM,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,kGAAA,OAAO,OAAA;AACrC,qCAA8F;AAArF,yGAAA,iBAAiB,OAAA;AAAE,yGAAA,iBAAiB,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,qGAAA,aAAa,OAAA;AACvE,yCAA8C;AAArC,sGAAA,YAAY,OAAA;AACrB,yDAA6D;AAApD,qHAAA,mBAAmB,OAAA;AAC5B,qDAA+D;AAAtD,uHAAA,uBAAuB,OAAA;AAChC,yFAA6E;AAApE,qIAAA,mBAAmB,OAAA;AAC5B,2DAA0D;AAAjD,kHAAA,eAAe,OAAA;AACxB,qDAA2D;AAAlD,mHAAA,mBAAmB,OAAA;AAC5B,uDAA2D;AAAlD,mHAAA,kBAAkB,OAAA;AAC3B,6DAAiE;AAAxD,yHAAA,qBAAqB,OAAA;AAC9B,qCAAsD;AAA7C,iGAAA,SAAS,OAAA;AAAE,mGAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../libs/model/src/enums.ts"],"names":[],"mappings":";;;AAAA,mEAAyC;AACzC,4DAAkC;AAClC,wDAA8B;AAC9B,2EAAiD;AACjD,sDAA4B;AAC5B,kEAAwC;AACxC,4DAAkC;AAClC,uDAA6B;AAC7B,2DAAiC;AACjC,0DAAgC;AAChC,uDAA6B;AAC7B,yDAA+B;AAC/B,iEAAuC;AACvC,+DAAqC;AACrC,iFAAuD;AACvD,kEAAwC;AACxC,+DAAqC;AACrC,gEAAsC;AACtC,mEAAyC;AACzC,uDAA6B;AAC7B,0DAAgC;AAChC,oEAA0C"}
@@ -0,0 +1,12 @@
1
+ import { NeoTestQuestion } from './neo-test-question';
2
+ export declare enum NEO_TAG_TYPE {
3
+ DOMAIN = 1,
4
+ SKILL = 2
5
+ }
6
+ export declare class NeoTag {
7
+ id: number;
8
+ name: string;
9
+ description: string;
10
+ type: NEO_TAG_TYPE;
11
+ questions: NeoTestQuestion[];
12
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NeoTag = exports.NEO_TAG_TYPE = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const typeorm_1 = require("typeorm");
6
+ const neo_test_question_1 = require("./neo-test-question");
7
+ var NEO_TAG_TYPE;
8
+ (function (NEO_TAG_TYPE) {
9
+ NEO_TAG_TYPE[NEO_TAG_TYPE["DOMAIN"] = 1] = "DOMAIN";
10
+ NEO_TAG_TYPE[NEO_TAG_TYPE["SKILL"] = 2] = "SKILL";
11
+ })(NEO_TAG_TYPE = exports.NEO_TAG_TYPE || (exports.NEO_TAG_TYPE = {}));
12
+ let NeoTag = class NeoTag {
13
+ };
14
+ tslib_1.__decorate([
15
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
16
+ tslib_1.__metadata("design:type", Number)
17
+ ], NeoTag.prototype, "id", void 0);
18
+ tslib_1.__decorate([
19
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
20
+ tslib_1.__metadata("design:type", String)
21
+ ], NeoTag.prototype, "name", void 0);
22
+ tslib_1.__decorate([
23
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
24
+ tslib_1.__metadata("design:type", String)
25
+ ], NeoTag.prototype, "description", void 0);
26
+ tslib_1.__decorate([
27
+ (0, typeorm_1.Column)({ type: 'int' }),
28
+ tslib_1.__metadata("design:type", Number)
29
+ ], NeoTag.prototype, "type", void 0);
30
+ tslib_1.__decorate([
31
+ (0, typeorm_1.ManyToMany)(() => neo_test_question_1.NeoTestQuestion, (question) => question.tags),
32
+ tslib_1.__metadata("design:type", Array)
33
+ ], NeoTag.prototype, "questions", void 0);
34
+ NeoTag = tslib_1.__decorate([
35
+ (0, typeorm_1.Entity)({ name: 'neo_tags' })
36
+ ], NeoTag);
37
+ exports.NeoTag = NeoTag;
38
+ //# sourceMappingURL=neo-tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"neo-tag.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-tag.ts"],"names":[],"mappings":";;;;AAAA,qCAA6E;AAE7E,2DAAsD;AAEtD,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,iDAAS,CAAA;AACX,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAGM,IAAM,MAAM,GAAZ,MAAM,MAAM;CAelB,CAAA;AAdC;IAAC,IAAA,gCAAsB,GAAE;;kCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;oCAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACrB;AAEpB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oCACL;AAEnB;IAAC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;;yCAClC;AAdlB,MAAM;IADlB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;GAChB,MAAM,CAelB;AAfY,wBAAM"}
@@ -0,0 +1,28 @@
1
+ export declare type NeoTestFlow = NeoTestFlowNode;
2
+ export interface NeoTestFlowNode {
3
+ order: number;
4
+ sectionId: number;
5
+ next: NeoTestFlowNode | NeoTestFlowCondition | null;
6
+ }
7
+ export interface NeoTestFlowCondition {
8
+ left: NeoTestFlowConditionLeftSide;
9
+ operator: NeoTestFlowOperator;
10
+ right: number;
11
+ truthy: NeoTestFlowNode;
12
+ falsy: NeoTestFlowNode | NeoTestFlowCondition;
13
+ }
14
+ export interface NeoTestFlowConditionLeftSide {
15
+ aggregator: NeoTestFlowAggregator;
16
+ sectionIds: number[];
17
+ }
18
+ export declare enum NeoTestFlowOperator {
19
+ LESS_THAN = "lt",
20
+ LESS_THEN_OR_EQUAL = "lte",
21
+ EQUAL = "e",
22
+ GREATER_THAN = "gt",
23
+ GREATER_THAN_OR_EQUAL = "gte"
24
+ }
25
+ export declare enum NeoTestFlowAggregator {
26
+ SUM = "sum",
27
+ AVERAGE = "avg"
28
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NeoTestFlowAggregator = exports.NeoTestFlowOperator = void 0;
4
+ var NeoTestFlowOperator;
5
+ (function (NeoTestFlowOperator) {
6
+ NeoTestFlowOperator["LESS_THAN"] = "lt";
7
+ NeoTestFlowOperator["LESS_THEN_OR_EQUAL"] = "lte";
8
+ NeoTestFlowOperator["EQUAL"] = "e";
9
+ NeoTestFlowOperator["GREATER_THAN"] = "gt";
10
+ NeoTestFlowOperator["GREATER_THAN_OR_EQUAL"] = "gte";
11
+ })(NeoTestFlowOperator = exports.NeoTestFlowOperator || (exports.NeoTestFlowOperator = {}));
12
+ var NeoTestFlowAggregator;
13
+ (function (NeoTestFlowAggregator) {
14
+ NeoTestFlowAggregator["SUM"] = "sum";
15
+ NeoTestFlowAggregator["AVERAGE"] = "avg";
16
+ })(NeoTestFlowAggregator = exports.NeoTestFlowAggregator || (exports.NeoTestFlowAggregator = {}));
17
+ //# sourceMappingURL=neo-test-flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"neo-test-flow.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-flow.ts"],"names":[],"mappings":";;;AAqBA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,uCAAgB,CAAA;IAChB,iDAA0B,CAAA;IAC1B,kCAAW,CAAA;IACX,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;AAC/B,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,oCAAW,CAAA;IACX,wCAAe,CAAA;AACjB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
@@ -0,0 +1,8 @@
1
+ import { NeoTestQuestion } from './neo-test-question';
2
+ export declare class NeoTestQuestionAnswer {
3
+ id: number;
4
+ content: string;
5
+ order: number;
6
+ questionId: number;
7
+ question: NeoTestQuestion;
8
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NeoTestQuestionAnswer = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const typeorm_1 = require("typeorm");
6
+ const neo_test_question_1 = require("./neo-test-question");
7
+ let NeoTestQuestionAnswer = class NeoTestQuestionAnswer {
8
+ };
9
+ tslib_1.__decorate([
10
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
11
+ tslib_1.__metadata("design:type", Number)
12
+ ], NeoTestQuestionAnswer.prototype, "id", void 0);
13
+ tslib_1.__decorate([
14
+ (0, typeorm_1.Column)({ type: 'text' }),
15
+ tslib_1.__metadata("design:type", String)
16
+ ], NeoTestQuestionAnswer.prototype, "content", void 0);
17
+ tslib_1.__decorate([
18
+ (0, typeorm_1.Column)({ type: 'int' }),
19
+ tslib_1.__metadata("design:type", Number)
20
+ ], NeoTestQuestionAnswer.prototype, "order", void 0);
21
+ tslib_1.__decorate([
22
+ (0, typeorm_1.Column)({ type: 'int' }),
23
+ tslib_1.__metadata("design:type", Number)
24
+ ], NeoTestQuestionAnswer.prototype, "questionId", void 0);
25
+ tslib_1.__decorate([
26
+ (0, typeorm_1.ManyToOne)(() => neo_test_question_1.NeoTestQuestion, (question) => question.answers),
27
+ (0, typeorm_1.JoinColumn)(),
28
+ tslib_1.__metadata("design:type", neo_test_question_1.NeoTestQuestion)
29
+ ], NeoTestQuestionAnswer.prototype, "question", void 0);
30
+ NeoTestQuestionAnswer = tslib_1.__decorate([
31
+ (0, typeorm_1.Entity)({ name: 'neo_test_question_answers' })
32
+ ], NeoTestQuestionAnswer);
33
+ exports.NeoTestQuestionAnswer = NeoTestQuestionAnswer;
34
+ //# sourceMappingURL=neo-test-question-answer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"neo-test-question-answer.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-question-answer.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,2DAAsD;AAG/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAgBjC,CAAA;AAfC;IAAC,IAAA,gCAAsB,GAAE;;iDACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACT;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oDACV;AAEd;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;yDACL;AAEnB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;IAChE,IAAA,oBAAU,GAAE;sCACH,mCAAe;uDAAC;AAff,qBAAqB;IADjC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;GACjC,qBAAqB,CAgBjC;AAhBY,sDAAqB"}
@@ -0,0 +1,8 @@
1
+ import { NeoTestQuestion } from './neo-test-question';
2
+ export declare class NeoTestQuestionCategory {
3
+ id: number;
4
+ service: number;
5
+ name: string;
6
+ description: string;
7
+ questions: NeoTestQuestion[];
8
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NeoTestQuestionCategory = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const typeorm_1 = require("typeorm");
6
+ const neo_test_question_1 = require("./neo-test-question");
7
+ let NeoTestQuestionCategory = class NeoTestQuestionCategory {
8
+ };
9
+ tslib_1.__decorate([
10
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
11
+ tslib_1.__metadata("design:type", Number)
12
+ ], NeoTestQuestionCategory.prototype, "id", void 0);
13
+ tslib_1.__decorate([
14
+ (0, typeorm_1.Column)({ type: 'int' }),
15
+ tslib_1.__metadata("design:type", Number)
16
+ ], NeoTestQuestionCategory.prototype, "service", void 0);
17
+ tslib_1.__decorate([
18
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], NeoTestQuestionCategory.prototype, "name", void 0);
21
+ tslib_1.__decorate([
22
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
23
+ tslib_1.__metadata("design:type", String)
24
+ ], NeoTestQuestionCategory.prototype, "description", void 0);
25
+ tslib_1.__decorate([
26
+ (0, typeorm_1.OneToMany)(() => neo_test_question_1.NeoTestQuestion, (q) => q.category),
27
+ tslib_1.__metadata("design:type", Array)
28
+ ], NeoTestQuestionCategory.prototype, "questions", void 0);
29
+ NeoTestQuestionCategory = tslib_1.__decorate([
30
+ (0, typeorm_1.Entity)({ name: 'neo_test_question_categories' })
31
+ ], NeoTestQuestionCategory);
32
+ exports.NeoTestQuestionCategory = NeoTestQuestionCategory;
33
+ //# sourceMappingURL=neo-test-question-category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"neo-test-question-category.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-question-category.ts"],"names":[],"mappings":";;;;AAAA,qCAA4E;AAE5E,2DAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAenC,CAAA;AAdC;IAAC,IAAA,gCAAsB,GAAE;;mDACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;wDACR;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;qDAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACrB;AAEpB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;;0DACvB;AAdlB,uBAAuB;IADnC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;GACpC,uBAAuB,CAenC;AAfY,0DAAuB"}
@@ -0,0 +1,30 @@
1
+ import { NeoTag } from './neo-tag';
2
+ import { NeoTestQuestionAnswer } from './neo-test-question-answer';
3
+ import { NeoTestQuestionCategory } from './neo-test-question-category';
4
+ import { NeoTestSectionToQuestion } from './neo-test-section-to-question';
5
+ export declare enum NEO_TEST_QUESTION_TYPE {
6
+ MCQ = "mcq",
7
+ KEY_IN = "key-in"
8
+ }
9
+ export declare enum NEO_TEST_QUESTION_DIFFICULTY {
10
+ EASY = 1,
11
+ MEDIUM = 2,
12
+ HARD = 3
13
+ }
14
+ export declare class NeoTestQuestion {
15
+ id: number;
16
+ uuid: string;
17
+ service: number;
18
+ categoryId: number;
19
+ type: NEO_TEST_QUESTION_TYPE;
20
+ content: string;
21
+ isExperimental: boolean;
22
+ answerKey: string;
23
+ difficulty: NEO_TEST_QUESTION_DIFFICULTY;
24
+ createdAt: Date;
25
+ updatedAt: Date;
26
+ category: NeoTestQuestionCategory;
27
+ tags: NeoTag[];
28
+ sections: NeoTestSectionToQuestion[];
29
+ answers: NeoTestQuestionAnswer[];
30
+ }