@driveup/schema 0.3.8 → 0.3.9

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 (46) hide show
  1. package/lib/profile/agent/agent.entity.d.ts +2 -8
  2. package/lib/profile/agent/agent.entity.js +4 -20
  3. package/lib/profile/agent/agent.entity.js.map +1 -1
  4. package/lib/profile/company/company.entity.d.ts +7 -6
  5. package/lib/profile/company/company.entity.js +13 -12
  6. package/lib/profile/company/company.entity.js.map +1 -1
  7. package/lib/profile/company/instructor/instructor.entity.d.ts +10 -16
  8. package/lib/profile/company/instructor/instructor.entity.js +14 -30
  9. package/lib/profile/company/instructor/instructor.entity.js.map +1 -1
  10. package/lib/profile/instructor/instructor.entity.d.ts +2 -8
  11. package/lib/profile/instructor/instructor.entity.js +4 -20
  12. package/lib/profile/instructor/instructor.entity.js.map +1 -1
  13. package/lib/profile/student/program/training/training-balance.view.js +4 -14
  14. package/lib/profile/student/program/training/training-balance.view.js.map +1 -1
  15. package/lib/profile/student/student.entity.d.ts +2 -8
  16. package/lib/profile/student/student.entity.js +4 -20
  17. package/lib/profile/student/student.entity.js.map +1 -1
  18. package/lib/system/event/log.entity.d.ts +2 -10
  19. package/lib/system/event/log.entity.js +5 -24
  20. package/lib/system/event/log.entity.js.map +1 -1
  21. package/lib/tsconfig.tsbuildinfo +1 -1
  22. package/lib/user/user.entity.d.ts +0 -7
  23. package/lib/user/user.entity.js +1 -17
  24. package/lib/user/user.entity.js.map +1 -1
  25. package/package.json +1 -1
  26. package/lib/profile/company/course/appointment.entity.d.ts +0 -271
  27. package/lib/profile/company/course/appointment.entity.js +0 -736
  28. package/lib/profile/company/course/appointment.entity.js.map +0 -1
  29. package/lib/profile/student/program/training/training-balance.view.entity.d.ts +0 -5
  30. package/lib/profile/student/program/training/training-balance.view.entity.js +0 -52
  31. package/lib/profile/student/program/training/training-balance.view.entity.js.map +0 -1
  32. package/lib/public/faq.d.ts +0 -25
  33. package/lib/public/faq.js +0 -60
  34. package/lib/public/faq.js.map +0 -1
  35. package/lib/public/feature-item.d.ts +0 -54
  36. package/lib/public/feature-item.js +0 -78
  37. package/lib/public/feature-item.js.map +0 -1
  38. package/lib/public/feature.d.ts +0 -46
  39. package/lib/public/feature.js +0 -76
  40. package/lib/public/feature.js.map +0 -1
  41. package/lib/public/learning-hub.d.ts +0 -30
  42. package/lib/public/learning-hub.js +0 -77
  43. package/lib/public/learning-hub.js.map +0 -1
  44. package/lib/public/testimonial.d.ts +0 -40
  45. package/lib/public/testimonial.js +0 -85
  46. package/lib/public/testimonial.js.map +0 -1
@@ -1,85 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.PublicTestimonialEntity = void 0;
13
- const shared_1 = require("@driveup/shared");
14
- const typeorm_1 = require("typeorm");
15
- const country_entity_1 = require("../system/country/country.entity");
16
- let PublicTestimonialEntity = class PublicTestimonialEntity {
17
- /************************* Methods *************************/
18
- constructor(props) {
19
- Object.assign(this, props);
20
- }
21
- };
22
- exports.PublicTestimonialEntity = PublicTestimonialEntity;
23
- __decorate([
24
- (0, typeorm_1.PrimaryGeneratedColumn)(),
25
- __metadata("design:type", Number)
26
- ], PublicTestimonialEntity.prototype, "id", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({
29
- nullable: false
30
- }),
31
- __metadata("design:type", Number)
32
- ], PublicTestimonialEntity.prototype, "countryId", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)({
35
- type: 'enum',
36
- enum: shared_1.Language,
37
- default: shared_1.Language.En,
38
- nullable: false
39
- }),
40
- __metadata("design:type", String)
41
- ], PublicTestimonialEntity.prototype, "language", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({
44
- nullable: true,
45
- default: null
46
- }),
47
- __metadata("design:type", String)
48
- ], PublicTestimonialEntity.prototype, "title", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({
51
- nullable: true,
52
- default: null
53
- }),
54
- __metadata("design:type", String)
55
- ], PublicTestimonialEntity.prototype, "feedback", void 0);
56
- __decorate([
57
- (0, typeorm_1.Column)({
58
- nullable: true,
59
- default: null
60
- }),
61
- __metadata("design:type", String)
62
- ], PublicTestimonialEntity.prototype, "image", void 0);
63
- __decorate([
64
- (0, typeorm_1.Column)({
65
- nullable: true,
66
- default: null
67
- }),
68
- __metadata("design:type", String)
69
- ], PublicTestimonialEntity.prototype, "name", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({
72
- nullable: true,
73
- default: null
74
- }),
75
- __metadata("design:type", String)
76
- ], PublicTestimonialEntity.prototype, "position", void 0);
77
- __decorate([
78
- (0, typeorm_1.ManyToOne)(() => country_entity_1.CountryEntity, country => country.testimonies),
79
- __metadata("design:type", Promise)
80
- ], PublicTestimonialEntity.prototype, "country", void 0);
81
- exports.PublicTestimonialEntity = PublicTestimonialEntity = __decorate([
82
- (0, typeorm_1.Entity)('publicTestimonials'),
83
- __metadata("design:paramtypes", [Object])
84
- ], PublicTestimonialEntity);
85
- //# sourceMappingURL=testimonial.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testimonial.js","sourceRoot":"","sources":["../../src/public/testimonial.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA2C;AAC3C,qCAA4E;AAE5E,qEAAiE;AAG1D,IAAM,uBAA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