tychat-contracts 1.0.15 → 1.0.16
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient-procedure.dto.d.ts","sourceRoot":"","sources":["../../src/patients/patient-procedure.dto.ts"],"names":[],"mappings":"AAWA,qBAAa,mBAAmB;IAS9B,IAAI,EAAE,MAAM,CAAC;IAOb,KAAK,EAAE,MAAM,CAAC;IAOd,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"patient-procedure.dto.d.ts","sourceRoot":"","sources":["../../src/patients/patient-procedure.dto.ts"],"names":[],"mappings":"AAWA,qBAAa,mBAAmB;IAS9B,IAAI,EAAE,MAAM,CAAC;IAOb,KAAK,EAAE,MAAM,CAAC;IAOd,QAAQ,EAAE,OAAO,CAAC;IAQlB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAU5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -16,6 +16,7 @@ class PatientProcedureDto {
|
|
|
16
16
|
name;
|
|
17
17
|
value;
|
|
18
18
|
finished;
|
|
19
|
+
finished_at;
|
|
19
20
|
observation;
|
|
20
21
|
}
|
|
21
22
|
exports.PatientProcedureDto = PatientProcedureDto;
|
|
@@ -46,6 +47,15 @@ __decorate([
|
|
|
46
47
|
(0, class_validator_1.IsBoolean)(),
|
|
47
48
|
__metadata("design:type", Boolean)
|
|
48
49
|
], PatientProcedureDto.prototype, "finished", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
52
|
+
description: 'Data e hora em que o procedimento foi finalizado (ISO 8601)',
|
|
53
|
+
example: '2026-03-10T14:30:00.000Z',
|
|
54
|
+
}),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsDateString)(),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], PatientProcedureDto.prototype, "finished_at", void 0);
|
|
49
59
|
__decorate([
|
|
50
60
|
(0, swagger_1.ApiPropertyOptional)({
|
|
51
61
|
description: 'Observação adicional sobre o procedimento',
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
2
|
import {
|
|
3
3
|
IsBoolean,
|
|
4
|
+
IsDateString,
|
|
4
5
|
IsNotEmpty,
|
|
5
6
|
IsNumber,
|
|
6
7
|
IsOptional,
|
|
7
8
|
IsString,
|
|
8
|
-
IsUUID,
|
|
9
9
|
MaxLength,
|
|
10
10
|
} from 'class-validator';
|
|
11
11
|
|
|
@@ -34,6 +34,14 @@ export class PatientProcedureDto {
|
|
|
34
34
|
@IsBoolean()
|
|
35
35
|
finished: boolean;
|
|
36
36
|
|
|
37
|
+
@ApiPropertyOptional({
|
|
38
|
+
description: 'Data e hora em que o procedimento foi finalizado (ISO 8601)',
|
|
39
|
+
example: '2026-03-10T14:30:00.000Z',
|
|
40
|
+
})
|
|
41
|
+
@IsOptional()
|
|
42
|
+
@IsDateString()
|
|
43
|
+
finished_at?: string | null;
|
|
44
|
+
|
|
37
45
|
@ApiPropertyOptional({
|
|
38
46
|
description: 'Observação adicional sobre o procedimento',
|
|
39
47
|
example: 'Paciente chegou em jejum',
|