@more-life/types-more-life-react 0.99.0 → 0.100.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/careFacility/careFacility.dto.d.ts +8 -1
- package/dist/dto/careFacility/careFacility.dto.js +3 -1
- package/dist/dto/careFacility/careFacility.dto.js.map +1 -1
- package/dist/dto/careFacility/careFacilityEmbedded.dto.d.ts +2 -1
- package/dist/dto/careFacility/careFacilityEmbedded.dto.js +6 -0
- package/dist/dto/careFacility/careFacilityEmbedded.dto.js.map +1 -1
- package/dist/dto/careFacilityAddress/careFacilityAddress.dto.d.ts +8 -1
- package/dist/dto/careFacilityAddress/careFacilityAddress.dto.js +3 -1
- package/dist/dto/careFacilityAddress/careFacilityAddress.dto.js.map +1 -1
- package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.d.ts +1 -1
- package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.js +2 -1
- package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.js.map +1 -1
- package/dist/dto/document/generateDocumentEmbedded.dto.d.ts +2 -0
- package/dist/dto/document/generateDocumentEmbedded.dto.js +8 -0
- package/dist/dto/document/generateDocumentEmbedded.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { CareFacilityTypeEnum } from '../../enum/careFacilityType.enum';
|
|
2
|
-
|
|
2
|
+
import { CareFacilityEmbeddedDto } from "./careFacilityEmbedded.dto";
|
|
3
|
+
declare const CareFacilityDto_base: new () => {
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
_embedded?: CareFacilityEmbeddedDto;
|
|
7
|
+
};
|
|
8
|
+
export declare class CareFacilityDto extends CareFacilityDto_base {
|
|
3
9
|
id: string;
|
|
4
10
|
type: CareFacilityTypeEnum;
|
|
5
11
|
name: string;
|
|
6
12
|
static fromEntity(entity: any): CareFacilityDto;
|
|
7
13
|
}
|
|
14
|
+
export {};
|
|
@@ -14,7 +14,9 @@ const nestjs_1 = require("../../nestjs");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
16
16
|
const careFacilityType_enum_1 = require("../../enum/careFacilityType.enum");
|
|
17
|
-
|
|
17
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
18
|
+
const careFacilityEmbedded_dto_1 = require("./careFacilityEmbedded.dto");
|
|
19
|
+
class CareFacilityDto extends (0, base_dto_1.BaseDto)(careFacilityEmbedded_dto_1.CareFacilityEmbeddedDto) {
|
|
18
20
|
static fromEntity(entity) {
|
|
19
21
|
return (0, convertAndValidate_1.convert)(CareFacilityDto, entity);
|
|
20
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"careFacility.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacility/careFacility.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,sEAAwD;AACxD,4EAAwE;
|
|
1
|
+
{"version":3,"file":"careFacility.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacility/careFacility.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,sEAAwD;AACxD,4EAAwE;AACxE,kDAA4C;AAC5C,yEAAmE;AAEnE,MAAa,eAAgB,SAAQ,IAAA,kBAAO,EAAC,kDAAuB,CAAC;IAa7D,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACzC,CAAC;CACD;AAfA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;IAC5D,IAAA,0BAAM,GAAE;;2CACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;IAC1D,IAAA,0BAAM,GAAE;;6CACmB;AAE5B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;6CACK;AAXf,0CAgBC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CareFacilityAddressDto } from '../careFacilityAddress/careFacilityAddress.dto';
|
|
2
2
|
export declare class CareFacilityEmbeddedDto {
|
|
3
|
-
address
|
|
3
|
+
address?: CareFacilityAddressDto;
|
|
4
|
+
static fromEntity(entity: any): CareFacilityEmbeddedDto;
|
|
4
5
|
}
|
|
@@ -13,11 +13,17 @@ exports.CareFacilityEmbeddedDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const careFacilityAddress_dto_1 = require("../careFacilityAddress/careFacilityAddress.dto");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
16
18
|
class CareFacilityEmbeddedDto {
|
|
19
|
+
static fromEntity(entity) {
|
|
20
|
+
return (0, convertAndValidate_1.convert)(CareFacilityEmbeddedDto, entity);
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
__decorate([
|
|
19
24
|
(0, nestjs_1.ApiProperty)({ type: () => careFacilityAddress_dto_1.CareFacilityAddressDto, required: false }),
|
|
20
25
|
(0, class_transformer_1.Type)(() => careFacilityAddress_dto_1.CareFacilityAddressDto),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
27
|
(0, class_transformer_1.Expose)(),
|
|
22
28
|
__metadata("design:type", careFacilityAddress_dto_1.CareFacilityAddressDto)
|
|
23
29
|
], CareFacilityEmbeddedDto.prototype, "address", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"careFacilityEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacility/careFacilityEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,4FAAwF;AACxF,yDAAiD;
|
|
1
|
+
{"version":3,"file":"careFacilityEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacility/careFacilityEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,4FAAwF;AACxF,yDAAiD;AACjD,sEAAsD;AACtD,qDAA2C;AAE3C,MAAa,uBAAuB;IAO5B,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;CACD;AATA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACC,gDAAsB;wDAAC;AALlC,0DAUC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { CareFacilityAddressEmbeddedDto } from "./careFacilityAddressEmbedded.dto";
|
|
2
|
+
declare const CareFacilityAddressDto_base: new () => {
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
_embedded?: CareFacilityAddressEmbeddedDto;
|
|
6
|
+
};
|
|
7
|
+
export declare class CareFacilityAddressDto extends CareFacilityAddressDto_base {
|
|
2
8
|
id: string;
|
|
3
9
|
careFacilityId: string;
|
|
4
10
|
country: string;
|
|
@@ -11,3 +17,4 @@ export declare class CareFacilityAddressDto {
|
|
|
11
17
|
lng?: number;
|
|
12
18
|
static fromEntity(entity: any): CareFacilityAddressDto;
|
|
13
19
|
}
|
|
20
|
+
export {};
|
|
@@ -13,7 +13,9 @@ exports.CareFacilityAddressDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
16
|
-
|
|
16
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
17
|
+
const careFacilityAddressEmbedded_dto_1 = require("./careFacilityAddressEmbedded.dto");
|
|
18
|
+
class CareFacilityAddressDto extends (0, base_dto_1.BaseDto)(careFacilityAddressEmbedded_dto_1.CareFacilityAddressEmbeddedDto) {
|
|
17
19
|
static fromEntity(entity) {
|
|
18
20
|
return (0, convertAndValidate_1.convert)(CareFacilityAddressDto, entity);
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"careFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,sEAAwD;
|
|
1
|
+
{"version":3,"file":"careFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,sEAAwD;AACxD,kDAA8C;AAC9C,uFAAmF;AAEnF,MAAa,sBAAuB,SAAQ,IAAA,kBAAO,EAAC,gEAA8B,CAAC;IAyC3E,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;CACD;AA3CA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;IAC5D,IAAA,0BAAM,GAAE;;kD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FacilityDto } from '../careFacility/careFacility.dto';
|
|
2
2
|
import { UserDto } from '../user/user.dto';
|
|
3
3
|
export declare class CareFacilityAddressEmbeddedDto {
|
|
4
|
-
careFacility
|
|
4
|
+
careFacility?: CareFacilityDto;
|
|
5
5
|
createdBy?: UserDto;
|
|
6
6
|
updatedBy?: UserDto;
|
|
7
7
|
}
|
|
@@ -18,8 +18,9 @@ const class_validator_1 = require("class-validator");
|
|
|
18
18
|
class CareFacilityAddressEmbeddedDto {
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, nestjs_1.ApiProperty)({ type: () => careFacility_dto_1.CareFacilityDto, required:
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: () => careFacility_dto_1.CareFacilityDto, required: false }),
|
|
22
22
|
(0, class_transformer_1.Type)(() => careFacility_dto_1.CareFacilityDto),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
24
|
(0, class_transformer_1.Expose)(),
|
|
24
25
|
__metadata("design:type", careFacility_dto_1.CareFacilityDto)
|
|
25
26
|
], CareFacilityAddressEmbeddedDto.prototype, "careFacility", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"careFacilityAddressEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,uEAAmE;AACnE,yDAAiD;AACjD,+CAA2C;AAC3C,qDAA6C;AAE7C,MAAa,8BAA8B;
|
|
1
|
+
{"version":3,"file":"careFacilityAddressEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,uEAAmE;AACnE,yDAAiD;AACjD,+CAA2C;AAC3C,qDAA6C;AAE7C,MAAa,8BAA8B;CAkB1C;AAjBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACM,kCAAe;oEAAC;AAE/B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;iEAAC;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;iEAAC;AAjBrB,wEAkBC"}
|
|
@@ -2,9 +2,11 @@ import { PatientInfoDto } from '../patient/patientInfo.dto';
|
|
|
2
2
|
import { ApplicationDto } from '../application/application.dto';
|
|
3
3
|
import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
|
|
4
4
|
import { TherapySummaryDto } from '../therapySummary/therapySummary.dto';
|
|
5
|
+
import { UserAddressDto } from "../userAddress/userAddress.dto";
|
|
5
6
|
export declare class GenerateDocumentEmbeddedDto {
|
|
6
7
|
patientInfo: PatientInfoDto;
|
|
7
8
|
application?: ApplicationDto;
|
|
8
9
|
geridocPatient: GeridocPatientDto;
|
|
9
10
|
therapySummary?: TherapySummaryDto;
|
|
11
|
+
addresses?: UserAddressDto[];
|
|
10
12
|
}
|
|
@@ -17,6 +17,7 @@ const class_validator_1 = require("class-validator");
|
|
|
17
17
|
const application_dto_1 = require("../application/application.dto");
|
|
18
18
|
const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
|
|
19
19
|
const therapySummary_dto_1 = require("../therapySummary/therapySummary.dto");
|
|
20
|
+
const userAddress_dto_1 = require("../userAddress/userAddress.dto");
|
|
20
21
|
class GenerateDocumentEmbeddedDto {
|
|
21
22
|
}
|
|
22
23
|
__decorate([
|
|
@@ -45,5 +46,12 @@ __decorate([
|
|
|
45
46
|
(0, class_transformer_1.Expose)(),
|
|
46
47
|
__metadata("design:type", therapySummary_dto_1.TherapySummaryDto)
|
|
47
48
|
], GenerateDocumentEmbeddedDto.prototype, "therapySummary", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, nestjs_1.ApiHideProperty)(),
|
|
51
|
+
(0, class_transformer_1.Type)(() => userAddress_dto_1.UserAddressDto),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], GenerateDocumentEmbeddedDto.prototype, "addresses", void 0);
|
|
48
56
|
exports.GenerateDocumentEmbeddedDto = GenerateDocumentEmbeddedDto;
|
|
49
57
|
//# sourceMappingURL=generateDocumentEmbedded.dto.js.map
|
|
@@ -1 +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;
|
|
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;AACzE,oEAA8D;AAE9D,MAAa,2BAA2B;CA4BvC;AA3BA;IAAC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;8BACK,gCAAc;gEAAC;AAE7B;IAAC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACK,gCAAc;gEAAC;AAE7B;IAAC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;mEAAC;AAEnC;IAAC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;mEAAC;AAEnC;IAAC,IAAA,wBAAe,GAAE;IACjB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACoB;AA3B9B,kEA4BC"}
|