@more-life/types-more-life-nest 0.97.0 → 0.99.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/dist/dto/block/block.dto.d.ts +1 -0
- package/dist/dto/block/block.dto.js +6 -1
- package/dist/dto/block/block.dto.js.map +1 -1
- package/dist/dto/document/generateDocument.dto.d.ts +12 -0
- package/dist/dto/{application/extensionApplication.dto.js → document/generateDocument.dto.js} +12 -12
- package/dist/dto/document/generateDocument.dto.js.map +1 -0
- package/dist/dto/document/generateDocumentEmbedded.dto.d.ts +10 -0
- package/dist/dto/{application/extensionApplicationEmbedded.dto.js → document/generateDocumentEmbedded.dto.js} +15 -14
- package/dist/dto/document/generateDocumentEmbedded.dto.js.map +1 -0
- package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.d.ts +5 -3
- package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.js +13 -1
- package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.js.map +1 -1
- package/dist/dto/geridocTherapistReport/geridocTherapistReport.dto.d.ts +15 -0
- package/dist/dto/{userAddressTimeView/userAddressTimeView.dto.js → geridocTherapistReport/geridocTherapistReport.dto.js} +23 -30
- package/dist/dto/geridocTherapistReport/geridocTherapistReport.dto.js.map +1 -0
- package/dist/dto/geridocTherapistReport/geridocTherapistReportEmbedded.dto.d.ts +4 -0
- package/dist/dto/geridocTherapistReport/geridocTherapistReportEmbedded.dto.js +32 -0
- package/dist/dto/geridocTherapistReport/geridocTherapistReportEmbedded.dto.js.map +1 -0
- package/dist/dto/geridocTherapistReport/geridocTherapistReportPage.dto.d.ts +12 -0
- package/dist/dto/{userAddressTimeView/userAddressTimeViewPage.dto.js → geridocTherapistReport/geridocTherapistReportPage.dto.js} +20 -20
- package/dist/dto/geridocTherapistReport/geridocTherapistReportPage.dto.js.map +1 -0
- package/dist/dto/user/userEmbedded.dto.d.ts +0 -3
- package/dist/dto/user/userEmbedded.dto.js +1 -24
- package/dist/dto/user/userEmbedded.dto.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/dto/application/extensionApplication.dto.d.ts +0 -12
- package/dist/dto/application/extensionApplication.dto.js.map +0 -1
- package/dist/dto/application/extensionApplicationEmbedded.dto.d.ts +0 -10
- package/dist/dto/application/extensionApplicationEmbedded.dto.js.map +0 -1
- package/dist/dto/userAddressTimeView/userAddressTimeView.dto.d.ts +0 -17
- package/dist/dto/userAddressTimeView/userAddressTimeView.dto.js.map +0 -1
- package/dist/dto/userAddressTimeView/userAddressTimeViewEmbedded.dto.d.ts +0 -8
- package/dist/dto/userAddressTimeView/userAddressTimeViewEmbedded.dto.js +0 -47
- package/dist/dto/userAddressTimeView/userAddressTimeViewEmbedded.dto.js.map +0 -1
- package/dist/dto/userAddressTimeView/userAddressTimeViewPage.dto.d.ts +0 -12
- package/dist/dto/userAddressTimeView/userAddressTimeViewPage.dto.js.map +0 -1
|
@@ -39,6 +39,7 @@ export declare class BlockDto extends BlockDto_base {
|
|
|
39
39
|
address: AddressDto;
|
|
40
40
|
applicationId?: string;
|
|
41
41
|
extensionId?: string;
|
|
42
|
+
extensionAppointmentNumber?: string;
|
|
42
43
|
followUpFlag?: BlockFollowUpFlagTypeEnum[];
|
|
43
44
|
static fromEntity(entity: any): BlockDto;
|
|
44
45
|
}
|
|
@@ -27,7 +27,7 @@ class BlockDto extends (0, base_dto_1.BaseDto)(blockEmbedded_dto_1.BlockEmbedded
|
|
|
27
27
|
return (0, convertAndValidate_1.convert)(BlockDto, entity);
|
|
28
28
|
}
|
|
29
29
|
static _OPENAPI_METADATA_FACTORY() {
|
|
30
|
-
return { id: { required: true, type: () => String }, appointmentNumber: { required: false, type: () => Number }, preferredWeek: { required: false, type: () => Number }, preferredYear: { required: false, type: () => Number }, disciplines: { required: true, enum: require("../../enum/discipline.enum").DisciplineEnum, isArray: true }, duration: { required: true, type: () => Number }, plannedDuration: { required: true, type: () => Number }, type: { required: true, enum: require("../../enum/blockType.enum").BlockTypeEnum }, status: { required: true, enum: require("../../enum/blockStatus.enum").BlockStatusEnum }, patientInfoId: { required: true, type: () => String }, therapistInfoId: { required: true, type: () => String }, from: { required: true, type: () => String }, to: { required: true, type: () => String }, concludedAt: { required: false, type: () => String }, arrivedAt: { required: false, type: () => String }, cancellationReason: { required: false, enum: require("../../enum/blockCancellationReason").BlockCancellationReasonEnum }, isAdmission: { required: false, type: () => Boolean }, isDecommission: { required: false, type: () => Boolean }, isSchedulable: { required: true, type: () => Boolean }, wait: { required: false, type: () => Number }, driveTimeToNext: { required: false, type: () => Number }, driveTimeFromPrevious: { required: false, type: () => Number }, distanceToNext: { required: false, type: () => Number }, distanceFromPrevious: { required: false, type: () => Number }, comment: { required: false, type: () => String }, address: { required: true, type: () => require("../address/address.dto").AddressDto }, applicationId: { required: false, type: () => String }, extensionId: { required: false, type: () => String }, followUpFlag: { required: false, enum: require("../../enum/blockFollowUpFlagType.enum").BlockFollowUpFlagTypeEnum, isArray: true } };
|
|
30
|
+
return { id: { required: true, type: () => String }, appointmentNumber: { required: false, type: () => Number }, preferredWeek: { required: false, type: () => Number }, preferredYear: { required: false, type: () => Number }, disciplines: { required: true, enum: require("../../enum/discipline.enum").DisciplineEnum, isArray: true }, duration: { required: true, type: () => Number }, plannedDuration: { required: true, type: () => Number }, type: { required: true, enum: require("../../enum/blockType.enum").BlockTypeEnum }, status: { required: true, enum: require("../../enum/blockStatus.enum").BlockStatusEnum }, patientInfoId: { required: true, type: () => String }, therapistInfoId: { required: true, type: () => String }, from: { required: true, type: () => String }, to: { required: true, type: () => String }, concludedAt: { required: false, type: () => String }, arrivedAt: { required: false, type: () => String }, cancellationReason: { required: false, enum: require("../../enum/blockCancellationReason").BlockCancellationReasonEnum }, isAdmission: { required: false, type: () => Boolean }, isDecommission: { required: false, type: () => Boolean }, isSchedulable: { required: true, type: () => Boolean }, wait: { required: false, type: () => Number }, driveTimeToNext: { required: false, type: () => Number }, driveTimeFromPrevious: { required: false, type: () => Number }, distanceToNext: { required: false, type: () => Number }, distanceFromPrevious: { required: false, type: () => Number }, comment: { required: false, type: () => String }, address: { required: true, type: () => require("../address/address.dto").AddressDto }, applicationId: { required: false, type: () => String }, extensionId: { required: false, type: () => String }, extensionAppointmentNumber: { required: false, type: () => String }, followUpFlag: { required: false, enum: require("../../enum/blockFollowUpFlagType.enum").BlockFollowUpFlagTypeEnum, isArray: true } };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
exports.BlockDto = BlockDto;
|
|
@@ -172,6 +172,11 @@ __decorate([
|
|
|
172
172
|
(0, class_transformer_1.Expose)(),
|
|
173
173
|
__metadata("design:type", String)
|
|
174
174
|
], BlockDto.prototype, "extensionId", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
177
|
+
(0, class_transformer_1.Expose)(),
|
|
178
|
+
__metadata("design:type", String)
|
|
179
|
+
], BlockDto.prototype, "extensionAppointmentNumber", void 0);
|
|
175
180
|
__decorate([
|
|
176
181
|
(0, nestjs_1.ApiProperty)({
|
|
177
182
|
isArray: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.dto.js","sourceRoot":"","sources":["../../../src/dto/block/block.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,2DAAuD;AACvD,kDAA8C;AAC9C,8DAA0D;AAC1D,kEAA8D;AAC9D,gEAA4D;AAC5D,sEAAsD;AACtD,wDAAoD;AACpD,gFAAiF;AACjF,sFAAkF;AAElF,MAAa,QAAS,SAAQ,IAAA,kBAAO,EAAC,oCAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"block.dto.js","sourceRoot":"","sources":["../../../src/dto/block/block.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDA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AA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IACtB,IAAA,0BAAM,GAAE;8BACA,wBAAU;yCAAC;AAIpB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,0BAAM,GAAE;;+CACc;AAIvB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,0BAAM,GAAE;;6CACY;AAIrB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;4DAC2B;AAQpC;IANC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,sDAAyB;QAC/B,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,0BAAM,GAAE;;8CACkC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GenerateDocumentEmbeddedDto } from './generateDocumentEmbedded.dto';
|
|
2
|
+
declare const GenerateDocumentDto_base: new () => {
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
_embedded?: GenerateDocumentEmbeddedDto;
|
|
6
|
+
};
|
|
7
|
+
export declare class GenerateDocumentDto extends GenerateDocumentDto_base {
|
|
8
|
+
patientInfoId: string;
|
|
9
|
+
applicationId?: string;
|
|
10
|
+
geridocPatientId: string;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
package/dist/dto/{application/extensionApplication.dto.js → document/generateDocument.dto.js}
RENAMED
|
@@ -9,33 +9,33 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GenerateDocumentDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const nestjs_1 = require("../../nestjs");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
16
|
const base_dto_1 = require("../generic/base.dto");
|
|
17
|
-
const
|
|
17
|
+
const generateDocumentEmbedded_dto_1 = require("./generateDocumentEmbedded.dto");
|
|
18
18
|
const class_validator_1 = require("class-validator");
|
|
19
|
-
class
|
|
19
|
+
class GenerateDocumentDto extends (0, base_dto_1.BaseDto)(generateDocumentEmbedded_dto_1.GenerateDocumentEmbeddedDto) {
|
|
20
20
|
static _OPENAPI_METADATA_FACTORY() {
|
|
21
|
-
return {
|
|
21
|
+
return {};
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
exports.
|
|
24
|
+
exports.GenerateDocumentDto = GenerateDocumentDto;
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, nestjs_1.
|
|
26
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
27
27
|
(0, class_transformer_1.Expose)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
29
|
+
], GenerateDocumentDto.prototype, "patientInfoId", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, nestjs_1.
|
|
31
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
32
32
|
(0, class_validator_1.IsOptional)(),
|
|
33
33
|
(0, class_transformer_1.Expose)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
35
|
+
], GenerateDocumentDto.prototype, "applicationId", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
(0, nestjs_1.
|
|
37
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
38
38
|
(0, class_transformer_1.Expose)(),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
],
|
|
41
|
-
//# sourceMappingURL=
|
|
40
|
+
], GenerateDocumentDto.prototype, "geridocPatientId", void 0);
|
|
41
|
+
//# sourceMappingURL=generateDocument.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateDocument.dto.js","sourceRoot":"","sources":["../../../src/dto/document/generateDocument.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA+C;AAC/C,yDAA2C;AAC3C,kDAA8C;AAC9C,iFAA6E;AAC7E,qDAA6C;AAE7C,MAAa,mBAAoB,SAAQ,IAAA,kBAAO,EAAC,0DAA2B,CAAC;;;;CAa5E;AAbD,kDAaC;AAVA;IAFC,IAAA,wBAAe,GAAE;IACjB,IAAA,0BAAM,GAAE;;0DACc;AAKvB;IAHC,IAAA,wBAAe,GAAE;IACjB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;0DACc;AAIvB;IAFC,IAAA,wBAAe,GAAE;IACjB,IAAA,0BAAM,GAAE;;6DACgB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PatientInfoDto } from '../patient/patientInfo.dto';
|
|
2
|
+
import { ApplicationDto } from '../application/application.dto';
|
|
3
|
+
import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
|
|
4
|
+
import { TherapySummaryDto } from '../therapySummary/therapySummary.dto';
|
|
5
|
+
export declare class GenerateDocumentEmbeddedDto {
|
|
6
|
+
patientInfo: PatientInfoDto;
|
|
7
|
+
application?: ApplicationDto;
|
|
8
|
+
geridocPatient: GeridocPatientDto;
|
|
9
|
+
therapySummary?: TherapySummaryDto;
|
|
10
|
+
}
|
|
@@ -9,44 +9,45 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GenerateDocumentEmbeddedDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const nestjs_1 = require("../../nestjs");
|
|
15
15
|
const patientInfo_dto_1 = require("../patient/patientInfo.dto");
|
|
16
16
|
const class_transformer_1 = require("class-transformer");
|
|
17
17
|
const class_validator_1 = require("class-validator");
|
|
18
|
-
const application_dto_1 = require("
|
|
18
|
+
const application_dto_1 = require("../application/application.dto");
|
|
19
19
|
const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
|
|
20
20
|
const therapySummary_dto_1 = require("../therapySummary/therapySummary.dto");
|
|
21
|
-
class
|
|
21
|
+
class GenerateDocumentEmbeddedDto {
|
|
22
22
|
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
-
return {
|
|
23
|
+
return {};
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
exports.
|
|
26
|
+
exports.GenerateDocumentEmbeddedDto = GenerateDocumentEmbeddedDto;
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, nestjs_1.
|
|
28
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
29
29
|
(0, class_transformer_1.Type)(() => patientInfo_dto_1.PatientInfoDto),
|
|
30
30
|
(0, class_transformer_1.Expose)(),
|
|
31
31
|
__metadata("design:type", patientInfo_dto_1.PatientInfoDto)
|
|
32
|
-
],
|
|
32
|
+
], GenerateDocumentEmbeddedDto.prototype, "patientInfo", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, nestjs_1.
|
|
34
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
35
35
|
(0, class_transformer_1.Type)(() => application_dto_1.ApplicationDto),
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
38
38
|
__metadata("design:type", application_dto_1.ApplicationDto)
|
|
39
|
-
],
|
|
39
|
+
], GenerateDocumentEmbeddedDto.prototype, "application", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
(0, nestjs_1.
|
|
41
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
42
42
|
(0, class_transformer_1.Type)(() => geridocPatient_dto_1.GeridocPatientDto),
|
|
43
43
|
(0, class_transformer_1.Expose)(),
|
|
44
44
|
__metadata("design:type", geridocPatient_dto_1.GeridocPatientDto)
|
|
45
|
-
],
|
|
45
|
+
], GenerateDocumentEmbeddedDto.prototype, "geridocPatient", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
(0, nestjs_1.
|
|
47
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
48
48
|
(0, class_transformer_1.Type)(() => therapySummary_dto_1.TherapySummaryDto),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
50
|
(0, class_transformer_1.Expose)(),
|
|
50
51
|
__metadata("design:type", therapySummary_dto_1.TherapySummaryDto)
|
|
51
|
-
],
|
|
52
|
-
//# sourceMappingURL=
|
|
52
|
+
], GenerateDocumentEmbeddedDto.prototype, "therapySummary", void 0);
|
|
53
|
+
//# sourceMappingURL=generateDocumentEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateDocumentEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/document/generateDocumentEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA+C;AAC/C,gEAA4D;AAC5D,yDAAiD;AACjD,qDAA6C;AAC7C,oEAAgE;AAChE,6EAAyE;AACzE,6EAAyE;AAEzE,MAAa,2BAA2B;;;;CAsBvC;AAtBD,kEAsBC;AAlBA;IAHC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;8BACK,gCAAc;gEAAC;AAM7B;IAJC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACK,gCAAc;gEAAC;AAK7B;IAHC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;mEAAC;AAMnC;IAJC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;mEAAC"}
|
|
@@ -2,9 +2,10 @@ import { ApplicationDto } from '../application/application.dto';
|
|
|
2
2
|
import { GeridocTherapyGoalDto } from '../geridocTherapyGoal/geridocTherapyGoal.dto';
|
|
3
3
|
import { GeridocDiagnosisDto } from '../geridocDiagnosis/geridocDiagnosis.dto';
|
|
4
4
|
import { GeridocMedicationDto } from '../geridocMedication/geridocMedication.dto';
|
|
5
|
-
import { GeridocDoctorReportDto } from
|
|
6
|
-
import { GeridocAssessmentDto } from
|
|
7
|
-
import { GeridocAssessmentValueDto } from
|
|
5
|
+
import { GeridocDoctorReportDto } from '../geridocDoctorReport/geridocDoctorReport.dto';
|
|
6
|
+
import { GeridocAssessmentDto } from '../geridocAssessment/geridocAssessment.dto';
|
|
7
|
+
import { GeridocAssessmentValueDto } from '../geridocAssessmentValue/geridocAssessmentValue.dto';
|
|
8
|
+
import { GeridocTherapistReportDto } from '../geridocTherapistReport/geridocTherapistReport.dto';
|
|
8
9
|
export declare class GeridocPatientEmbeddedDto {
|
|
9
10
|
application?: ApplicationDto;
|
|
10
11
|
therapyGoals?: GeridocTherapyGoalDto[];
|
|
@@ -13,4 +14,5 @@ export declare class GeridocPatientEmbeddedDto {
|
|
|
13
14
|
doctorReports?: GeridocDoctorReportDto[];
|
|
14
15
|
assessment?: GeridocAssessmentDto;
|
|
15
16
|
assessmentValue?: GeridocAssessmentValueDto;
|
|
17
|
+
therapistReports?: GeridocTherapistReportDto[];
|
|
16
18
|
}
|
|
@@ -21,9 +21,10 @@ const geridocMedication_dto_1 = require("../geridocMedication/geridocMedication.
|
|
|
21
21
|
const geridocDoctorReport_dto_1 = require("../geridocDoctorReport/geridocDoctorReport.dto");
|
|
22
22
|
const geridocAssessment_dto_1 = require("../geridocAssessment/geridocAssessment.dto");
|
|
23
23
|
const geridocAssessmentValue_dto_1 = require("../geridocAssessmentValue/geridocAssessmentValue.dto");
|
|
24
|
+
const geridocTherapistReport_dto_1 = require("../geridocTherapistReport/geridocTherapistReport.dto");
|
|
24
25
|
class GeridocPatientEmbeddedDto {
|
|
25
26
|
static _OPENAPI_METADATA_FACTORY() {
|
|
26
|
-
return { application: { required: false, type: () => require("../application/application.dto").ApplicationDto }, therapyGoals: { required: false, type: () => [require("../geridocTherapyGoal/geridocTherapyGoal.dto").GeridocTherapyGoalDto] }, diagnosis: { required: false, type: () => [require("../geridocDiagnosis/geridocDiagnosis.dto").GeridocDiagnosisDto] }, medications: { required: false, type: () => [require("../geridocMedication/geridocMedication.dto").GeridocMedicationDto] }, doctorReports: { required: false, type: () => [require("../geridocDoctorReport/geridocDoctorReport.dto").GeridocDoctorReportDto] }, assessment: { required: false, type: () => require("../geridocAssessment/geridocAssessment.dto").GeridocAssessmentDto }, assessmentValue: { required: false, type: () => require("../geridocAssessmentValue/geridocAssessmentValue.dto").GeridocAssessmentValueDto } };
|
|
27
|
+
return { application: { required: false, type: () => require("../application/application.dto").ApplicationDto }, therapyGoals: { required: false, type: () => [require("../geridocTherapyGoal/geridocTherapyGoal.dto").GeridocTherapyGoalDto] }, diagnosis: { required: false, type: () => [require("../geridocDiagnosis/geridocDiagnosis.dto").GeridocDiagnosisDto] }, medications: { required: false, type: () => [require("../geridocMedication/geridocMedication.dto").GeridocMedicationDto] }, doctorReports: { required: false, type: () => [require("../geridocDoctorReport/geridocDoctorReport.dto").GeridocDoctorReportDto] }, assessment: { required: false, type: () => require("../geridocAssessment/geridocAssessment.dto").GeridocAssessmentDto }, assessmentValue: { required: false, type: () => require("../geridocAssessmentValue/geridocAssessmentValue.dto").GeridocAssessmentValueDto }, therapistReports: { required: false, type: () => [require("../geridocTherapistReport/geridocTherapistReport.dto").GeridocTherapistReportDto] } };
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
exports.GeridocPatientEmbeddedDto = GeridocPatientEmbeddedDto;
|
|
@@ -98,4 +99,15 @@ __decorate([
|
|
|
98
99
|
(0, class_transformer_1.Expose)(),
|
|
99
100
|
__metadata("design:type", geridocAssessmentValue_dto_1.GeridocAssessmentValueDto)
|
|
100
101
|
], GeridocPatientEmbeddedDto.prototype, "assessmentValue", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, nestjs_1.ApiProperty)({
|
|
104
|
+
type: () => geridocTherapistReport_dto_1.GeridocTherapistReportDto,
|
|
105
|
+
isArray: true,
|
|
106
|
+
required: false,
|
|
107
|
+
}),
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
(0, class_transformer_1.Type)(() => geridocTherapistReport_dto_1.GeridocTherapistReportDto),
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], GeridocPatientEmbeddedDto.prototype, "therapistReports", void 0);
|
|
101
113
|
//# sourceMappingURL=geridocPatientEmbedded.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geridocPatientEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocPatient/geridocPatientEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,oEAAgE;AAChE,yFAAqF;AACrF,mFAA+E;AAC/E,sFAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"geridocPatientEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocPatient/geridocPatientEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC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AsB;QAClC,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;;gEACgC;AASzC;IAPC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAoB;QAChC,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,0BAAM,GAAE;8BACI,4CAAoB;6DAAC;AASlC;IAPC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,sDAAyB;QACrC,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;IACrC,IAAA,0BAAM,GAAE;8BACS,sDAAyB;kEAAC;AAU5C;IARC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,sDAAyB;QACrC,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;IACrC,IAAA,0BAAM,GAAE;;mEACsC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GeridocTherapistReportEmbeddedDto } from './geridocTherapistReportEmbedded.dto';
|
|
2
|
+
declare const GeridocTherapistReportDto_base: new () => {
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
_embedded?: GeridocTherapistReportEmbeddedDto;
|
|
6
|
+
};
|
|
7
|
+
export declare class GeridocTherapistReportDto extends GeridocTherapistReportDto_base {
|
|
8
|
+
id: string;
|
|
9
|
+
geridocPatientId: string;
|
|
10
|
+
type: string;
|
|
11
|
+
reportRaw: string;
|
|
12
|
+
static fromPlain(object: any): GeridocTherapistReportDto;
|
|
13
|
+
static fromEntity(entity: any): GeridocTherapistReportDto;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -9,55 +9,48 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GeridocTherapistReportDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
|
-
const nestjs_1 = require("../../nestjs");
|
|
15
14
|
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
const
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
17
16
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
18
|
-
const
|
|
19
|
-
|
|
17
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
18
|
+
const geridocTherapistReportEmbedded_dto_1 = require("./geridocTherapistReportEmbedded.dto");
|
|
19
|
+
const class_validator_1 = require("class-validator");
|
|
20
|
+
class GeridocTherapistReportDto extends (0, base_dto_1.BaseDto)(geridocTherapistReportEmbedded_dto_1.GeridocTherapistReportEmbeddedDto) {
|
|
21
|
+
static fromPlain(object) {
|
|
22
|
+
return (0, convertAndValidate_1.convertAndValidate)(GeridocTherapistReportDto, object);
|
|
23
|
+
}
|
|
20
24
|
static fromEntity(entity) {
|
|
21
|
-
return (0, convertAndValidate_1.convert)(
|
|
25
|
+
return (0, convertAndValidate_1.convert)(GeridocTherapistReportDto, entity);
|
|
22
26
|
}
|
|
23
27
|
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
-
return { id: { required: true, type: () => String
|
|
28
|
+
return { id: { required: true, type: () => String, format: "uuid" }, geridocPatientId: { required: true, type: () => String, format: "uuid" }, type: { required: true, type: () => String }, reportRaw: { required: true, type: () => String } };
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
|
-
exports.
|
|
31
|
+
exports.GeridocTherapistReportDto = GeridocTherapistReportDto;
|
|
28
32
|
__decorate([
|
|
29
33
|
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
34
|
+
(0, class_validator_1.IsUUID)(),
|
|
30
35
|
(0, class_transformer_1.Expose)(),
|
|
31
36
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
37
|
+
], GeridocTherapistReportDto.prototype, "id", void 0);
|
|
33
38
|
__decorate([
|
|
34
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
39
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
40
|
+
(0, class_validator_1.IsUUID)(),
|
|
35
41
|
(0, class_transformer_1.Expose)(),
|
|
36
42
|
__metadata("design:type", String)
|
|
37
|
-
],
|
|
43
|
+
], GeridocTherapistReportDto.prototype, "geridocPatientId", void 0);
|
|
38
44
|
__decorate([
|
|
39
45
|
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
40
47
|
(0, class_transformer_1.Expose)(),
|
|
41
48
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
45
|
-
(0, class_transformer_1.Expose)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], UserAddressTimeViewDto.prototype, "userAddressId", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
50
|
-
(0, class_transformer_1.Expose)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UserAddressTimeViewDto.prototype, "userAddressScheduleId", void 0);
|
|
49
|
+
], GeridocTherapistReportDto.prototype, "type", void 0);
|
|
53
50
|
__decorate([
|
|
54
|
-
(0, nestjs_1.ApiProperty)({ type: String,
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
55
53
|
(0, class_transformer_1.Expose)(),
|
|
56
54
|
__metadata("design:type", String)
|
|
57
|
-
],
|
|
58
|
-
|
|
59
|
-
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
60
|
-
(0, class_transformer_1.Expose)(),
|
|
61
|
-
__metadata("design:type", Boolean)
|
|
62
|
-
], UserAddressTimeViewDto.prototype, "isDefault", void 0);
|
|
63
|
-
//# sourceMappingURL=userAddressTimeView.dto.js.map
|
|
55
|
+
], GeridocTherapistReportDto.prototype, "reportRaw", void 0);
|
|
56
|
+
//# sourceMappingURL=geridocTherapistReport.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geridocTherapistReport.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocTherapistReport/geridocTherapistReport.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,sEAA4E;AAC5E,kDAA8C;AAC9C,6FAAyF;AACzF,qDAAmD;AAEnD,MAAa,yBAA0B,SAAQ,IAAA,kBAAO,EACrD,sEAAiC,CACjC;IAqBO,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;;;CACD;AA9BD,8DA8BC;AAxBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;qDACG;AAKZ;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;mEACiB;AAK1B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;uDACK;AAKd;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4DACU"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.GeridocTherapistReportEmbeddedDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
|
|
18
|
+
const class_transformer_2 = require("class-transformer");
|
|
19
|
+
class GeridocTherapistReportEmbeddedDto {
|
|
20
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
21
|
+
return { geridocPatient: { required: false, type: () => require("../geridocPatient/geridocPatient.dto").GeridocPatientDto } };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.GeridocTherapistReportEmbeddedDto = GeridocTherapistReportEmbeddedDto;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: () => geridocPatient_dto_1.GeridocPatientDto, required: false }),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_transformer_2.Type)(() => geridocPatient_dto_1.GeridocPatientDto),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", geridocPatient_dto_1.GeridocPatientDto)
|
|
31
|
+
], GeridocTherapistReportEmbeddedDto.prototype, "geridocPatient", void 0);
|
|
32
|
+
//# sourceMappingURL=geridocTherapistReportEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geridocTherapistReportEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocTherapistReport/geridocTherapistReportEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,qDAA6C;AAC7C,6EAAyE;AACzE,yDAAyC;AAEzC,MAAa,iCAAiC;;;;CAM7C;AAND,8EAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sCAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;yEAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PageDto } from '../generic/page.dto';
|
|
2
|
+
import { PageInfoDto } from '../generic/pageInfo.dto';
|
|
3
|
+
import { GeridocTherapistReportDto } from './geridocTherapistReport.dto';
|
|
4
|
+
declare class EmbeddedGeridocTherapistReports {
|
|
5
|
+
geridocTherapistReports?: GeridocTherapistReportDto[];
|
|
6
|
+
}
|
|
7
|
+
export declare class GeridocTherapistReportPageDto extends PageDto {
|
|
8
|
+
_embedded: EmbeddedGeridocTherapistReports;
|
|
9
|
+
static fromPlain(object: any): GeridocTherapistReportPageDto;
|
|
10
|
+
static fromEntityList(geridocTherapistReports: any[], _page: PageInfoDto): unknown;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.GeridocTherapistReportPageDto = void 0;
|
|
16
16
|
const openapi = require("@nestjs/swagger");
|
|
17
17
|
const page_dto_1 = require("../generic/page.dto");
|
|
18
18
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -20,43 +20,43 @@ const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
|
20
20
|
const transformEmbedded_1 = __importDefault(require("../../util/transformEmbedded"));
|
|
21
21
|
const nestjs_1 = require("../../nestjs");
|
|
22
22
|
const class_validator_1 = require("class-validator");
|
|
23
|
-
const
|
|
24
|
-
class
|
|
23
|
+
const geridocTherapistReport_dto_1 = require("./geridocTherapistReport.dto");
|
|
24
|
+
class EmbeddedGeridocTherapistReports {
|
|
25
25
|
static _OPENAPI_METADATA_FACTORY() {
|
|
26
|
-
return {
|
|
26
|
+
return { geridocTherapistReports: { required: false, type: () => [require("./geridocTherapistReport.dto").GeridocTherapistReportDto] } };
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, nestjs_1.ApiProperty)({
|
|
31
31
|
isArray: true,
|
|
32
|
-
type: () =>
|
|
32
|
+
type: () => geridocTherapistReport_dto_1.GeridocTherapistReportDto,
|
|
33
33
|
required: false,
|
|
34
34
|
}),
|
|
35
|
-
(0, class_transformer_1.Type)(() =>
|
|
35
|
+
(0, class_transformer_1.Type)(() => geridocTherapistReport_dto_1.GeridocTherapistReportDto),
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], EmbeddedGeridocTherapistReports.prototype, "geridocTherapistReports", void 0);
|
|
40
|
+
class GeridocTherapistReportPageDto extends page_dto_1.PageDto {
|
|
41
41
|
static fromPlain(object) {
|
|
42
|
-
return (0, convertAndValidate_1.convertAndValidate)(
|
|
42
|
+
return (0, convertAndValidate_1.convertAndValidate)(GeridocTherapistReportPageDto, object);
|
|
43
43
|
}
|
|
44
|
-
static fromEntityList(
|
|
45
|
-
return (0, convertAndValidate_1.convert)(
|
|
46
|
-
|
|
44
|
+
static fromEntityList(geridocTherapistReports, _page) {
|
|
45
|
+
return (0, convertAndValidate_1.convert)(GeridocTherapistReportPageDto, {
|
|
46
|
+
geridocTherapistReports,
|
|
47
47
|
_page,
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
static _OPENAPI_METADATA_FACTORY() {
|
|
51
|
-
return { _embedded: { required: true, type: () =>
|
|
51
|
+
return { _embedded: { required: true, type: () => EmbeddedGeridocTherapistReports } };
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
exports.
|
|
54
|
+
exports.GeridocTherapistReportPageDto = GeridocTherapistReportPageDto;
|
|
55
55
|
__decorate([
|
|
56
|
-
(0, nestjs_1.ApiProperty)({ type: () =>
|
|
57
|
-
(0, class_transformer_1.Type)(() =>
|
|
58
|
-
(0, transformEmbedded_1.default)(
|
|
56
|
+
(0, nestjs_1.ApiProperty)({ type: () => EmbeddedGeridocTherapistReports, required: true }),
|
|
57
|
+
(0, class_transformer_1.Type)(() => EmbeddedGeridocTherapistReports),
|
|
58
|
+
(0, transformEmbedded_1.default)(EmbeddedGeridocTherapistReports),
|
|
59
59
|
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type",
|
|
61
|
-
],
|
|
62
|
-
//# sourceMappingURL=
|
|
60
|
+
__metadata("design:type", EmbeddedGeridocTherapistReports)
|
|
61
|
+
], GeridocTherapistReportPageDto.prototype, "_embedded", void 0);
|
|
62
|
+
//# sourceMappingURL=geridocTherapistReportPage.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geridocTherapistReportPage.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocTherapistReport/geridocTherapistReportPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAAiD;AAEjD,sEAA4E;AAC5E,qFAA6D;AAC7D,yCAA2C;AAC3C,qDAA6C;AAC7C,6EAAyE;AAEzE,MAAM,+BAA+B;;;;CAUpC;AADA;IARC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,GAAG,EAAE,CAAC,sDAAyB;QACrC,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;IACrC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;gFAC6C;AAGvD,MAAa,6BAA8B,SAAQ,kBAAO;IAOlD,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;IAClE,CAAC;IAEM,MAAM,CAAC,cAAc,CAC3B,uBAA8B,EAC9B,KAAkB;QAElB,OAAO,IAAA,4BAAO,EAAC,6BAA6B,EAAE;YAC7C,uBAAuB;YACvB,KAAK;SACL,CAAC,CAAC;IACJ,CAAC;;;;CACD;AApBD,sEAoBC;AAfA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,+BAA+B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5E,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;IAC3C,IAAA,2BAAiB,EAAC,+BAA+B,CAAC;IAClD,IAAA,0BAAM,GAAE;8BACG,+BAA+B;gEAAC"}
|
|
@@ -3,7 +3,6 @@ import { TherapistInfoDto } from '../therapistInfo/therapistInfo.dto';
|
|
|
3
3
|
import { PatientInfoDto } from '../patient/patientInfo.dto';
|
|
4
4
|
import { ContactInfoDto } from '../contactInfo/contactInfo.dto';
|
|
5
5
|
import { UserAddressDto } from '../userAddress/userAddress.dto';
|
|
6
|
-
import { UserAddressTimeViewDto } from '../userAddressTimeView/userAddressTimeView.dto';
|
|
7
6
|
import { UserNotificationTokenDto } from '../userNoficationToken/userNotificationToken.dto';
|
|
8
7
|
import { UserAddressScheduleDto } from '../userAddressSchedule/userAddressSchedule.dto';
|
|
9
8
|
export declare class UserEmbeddedDto {
|
|
@@ -12,8 +11,6 @@ export declare class UserEmbeddedDto {
|
|
|
12
11
|
therapistInfo?: TherapistInfoDto;
|
|
13
12
|
generalPractitionerInfo?: GeneralPractitionerInfoDto;
|
|
14
13
|
addresses?: UserAddressDto[];
|
|
15
|
-
addressTimeView?: UserAddressTimeViewDto[];
|
|
16
14
|
patientUserAddressSchedules?: UserAddressScheduleDto[];
|
|
17
|
-
currentAddressTimeView?: UserAddressTimeViewDto[];
|
|
18
15
|
userNotificationTokens?: UserNotificationTokenDto[];
|
|
19
16
|
}
|
|
@@ -19,12 +19,11 @@ const patientInfo_dto_1 = require("../patient/patientInfo.dto");
|
|
|
19
19
|
const contactInfo_dto_1 = require("../contactInfo/contactInfo.dto");
|
|
20
20
|
const class_validator_1 = require("class-validator");
|
|
21
21
|
const userAddress_dto_1 = require("../userAddress/userAddress.dto");
|
|
22
|
-
const userAddressTimeView_dto_1 = require("../userAddressTimeView/userAddressTimeView.dto");
|
|
23
22
|
const userNotificationToken_dto_1 = require("../userNoficationToken/userNotificationToken.dto");
|
|
24
23
|
const userAddressSchedule_dto_1 = require("../userAddressSchedule/userAddressSchedule.dto");
|
|
25
24
|
class UserEmbeddedDto {
|
|
26
25
|
static _OPENAPI_METADATA_FACTORY() {
|
|
27
|
-
return { contactInfo: { required: false, type: () => require("../contactInfo/contactInfo.dto").ContactInfoDto }, patientInfo: { required: false, type: () => require("../patient/patientInfo.dto").PatientInfoDto }, therapistInfo: { required: false, type: () => require("../therapistInfo/therapistInfo.dto").TherapistInfoDto }, generalPractitionerInfo: { required: false, type: () => require("../generalPractionerInfo/generalPractitionerInfo.dto").GeneralPractitionerInfoDto }, addresses: { required: false, type: () => [require("../userAddress/userAddress.dto").UserAddressDto] },
|
|
26
|
+
return { contactInfo: { required: false, type: () => require("../contactInfo/contactInfo.dto").ContactInfoDto }, patientInfo: { required: false, type: () => require("../patient/patientInfo.dto").PatientInfoDto }, therapistInfo: { required: false, type: () => require("../therapistInfo/therapistInfo.dto").TherapistInfoDto }, generalPractitionerInfo: { required: false, type: () => require("../generalPractionerInfo/generalPractitionerInfo.dto").GeneralPractitionerInfoDto }, addresses: { required: false, type: () => [require("../userAddress/userAddress.dto").UserAddressDto] }, patientUserAddressSchedules: { required: false, type: () => [require("../userAddressSchedule/userAddressSchedule.dto").UserAddressScheduleDto] }, userNotificationTokens: { required: false, type: () => [require("../userNoficationToken/userNotificationToken.dto").UserNotificationTokenDto] } };
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
exports.UserEmbeddedDto = UserEmbeddedDto;
|
|
@@ -59,17 +58,6 @@ __decorate([
|
|
|
59
58
|
(0, class_transformer_1.Expose)(),
|
|
60
59
|
__metadata("design:type", Array)
|
|
61
60
|
], UserEmbeddedDto.prototype, "addresses", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, nestjs_1.ApiProperty)({
|
|
64
|
-
type: () => userAddressTimeView_dto_1.UserAddressTimeViewDto,
|
|
65
|
-
isArray: true,
|
|
66
|
-
required: false,
|
|
67
|
-
}),
|
|
68
|
-
(0, class_transformer_1.Type)(() => userAddressTimeView_dto_1.UserAddressTimeViewDto),
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
(0, class_transformer_1.Expose)(),
|
|
71
|
-
__metadata("design:type", Array)
|
|
72
|
-
], UserEmbeddedDto.prototype, "addressTimeView", void 0);
|
|
73
61
|
__decorate([
|
|
74
62
|
(0, nestjs_1.ApiProperty)({
|
|
75
63
|
type: () => userAddressSchedule_dto_1.UserAddressScheduleDto,
|
|
@@ -81,17 +69,6 @@ __decorate([
|
|
|
81
69
|
(0, class_transformer_1.Expose)(),
|
|
82
70
|
__metadata("design:type", Array)
|
|
83
71
|
], UserEmbeddedDto.prototype, "patientUserAddressSchedules", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, nestjs_1.ApiProperty)({
|
|
86
|
-
type: () => userAddressTimeView_dto_1.UserAddressTimeViewDto,
|
|
87
|
-
isArray: true,
|
|
88
|
-
required: false,
|
|
89
|
-
}),
|
|
90
|
-
(0, class_transformer_1.Type)(() => userAddressTimeView_dto_1.UserAddressTimeViewDto),
|
|
91
|
-
(0, class_validator_1.IsOptional)(),
|
|
92
|
-
(0, class_transformer_1.Expose)(),
|
|
93
|
-
__metadata("design:type", Array)
|
|
94
|
-
], UserEmbeddedDto.prototype, "currentAddressTimeView", void 0);
|
|
95
72
|
__decorate([
|
|
96
73
|
(0, class_transformer_1.Type)(() => userNotificationToken_dto_1.UserNotificationTokenDto),
|
|
97
74
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/user/userEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,sGAAkG;AAClG,0EAAsE;AACtE,gEAA4D;AAC5D,oEAAgE;AAChE,qDAA6C;AAC7C,oEAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"userEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/user/userEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,sGAAkG;AAClG,0EAAsE;AACtE,gEAA4D;AAC5D,oEAAgE;AAChE,qDAA6C;AAC7C,oEAAgE;AAChE,gGAA4F;AAC5F,4FAAwF;AAExF,MAAa,eAAe;;;;CAyC3B;AAzCD,0CAyCC;AArCA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;8BACK,gCAAc;oDAAC;AAK7B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;8BACK,gCAAc;oDAAC;AAK7B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,0BAAM,GAAE;8BACO,oCAAgB;sDAAC;AAKjC;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wDAA0B,EAAE,QA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