@intelact/driveup 0.5.56 → 0.7.0
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.
- package/lib/agent/agent.model.d.ts +1 -4
- package/lib/agent/agent.model.js +1 -16
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/code.model.js.map +1 -1
- package/lib/agent/index.d.ts +0 -1
- package/lib/agent/index.js +0 -1
- package/lib/agent/index.js.map +1 -1
- package/lib/auth/biometric.dto.d.ts +3 -0
- package/lib/auth/biometric.dto.js +25 -0
- package/lib/auth/biometric.dto.js.map +1 -0
- package/lib/auth/index.d.ts +3 -0
- package/lib/auth/index.js +20 -0
- package/lib/auth/index.js.map +1 -0
- package/lib/auth/signin.dto.d.ts +6 -0
- package/lib/auth/signin.dto.js +37 -0
- package/lib/auth/signin.dto.js.map +1 -0
- package/lib/auth/signup.dto.d.ts +5 -0
- package/lib/auth/signup.dto.js +38 -0
- package/lib/auth/signup.dto.js.map +1 -0
- package/lib/bank/account.model.d.ts +6 -0
- package/lib/bank/account.model.js +46 -0
- package/lib/bank/account.model.js.map +1 -0
- package/lib/bank/index.d.ts +1 -0
- package/lib/bank/index.js +18 -0
- package/lib/bank/index.js.map +1 -0
- package/lib/calendar/appointment.d.ts +29 -0
- package/lib/calendar/appointment.js +143 -0
- package/lib/calendar/appointment.js.map +1 -0
- package/lib/calendar/date.d.ts +11 -0
- package/lib/calendar/date.js +52 -0
- package/lib/calendar/date.js.map +1 -0
- package/lib/calendar/holiday.d.ts +5 -0
- package/lib/calendar/holiday.js +40 -0
- package/lib/calendar/holiday.js.map +1 -0
- package/lib/calendar/index.d.ts +5 -0
- package/lib/calendar/index.js +22 -0
- package/lib/calendar/index.js.map +1 -0
- package/lib/calendar/types.d.ts +14 -0
- package/lib/calendar/types.js +20 -0
- package/lib/calendar/types.js.map +1 -0
- package/lib/calendar/working.d.ts +9 -0
- package/lib/calendar/working.js +44 -0
- package/lib/calendar/working.js.map +1 -0
- package/lib/common/content.d.ts +9 -0
- package/lib/common/content.js +42 -0
- package/lib/common/content.js.map +1 -0
- package/lib/common/email.d.ts +7 -0
- package/lib/common/email.js +41 -0
- package/lib/common/email.js.map +1 -0
- package/lib/common/index.d.ts +8 -3
- package/lib/common/index.js +8 -3
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +9 -0
- package/lib/common/language.js +29 -0
- package/lib/common/language.js.map +1 -0
- package/lib/common/phone.d.ts +4 -0
- package/lib/common/phone.js +32 -0
- package/lib/common/phone.js.map +1 -0
- package/lib/common/promotion.d.ts +3 -0
- package/lib/common/promotion.js +23 -0
- package/lib/common/promotion.js.map +1 -0
- package/lib/common/social.d.ts +4 -0
- package/lib/common/social.js +30 -0
- package/lib/common/social.js.map +1 -0
- package/lib/common/sort.d.ts +3 -0
- package/lib/common/sort.js +23 -0
- package/lib/common/sort.js.map +1 -0
- package/lib/common/url.d.ts +3 -0
- package/lib/common/url.js +25 -0
- package/lib/common/url.js.map +1 -0
- package/lib/company/company.model.d.ts +18 -40
- package/lib/company/company.model.js +35 -36
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/index.d.ts +1 -10
- package/lib/company/index.js +1 -10
- package/lib/company/index.js.map +1 -1
- package/lib/company/priceplan.model.d.ts +16 -0
- package/lib/company/priceplan.model.js +87 -0
- package/lib/company/priceplan.model.js.map +1 -0
- package/lib/country/country.model.d.ts +16 -0
- package/lib/country/country.model.js +80 -0
- package/lib/country/country.model.js.map +1 -0
- package/lib/country/index.d.ts +1 -0
- package/lib/country/index.js +18 -0
- package/lib/country/index.js.map +1 -0
- package/lib/course/appointment.model.d.ts +8 -0
- package/lib/course/appointment.model.js +36 -0
- package/lib/course/appointment.model.js.map +1 -0
- package/lib/course/course.model.d.ts +17 -0
- package/lib/course/course.model.js +94 -0
- package/lib/course/course.model.js.map +1 -0
- package/lib/course/definition.model.d.ts +11 -0
- package/lib/course/definition.model.js +57 -0
- package/lib/course/definition.model.js.map +1 -0
- package/lib/course/index.d.ts +5 -0
- package/lib/course/index.js +22 -0
- package/lib/course/index.js.map +1 -0
- package/lib/course/part.model.d.ts +12 -0
- package/lib/course/part.model.js +67 -0
- package/lib/course/part.model.js.map +1 -0
- package/lib/course/types.d.ts +15 -0
- package/lib/course/types.js +22 -0
- package/lib/course/types.js.map +1 -0
- package/lib/credit/credit.model.d.ts +9 -0
- package/lib/credit/credit.model.js +50 -0
- package/lib/credit/credit.model.js.map +1 -0
- package/lib/credit/index.d.ts +1 -0
- package/lib/credit/index.js +18 -0
- package/lib/credit/index.js.map +1 -0
- package/lib/currency/currency.model.d.ts +9 -0
- package/lib/currency/currency.model.js +53 -0
- package/lib/currency/currency.model.js.map +1 -0
- package/lib/currency/index.d.ts +1 -0
- package/lib/currency/index.js +18 -0
- package/lib/currency/index.js.map +1 -0
- package/lib/device/device.agent.d.ts +11 -0
- package/lib/device/device.agent.js +3 -0
- package/lib/device/device.agent.js.map +1 -0
- package/lib/device/device.model.d.ts +8 -0
- package/lib/device/device.model.js +46 -0
- package/lib/device/device.model.js.map +1 -0
- package/lib/device/index.d.ts +2 -0
- package/lib/device/index.js +19 -0
- package/lib/device/index.js.map +1 -0
- package/lib/discount/discount.model.d.ts +9 -0
- package/lib/discount/discount.model.js +50 -0
- package/lib/discount/discount.model.js.map +1 -0
- package/lib/discount/index.d.ts +1 -0
- package/lib/discount/index.js +18 -0
- package/lib/discount/index.js.map +1 -0
- package/lib/driving/category/category.dto.d.ts +5 -0
- package/lib/driving/category/category.dto.js +38 -0
- package/lib/driving/category/category.dto.js.map +1 -0
- package/lib/driving/category/category.model.d.ts +16 -0
- package/lib/driving/category/category.model.js +87 -0
- package/lib/driving/category/category.model.js.map +1 -0
- package/lib/driving/category/index.d.ts +2 -0
- package/lib/driving/category/index.js +19 -0
- package/lib/driving/category/index.js.map +1 -0
- package/lib/driving/index.d.ts +3 -0
- package/lib/driving/index.js +20 -0
- package/lib/driving/index.js.map +1 -0
- package/lib/driving/lesson/index.d.ts +3 -0
- package/lib/driving/lesson/index.js +20 -0
- package/lib/driving/lesson/index.js.map +1 -0
- package/lib/driving/lesson/skill.d.ts +6 -0
- package/lib/driving/lesson/skill.js +37 -0
- package/lib/driving/lesson/skill.js.map +1 -0
- package/lib/driving/lesson/topic.d.ts +10 -0
- package/lib/driving/lesson/topic.js +58 -0
- package/lib/driving/lesson/topic.js.map +1 -0
- package/lib/driving/lesson/types.d.ts +13 -0
- package/lib/driving/lesson/types.js +19 -0
- package/lib/driving/lesson/types.js.map +1 -0
- package/lib/driving/types.d.ts +8 -0
- package/lib/driving/types.js +14 -0
- package/lib/driving/types.js.map +1 -0
- package/lib/event/event.model.d.ts +8 -0
- package/lib/event/event.model.js +49 -0
- package/lib/event/event.model.js.map +1 -0
- package/lib/event/index.d.ts +1 -0
- package/lib/event/index.js +18 -0
- package/lib/event/index.js.map +1 -0
- package/lib/expense/category.model.d.ts +7 -0
- package/lib/expense/category.model.js +41 -0
- package/lib/expense/category.model.js.map +1 -0
- package/lib/expense/expense.model.d.ts +14 -0
- package/lib/expense/expense.model.js +68 -0
- package/lib/expense/expense.model.js.map +1 -0
- package/lib/expense/expense.types.d.ts +5 -0
- package/lib/expense/expense.types.js +10 -0
- package/lib/expense/expense.types.js.map +1 -0
- package/lib/expense/index.d.ts +3 -0
- package/lib/expense/index.js +20 -0
- package/lib/expense/index.js.map +1 -0
- package/lib/feedback/feedback.model.d.ts +9 -0
- package/lib/feedback/feedback.model.js +52 -0
- package/lib/feedback/feedback.model.js.map +1 -0
- package/lib/feedback/index.d.ts +1 -0
- package/lib/feedback/index.js +18 -0
- package/lib/feedback/index.js.map +1 -0
- package/lib/geo/address.dto.d.ts +12 -0
- package/lib/geo/address.dto.js +71 -0
- package/lib/geo/address.dto.js.map +1 -0
- package/lib/geo/coordinate.model.d.ts +4 -0
- package/lib/geo/coordinate.model.js +29 -0
- package/lib/geo/coordinate.model.js.map +1 -0
- package/lib/geo/index.d.ts +3 -0
- package/lib/geo/index.js +20 -0
- package/lib/geo/index.js.map +1 -0
- package/lib/geo/pickup.model.d.ts +8 -0
- package/lib/geo/pickup.model.js +49 -0
- package/lib/geo/pickup.model.js.map +1 -0
- package/lib/index.d.ts +29 -2
- package/lib/index.js +29 -2
- package/lib/index.js.map +1 -1
- package/lib/instructor/index.d.ts +2 -0
- package/lib/instructor/index.js +19 -0
- package/lib/instructor/index.js.map +1 -0
- package/lib/instructor/instructor.dto.d.ts +6 -0
- package/lib/instructor/instructor.dto.js +39 -0
- package/lib/instructor/instructor.dto.js.map +1 -0
- package/lib/instructor/instructor.model.d.ts +14 -0
- package/lib/instructor/instructor.model.js +63 -0
- package/lib/instructor/instructor.model.js.map +1 -0
- package/lib/invoice/index.d.ts +3 -0
- package/lib/invoice/index.js +20 -0
- package/lib/invoice/index.js.map +1 -0
- package/lib/invoice/invoice.model.d.ts +18 -0
- package/lib/invoice/invoice.model.js +88 -0
- package/lib/invoice/invoice.model.js.map +1 -0
- package/lib/invoice/invoice.types.d.ts +5 -0
- package/lib/invoice/invoice.types.js +10 -0
- package/lib/invoice/invoice.types.js.map +1 -0
- package/lib/invoice/item.model.d.ts +7 -0
- package/lib/invoice/item.model.js +43 -0
- package/lib/invoice/item.model.js.map +1 -0
- package/lib/item/index.d.ts +1 -0
- package/lib/item/index.js +18 -0
- package/lib/item/index.js.map +1 -0
- package/lib/item/item.model.d.ts +13 -0
- package/lib/item/item.model.js +38 -0
- package/lib/item/item.model.js.map +1 -0
- package/lib/language/language.enum.d.ts +4 -4
- package/lib/language/language.enum.js +4 -4
- package/lib/license/index.d.ts +1 -0
- package/lib/license/index.js +18 -0
- package/lib/license/index.js.map +1 -0
- package/lib/license/license.model.d.ts +5 -0
- package/lib/license/license.model.js +41 -0
- package/lib/license/license.model.js.map +1 -0
- package/lib/link/index.d.ts +1 -0
- package/lib/link/index.js +18 -0
- package/lib/link/index.js.map +1 -0
- package/lib/link/link.model.d.ts +15 -0
- package/lib/link/link.model.js +35 -0
- package/lib/link/link.model.js.map +1 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/note/index.js +18 -0
- package/lib/note/index.js.map +1 -0
- package/lib/note/note.model.d.ts +9 -0
- package/lib/note/note.model.js +49 -0
- package/lib/note/note.model.js.map +1 -0
- package/lib/notification/index.d.ts +2 -2
- package/lib/notification/index.js +2 -2
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification.model.d.ts +3 -3
- package/lib/notification/notification.model.js +10 -10
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/notification/notification.types.d.ts +11 -0
- package/lib/notification/notification.types.js +17 -0
- package/lib/notification/notification.types.js.map +1 -0
- package/lib/notification/preference.model.d.ts +9 -0
- package/lib/notification/preference.model.js +47 -0
- package/lib/notification/preference.model.js.map +1 -0
- package/lib/payment/index.d.ts +2 -0
- package/lib/payment/index.js +19 -0
- package/lib/payment/index.js.map +1 -0
- package/lib/payment/payment.model.d.ts +14 -0
- package/lib/payment/payment.model.js +74 -0
- package/lib/payment/payment.model.js.map +1 -0
- package/lib/payment/payment.types.d.ts +13 -0
- package/lib/payment/payment.types.js +20 -0
- package/lib/payment/payment.types.js.map +1 -0
- package/lib/payout/index.d.ts +2 -0
- package/lib/payout/index.js +19 -0
- package/lib/payout/index.js.map +1 -0
- package/lib/payout/payout.model.d.ts +12 -0
- package/lib/payout/payout.model.js +58 -0
- package/lib/payout/payout.model.js.map +1 -0
- package/lib/payout/payout.types.d.ts +4 -0
- package/lib/payout/payout.types.js +9 -0
- package/lib/payout/payout.types.js.map +1 -0
- package/lib/priceplan/index.d.ts +2 -0
- package/lib/priceplan/index.js +19 -0
- package/lib/priceplan/index.js.map +1 -0
- package/lib/priceplan/plan.enum.d.ts +10 -0
- package/lib/priceplan/plan.enum.js +16 -0
- package/lib/priceplan/plan.enum.js.map +1 -0
- package/lib/priceplan/plan.model.d.ts +13 -0
- package/lib/priceplan/plan.model.js +70 -0
- package/lib/priceplan/plan.model.js.map +1 -0
- package/lib/refund/index.d.ts +1 -0
- package/lib/refund/index.js +18 -0
- package/lib/refund/index.js.map +1 -0
- package/lib/refund/refund.model.d.ts +11 -0
- package/lib/refund/refund.model.js +57 -0
- package/lib/refund/refund.model.js.map +1 -0
- package/lib/security/account.types.d.ts +8 -0
- package/lib/security/account.types.js +13 -0
- package/lib/security/account.types.js.map +1 -0
- package/lib/security/acl.js +2 -2
- package/lib/security/acl.js.map +1 -1
- package/lib/security/index.d.ts +4 -2
- package/lib/security/index.js +4 -2
- package/lib/security/index.js.map +1 -1
- package/lib/security/role.dto.d.ts +4 -0
- package/lib/security/role.dto.js +24 -0
- package/lib/security/role.dto.js.map +1 -0
- package/lib/security/role.types.d.ts +9 -0
- package/lib/security/role.types.js +14 -0
- package/lib/security/role.types.js.map +1 -0
- package/lib/security/token.d.ts +7 -0
- package/lib/security/token.js +3 -0
- package/lib/security/token.js.map +1 -0
- package/lib/session/course/index.d.ts +1 -0
- package/lib/session/course/index.js +18 -0
- package/lib/session/course/index.js.map +1 -0
- package/lib/session/course/session.model.d.ts +7 -0
- package/lib/session/course/session.model.js +35 -0
- package/lib/session/course/session.model.js.map +1 -0
- package/lib/session/driving/index.d.ts +3 -0
- package/lib/session/driving/index.js +20 -0
- package/lib/session/driving/index.js.map +1 -0
- package/lib/session/driving/session.model.d.ts +14 -0
- package/lib/session/driving/session.model.js +62 -0
- package/lib/session/driving/session.model.js.map +1 -0
- package/lib/session/driving/session.skill.d.ts +5 -0
- package/lib/session/driving/session.skill.js +27 -0
- package/lib/session/driving/session.skill.js.map +1 -0
- package/lib/session/driving/session.topic.d.ts +12 -0
- package/lib/session/driving/session.topic.js +58 -0
- package/lib/session/driving/session.topic.js.map +1 -0
- package/lib/session/index.d.ts +2 -0
- package/lib/session/index.js +19 -0
- package/lib/session/index.js.map +1 -0
- package/lib/setting/index.d.ts +2 -0
- package/lib/setting/index.js +19 -0
- package/lib/setting/index.js.map +1 -0
- package/lib/setting/setting.model.d.ts +10 -0
- package/lib/setting/setting.model.js +52 -0
- package/lib/setting/setting.model.js.map +1 -0
- package/lib/setting/setting.type.d.ts +7 -0
- package/lib/setting/setting.type.js +12 -0
- package/lib/setting/setting.type.js.map +1 -0
- package/lib/signature/index.d.ts +1 -0
- package/lib/signature/index.js +18 -0
- package/lib/signature/index.js.map +1 -0
- package/lib/signature/signature.model.d.ts +7 -0
- package/lib/signature/signature.model.js +42 -0
- package/lib/signature/signature.model.js.map +1 -0
- package/lib/student/index.d.ts +0 -3
- package/lib/student/index.js +0 -3
- package/lib/student/index.js.map +1 -1
- package/lib/student/student.model.d.ts +1 -8
- package/lib/student/student.model.js +1 -28
- package/lib/student/student.model.js.map +1 -1
- package/lib/training/course.model.d.ts +6 -0
- package/lib/training/course.model.js +29 -0
- package/lib/training/course.model.js.map +1 -0
- package/lib/training/driving.model.d.ts +13 -0
- package/lib/training/driving.model.js +59 -0
- package/lib/training/driving.model.js.map +1 -0
- package/lib/training/index.d.ts +5 -0
- package/lib/training/index.js +22 -0
- package/lib/training/index.js.map +1 -0
- package/lib/training/request.model.d.ts +20 -0
- package/lib/training/request.model.js +92 -0
- package/lib/training/request.model.js.map +1 -0
- package/lib/training/training.model.d.ts +31 -0
- package/lib/training/training.model.js +155 -0
- package/lib/training/training.model.js.map +1 -0
- package/lib/training/training.types.d.ts +15 -0
- package/lib/training/training.types.js +22 -0
- package/lib/training/training.types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +0 -5
- package/lib/user/index.js +0 -5
- package/lib/user/index.js.map +1 -1
- package/lib/user/profile.dto.d.ts +1 -1
- package/lib/user/profile.dto.js +2 -2
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +9 -9
- package/lib/user/user.model.js +28 -13
- package/lib/user/user.model.js.map +1 -1
- package/lib/validators/compare.validator.d.ts +5 -0
- package/lib/validators/compare.validator.js +28 -0
- package/lib/validators/compare.validator.js.map +1 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +19 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/required.validator.d.ts +11 -0
- package/lib/validators/required.validator.js +80 -0
- package/lib/validators/required.validator.js.map +1 -0
- package/package.json +1 -3
|
@@ -0,0 +1,38 @@
|
|
|
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.CompanySubmitCategoryDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CompanySubmitCategoryDto {
|
|
15
|
+
duration;
|
|
16
|
+
price;
|
|
17
|
+
administrationFee;
|
|
18
|
+
}
|
|
19
|
+
exports.CompanySubmitCategoryDto = CompanySubmitCategoryDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
(0, class_validator_1.Min)(1),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], CompanySubmitCategoryDto.prototype, "duration", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.Min)(0),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CompanySubmitCategoryDto.prototype, "price", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
(0, class_validator_1.Min)(0),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], CompanySubmitCategoryDto.prototype, "administrationFee", void 0);
|
|
38
|
+
//# sourceMappingURL=category.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../../src/driving/category/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAE5D,MAAa,wBAAwB;IAKpC,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,iBAAiB,CAAS;CAC1B;AAhBD,4DAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;uDACO;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;mEACmB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Country } from "../../country";
|
|
2
|
+
export declare class DrivingCategory {
|
|
3
|
+
id: number;
|
|
4
|
+
groupName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
active: boolean;
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
minAge: number;
|
|
11
|
+
country: Country;
|
|
12
|
+
sessionPrice: number;
|
|
13
|
+
sessionDuration: number;
|
|
14
|
+
administrationFee: number;
|
|
15
|
+
constructor(props?: Partial<DrivingCategory>);
|
|
16
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.DrivingCategory = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const country_1 = require("../../country");
|
|
15
|
+
class DrivingCategory {
|
|
16
|
+
id;
|
|
17
|
+
groupName;
|
|
18
|
+
name;
|
|
19
|
+
title;
|
|
20
|
+
description;
|
|
21
|
+
active;
|
|
22
|
+
imageUrl;
|
|
23
|
+
minAge;
|
|
24
|
+
country;
|
|
25
|
+
sessionPrice;
|
|
26
|
+
sessionDuration;
|
|
27
|
+
administrationFee;
|
|
28
|
+
constructor(props) {
|
|
29
|
+
Object.assign(this, props);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.DrivingCategory = DrivingCategory;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], DrivingCategory.prototype, "id", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], DrivingCategory.prototype, "groupName", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], DrivingCategory.prototype, "name", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], DrivingCategory.prototype, "title", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], DrivingCategory.prototype, "description", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], DrivingCategory.prototype, "active", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], DrivingCategory.prototype, "imageUrl", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], DrivingCategory.prototype, "minAge", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", country_1.Country)
|
|
71
|
+
], DrivingCategory.prototype, "country", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], DrivingCategory.prototype, "sessionPrice", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], DrivingCategory.prototype, "sessionDuration", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
85
|
+
__metadata("design:type", Number)
|
|
86
|
+
], DrivingCategory.prototype, "administrationFee", void 0);
|
|
87
|
+
//# sourceMappingURL=category.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../../src/driving/category/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAAwC;AAGxC,MAAa,eAAe;IAI3B,EAAE,CAAS;IAGX,SAAS,CAAS;IAGlB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,MAAM,CAAU;IAGhB,QAAQ,CAAS;IAIjB,MAAM,CAAS;IAGf,OAAO,CAAU;IAMjB,YAAY,CAAS;IAIrB,eAAe,CAAS;IAIxB,iBAAiB,CAAS;IAE1B,YAAY,KAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjDD,0CAiDC;AA7CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;kDACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;6CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;8CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;oDACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;+CACJ;AAGhB;IADC,IAAA,0BAAM,GAAE;;iDACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACJ;AAGf;IADC,IAAA,0BAAM,GAAE;8BACA,iBAAO;gDAAC;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACE;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACK;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACO"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./category.dto"), exports);
|
|
18
|
+
__exportStar(require("./category.model"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/driving/category/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,mDAAiC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./category"), exports);
|
|
18
|
+
__exportStar(require("./lesson"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./skill"), exports);
|
|
18
|
+
__exportStar(require("./topic"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/driving/lesson/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.DrivingSkill = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class DrivingSkill {
|
|
15
|
+
id;
|
|
16
|
+
title;
|
|
17
|
+
sort;
|
|
18
|
+
constructor(props) {
|
|
19
|
+
Object.assign(this, props);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.DrivingSkill = DrivingSkill;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], DrivingSkill.prototype, "id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], DrivingSkill.prototype, "title", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], DrivingSkill.prototype, "sort", void 0);
|
|
37
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/driving/lesson/skill.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,YAAY;IAIxB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,IAAI,CAAS;IAEb,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhBD,oCAgBC;AAZA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACN"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.DrivingTopic = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class DrivingTopic {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
title;
|
|
18
|
+
description;
|
|
19
|
+
imageUrl;
|
|
20
|
+
sort;
|
|
21
|
+
upcoming;
|
|
22
|
+
constructor(props) {
|
|
23
|
+
Object.assign(this, props);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.DrivingTopic = DrivingTopic;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], DrivingTopic.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], DrivingTopic.prototype, "name", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], DrivingTopic.prototype, "title", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], DrivingTopic.prototype, "description", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], DrivingTopic.prototype, "imageUrl", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], DrivingTopic.prototype, "sort", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], DrivingTopic.prototype, "upcoming", void 0);
|
|
58
|
+
//# sourceMappingURL=topic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic.js","sourceRoot":"","sources":["../../../src/driving/lesson/topic.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,YAAY;IAIxB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,QAAQ,CAAU;IAElB,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7BD,oCA6BC;AAzBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;0CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;2CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;iDACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;8CACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACN;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingTopicStatus = exports.DrivingScore = void 0;
|
|
4
|
+
var DrivingScore;
|
|
5
|
+
(function (DrivingScore) {
|
|
6
|
+
DrivingScore[DrivingScore["Poor"] = 1] = "Poor";
|
|
7
|
+
DrivingScore[DrivingScore["Weak"] = 2] = "Weak";
|
|
8
|
+
DrivingScore[DrivingScore["Fair"] = 3] = "Fair";
|
|
9
|
+
DrivingScore[DrivingScore["Great"] = 4] = "Great";
|
|
10
|
+
DrivingScore[DrivingScore["Excellent"] = 5] = "Excellent";
|
|
11
|
+
})(DrivingScore || (exports.DrivingScore = DrivingScore = {}));
|
|
12
|
+
var DrivingTopicStatus;
|
|
13
|
+
(function (DrivingTopicStatus) {
|
|
14
|
+
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
15
|
+
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
16
|
+
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
17
|
+
DrivingTopicStatus["Faild"] = "FAILD";
|
|
18
|
+
})(DrivingTopicStatus || (exports.DrivingTopicStatus = DrivingTopicStatus = {}));
|
|
19
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/driving/lesson/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAMX;AAND,WAAY,YAAY;IACvB,+CAAQ,CAAA;IACR,+CAAQ,CAAA;IACR,+CAAQ,CAAA;IACR,iDAAS,CAAA;IACT,yDAAa,CAAA;AACd,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,qCAAe,CAAA;AAChB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingExamStatus = exports.CarTransmission = void 0;
|
|
4
|
+
var CarTransmission;
|
|
5
|
+
(function (CarTransmission) {
|
|
6
|
+
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
7
|
+
CarTransmission["Manual"] = "MANUAL";
|
|
8
|
+
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
9
|
+
var DrivingExamStatus;
|
|
10
|
+
(function (DrivingExamStatus) {
|
|
11
|
+
DrivingExamStatus["Passed"] = "PASSED";
|
|
12
|
+
DrivingExamStatus["Failed"] = "FAILED";
|
|
13
|
+
})(DrivingExamStatus || (exports.DrivingExamStatus = DrivingExamStatus = {}));
|
|
14
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/driving/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.Event = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class Event {
|
|
15
|
+
id;
|
|
16
|
+
title;
|
|
17
|
+
startDate;
|
|
18
|
+
endDate;
|
|
19
|
+
allDay;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Event = Event;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], Event.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Event.prototype, "title", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
37
|
+
__metadata("design:type", Date)
|
|
38
|
+
], Event.prototype, "startDate", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
42
|
+
__metadata("design:type", Date)
|
|
43
|
+
], Event.prototype, "endDate", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], Event.prototype, "allDay", void 0);
|
|
49
|
+
//# sourceMappingURL=event.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.model.js","sourceRoot":"","sources":["../../src/event/event.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,KAAK;IAGjB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAEhB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvBD,sBAuBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;wCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;sCAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;qCACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './event.model';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./event.model"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.ExpenseCategory = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class ExpenseCategory {
|
|
15
|
+
id;
|
|
16
|
+
title;
|
|
17
|
+
description;
|
|
18
|
+
imageUrl;
|
|
19
|
+
constructor(props) {
|
|
20
|
+
Object.assign(this, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ExpenseCategory = ExpenseCategory;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ExpenseCategory.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ExpenseCategory.prototype, "title", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ExpenseCategory.prototype, "description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ExpenseCategory.prototype, "imageUrl", void 0);
|
|
41
|
+
//# sourceMappingURL=category.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../src/expense/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,eAAe;IAI3B,EAAE,CAAS;IAGX,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,QAAQ,CAAS;IAEjB,YAAY,KAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlBD,0CAkBC;AAdA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;8CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;iDACQ"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExpenseStatus } from "./expense.types";
|
|
2
|
+
import { User } from "../user";
|
|
3
|
+
import { ExpenseCategory } from "./category.model";
|
|
4
|
+
export declare class Expense {
|
|
5
|
+
id: number;
|
|
6
|
+
status: ExpenseStatus;
|
|
7
|
+
category: ExpenseCategory;
|
|
8
|
+
amount: number;
|
|
9
|
+
description: string;
|
|
10
|
+
receiptUrl: string;
|
|
11
|
+
createdBy: User;
|
|
12
|
+
createdOn: Date;
|
|
13
|
+
constructor(props?: Partial<Expense>);
|
|
14
|
+
}
|