@intelact/driveup 0.6.0 → 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 +27 -2
- package/lib/index.js +27 -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/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/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/notification.model.js.map +1 -1
- 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 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Appointment } from "../../calendar";
|
|
2
|
+
import { DrivingSessionTopic } from "./session.topic";
|
|
3
|
+
import { Note } from "../../note";
|
|
4
|
+
import { Signature } from "../../signature";
|
|
5
|
+
import { Feedback } from "../../feedback";
|
|
6
|
+
export declare class DrivingSession extends Appointment {
|
|
7
|
+
price: number;
|
|
8
|
+
duration: number;
|
|
9
|
+
topics: DrivingSessionTopic[];
|
|
10
|
+
notes: Note[];
|
|
11
|
+
signature: Signature;
|
|
12
|
+
examFeedback: Feedback;
|
|
13
|
+
constructor(props?: Partial<DrivingSession>);
|
|
14
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.DrivingSession = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const calendar_1 = require("../../calendar");
|
|
15
|
+
const session_topic_1 = require("./session.topic");
|
|
16
|
+
const note_1 = require("../../note");
|
|
17
|
+
const signature_1 = require("../../signature");
|
|
18
|
+
const feedback_1 = require("../../feedback");
|
|
19
|
+
class DrivingSession extends calendar_1.Appointment {
|
|
20
|
+
price;
|
|
21
|
+
duration;
|
|
22
|
+
topics;
|
|
23
|
+
notes;
|
|
24
|
+
signature;
|
|
25
|
+
examFeedback;
|
|
26
|
+
constructor(props) {
|
|
27
|
+
super(props);
|
|
28
|
+
Object.assign(this, props);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.DrivingSession = DrivingSession;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], DrivingSession.prototype, "price", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], DrivingSession.prototype, "duration", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, class_transformer_1.Type)(() => session_topic_1.DrivingSessionTopic),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], DrivingSession.prototype, "topics", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_transformer_1.Type)(() => note_1.Note),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], DrivingSession.prototype, "notes", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
(0, class_transformer_1.Type)(() => signature_1.Signature),
|
|
55
|
+
__metadata("design:type", signature_1.Signature)
|
|
56
|
+
], DrivingSession.prototype, "signature", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
(0, class_transformer_1.Type)(() => feedback_1.Feedback),
|
|
60
|
+
__metadata("design:type", feedback_1.Feedback)
|
|
61
|
+
], DrivingSession.prototype, "examFeedback", void 0);
|
|
62
|
+
//# sourceMappingURL=session.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.model.js","sourceRoot":"","sources":["../../../src/session/driving/session.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,6CAA6C;AAC7C,mDAAsD;AACtD,qCAAkC;AAClC,+CAA4C;AAC5C,6CAA0C;AAE1C,MAAa,cAAe,SAAQ,sBAAW;IAI9C,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,MAAM,CAAwB;IAI9B,KAAK,CAAS;IAId,SAAS,CAAY;IAIrB,YAAY,CAAW;IAEvB,YAAY,KAA+B;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,wCA8BC;AA1BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACF;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAmB,CAAC;;8CACF;AAI9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;6CACH;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAS,CAAC;8BACX,qBAAS;iDAAC;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAQ,CAAC;8BACP,mBAAQ;oDAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.DrivingSessionSkill = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const driving_1 = require("../../driving");
|
|
15
|
+
class DrivingSessionSkill extends driving_1.DrivingSkill {
|
|
16
|
+
score;
|
|
17
|
+
constructor(props) {
|
|
18
|
+
super(props);
|
|
19
|
+
Object.assign(this, props);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.DrivingSessionSkill = DrivingSessionSkill;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], DrivingSessionSkill.prototype, "score", void 0);
|
|
27
|
+
//# sourceMappingURL=session.skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.skill.js","sourceRoot":"","sources":["../../../src/session/driving/session.skill.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,2CAA2D;AAE3D,MAAa,mBAAoB,SAAQ,sBAAY;IAGpD,KAAK,CAAe;IAEpB,YAAY,KAAoC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AATD,kDASC;AANA;IADC,IAAA,0BAAM,GAAE;;kDACW"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DrivingScore, DrivingTopic, DrivingTopicStatus } from "../../driving";
|
|
2
|
+
import { DrivingSessionSkill } from "./session.skill";
|
|
3
|
+
import { User } from "../../user";
|
|
4
|
+
export declare class DrivingSessionTopic extends DrivingTopic {
|
|
5
|
+
status: DrivingTopicStatus;
|
|
6
|
+
score: DrivingScore;
|
|
7
|
+
repetitions: number;
|
|
8
|
+
completedBy: User;
|
|
9
|
+
completedOn: Date;
|
|
10
|
+
skills: DrivingSessionSkill[];
|
|
11
|
+
constructor(props?: Partial<DrivingSessionTopic>);
|
|
12
|
+
}
|
|
@@ -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.DrivingSessionTopic = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const driving_1 = require("../../driving");
|
|
15
|
+
const session_skill_1 = require("./session.skill");
|
|
16
|
+
const user_1 = require("../../user");
|
|
17
|
+
class DrivingSessionTopic extends driving_1.DrivingTopic {
|
|
18
|
+
status;
|
|
19
|
+
score;
|
|
20
|
+
repetitions;
|
|
21
|
+
completedBy;
|
|
22
|
+
completedOn;
|
|
23
|
+
skills;
|
|
24
|
+
constructor(props) {
|
|
25
|
+
super(props);
|
|
26
|
+
Object.assign(this, props);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.DrivingSessionTopic = DrivingSessionTopic;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], DrivingSessionTopic.prototype, "status", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], DrivingSessionTopic.prototype, "score", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], DrivingSessionTopic.prototype, "repetitions", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
46
|
+
__metadata("design:type", user_1.User)
|
|
47
|
+
], DrivingSessionTopic.prototype, "completedBy", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], DrivingSessionTopic.prototype, "completedOn", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_transformer_1.Type)(() => session_skill_1.DrivingSessionSkill),
|
|
56
|
+
__metadata("design:type", Array)
|
|
57
|
+
], DrivingSessionTopic.prototype, "skills", void 0);
|
|
58
|
+
//# sourceMappingURL=session.topic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.topic.js","sourceRoot":"","sources":["../../../src/session/driving/session.topic.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA+E;AAC/E,mDAAsD;AACtD,qCAAkC;AAElC,MAAa,mBAAoB,SAAQ,sBAAY;IAGpD,MAAM,CAAqB;IAG3B,KAAK,CAAe;IAIpB,WAAW,CAAS;IAIpB,WAAW,CAAO;IAIlB,WAAW,CAAO;IAIlB,MAAM,CAAwB;IAE9B,YAAY,KAAoC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA5BD,kDA4BC;AAzBA;IADC,IAAA,0BAAM,GAAE;;mDACkB;AAG3B;IADC,IAAA,0BAAM,GAAE;;kDACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACJ,WAAI;wDAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACJ,IAAI;wDAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAmB,CAAC;;mDACF"}
|
|
@@ -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("./course"), exports);
|
|
18
|
+
__exportStar(require("./driving"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B"}
|
|
@@ -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("./setting.model"), exports);
|
|
18
|
+
__exportStar(require("./setting.type"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/setting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,iDAA+B"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.Setting = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const setting_type_1 = require("./setting.type");
|
|
15
|
+
class Setting {
|
|
16
|
+
id;
|
|
17
|
+
scope;
|
|
18
|
+
name;
|
|
19
|
+
value;
|
|
20
|
+
title;
|
|
21
|
+
description;
|
|
22
|
+
constructor(props) {
|
|
23
|
+
Object.assign(this, props);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Setting = Setting;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Setting.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Setting.prototype, "scope", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Setting.prototype, "name", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Setting.prototype, "value", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Setting.prototype, "title", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Setting.prototype, "description", void 0);
|
|
52
|
+
//# sourceMappingURL=setting.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.model.js","sourceRoot":"","sources":["../../src/setting/setting.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iDAA6C;AAG7C,MAAa,OAAO;IAInB,EAAE,CAAS;IAGX,KAAK,CAAc;IAGnB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,KAAK,CAAS;IAGd,WAAW,CAAS;IAEpB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,0BAwBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;sCACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;sCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;sCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;4CACW"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettingType = void 0;
|
|
4
|
+
var SettingType;
|
|
5
|
+
(function (SettingType) {
|
|
6
|
+
SettingType["Config"] = "CONFIG";
|
|
7
|
+
SettingType["Social"] = "SOCIAL";
|
|
8
|
+
SettingType["Auth"] = "AUTH";
|
|
9
|
+
SettingType["Mail"] = "MAIL";
|
|
10
|
+
SettingType["Other"] = "OTHER";
|
|
11
|
+
})(SettingType || (exports.SettingType = SettingType = {}));
|
|
12
|
+
//# sourceMappingURL=setting.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.type.js","sourceRoot":"","sources":["../../src/setting/setting.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAMX;AAND,WAAY,WAAW;IACtB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,4BAAa,CAAA;IACb,8BAAe,CAAA;AAChB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature.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("./signature.model"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/signature/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.Signature = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class Signature {
|
|
15
|
+
id;
|
|
16
|
+
description;
|
|
17
|
+
date;
|
|
18
|
+
imageUrl;
|
|
19
|
+
constructor(props) {
|
|
20
|
+
Object.assign(this, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.Signature = Signature;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], Signature.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Signature.prototype, "description", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], Signature.prototype, "date", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Signature.prototype, "imageUrl", void 0);
|
|
42
|
+
//# sourceMappingURL=signature.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature.model.js","sourceRoot":"","sources":["../../src/signature/signature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,SAAS;IAKrB,EAAE,CAAS;IAGX,WAAW,CAAS;IAIpB,IAAI,CAAO;IAGX,QAAQ,CAAS;IAIjB,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtBD,8BAsBC;AAjBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;8CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;uCAAC;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACQ"}
|
package/lib/student/index.d.ts
CHANGED
package/lib/student/index.js
CHANGED
|
@@ -14,8 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./course"), exports);
|
|
18
|
-
__exportStar(require("./driving"), exports);
|
|
19
|
-
__exportStar(require("./signature.model"), exports);
|
|
20
17
|
__exportStar(require("./student.model"), exports);
|
|
21
18
|
//# sourceMappingURL=index.js.map
|
package/lib/student/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/student/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/student/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StudentDrivingRequest } from "./driving";
|
|
3
|
-
import { AccountStatus, CompanyStudent } from "../company";
|
|
4
|
-
import { User } from "../user";
|
|
1
|
+
import { AccountStatus } from "../security";
|
|
5
2
|
export declare class Student {
|
|
6
3
|
id: number;
|
|
7
4
|
status: AccountStatus;
|
|
8
|
-
user: User;
|
|
9
|
-
companyStudents: CompanyStudent[];
|
|
10
|
-
drivingRequests: StudentDrivingRequest[];
|
|
11
|
-
courseTrainingRequests: StudentCourseRequest[];
|
|
12
5
|
constructor(props?: Partial<Student>);
|
|
13
6
|
}
|
|
@@ -11,17 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Student = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const driving_1 = require("./driving");
|
|
16
|
-
const company_1 = require("../company");
|
|
17
|
-
const user_1 = require("../user");
|
|
14
|
+
const security_1 = require("../security");
|
|
18
15
|
class Student {
|
|
19
16
|
id;
|
|
20
17
|
status;
|
|
21
|
-
user;
|
|
22
|
-
companyStudents;
|
|
23
|
-
drivingRequests;
|
|
24
|
-
courseTrainingRequests;
|
|
25
18
|
constructor(props) {
|
|
26
19
|
Object.assign(this, props);
|
|
27
20
|
}
|
|
@@ -36,24 +29,4 @@ __decorate([
|
|
|
36
29
|
(0, class_transformer_1.Expose)(),
|
|
37
30
|
__metadata("design:type", String)
|
|
38
31
|
], Student.prototype, "status", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
(0, class_transformer_1.Type)(() => user_1.User),
|
|
42
|
-
__metadata("design:type", user_1.User)
|
|
43
|
-
], Student.prototype, "user", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_transformer_1.Expose)(),
|
|
46
|
-
(0, class_transformer_1.Type)(() => company_1.CompanyStudent),
|
|
47
|
-
__metadata("design:type", Array)
|
|
48
|
-
], Student.prototype, "companyStudents", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_transformer_1.Expose)(),
|
|
51
|
-
(0, class_transformer_1.Type)(() => driving_1.StudentDrivingRequest),
|
|
52
|
-
__metadata("design:type", Array)
|
|
53
|
-
], Student.prototype, "drivingRequests", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, class_transformer_1.Expose)(),
|
|
56
|
-
(0, class_transformer_1.Type)(() => course_1.StudentCourseRequest),
|
|
57
|
-
__metadata("design:type", Array)
|
|
58
|
-
], Student.prototype, "courseTrainingRequests", void 0);
|
|
59
32
|
//# sourceMappingURL=student.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,0CAA4C;AAE5C,MAAa,OAAO;IAInB,EAAE,CAAS;IAGX,MAAM,CAAgB;IAEtB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAZD,0BAYC;AARA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;uCACa"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.CourseTraining = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const training_model_1 = require("./training.model");
|
|
15
|
+
const course_1 = require("../course");
|
|
16
|
+
class CourseTraining extends training_model_1.Training {
|
|
17
|
+
parts;
|
|
18
|
+
constructor(props) {
|
|
19
|
+
super(props);
|
|
20
|
+
Object.assign(this, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.CourseTraining = CourseTraining;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => course_1.CoursePart),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], CourseTraining.prototype, "parts", void 0);
|
|
29
|
+
//# sourceMappingURL=course.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.model.js","sourceRoot":"","sources":["../../src/training/course.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4C;AAE5C,sCAAuC;AAEvC,MAAa,cAAe,SAAQ,yBAAQ;IAI3C,KAAK,CAAe;IAEpB,YAAY,KAA+B;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAVD,wCAUC;AANA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAU,CAAC;;6CACH"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { License } from "../license";
|
|
2
|
+
import { Training } from "./training.model";
|
|
3
|
+
import { CarTransmission } from "../driving";
|
|
4
|
+
import { PickupLocation } from "../geo";
|
|
5
|
+
export declare class DrivingTraining extends Training {
|
|
6
|
+
transmission: CarTransmission;
|
|
7
|
+
license: License;
|
|
8
|
+
sessionPrice: number;
|
|
9
|
+
sessionDuration: number;
|
|
10
|
+
administrationFee: number;
|
|
11
|
+
pickupLocations: PickupLocation;
|
|
12
|
+
constructor(props?: Partial<DrivingTraining>);
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.DrivingTraining = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const license_1 = require("../license");
|
|
15
|
+
const training_model_1 = require("./training.model");
|
|
16
|
+
const driving_1 = require("../driving");
|
|
17
|
+
const geo_1 = require("../geo");
|
|
18
|
+
class DrivingTraining extends training_model_1.Training {
|
|
19
|
+
transmission;
|
|
20
|
+
license;
|
|
21
|
+
sessionPrice;
|
|
22
|
+
sessionDuration;
|
|
23
|
+
administrationFee;
|
|
24
|
+
pickupLocations;
|
|
25
|
+
constructor(props) {
|
|
26
|
+
super(props);
|
|
27
|
+
Object.assign(this, props);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.DrivingTraining = DrivingTraining;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], DrivingTraining.prototype, "transmission", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", license_1.License)
|
|
38
|
+
], DrivingTraining.prototype, "license", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], DrivingTraining.prototype, "sessionPrice", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], DrivingTraining.prototype, "sessionDuration", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], DrivingTraining.prototype, "administrationFee", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_transformer_1.Type)(() => geo_1.PickupLocation),
|
|
57
|
+
__metadata("design:type", geo_1.PickupLocation)
|
|
58
|
+
], DrivingTraining.prototype, "pickupLocations", void 0);
|
|
59
|
+
//# sourceMappingURL=driving.model.js.map
|