evo360-types 1.3.693 → 1.3.695
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.
|
@@ -1627,6 +1627,10 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1627
1627
|
}>, "many">>>;
|
|
1628
1628
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1629
1629
|
userRef: z.ZodAny;
|
|
1630
|
+
/** feat-269 — lápide/rastro de fusão de pacientes (explícitos: typo não entra calado). */
|
|
1631
|
+
merged_into: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
+
merged_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1633
|
+
merged_from: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1630
1634
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1631
1635
|
id: z.ZodString;
|
|
1632
1636
|
ref: z.ZodAny;
|
|
@@ -2290,6 +2294,10 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2290
2294
|
}>, "many">>>;
|
|
2291
2295
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2292
2296
|
userRef: z.ZodAny;
|
|
2297
|
+
/** feat-269 — lápide/rastro de fusão de pacientes (explícitos: typo não entra calado). */
|
|
2298
|
+
merged_into: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2299
|
+
merged_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2300
|
+
merged_from: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2293
2301
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2294
2302
|
id: z.ZodString;
|
|
2295
2303
|
ref: z.ZodAny;
|
|
@@ -2953,4 +2961,8 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2953
2961
|
}>, "many">>>;
|
|
2954
2962
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2955
2963
|
userRef: z.ZodAny;
|
|
2964
|
+
/** feat-269 — lápide/rastro de fusão de pacientes (explícitos: typo não entra calado). */
|
|
2965
|
+
merged_into: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2966
|
+
merged_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2967
|
+
merged_from: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2956
2968
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -164,5 +164,9 @@ exports.zPatientSchema = zod_schemas_4.zProfileSchema // Extend from ProfileSche
|
|
|
164
164
|
tags: zod_1.z.array(zod_schemas_2.zTagSchema).nullable().optional(),
|
|
165
165
|
capture_data: zod_schemas_2.zCaptureDataMapSchema.nullable().optional(),
|
|
166
166
|
userRef: zod_1.z.any(),
|
|
167
|
+
/** feat-269 — lápide/rastro de fusão de pacientes (explícitos: typo não entra calado). */
|
|
168
|
+
merged_into: zod_1.z.string().nullable().optional(),
|
|
169
|
+
merged_at: zod_1.z.coerce.date().nullable().optional(),
|
|
170
|
+
merged_from: zod_1.z.array(zod_1.z.string()).optional(),
|
|
167
171
|
})
|
|
168
172
|
.passthrough();
|
|
@@ -186,5 +186,9 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
|
|
|
186
186
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
187
187
|
capture_data: zCaptureDataMapSchema.nullable().optional(),
|
|
188
188
|
userRef: z.any(),
|
|
189
|
+
/** feat-269 — lápide/rastro de fusão de pacientes (explícitos: typo não entra calado). */
|
|
190
|
+
merged_into: z.string().nullable().optional(),
|
|
191
|
+
merged_at: z.coerce.date().nullable().optional(),
|
|
192
|
+
merged_from: z.array(z.string()).optional(),
|
|
189
193
|
})
|
|
190
194
|
.passthrough();
|
|
@@ -193,5 +193,11 @@ export interface IPatient extends IProfile {
|
|
|
193
193
|
/** Campos complementares (code → valor), validados contra o dicionário `dics/patients/capture-data` (feat-196). */
|
|
194
194
|
capture_data?: CaptureDataMap | null;
|
|
195
195
|
userRef?: FirestoreDocumentReference;
|
|
196
|
+
/** feat-269 — lápide de fusão: id do paciente sobrevivente. */
|
|
197
|
+
merged_into?: string | null;
|
|
198
|
+
/** feat-269 — instante da fusão (junto com `merged_into`). */
|
|
199
|
+
merged_at?: Date | null;
|
|
200
|
+
/** feat-269 — ids dos pacientes absorvidos por este (sobrevivente). */
|
|
201
|
+
merged_from?: string[];
|
|
196
202
|
[key: string]: unknown;
|
|
197
203
|
}
|
|
@@ -259,5 +259,11 @@ export interface IPatient extends IProfile {
|
|
|
259
259
|
/** Campos complementares (code → valor), validados contra o dicionário `dics/patients/capture-data` (feat-196). */
|
|
260
260
|
capture_data?: CaptureDataMap | null;
|
|
261
261
|
userRef?: FirestoreDocumentReference;
|
|
262
|
+
/** feat-269 — lápide de fusão: id do paciente sobrevivente. */
|
|
263
|
+
merged_into?: string | null;
|
|
264
|
+
/** feat-269 — instante da fusão (junto com `merged_into`). */
|
|
265
|
+
merged_at?: Date | null;
|
|
266
|
+
/** feat-269 — ids dos pacientes absorvidos por este (sobrevivente). */
|
|
267
|
+
merged_from?: string[];
|
|
262
268
|
[key: string]: unknown; // index signature
|
|
263
269
|
}
|