All files / src/schemas/patient patient.schema.d.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12                       
import { z } from 'zod';
import { PatientZODSchema } from './patient.schema';
 
declare global {
  type TCreatePatientSchema = z.infer<typeof PatientZODSchema.createPatientSchema>;
  type TUpdatePatientSchema = z.infer<typeof PatientZODSchema.updatePatientSchema>;
  type TDeletePatientSchema = z.infer<typeof PatientZODSchema.deletePatientSchema>;
  type TSearchPatientSchema = z.infer<typeof PatientZODSchema.searchPatientSchema>;
  type TAddDoctorSchema = z.infer<typeof PatientZODSchema.addDoctorSchema>;
  type TValidateDeleteSchema = z.infer<typeof PatientZODSchema.validateDeleteSchema>;
}