From dd26e27193326f84cc0b34286f1385cead6aad95 Mon Sep 17 00:00:00 2001 From: Vishnu Date: Sat, 10 May 2025 14:07:49 +0530 Subject: [PATCH] tailwind styles added --- .../schemas/aggregateAppointment.schema.ts | 29 --- .../shared/schemas/aggregatePatient.schema.ts | 29 --- .../db/shared/schemas/aggregateUser.schema.ts | 29 --- .../schemas/createManyAppointment.schema.ts | 10 - .../schemas/createManyPatient.schema.ts | 10 - .../shared/schemas/createManyUser.schema.ts | 10 - .../schemas/createOneAppointment.schema.ts | 10 - .../shared/schemas/createOnePatient.schema.ts | 10 - .../db/shared/schemas/createOneUser.schema.ts | 10 - .../schemas/deleteManyAppointment.schema.ts | 6 - .../schemas/deleteManyPatient.schema.ts | 6 - .../shared/schemas/deleteManyUser.schema.ts | 6 - .../schemas/deleteOneAppointment.schema.ts | 6 - .../shared/schemas/deleteOnePatient.schema.ts | 6 - .../db/shared/schemas/deleteOneUser.schema.ts | 6 - .../AppointmentScalarFieldEnum.schema.ts | 15 -- .../shared/schemas/enums/NullsOrder.schema.ts | 3 - .../enums/PatientScalarFieldEnum.schema.ts | 23 -- .../shared/schemas/enums/QueryMode.schema.ts | 3 - .../shared/schemas/enums/SortOrder.schema.ts | 3 - .../enums/TransactionIsolationLevel.schema.ts | 8 - .../enums/UserScalarFieldEnum.schema.ts | 3 - .../schemas/findFirstAppointment.schema.ts | 19 -- .../shared/schemas/findFirstPatient.schema.ts | 19 -- .../db/shared/schemas/findFirstUser.schema.ts | 19 -- .../schemas/findManyAppointment.schema.ts | 19 -- .../shared/schemas/findManyPatient.schema.ts | 19 -- .../db/shared/schemas/findManyUser.schema.ts | 19 -- .../schemas/findUniqueAppointment.schema.ts | 6 - .../schemas/findUniquePatient.schema.ts | 6 - .../shared/schemas/findUniqueUser.schema.ts | 6 - .../schemas/groupByAppointment.schema.ts | 19 -- .../shared/schemas/groupByPatient.schema.ts | 19 -- .../db/shared/schemas/groupByUser.schema.ts | 19 -- packages/db/shared/schemas/index.ts | 208 ------------------ .../AppointmentAvgAggregateInput.schema.ts | 13 -- ...ointmentAvgOrderByAggregateInput.schema.ts | 14 -- .../AppointmentCountAggregateInput.schema.ts | 22 -- ...ntmentCountOrderByAggregateInput.schema.ts | 22 -- .../objects/AppointmentCreateInput.schema.ts | 24 -- .../AppointmentCreateManyInput.schema.ts | 21 -- ...ppointmentCreateManyPatientInput.schema.ts | 20 -- ...ntCreateManyPatientInputEnvelope.schema.ts | 16 -- .../AppointmentCreateManyUserInput.schema.ts | 20 -- ...tmentCreateManyUserInputEnvelope.schema.ts | 16 -- ...ateNestedManyWithoutPatientInput.schema.ts | 54 ----- ...CreateNestedManyWithoutUserInput.schema.ts | 42 ---- ...eateOrConnectWithoutPatientInput.schema.ts | 19 -- ...tCreateOrConnectWithoutUserInput.schema.ts | 18 -- ...intmentCreateWithoutPatientInput.schema.ts | 20 -- ...ppointmentCreateWithoutUserInput.schema.ts | 22 -- .../AppointmentListRelationFilter.schema.ts | 14 -- .../AppointmentMaxAggregateInput.schema.ts | 21 -- ...ointmentMaxOrderByAggregateInput.schema.ts | 22 -- .../AppointmentMinAggregateInput.schema.ts | 21 -- ...ointmentMinOrderByAggregateInput.schema.ts | 22 -- ...entOrderByRelationAggregateInput.schema.ts | 12 - ...tmentOrderByWithAggregationInput.schema.ts | 48 ---- ...ointmentOrderByWithRelationInput.schema.ts | 34 --- .../AppointmentScalarWhereInput.schema.ts | 62 ------ ...ntScalarWhereWithAggregatesInput.schema.ts | 83 ------- .../AppointmentSumAggregateInput.schema.ts | 13 -- ...ointmentSumOrderByAggregateInput.schema.ts | 14 -- .../AppointmentUncheckedCreateInput.schema.ts | 21 -- ...ateNestedManyWithoutPatientInput.schema.ts | 54 ----- ...CreateNestedManyWithoutUserInput.schema.ts | 44 ---- ...checkedCreateWithoutPatientInput.schema.ts | 21 -- ...tUncheckedCreateWithoutUserInput.schema.ts | 20 -- .../AppointmentUncheckedUpdateInput.schema.ts | 81 ------- ...ointmentUncheckedUpdateManyInput.schema.ts | 81 ------- ...dateManyWithoutAppointmentsInput.schema.ts | 77 ------- ...ateManyWithoutPatientNestedInput.schema.ts | 123 ----------- ...UpdateManyWithoutUserNestedInput.schema.ts | 110 --------- ...checkedUpdateWithoutPatientInput.schema.ts | 76 ------- ...tUncheckedUpdateWithoutUserInput.schema.ts | 75 ------- .../objects/AppointmentUpdateInput.schema.ts | 75 ------- ...pointmentUpdateManyMutationInput.schema.ts | 62 ------ ...ManyWithWhereWithoutPatientInput.schema.ts | 23 -- ...ateManyWithWhereWithoutUserInput.schema.ts | 23 -- ...ateManyWithoutPatientNestedInput.schema.ts | 123 ----------- ...UpdateManyWithoutUserNestedInput.schema.ts | 106 --------- ...thWhereUniqueWithoutPatientInput.schema.ts | 20 -- ...eWithWhereUniqueWithoutUserInput.schema.ts | 20 -- ...intmentUpdateWithoutPatientInput.schema.ts | 68 ------ ...ppointmentUpdateWithoutUserInput.schema.ts | 69 ------ ...thWhereUniqueWithoutPatientInput.schema.ts | 26 --- ...tWithWhereUniqueWithoutUserInput.schema.ts | 26 --- .../objects/AppointmentWhereInput.schema.ts | 78 ------- .../AppointmentWhereUniqueInput.schema.ts | 11 - ...teTimeFieldUpdateOperationsInput.schema.ts | 11 - .../schemas/objects/DateTimeFilter.schema.ts | 21 -- .../DateTimeWithAggregatesFilter.schema.ts | 29 --- .../IntFieldUpdateOperationsInput.schema.ts | 15 -- .../schemas/objects/IntFilter.schema.ts | 21 -- .../objects/IntWithAggregatesFilter.schema.ts | 31 --- .../objects/NestedDateTimeFilter.schema.ts | 20 -- ...stedDateTimeWithAggregatesFilter.schema.ts | 28 --- .../objects/NestedFloatFilter.schema.ts | 20 -- .../schemas/objects/NestedIntFilter.schema.ts | 20 -- .../objects/NestedIntNullableFilter.schema.ts | 21 -- .../NestedIntWithAggregatesFilter.schema.ts | 30 --- .../objects/NestedStringFilter.schema.ts | 23 -- .../NestedStringNullableFilter.schema.ts | 24 -- ...ringNullableWithAggregatesFilter.schema.ts | 32 --- ...NestedStringWithAggregatesFilter.schema.ts | 31 --- ...StringFieldUpdateOperationsInput.schema.ts | 11 - .../PatientAvgAggregateInput.schema.ts | 12 - .../PatientAvgOrderByAggregateInput.schema.ts | 13 -- .../PatientCountAggregateInput.schema.ts | 30 --- ...atientCountOrderByAggregateInput.schema.ts | 30 --- .../objects/PatientCreateInput.schema.ts | 33 --- .../objects/PatientCreateManyInput.schema.ts | 29 --- .../PatientCreateManyUserInput.schema.ts | 28 --- ...tientCreateManyUserInputEnvelope.schema.ts | 16 -- ...CreateNestedManyWithoutUserInput.schema.ts | 42 ---- ...estedOneWithoutAppointmentsInput.schema.ts | 28 --- ...rConnectWithoutAppointmentsInput.schema.ts | 22 -- ...tCreateOrConnectWithoutUserInput.schema.ts | 18 -- ...ntCreateWithoutAppointmentsInput.schema.ts | 29 --- .../PatientCreateWithoutUserInput.schema.ts | 31 --- .../PatientListRelationFilter.schema.ts | 14 -- .../PatientMaxAggregateInput.schema.ts | 29 --- .../PatientMaxOrderByAggregateInput.schema.ts | 30 --- .../PatientMinAggregateInput.schema.ts | 29 --- .../PatientMinOrderByAggregateInput.schema.ts | 30 --- ...entOrderByRelationAggregateInput.schema.ts | 12 - ...tientOrderByWithAggregationInput.schema.ts | 93 -------- .../PatientOrderByWithRelationInput.schema.ts | 87 -------- .../objects/PatientRelationFilter.schema.ts | 19 -- .../objects/PatientScalarWhereInput.schema.ts | 95 -------- ...ntScalarWhereWithAggregatesInput.schema.ts | 133 ----------- .../PatientSumAggregateInput.schema.ts | 12 - .../PatientSumOrderByAggregateInput.schema.ts | 13 -- .../PatientUncheckedCreateInput.schema.ts | 36 --- ...CreateNestedManyWithoutUserInput.schema.ts | 44 ---- ...edCreateWithoutAppointmentsInput.schema.ts | 31 --- ...tUncheckedCreateWithoutUserInput.schema.ts | 35 --- .../PatientUncheckedUpdateInput.schema.ts | 145 ------------ .../PatientUncheckedUpdateManyInput.schema.ts | 138 ------------ ...edUpdateManyWithoutPatientsInput.schema.ts | 134 ----------- ...UpdateManyWithoutUserNestedInput.schema.ts | 104 --------- ...edUpdateWithoutAppointmentsInput.schema.ts | 140 ------------ ...tUncheckedUpdateWithoutUserInput.schema.ts | 139 ------------ .../objects/PatientUpdateInput.schema.ts | 133 ----------- .../PatientUpdateManyMutationInput.schema.ts | 125 ----------- ...ateManyWithWhereWithoutUserInput.schema.ts | 18 -- ...UpdateManyWithoutUserNestedInput.schema.ts | 94 -------- ...edWithoutAppointmentsNestedInput.schema.ts | 42 ---- ...eWithWhereUniqueWithoutUserInput.schema.ts | 18 -- ...ntUpdateWithoutAppointmentsInput.schema.ts | 129 ----------- .../PatientUpdateWithoutUserInput.schema.ts | 129 ----------- ...tWithWhereUniqueWithoutUserInput.schema.ts | 24 -- ...ntUpsertWithoutAppointmentsInput.schema.ts | 22 -- .../objects/PatientWhereInput.schema.ts | 107 --------- .../objects/PatientWhereUniqueInput.schema.ts | 11 - .../schemas/objects/SortOrderInput.schema.ts | 14 -- ...StringFieldUpdateOperationsInput.schema.ts | 11 - .../schemas/objects/StringFilter.schema.ts | 26 --- .../objects/StringNullableFilter.schema.ts | 27 --- ...ringNullableWithAggregatesFilter.schema.ts | 35 --- .../StringWithAggregatesFilter.schema.ts | 34 --- .../objects/UserAvgAggregateInput.schema.ts | 11 - .../UserAvgOrderByAggregateInput.schema.ts | 12 - .../objects/UserCountAggregateInput.schema.ts | 14 -- .../UserCountOrderByAggregateInput.schema.ts | 14 -- .../schemas/objects/UserCreateInput.schema.ts | 20 -- .../objects/UserCreateManyInput.schema.ts | 13 -- ...estedOneWithoutAppointmentsInput.schema.ts | 24 -- ...ateNestedOneWithoutPatientsInput.schema.ts | 24 -- ...rConnectWithoutAppointmentsInput.schema.ts | 18 -- ...ateOrConnectWithoutPatientsInput.schema.ts | 18 -- ...erCreateWithoutAppointmentsInput.schema.ts | 16 -- .../UserCreateWithoutPatientsInput.schema.ts | 16 -- .../objects/UserMaxAggregateInput.schema.ts | 13 -- .../UserMaxOrderByAggregateInput.schema.ts | 14 -- .../objects/UserMinAggregateInput.schema.ts | 13 -- .../UserMinOrderByAggregateInput.schema.ts | 14 -- .../UserOrderByWithAggregationInput.schema.ts | 24 -- .../UserOrderByWithRelationInput.schema.ts | 22 -- .../objects/UserRelationFilter.schema.ts | 19 -- ...erScalarWhereWithAggregatesInput.schema.ts | 37 ---- .../objects/UserSumAggregateInput.schema.ts | 11 - .../UserSumOrderByAggregateInput.schema.ts | 12 - .../UserUncheckedCreateInput.schema.ts | 23 -- ...edCreateWithoutAppointmentsInput.schema.ts | 17 -- ...heckedCreateWithoutPatientsInput.schema.ts | 19 -- .../UserUncheckedUpdateInput.schema.ts | 40 ---- .../UserUncheckedUpdateManyInput.schema.ts | 30 --- ...edUpdateWithoutAppointmentsInput.schema.ts | 34 --- ...heckedUpdateWithoutPatientsInput.schema.ts | 36 --- .../schemas/objects/UserUpdateInput.schema.ts | 31 --- .../UserUpdateManyMutationInput.schema.ts | 23 -- ...edWithoutAppointmentsNestedInput.schema.ts | 38 ---- ...quiredWithoutPatientsNestedInput.schema.ts | 38 ---- ...erUpdateWithoutAppointmentsInput.schema.ts | 27 --- .../UserUpdateWithoutPatientsInput.schema.ts | 27 --- ...erUpsertWithoutAppointmentsInput.schema.ts | 22 -- .../UserUpsertWithoutPatientsInput.schema.ts | 22 -- .../schemas/objects/UserWhereInput.schema.ts | 41 ---- .../objects/UserWhereUniqueInput.schema.ts | 12 - .../schemas/updateManyAppointment.schema.ts | 8 - .../schemas/updateManyPatient.schema.ts | 8 - .../shared/schemas/updateManyUser.schema.ts | 8 - .../schemas/updateOneAppointment.schema.ts | 12 - .../shared/schemas/updateOnePatient.schema.ts | 12 - .../db/shared/schemas/updateOneUser.schema.ts | 12 - .../schemas/upsertOneAppointment.schema.ts | 18 -- .../shared/schemas/upsertOnePatient.schema.ts | 18 -- .../db/shared/schemas/upsertOneUser.schema.ts | 18 -- 209 files changed, 7143 deletions(-) delete mode 100644 packages/db/shared/schemas/aggregateAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/aggregatePatient.schema.ts delete mode 100644 packages/db/shared/schemas/aggregateUser.schema.ts delete mode 100644 packages/db/shared/schemas/createManyAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/createManyPatient.schema.ts delete mode 100644 packages/db/shared/schemas/createManyUser.schema.ts delete mode 100644 packages/db/shared/schemas/createOneAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/createOnePatient.schema.ts delete mode 100644 packages/db/shared/schemas/createOneUser.schema.ts delete mode 100644 packages/db/shared/schemas/deleteManyAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/deleteManyPatient.schema.ts delete mode 100644 packages/db/shared/schemas/deleteManyUser.schema.ts delete mode 100644 packages/db/shared/schemas/deleteOneAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/deleteOnePatient.schema.ts delete mode 100644 packages/db/shared/schemas/deleteOneUser.schema.ts delete mode 100644 packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.ts delete mode 100644 packages/db/shared/schemas/enums/NullsOrder.schema.ts delete mode 100644 packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.ts delete mode 100644 packages/db/shared/schemas/enums/QueryMode.schema.ts delete mode 100644 packages/db/shared/schemas/enums/SortOrder.schema.ts delete mode 100644 packages/db/shared/schemas/enums/TransactionIsolationLevel.schema.ts delete mode 100644 packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.ts delete mode 100644 packages/db/shared/schemas/findFirstAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/findFirstPatient.schema.ts delete mode 100644 packages/db/shared/schemas/findFirstUser.schema.ts delete mode 100644 packages/db/shared/schemas/findManyAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/findManyPatient.schema.ts delete mode 100644 packages/db/shared/schemas/findManyUser.schema.ts delete mode 100644 packages/db/shared/schemas/findUniqueAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/findUniquePatient.schema.ts delete mode 100644 packages/db/shared/schemas/findUniqueUser.schema.ts delete mode 100644 packages/db/shared/schemas/groupByAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/groupByPatient.schema.ts delete mode 100644 packages/db/shared/schemas/groupByUser.schema.ts delete mode 100644 packages/db/shared/schemas/index.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentAvgAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentAvgOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateManyPatientInputEnvelope.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateManyUserInputEnvelope.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentListRelationFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentSumAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentSumOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutPatientNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutUserNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentWhereInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/AppointmentWhereUniqueInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/DateTimeFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/DateTimeWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/IntFieldUpdateOperationsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/IntFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/IntWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedDateTimeFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedDateTimeWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedFloatFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedIntFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedIntNullableFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedIntWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedStringFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedStringNullableFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NestedStringWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientAvgAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientAvgOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateManyUserInputEnvelope.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateNestedManyWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientListRelationFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientOrderByRelationAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientRelationFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientSumAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientSumOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateManyWithoutUserNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientUpsertWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientWhereInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/PatientWhereUniqueInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/SortOrderInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/StringFieldUpdateOperationsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/StringFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/StringNullableFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/StringNullableWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/StringWithAggregatesFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCountAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserMinAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserRelationFilter.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserSumAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientsNestedInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpsertWithoutAppointmentsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserUpsertWithoutPatientsInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserWhereInput.schema.ts delete mode 100644 packages/db/shared/schemas/objects/UserWhereUniqueInput.schema.ts delete mode 100644 packages/db/shared/schemas/updateManyAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/updateManyPatient.schema.ts delete mode 100644 packages/db/shared/schemas/updateManyUser.schema.ts delete mode 100644 packages/db/shared/schemas/updateOneAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/updateOnePatient.schema.ts delete mode 100644 packages/db/shared/schemas/updateOneUser.schema.ts delete mode 100644 packages/db/shared/schemas/upsertOneAppointment.schema.ts delete mode 100644 packages/db/shared/schemas/upsertOnePatient.schema.ts delete mode 100644 packages/db/shared/schemas/upsertOneUser.schema.ts diff --git a/packages/db/shared/schemas/aggregateAppointment.schema.ts b/packages/db/shared/schemas/aggregateAppointment.schema.ts deleted file mode 100644 index 642b163..0000000 --- a/packages/db/shared/schemas/aggregateAppointment.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; -import { AppointmentOrderByWithRelationInputObjectSchema } from './objects/AppointmentOrderByWithRelationInput.schema'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; -import { AppointmentCountAggregateInputObjectSchema } from './objects/AppointmentCountAggregateInput.schema'; -import { AppointmentMinAggregateInputObjectSchema } from './objects/AppointmentMinAggregateInput.schema'; -import { AppointmentMaxAggregateInputObjectSchema } from './objects/AppointmentMaxAggregateInput.schema'; -import { AppointmentAvgAggregateInputObjectSchema } from './objects/AppointmentAvgAggregateInput.schema'; -import { AppointmentSumAggregateInputObjectSchema } from './objects/AppointmentSumAggregateInput.schema'; - -export const AppointmentAggregateSchema = z.object({ - orderBy: z - .union([ - AppointmentOrderByWithRelationInputObjectSchema, - AppointmentOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: AppointmentWhereInputObjectSchema.optional(), - cursor: AppointmentWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - _count: z - .union([z.literal(true), AppointmentCountAggregateInputObjectSchema]) - .optional(), - _min: AppointmentMinAggregateInputObjectSchema.optional(), - _max: AppointmentMaxAggregateInputObjectSchema.optional(), - _avg: AppointmentAvgAggregateInputObjectSchema.optional(), - _sum: AppointmentSumAggregateInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/aggregatePatient.schema.ts b/packages/db/shared/schemas/aggregatePatient.schema.ts deleted file mode 100644 index 361c84f..0000000 --- a/packages/db/shared/schemas/aggregatePatient.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; -import { PatientOrderByWithRelationInputObjectSchema } from './objects/PatientOrderByWithRelationInput.schema'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; -import { PatientCountAggregateInputObjectSchema } from './objects/PatientCountAggregateInput.schema'; -import { PatientMinAggregateInputObjectSchema } from './objects/PatientMinAggregateInput.schema'; -import { PatientMaxAggregateInputObjectSchema } from './objects/PatientMaxAggregateInput.schema'; -import { PatientAvgAggregateInputObjectSchema } from './objects/PatientAvgAggregateInput.schema'; -import { PatientSumAggregateInputObjectSchema } from './objects/PatientSumAggregateInput.schema'; - -export const PatientAggregateSchema = z.object({ - orderBy: z - .union([ - PatientOrderByWithRelationInputObjectSchema, - PatientOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: PatientWhereInputObjectSchema.optional(), - cursor: PatientWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - _count: z - .union([z.literal(true), PatientCountAggregateInputObjectSchema]) - .optional(), - _min: PatientMinAggregateInputObjectSchema.optional(), - _max: PatientMaxAggregateInputObjectSchema.optional(), - _avg: PatientAvgAggregateInputObjectSchema.optional(), - _sum: PatientSumAggregateInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/aggregateUser.schema.ts b/packages/db/shared/schemas/aggregateUser.schema.ts deleted file mode 100644 index 2bd15f4..0000000 --- a/packages/db/shared/schemas/aggregateUser.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; -import { UserOrderByWithRelationInputObjectSchema } from './objects/UserOrderByWithRelationInput.schema'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; -import { UserCountAggregateInputObjectSchema } from './objects/UserCountAggregateInput.schema'; -import { UserMinAggregateInputObjectSchema } from './objects/UserMinAggregateInput.schema'; -import { UserMaxAggregateInputObjectSchema } from './objects/UserMaxAggregateInput.schema'; -import { UserAvgAggregateInputObjectSchema } from './objects/UserAvgAggregateInput.schema'; -import { UserSumAggregateInputObjectSchema } from './objects/UserSumAggregateInput.schema'; - -export const UserAggregateSchema = z.object({ - orderBy: z - .union([ - UserOrderByWithRelationInputObjectSchema, - UserOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: UserWhereInputObjectSchema.optional(), - cursor: UserWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - _count: z - .union([z.literal(true), UserCountAggregateInputObjectSchema]) - .optional(), - _min: UserMinAggregateInputObjectSchema.optional(), - _max: UserMaxAggregateInputObjectSchema.optional(), - _avg: UserAvgAggregateInputObjectSchema.optional(), - _sum: UserSumAggregateInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/createManyAppointment.schema.ts b/packages/db/shared/schemas/createManyAppointment.schema.ts deleted file mode 100644 index 2c233b6..0000000 --- a/packages/db/shared/schemas/createManyAppointment.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateManyInputObjectSchema } from './objects/AppointmentCreateManyInput.schema'; - -export const AppointmentCreateManySchema = z.object({ - data: z.union([ - AppointmentCreateManyInputObjectSchema, - z.array(AppointmentCreateManyInputObjectSchema), - ]), - skipDuplicates: z.boolean().optional(), -}); diff --git a/packages/db/shared/schemas/createManyPatient.schema.ts b/packages/db/shared/schemas/createManyPatient.schema.ts deleted file mode 100644 index 746827d..0000000 --- a/packages/db/shared/schemas/createManyPatient.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateManyInputObjectSchema } from './objects/PatientCreateManyInput.schema'; - -export const PatientCreateManySchema = z.object({ - data: z.union([ - PatientCreateManyInputObjectSchema, - z.array(PatientCreateManyInputObjectSchema), - ]), - skipDuplicates: z.boolean().optional(), -}); diff --git a/packages/db/shared/schemas/createManyUser.schema.ts b/packages/db/shared/schemas/createManyUser.schema.ts deleted file mode 100644 index dabd000..0000000 --- a/packages/db/shared/schemas/createManyUser.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { UserCreateManyInputObjectSchema } from './objects/UserCreateManyInput.schema'; - -export const UserCreateManySchema = z.object({ - data: z.union([ - UserCreateManyInputObjectSchema, - z.array(UserCreateManyInputObjectSchema), - ]), - skipDuplicates: z.boolean().optional(), -}); diff --git a/packages/db/shared/schemas/createOneAppointment.schema.ts b/packages/db/shared/schemas/createOneAppointment.schema.ts deleted file mode 100644 index 5e3c746..0000000 --- a/packages/db/shared/schemas/createOneAppointment.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateInputObjectSchema } from './objects/AppointmentCreateInput.schema'; -import { AppointmentUncheckedCreateInputObjectSchema } from './objects/AppointmentUncheckedCreateInput.schema'; - -export const AppointmentCreateOneSchema = z.object({ - data: z.union([ - AppointmentCreateInputObjectSchema, - AppointmentUncheckedCreateInputObjectSchema, - ]), -}); diff --git a/packages/db/shared/schemas/createOnePatient.schema.ts b/packages/db/shared/schemas/createOnePatient.schema.ts deleted file mode 100644 index 1a0606b..0000000 --- a/packages/db/shared/schemas/createOnePatient.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateInputObjectSchema } from './objects/PatientCreateInput.schema'; -import { PatientUncheckedCreateInputObjectSchema } from './objects/PatientUncheckedCreateInput.schema'; - -export const PatientCreateOneSchema = z.object({ - data: z.union([ - PatientCreateInputObjectSchema, - PatientUncheckedCreateInputObjectSchema, - ]), -}); diff --git a/packages/db/shared/schemas/createOneUser.schema.ts b/packages/db/shared/schemas/createOneUser.schema.ts deleted file mode 100644 index 325b0e1..0000000 --- a/packages/db/shared/schemas/createOneUser.schema.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { z } from 'zod'; -import { UserCreateInputObjectSchema } from './objects/UserCreateInput.schema'; -import { UserUncheckedCreateInputObjectSchema } from './objects/UserUncheckedCreateInput.schema'; - -export const UserCreateOneSchema = z.object({ - data: z.union([ - UserCreateInputObjectSchema, - UserUncheckedCreateInputObjectSchema, - ]), -}); diff --git a/packages/db/shared/schemas/deleteManyAppointment.schema.ts b/packages/db/shared/schemas/deleteManyAppointment.schema.ts deleted file mode 100644 index f2382d1..0000000 --- a/packages/db/shared/schemas/deleteManyAppointment.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; - -export const AppointmentDeleteManySchema = z.object({ - where: AppointmentWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/deleteManyPatient.schema.ts b/packages/db/shared/schemas/deleteManyPatient.schema.ts deleted file mode 100644 index 9c9b4cb..0000000 --- a/packages/db/shared/schemas/deleteManyPatient.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; - -export const PatientDeleteManySchema = z.object({ - where: PatientWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/deleteManyUser.schema.ts b/packages/db/shared/schemas/deleteManyUser.schema.ts deleted file mode 100644 index 66cd0bd..0000000 --- a/packages/db/shared/schemas/deleteManyUser.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; - -export const UserDeleteManySchema = z.object({ - where: UserWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/deleteOneAppointment.schema.ts b/packages/db/shared/schemas/deleteOneAppointment.schema.ts deleted file mode 100644 index e2ff961..0000000 --- a/packages/db/shared/schemas/deleteOneAppointment.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; - -export const AppointmentDeleteOneSchema = z.object({ - where: AppointmentWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/deleteOnePatient.schema.ts b/packages/db/shared/schemas/deleteOnePatient.schema.ts deleted file mode 100644 index aee3341..0000000 --- a/packages/db/shared/schemas/deleteOnePatient.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; - -export const PatientDeleteOneSchema = z.object({ - where: PatientWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/deleteOneUser.schema.ts b/packages/db/shared/schemas/deleteOneUser.schema.ts deleted file mode 100644 index a00b596..0000000 --- a/packages/db/shared/schemas/deleteOneUser.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; - -export const UserDeleteOneSchema = z.object({ - where: UserWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.ts b/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.ts deleted file mode 100644 index 10480ec..0000000 --- a/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { z } from 'zod'; - -export const AppointmentScalarFieldEnumSchema = z.enum([ - 'id', - 'patientId', - 'userId', - 'title', - 'date', - 'startTime', - 'endTime', - 'type', - 'notes', - 'status', - 'createdAt', -]); diff --git a/packages/db/shared/schemas/enums/NullsOrder.schema.ts b/packages/db/shared/schemas/enums/NullsOrder.schema.ts deleted file mode 100644 index da672ee..0000000 --- a/packages/db/shared/schemas/enums/NullsOrder.schema.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { z } from 'zod'; - -export const NullsOrderSchema = z.enum(['first', 'last']); diff --git a/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.ts b/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.ts deleted file mode 100644 index 442d46c..0000000 --- a/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; - -export const PatientScalarFieldEnumSchema = z.enum([ - 'id', - 'firstName', - 'lastName', - 'dateOfBirth', - 'gender', - 'phone', - 'email', - 'address', - 'city', - 'zipCode', - 'insuranceProvider', - 'insuranceId', - 'groupNumber', - 'policyHolder', - 'allergies', - 'medicalConditions', - 'status', - 'userId', - 'createdAt', -]); diff --git a/packages/db/shared/schemas/enums/QueryMode.schema.ts b/packages/db/shared/schemas/enums/QueryMode.schema.ts deleted file mode 100644 index 7dafdb8..0000000 --- a/packages/db/shared/schemas/enums/QueryMode.schema.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { z } from 'zod'; - -export const QueryModeSchema = z.enum(['default', 'insensitive']); diff --git a/packages/db/shared/schemas/enums/SortOrder.schema.ts b/packages/db/shared/schemas/enums/SortOrder.schema.ts deleted file mode 100644 index 66c38db..0000000 --- a/packages/db/shared/schemas/enums/SortOrder.schema.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { z } from 'zod'; - -export const SortOrderSchema = z.enum(['asc', 'desc']); diff --git a/packages/db/shared/schemas/enums/TransactionIsolationLevel.schema.ts b/packages/db/shared/schemas/enums/TransactionIsolationLevel.schema.ts deleted file mode 100644 index cd1b849..0000000 --- a/packages/db/shared/schemas/enums/TransactionIsolationLevel.schema.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { z } from 'zod'; - -export const TransactionIsolationLevelSchema = z.enum([ - 'ReadUncommitted', - 'ReadCommitted', - 'RepeatableRead', - 'Serializable', -]); diff --git a/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.ts b/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.ts deleted file mode 100644 index 8ade7e3..0000000 --- a/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { z } from 'zod'; - -export const UserScalarFieldEnumSchema = z.enum(['id', 'username', 'password']); diff --git a/packages/db/shared/schemas/findFirstAppointment.schema.ts b/packages/db/shared/schemas/findFirstAppointment.schema.ts deleted file mode 100644 index 0389a87..0000000 --- a/packages/db/shared/schemas/findFirstAppointment.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { AppointmentOrderByWithRelationInputObjectSchema } from './objects/AppointmentOrderByWithRelationInput.schema'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; -import { AppointmentScalarFieldEnumSchema } from './enums/AppointmentScalarFieldEnum.schema'; - -export const AppointmentFindFirstSchema = z.object({ - orderBy: z - .union([ - AppointmentOrderByWithRelationInputObjectSchema, - AppointmentOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: AppointmentWhereInputObjectSchema.optional(), - cursor: AppointmentWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(AppointmentScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findFirstPatient.schema.ts b/packages/db/shared/schemas/findFirstPatient.schema.ts deleted file mode 100644 index 2fb552a..0000000 --- a/packages/db/shared/schemas/findFirstPatient.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { PatientOrderByWithRelationInputObjectSchema } from './objects/PatientOrderByWithRelationInput.schema'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; -import { PatientScalarFieldEnumSchema } from './enums/PatientScalarFieldEnum.schema'; - -export const PatientFindFirstSchema = z.object({ - orderBy: z - .union([ - PatientOrderByWithRelationInputObjectSchema, - PatientOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: PatientWhereInputObjectSchema.optional(), - cursor: PatientWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(PatientScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findFirstUser.schema.ts b/packages/db/shared/schemas/findFirstUser.schema.ts deleted file mode 100644 index 3652f66..0000000 --- a/packages/db/shared/schemas/findFirstUser.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { UserOrderByWithRelationInputObjectSchema } from './objects/UserOrderByWithRelationInput.schema'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; -import { UserScalarFieldEnumSchema } from './enums/UserScalarFieldEnum.schema'; - -export const UserFindFirstSchema = z.object({ - orderBy: z - .union([ - UserOrderByWithRelationInputObjectSchema, - UserOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: UserWhereInputObjectSchema.optional(), - cursor: UserWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(UserScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findManyAppointment.schema.ts b/packages/db/shared/schemas/findManyAppointment.schema.ts deleted file mode 100644 index db45efe..0000000 --- a/packages/db/shared/schemas/findManyAppointment.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { AppointmentOrderByWithRelationInputObjectSchema } from './objects/AppointmentOrderByWithRelationInput.schema'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; -import { AppointmentScalarFieldEnumSchema } from './enums/AppointmentScalarFieldEnum.schema'; - -export const AppointmentFindManySchema = z.object({ - orderBy: z - .union([ - AppointmentOrderByWithRelationInputObjectSchema, - AppointmentOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: AppointmentWhereInputObjectSchema.optional(), - cursor: AppointmentWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(AppointmentScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findManyPatient.schema.ts b/packages/db/shared/schemas/findManyPatient.schema.ts deleted file mode 100644 index 991d093..0000000 --- a/packages/db/shared/schemas/findManyPatient.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { PatientOrderByWithRelationInputObjectSchema } from './objects/PatientOrderByWithRelationInput.schema'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; -import { PatientScalarFieldEnumSchema } from './enums/PatientScalarFieldEnum.schema'; - -export const PatientFindManySchema = z.object({ - orderBy: z - .union([ - PatientOrderByWithRelationInputObjectSchema, - PatientOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: PatientWhereInputObjectSchema.optional(), - cursor: PatientWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(PatientScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findManyUser.schema.ts b/packages/db/shared/schemas/findManyUser.schema.ts deleted file mode 100644 index 1699cff..0000000 --- a/packages/db/shared/schemas/findManyUser.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { UserOrderByWithRelationInputObjectSchema } from './objects/UserOrderByWithRelationInput.schema'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; -import { UserScalarFieldEnumSchema } from './enums/UserScalarFieldEnum.schema'; - -export const UserFindManySchema = z.object({ - orderBy: z - .union([ - UserOrderByWithRelationInputObjectSchema, - UserOrderByWithRelationInputObjectSchema.array(), - ]) - .optional(), - where: UserWhereInputObjectSchema.optional(), - cursor: UserWhereUniqueInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - distinct: z.array(UserScalarFieldEnumSchema).optional(), -}); diff --git a/packages/db/shared/schemas/findUniqueAppointment.schema.ts b/packages/db/shared/schemas/findUniqueAppointment.schema.ts deleted file mode 100644 index a92f12c..0000000 --- a/packages/db/shared/schemas/findUniqueAppointment.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; - -export const AppointmentFindUniqueSchema = z.object({ - where: AppointmentWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/findUniquePatient.schema.ts b/packages/db/shared/schemas/findUniquePatient.schema.ts deleted file mode 100644 index fc1af1e..0000000 --- a/packages/db/shared/schemas/findUniquePatient.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; - -export const PatientFindUniqueSchema = z.object({ - where: PatientWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/findUniqueUser.schema.ts b/packages/db/shared/schemas/findUniqueUser.schema.ts deleted file mode 100644 index 837bc95..0000000 --- a/packages/db/shared/schemas/findUniqueUser.schema.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { z } from 'zod'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; - -export const UserFindUniqueSchema = z.object({ - where: UserWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/groupByAppointment.schema.ts b/packages/db/shared/schemas/groupByAppointment.schema.ts deleted file mode 100644 index e6180a2..0000000 --- a/packages/db/shared/schemas/groupByAppointment.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; -import { AppointmentOrderByWithAggregationInputObjectSchema } from './objects/AppointmentOrderByWithAggregationInput.schema'; -import { AppointmentScalarWhereWithAggregatesInputObjectSchema } from './objects/AppointmentScalarWhereWithAggregatesInput.schema'; -import { AppointmentScalarFieldEnumSchema } from './enums/AppointmentScalarFieldEnum.schema'; - -export const AppointmentGroupBySchema = z.object({ - where: AppointmentWhereInputObjectSchema.optional(), - orderBy: z - .union([ - AppointmentOrderByWithAggregationInputObjectSchema, - AppointmentOrderByWithAggregationInputObjectSchema.array(), - ]) - .optional(), - having: AppointmentScalarWhereWithAggregatesInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - by: z.array(AppointmentScalarFieldEnumSchema), -}); diff --git a/packages/db/shared/schemas/groupByPatient.schema.ts b/packages/db/shared/schemas/groupByPatient.schema.ts deleted file mode 100644 index b2399e1..0000000 --- a/packages/db/shared/schemas/groupByPatient.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; -import { PatientOrderByWithAggregationInputObjectSchema } from './objects/PatientOrderByWithAggregationInput.schema'; -import { PatientScalarWhereWithAggregatesInputObjectSchema } from './objects/PatientScalarWhereWithAggregatesInput.schema'; -import { PatientScalarFieldEnumSchema } from './enums/PatientScalarFieldEnum.schema'; - -export const PatientGroupBySchema = z.object({ - where: PatientWhereInputObjectSchema.optional(), - orderBy: z - .union([ - PatientOrderByWithAggregationInputObjectSchema, - PatientOrderByWithAggregationInputObjectSchema.array(), - ]) - .optional(), - having: PatientScalarWhereWithAggregatesInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - by: z.array(PatientScalarFieldEnumSchema), -}); diff --git a/packages/db/shared/schemas/groupByUser.schema.ts b/packages/db/shared/schemas/groupByUser.schema.ts deleted file mode 100644 index 1fd57a5..0000000 --- a/packages/db/shared/schemas/groupByUser.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; -import { UserOrderByWithAggregationInputObjectSchema } from './objects/UserOrderByWithAggregationInput.schema'; -import { UserScalarWhereWithAggregatesInputObjectSchema } from './objects/UserScalarWhereWithAggregatesInput.schema'; -import { UserScalarFieldEnumSchema } from './enums/UserScalarFieldEnum.schema'; - -export const UserGroupBySchema = z.object({ - where: UserWhereInputObjectSchema.optional(), - orderBy: z - .union([ - UserOrderByWithAggregationInputObjectSchema, - UserOrderByWithAggregationInputObjectSchema.array(), - ]) - .optional(), - having: UserScalarWhereWithAggregatesInputObjectSchema.optional(), - take: z.number().optional(), - skip: z.number().optional(), - by: z.array(UserScalarFieldEnumSchema), -}); diff --git a/packages/db/shared/schemas/index.ts b/packages/db/shared/schemas/index.ts deleted file mode 100644 index ce4e0e4..0000000 --- a/packages/db/shared/schemas/index.ts +++ /dev/null @@ -1,208 +0,0 @@ -export * from './enums/TransactionIsolationLevel.schema'; -export * from './enums/UserScalarFieldEnum.schema'; -export * from './enums/PatientScalarFieldEnum.schema'; -export * from './enums/AppointmentScalarFieldEnum.schema'; -export * from './enums/SortOrder.schema'; -export * from './enums/QueryMode.schema'; -export * from './enums/NullsOrder.schema'; -export * from './objects/UserWhereInput.schema'; -export * from './objects/UserOrderByWithRelationInput.schema'; -export * from './objects/UserWhereUniqueInput.schema'; -export * from './objects/UserOrderByWithAggregationInput.schema'; -export * from './objects/UserScalarWhereWithAggregatesInput.schema'; -export * from './objects/PatientWhereInput.schema'; -export * from './objects/PatientOrderByWithRelationInput.schema'; -export * from './objects/PatientWhereUniqueInput.schema'; -export * from './objects/PatientOrderByWithAggregationInput.schema'; -export * from './objects/PatientScalarWhereWithAggregatesInput.schema'; -export * from './objects/AppointmentWhereInput.schema'; -export * from './objects/AppointmentOrderByWithRelationInput.schema'; -export * from './objects/AppointmentWhereUniqueInput.schema'; -export * from './objects/AppointmentOrderByWithAggregationInput.schema'; -export * from './objects/AppointmentScalarWhereWithAggregatesInput.schema'; -export * from './objects/UserCreateInput.schema'; -export * from './objects/UserUncheckedCreateInput.schema'; -export * from './objects/UserUpdateInput.schema'; -export * from './objects/UserUncheckedUpdateInput.schema'; -export * from './objects/UserCreateManyInput.schema'; -export * from './objects/UserUpdateManyMutationInput.schema'; -export * from './objects/UserUncheckedUpdateManyInput.schema'; -export * from './objects/PatientCreateInput.schema'; -export * from './objects/PatientUncheckedCreateInput.schema'; -export * from './objects/PatientUpdateInput.schema'; -export * from './objects/PatientUncheckedUpdateInput.schema'; -export * from './objects/PatientCreateManyInput.schema'; -export * from './objects/PatientUpdateManyMutationInput.schema'; -export * from './objects/PatientUncheckedUpdateManyInput.schema'; -export * from './objects/AppointmentCreateInput.schema'; -export * from './objects/AppointmentUncheckedCreateInput.schema'; -export * from './objects/AppointmentUpdateInput.schema'; -export * from './objects/AppointmentUncheckedUpdateInput.schema'; -export * from './objects/AppointmentCreateManyInput.schema'; -export * from './objects/AppointmentUpdateManyMutationInput.schema'; -export * from './objects/AppointmentUncheckedUpdateManyInput.schema'; -export * from './objects/IntFilter.schema'; -export * from './objects/StringFilter.schema'; -export * from './objects/PatientListRelationFilter.schema'; -export * from './objects/AppointmentListRelationFilter.schema'; -export * from './objects/PatientOrderByRelationAggregateInput.schema'; -export * from './objects/AppointmentOrderByRelationAggregateInput.schema'; -export * from './objects/UserCountOrderByAggregateInput.schema'; -export * from './objects/UserAvgOrderByAggregateInput.schema'; -export * from './objects/UserMaxOrderByAggregateInput.schema'; -export * from './objects/UserMinOrderByAggregateInput.schema'; -export * from './objects/UserSumOrderByAggregateInput.schema'; -export * from './objects/IntWithAggregatesFilter.schema'; -export * from './objects/StringWithAggregatesFilter.schema'; -export * from './objects/DateTimeFilter.schema'; -export * from './objects/StringNullableFilter.schema'; -export * from './objects/UserRelationFilter.schema'; -export * from './objects/SortOrderInput.schema'; -export * from './objects/PatientCountOrderByAggregateInput.schema'; -export * from './objects/PatientAvgOrderByAggregateInput.schema'; -export * from './objects/PatientMaxOrderByAggregateInput.schema'; -export * from './objects/PatientMinOrderByAggregateInput.schema'; -export * from './objects/PatientSumOrderByAggregateInput.schema'; -export * from './objects/DateTimeWithAggregatesFilter.schema'; -export * from './objects/StringNullableWithAggregatesFilter.schema'; -export * from './objects/PatientRelationFilter.schema'; -export * from './objects/AppointmentCountOrderByAggregateInput.schema'; -export * from './objects/AppointmentAvgOrderByAggregateInput.schema'; -export * from './objects/AppointmentMaxOrderByAggregateInput.schema'; -export * from './objects/AppointmentMinOrderByAggregateInput.schema'; -export * from './objects/AppointmentSumOrderByAggregateInput.schema'; -export * from './objects/PatientCreateNestedManyWithoutUserInput.schema'; -export * from './objects/AppointmentCreateNestedManyWithoutUserInput.schema'; -export * from './objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema'; -export * from './objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema'; -export * from './objects/StringFieldUpdateOperationsInput.schema'; -export * from './objects/PatientUpdateManyWithoutUserNestedInput.schema'; -export * from './objects/AppointmentUpdateManyWithoutUserNestedInput.schema'; -export * from './objects/IntFieldUpdateOperationsInput.schema'; -export * from './objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema'; -export * from './objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema'; -export * from './objects/UserCreateNestedOneWithoutPatientsInput.schema'; -export * from './objects/AppointmentCreateNestedManyWithoutPatientInput.schema'; -export * from './objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema'; -export * from './objects/DateTimeFieldUpdateOperationsInput.schema'; -export * from './objects/NullableStringFieldUpdateOperationsInput.schema'; -export * from './objects/UserUpdateOneRequiredWithoutPatientsNestedInput.schema'; -export * from './objects/AppointmentUpdateManyWithoutPatientNestedInput.schema'; -export * from './objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema'; -export * from './objects/PatientCreateNestedOneWithoutAppointmentsInput.schema'; -export * from './objects/UserCreateNestedOneWithoutAppointmentsInput.schema'; -export * from './objects/PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; -export * from './objects/UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; -export * from './objects/NestedIntFilter.schema'; -export * from './objects/NestedStringFilter.schema'; -export * from './objects/NestedIntWithAggregatesFilter.schema'; -export * from './objects/NestedFloatFilter.schema'; -export * from './objects/NestedStringWithAggregatesFilter.schema'; -export * from './objects/NestedDateTimeFilter.schema'; -export * from './objects/NestedStringNullableFilter.schema'; -export * from './objects/NestedDateTimeWithAggregatesFilter.schema'; -export * from './objects/NestedStringNullableWithAggregatesFilter.schema'; -export * from './objects/NestedIntNullableFilter.schema'; -export * from './objects/PatientCreateWithoutUserInput.schema'; -export * from './objects/PatientUncheckedCreateWithoutUserInput.schema'; -export * from './objects/PatientCreateOrConnectWithoutUserInput.schema'; -export * from './objects/PatientCreateManyUserInputEnvelope.schema'; -export * from './objects/AppointmentCreateWithoutUserInput.schema'; -export * from './objects/AppointmentUncheckedCreateWithoutUserInput.schema'; -export * from './objects/AppointmentCreateOrConnectWithoutUserInput.schema'; -export * from './objects/AppointmentCreateManyUserInputEnvelope.schema'; -export * from './objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema'; -export * from './objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema'; -export * from './objects/PatientUpdateManyWithWhereWithoutUserInput.schema'; -export * from './objects/PatientScalarWhereInput.schema'; -export * from './objects/AppointmentUpsertWithWhereUniqueWithoutUserInput.schema'; -export * from './objects/AppointmentUpdateWithWhereUniqueWithoutUserInput.schema'; -export * from './objects/AppointmentUpdateManyWithWhereWithoutUserInput.schema'; -export * from './objects/AppointmentScalarWhereInput.schema'; -export * from './objects/UserCreateWithoutPatientsInput.schema'; -export * from './objects/UserUncheckedCreateWithoutPatientsInput.schema'; -export * from './objects/UserCreateOrConnectWithoutPatientsInput.schema'; -export * from './objects/AppointmentCreateWithoutPatientInput.schema'; -export * from './objects/AppointmentUncheckedCreateWithoutPatientInput.schema'; -export * from './objects/AppointmentCreateOrConnectWithoutPatientInput.schema'; -export * from './objects/AppointmentCreateManyPatientInputEnvelope.schema'; -export * from './objects/UserUpsertWithoutPatientsInput.schema'; -export * from './objects/UserUpdateWithoutPatientsInput.schema'; -export * from './objects/UserUncheckedUpdateWithoutPatientsInput.schema'; -export * from './objects/AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema'; -export * from './objects/AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema'; -export * from './objects/AppointmentUpdateManyWithWhereWithoutPatientInput.schema'; -export * from './objects/PatientCreateWithoutAppointmentsInput.schema'; -export * from './objects/PatientUncheckedCreateWithoutAppointmentsInput.schema'; -export * from './objects/PatientCreateOrConnectWithoutAppointmentsInput.schema'; -export * from './objects/UserCreateWithoutAppointmentsInput.schema'; -export * from './objects/UserUncheckedCreateWithoutAppointmentsInput.schema'; -export * from './objects/UserCreateOrConnectWithoutAppointmentsInput.schema'; -export * from './objects/PatientUpsertWithoutAppointmentsInput.schema'; -export * from './objects/PatientUpdateWithoutAppointmentsInput.schema'; -export * from './objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema'; -export * from './objects/UserUpsertWithoutAppointmentsInput.schema'; -export * from './objects/UserUpdateWithoutAppointmentsInput.schema'; -export * from './objects/UserUncheckedUpdateWithoutAppointmentsInput.schema'; -export * from './objects/PatientCreateManyUserInput.schema'; -export * from './objects/AppointmentCreateManyUserInput.schema'; -export * from './objects/PatientUpdateWithoutUserInput.schema'; -export * from './objects/PatientUncheckedUpdateWithoutUserInput.schema'; -export * from './objects/PatientUncheckedUpdateManyWithoutPatientsInput.schema'; -export * from './objects/AppointmentUpdateWithoutUserInput.schema'; -export * from './objects/AppointmentUncheckedUpdateWithoutUserInput.schema'; -export * from './objects/AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema'; -export * from './objects/AppointmentCreateManyPatientInput.schema'; -export * from './objects/AppointmentUpdateWithoutPatientInput.schema'; -export * from './objects/AppointmentUncheckedUpdateWithoutPatientInput.schema'; -export * from './objects/UserCountAggregateInput.schema'; -export * from './objects/UserAvgAggregateInput.schema'; -export * from './objects/UserSumAggregateInput.schema'; -export * from './objects/UserMinAggregateInput.schema'; -export * from './objects/UserMaxAggregateInput.schema'; -export * from './objects/PatientCountAggregateInput.schema'; -export * from './objects/PatientAvgAggregateInput.schema'; -export * from './objects/PatientSumAggregateInput.schema'; -export * from './objects/PatientMinAggregateInput.schema'; -export * from './objects/PatientMaxAggregateInput.schema'; -export * from './objects/AppointmentCountAggregateInput.schema'; -export * from './objects/AppointmentAvgAggregateInput.schema'; -export * from './objects/AppointmentSumAggregateInput.schema'; -export * from './objects/AppointmentMinAggregateInput.schema'; -export * from './objects/AppointmentMaxAggregateInput.schema'; -export * from './findUniqueUser.schema'; -export * from './findFirstUser.schema'; -export * from './findManyUser.schema'; -export * from './createOneUser.schema'; -export * from './createManyUser.schema'; -export * from './deleteOneUser.schema'; -export * from './deleteManyUser.schema'; -export * from './updateOneUser.schema'; -export * from './updateManyUser.schema'; -export * from './upsertOneUser.schema'; -export * from './aggregateUser.schema'; -export * from './groupByUser.schema'; -export * from './findUniquePatient.schema'; -export * from './findFirstPatient.schema'; -export * from './findManyPatient.schema'; -export * from './createOnePatient.schema'; -export * from './createManyPatient.schema'; -export * from './deleteOnePatient.schema'; -export * from './deleteManyPatient.schema'; -export * from './updateOnePatient.schema'; -export * from './updateManyPatient.schema'; -export * from './upsertOnePatient.schema'; -export * from './aggregatePatient.schema'; -export * from './groupByPatient.schema'; -export * from './findUniqueAppointment.schema'; -export * from './findFirstAppointment.schema'; -export * from './findManyAppointment.schema'; -export * from './createOneAppointment.schema'; -export * from './createManyAppointment.schema'; -export * from './deleteOneAppointment.schema'; -export * from './deleteManyAppointment.schema'; -export * from './updateOneAppointment.schema'; -export * from './updateManyAppointment.schema'; -export * from './upsertOneAppointment.schema'; -export * from './aggregateAppointment.schema'; -export * from './groupByAppointment.schema'; diff --git a/packages/db/shared/schemas/objects/AppointmentAvgAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentAvgAggregateInput.schema.ts deleted file mode 100644 index ec294b1..0000000 --- a/packages/db/shared/schemas/objects/AppointmentAvgAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - patientId: z.literal(true).optional(), - userId: z.literal(true).optional(), - }) - .strict(); - -export const AppointmentAvgAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentAvgOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentAvgOrderByAggregateInput.schema.ts deleted file mode 100644 index 13585bb..0000000 --- a/packages/db/shared/schemas/objects/AppointmentAvgOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentAvgOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.ts deleted file mode 100644 index 673eae6..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - patientId: z.literal(true).optional(), - userId: z.literal(true).optional(), - title: z.literal(true).optional(), - date: z.literal(true).optional(), - startTime: z.literal(true).optional(), - endTime: z.literal(true).optional(), - type: z.literal(true).optional(), - notes: z.literal(true).optional(), - status: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - _all: z.literal(true).optional(), - }) - .strict(); - -export const AppointmentCountAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.ts deleted file mode 100644 index 2fc132c..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - title: z.lazy(() => SortOrderSchema).optional(), - date: z.lazy(() => SortOrderSchema).optional(), - startTime: z.lazy(() => SortOrderSchema).optional(), - endTime: z.lazy(() => SortOrderSchema).optional(), - type: z.lazy(() => SortOrderSchema).optional(), - notes: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentCountOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.ts deleted file mode 100644 index f009749..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema'; -import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - patient: z.lazy( - () => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema, - ), - user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema), - }) - .strict(); - -export const AppointmentCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.ts deleted file mode 100644 index 910e7e2..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - patientId: z.number(), - userId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentCreateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.ts deleted file mode 100644 index e6d892e..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - userId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentCreateManyPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInputEnvelope.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInputEnvelope.schema.ts deleted file mode 100644 index b77c665..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInputEnvelope.schema.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateManyPatientInputObjectSchema } from './AppointmentCreateManyPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - data: z.union([ - z.lazy(() => AppointmentCreateManyPatientInputObjectSchema), - z.lazy(() => AppointmentCreateManyPatientInputObjectSchema).array(), - ]), - skipDuplicates: z.boolean().optional(), - }) - .strict(); - -export const AppointmentCreateManyPatientInputEnvelopeObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.ts deleted file mode 100644 index d446a97..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - patientId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentCreateManyUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInputEnvelope.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateManyUserInputEnvelope.schema.ts deleted file mode 100644 index 44287e1..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInputEnvelope.schema.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateManyUserInputObjectSchema } from './AppointmentCreateManyUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - data: z.union([ - z.lazy(() => AppointmentCreateManyUserInputObjectSchema), - z.lazy(() => AppointmentCreateManyUserInputObjectSchema).array(), - ]), - skipDuplicates: z.boolean().optional(), - }) - .strict(); - -export const AppointmentCreateManyUserInputEnvelopeObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts deleted file mode 100644 index faaa7bd..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; -import { AppointmentCreateOrConnectWithoutPatientInputObjectSchema } from './AppointmentCreateOrConnectWithoutPatientInput.schema'; -import { AppointmentCreateManyPatientInputEnvelopeObjectSchema } from './AppointmentCreateManyPatientInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z - .lazy(() => AppointmentCreateWithoutPatientInputObjectSchema) - .array(), - z.lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyPatientInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentCreateNestedManyWithoutPatientInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutUserInput.schema.ts deleted file mode 100644 index 112acc6..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateNestedManyWithoutUserInput.schema.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; -import { AppointmentCreateOrConnectWithoutUserInputObjectSchema } from './AppointmentCreateOrConnectWithoutUserInput.schema'; -import { AppointmentCreateManyUserInputEnvelopeObjectSchema } from './AppointmentCreateManyUserInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyUserInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentCreateNestedManyWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutPatientInput.schema.ts deleted file mode 100644 index 03a8c92..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutPatientInput.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z.lazy(() => AppointmentUncheckedCreateWithoutPatientInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentCreateOrConnectWithoutPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutUserInput.schema.ts deleted file mode 100644 index 0682aec..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutUserInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentCreateOrConnectWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.ts deleted file mode 100644 index 4ba2810..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; -import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema), - }) - .strict(); - -export const AppointmentCreateWithoutPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.ts deleted file mode 100644 index 2bebea5..0000000 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - patient: z.lazy( - () => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema, - ), - }) - .strict(); - -export const AppointmentCreateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentListRelationFilter.schema.ts b/packages/db/shared/schemas/objects/AppointmentListRelationFilter.schema.ts deleted file mode 100644 index db5bb88..0000000 --- a/packages/db/shared/schemas/objects/AppointmentListRelationFilter.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - every: z.lazy(() => AppointmentWhereInputObjectSchema).optional(), - some: z.lazy(() => AppointmentWhereInputObjectSchema).optional(), - none: z.lazy(() => AppointmentWhereInputObjectSchema).optional(), - }) - .strict(); - -export const AppointmentListRelationFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.ts deleted file mode 100644 index d91e1f3..0000000 --- a/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - patientId: z.literal(true).optional(), - userId: z.literal(true).optional(), - title: z.literal(true).optional(), - date: z.literal(true).optional(), - startTime: z.literal(true).optional(), - endTime: z.literal(true).optional(), - type: z.literal(true).optional(), - notes: z.literal(true).optional(), - status: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - }) - .strict(); - -export const AppointmentMaxAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.ts deleted file mode 100644 index e6e4a9b..0000000 --- a/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - title: z.lazy(() => SortOrderSchema).optional(), - date: z.lazy(() => SortOrderSchema).optional(), - startTime: z.lazy(() => SortOrderSchema).optional(), - endTime: z.lazy(() => SortOrderSchema).optional(), - type: z.lazy(() => SortOrderSchema).optional(), - notes: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentMaxOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.ts deleted file mode 100644 index d4b5b0a..0000000 --- a/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - patientId: z.literal(true).optional(), - userId: z.literal(true).optional(), - title: z.literal(true).optional(), - date: z.literal(true).optional(), - startTime: z.literal(true).optional(), - endTime: z.literal(true).optional(), - type: z.literal(true).optional(), - notes: z.literal(true).optional(), - status: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - }) - .strict(); - -export const AppointmentMinAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.ts deleted file mode 100644 index 4933666..0000000 --- a/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - title: z.lazy(() => SortOrderSchema).optional(), - date: z.lazy(() => SortOrderSchema).optional(), - startTime: z.lazy(() => SortOrderSchema).optional(), - endTime: z.lazy(() => SortOrderSchema).optional(), - type: z.lazy(() => SortOrderSchema).optional(), - notes: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentMinOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts deleted file mode 100644 index c2e958d..0000000 --- a/packages/db/shared/schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - _count: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentOrderByRelationAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.ts deleted file mode 100644 index 2bab7dc..0000000 --- a/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { SortOrderInputObjectSchema } from './SortOrderInput.schema'; -import { AppointmentCountOrderByAggregateInputObjectSchema } from './AppointmentCountOrderByAggregateInput.schema'; -import { AppointmentAvgOrderByAggregateInputObjectSchema } from './AppointmentAvgOrderByAggregateInput.schema'; -import { AppointmentMaxOrderByAggregateInputObjectSchema } from './AppointmentMaxOrderByAggregateInput.schema'; -import { AppointmentMinOrderByAggregateInputObjectSchema } from './AppointmentMinOrderByAggregateInput.schema'; -import { AppointmentSumOrderByAggregateInputObjectSchema } from './AppointmentSumOrderByAggregateInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - title: z.lazy(() => SortOrderSchema).optional(), - date: z.lazy(() => SortOrderSchema).optional(), - startTime: z.lazy(() => SortOrderSchema).optional(), - endTime: z.lazy(() => SortOrderSchema).optional(), - type: z.lazy(() => SortOrderSchema).optional(), - notes: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - status: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - _count: z - .lazy(() => AppointmentCountOrderByAggregateInputObjectSchema) - .optional(), - _avg: z - .lazy(() => AppointmentAvgOrderByAggregateInputObjectSchema) - .optional(), - _max: z - .lazy(() => AppointmentMaxOrderByAggregateInputObjectSchema) - .optional(), - _min: z - .lazy(() => AppointmentMinOrderByAggregateInputObjectSchema) - .optional(), - _sum: z - .lazy(() => AppointmentSumOrderByAggregateInputObjectSchema) - .optional(), - }) - .strict(); - -export const AppointmentOrderByWithAggregationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.ts deleted file mode 100644 index ffc1364..0000000 --- a/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { SortOrderInputObjectSchema } from './SortOrderInput.schema'; -import { PatientOrderByWithRelationInputObjectSchema } from './PatientOrderByWithRelationInput.schema'; -import { UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - title: z.lazy(() => SortOrderSchema).optional(), - date: z.lazy(() => SortOrderSchema).optional(), - startTime: z.lazy(() => SortOrderSchema).optional(), - endTime: z.lazy(() => SortOrderSchema).optional(), - type: z.lazy(() => SortOrderSchema).optional(), - notes: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - status: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - patient: z - .lazy(() => PatientOrderByWithRelationInputObjectSchema) - .optional(), - user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional(), - }) - .strict(); - -export const AppointmentOrderByWithRelationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.ts deleted file mode 100644 index a186d96..0000000 --- a/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { z } from 'zod'; -import { IntFilterObjectSchema } from './IntFilter.schema'; -import { StringFilterObjectSchema } from './StringFilter.schema'; -import { DateTimeFilterObjectSchema } from './DateTimeFilter.schema'; -import { StringNullableFilterObjectSchema } from './StringNullableFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => AppointmentScalarWhereInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - id: z.union([z.lazy(() => IntFilterObjectSchema), z.number()]).optional(), - patientId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - userId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - title: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - date: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - startTime: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - endTime: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - type: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - notes: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - createdAt: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - }) - .strict(); - -export const AppointmentScalarWhereInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.ts deleted file mode 100644 index c89edb4..0000000 --- a/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { z } from 'zod'; -import { IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema'; -import { StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'; -import { DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema'; -import { StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => AppointmentScalarWhereWithAggregatesInputObjectSchema), - z - .lazy(() => AppointmentScalarWhereWithAggregatesInputObjectSchema) - .array(), - ]) - .optional(), - OR: z - .lazy(() => AppointmentScalarWhereWithAggregatesInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => AppointmentScalarWhereWithAggregatesInputObjectSchema), - z - .lazy(() => AppointmentScalarWhereWithAggregatesInputObjectSchema) - .array(), - ]) - .optional(), - id: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - patientId: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - userId: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - title: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - date: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - startTime: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - endTime: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - type: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - notes: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - createdAt: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentScalarWhereWithAggregatesInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentSumAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentSumAggregateInput.schema.ts deleted file mode 100644 index b0159a4..0000000 --- a/packages/db/shared/schemas/objects/AppointmentSumAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - patientId: z.literal(true).optional(), - userId: z.literal(true).optional(), - }) - .strict(); - -export const AppointmentSumAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentSumOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentSumOrderByAggregateInput.schema.ts deleted file mode 100644 index 0db08a4..0000000 --- a/packages/db/shared/schemas/objects/AppointmentSumOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - patientId: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const AppointmentSumOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.ts deleted file mode 100644 index dfd622e..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - patientId: z.number(), - userId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentUncheckedCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema.ts deleted file mode 100644 index 242463c..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; -import { AppointmentCreateOrConnectWithoutPatientInputObjectSchema } from './AppointmentCreateOrConnectWithoutPatientInput.schema'; -import { AppointmentCreateManyPatientInputEnvelopeObjectSchema } from './AppointmentCreateManyPatientInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z - .lazy(() => AppointmentCreateWithoutPatientInputObjectSchema) - .array(), - z.lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyPatientInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts deleted file mode 100644 index 69843e0..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; -import { AppointmentCreateOrConnectWithoutUserInputObjectSchema } from './AppointmentCreateOrConnectWithoutUserInput.schema'; -import { AppointmentCreateManyUserInputEnvelopeObjectSchema } from './AppointmentCreateManyUserInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyUserInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.ts deleted file mode 100644 index f690ab2..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z.number().optional(), - userId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentUncheckedCreateWithoutPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.ts deleted file mode 100644 index 9c2bbb8..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - patientId: z.number(), - title: z.string(), - date: z.coerce.date(), - startTime: z.coerce.date(), - endTime: z.coerce.date(), - type: z.string(), - notes: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const AppointmentUncheckedCreateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.ts deleted file mode 100644 index 5ca0478..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patientId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.ts deleted file mode 100644 index 0aac21f..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patientId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema.ts deleted file mode 100644 index fce95cd..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patientId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts deleted file mode 100644 index 2bb0b4e..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; -import { AppointmentCreateOrConnectWithoutPatientInputObjectSchema } from './AppointmentCreateOrConnectWithoutPatientInput.schema'; -import { AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema'; -import { AppointmentCreateManyPatientInputEnvelopeObjectSchema } from './AppointmentCreateManyPatientInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema'; -import { AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema } from './AppointmentUpdateManyWithWhereWithoutPatientInput.schema'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z - .lazy(() => AppointmentCreateWithoutPatientInputObjectSchema) - .array(), - z.lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy( - () => - AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyPatientInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy( - () => - AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy( - () => AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts deleted file mode 100644 index aaa66dc..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; -import { AppointmentCreateOrConnectWithoutUserInputObjectSchema } from './AppointmentCreateOrConnectWithoutUserInput.schema'; -import { AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './AppointmentUpsertWithWhereUniqueWithoutUserInput.schema'; -import { AppointmentCreateManyUserInputEnvelopeObjectSchema } from './AppointmentCreateManyUserInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './AppointmentUpdateWithWhereUniqueWithoutUserInput.schema'; -import { AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema } from './AppointmentUpdateManyWithWhereWithoutUserInput.schema'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy( - () => AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyUserInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy( - () => AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy( - () => AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema, - ), - z - .lazy( - () => AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.ts deleted file mode 100644 index 91b8f79..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateWithoutPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.ts deleted file mode 100644 index 5156ee0..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patientId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUncheckedUpdateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.ts deleted file mode 100644 index ae1ab8e..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema } from './PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; -import { UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patient: z - .lazy( - () => - PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema, - ) - .optional(), - user: z - .lazy( - () => UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const AppointmentUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.ts deleted file mode 100644 index 168b176..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUpdateManyMutationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutPatientInput.schema.ts deleted file mode 100644 index bc7e6ef..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutPatientInput.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; -import { AppointmentUpdateManyMutationInputObjectSchema } from './AppointmentUpdateManyMutationInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentScalarWhereInputObjectSchema), - data: z.union([ - z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema), - z.lazy( - () => - AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema, - ), - ]), - }) - .strict(); - -export const AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutUserInput.schema.ts deleted file mode 100644 index dc6e0c2..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithWhereWithoutUserInput.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; -import { AppointmentUpdateManyMutationInputObjectSchema } from './AppointmentUpdateManyMutationInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentScalarWhereInputObjectSchema), - data: z.union([ - z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema), - z.lazy( - () => - AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema, - ), - ]), - }) - .strict(); - -export const AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutPatientNestedInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutPatientNestedInput.schema.ts deleted file mode 100644 index dd81c9e..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutPatientNestedInput.schema.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; -import { AppointmentCreateOrConnectWithoutPatientInputObjectSchema } from './AppointmentCreateOrConnectWithoutPatientInput.schema'; -import { AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema'; -import { AppointmentCreateManyPatientInputEnvelopeObjectSchema } from './AppointmentCreateManyPatientInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema'; -import { AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema } from './AppointmentUpdateManyWithWhereWithoutPatientInput.schema'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z - .lazy(() => AppointmentCreateWithoutPatientInputObjectSchema) - .array(), - z.lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentUncheckedCreateWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => AppointmentCreateOrConnectWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy( - () => - AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyPatientInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy( - () => - AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy( - () => AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema, - ), - z - .lazy( - () => - AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema, - ) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUpdateManyWithoutPatientNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutUserNestedInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutUserNestedInput.schema.ts deleted file mode 100644 index ad13be4..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyWithoutUserNestedInput.schema.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; -import { AppointmentCreateOrConnectWithoutUserInputObjectSchema } from './AppointmentCreateOrConnectWithoutUserInput.schema'; -import { AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './AppointmentUpsertWithWhereUniqueWithoutUserInput.schema'; -import { AppointmentCreateManyUserInputEnvelopeObjectSchema } from './AppointmentCreateManyUserInputEnvelope.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './AppointmentUpdateWithWhereUniqueWithoutUserInput.schema'; -import { AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema } from './AppointmentUpdateManyWithWhereWithoutUserInput.schema'; -import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => AppointmentCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy( - () => AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => AppointmentCreateManyUserInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy( - () => AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy( - () => AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema, - ), - z - .lazy( - () => AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => AppointmentScalarWhereInputObjectSchema), - z.lazy(() => AppointmentScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const AppointmentUpdateManyWithoutUserNestedInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema.ts deleted file mode 100644 index cae9c57..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithoutPatientInputObjectSchema } from './AppointmentUpdateWithoutPatientInput.schema'; -import { AppointmentUncheckedUpdateWithoutPatientInputObjectSchema } from './AppointmentUncheckedUpdateWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - data: z.union([ - z.lazy(() => AppointmentUpdateWithoutPatientInputObjectSchema), - z.lazy(() => AppointmentUncheckedUpdateWithoutPatientInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutUserInput.schema.ts deleted file mode 100644 index 02cfa83..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithWhereUniqueWithoutUserInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithoutUserInputObjectSchema } from './AppointmentUpdateWithoutUserInput.schema'; -import { AppointmentUncheckedUpdateWithoutUserInputObjectSchema } from './AppointmentUncheckedUpdateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - data: z.union([ - z.lazy(() => AppointmentUpdateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentUncheckedUpdateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.ts deleted file mode 100644 index 78344cb..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - user: z - .lazy( - () => UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const AppointmentUpdateWithoutPatientInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.ts deleted file mode 100644 index 552ef23..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema } from './PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - title: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - date: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - startTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - endTime: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - type: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - notes: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patient: z - .lazy( - () => - PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const AppointmentUpdateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema.ts deleted file mode 100644 index 62823bc..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutPatientInput.schema.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithoutPatientInputObjectSchema } from './AppointmentUpdateWithoutPatientInput.schema'; -import { AppointmentUncheckedUpdateWithoutPatientInputObjectSchema } from './AppointmentUncheckedUpdateWithoutPatientInput.schema'; -import { AppointmentCreateWithoutPatientInputObjectSchema } from './AppointmentCreateWithoutPatientInput.schema'; -import { AppointmentUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - update: z.union([ - z.lazy(() => AppointmentUpdateWithoutPatientInputObjectSchema), - z.lazy(() => AppointmentUncheckedUpdateWithoutPatientInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => AppointmentCreateWithoutPatientInputObjectSchema), - z.lazy(() => AppointmentUncheckedCreateWithoutPatientInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentUpsertWithWhereUniqueWithoutPatientInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutUserInput.schema.ts deleted file mode 100644 index a7d6579..0000000 --- a/packages/db/shared/schemas/objects/AppointmentUpsertWithWhereUniqueWithoutUserInput.schema.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'; -import { AppointmentUpdateWithoutUserInputObjectSchema } from './AppointmentUpdateWithoutUserInput.schema'; -import { AppointmentUncheckedUpdateWithoutUserInputObjectSchema } from './AppointmentUncheckedUpdateWithoutUserInput.schema'; -import { AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema'; -import { AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema), - update: z.union([ - z.lazy(() => AppointmentUpdateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentUncheckedUpdateWithoutUserInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), - z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.ts deleted file mode 100644 index a890daf..0000000 --- a/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { z } from 'zod'; -import { IntFilterObjectSchema } from './IntFilter.schema'; -import { StringFilterObjectSchema } from './StringFilter.schema'; -import { DateTimeFilterObjectSchema } from './DateTimeFilter.schema'; -import { StringNullableFilterObjectSchema } from './StringNullableFilter.schema'; -import { PatientRelationFilterObjectSchema } from './PatientRelationFilter.schema'; -import { PatientWhereInputObjectSchema } from './PatientWhereInput.schema'; -import { UserRelationFilterObjectSchema } from './UserRelationFilter.schema'; -import { UserWhereInputObjectSchema } from './UserWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => AppointmentWhereInputObjectSchema), - z.lazy(() => AppointmentWhereInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => AppointmentWhereInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => AppointmentWhereInputObjectSchema), - z.lazy(() => AppointmentWhereInputObjectSchema).array(), - ]) - .optional(), - id: z.union([z.lazy(() => IntFilterObjectSchema), z.number()]).optional(), - patientId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - userId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - title: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - date: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - startTime: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - endTime: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - type: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - notes: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - createdAt: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - patient: z - .union([ - z.lazy(() => PatientRelationFilterObjectSchema), - z.lazy(() => PatientWhereInputObjectSchema), - ]) - .optional(), - user: z - .union([ - z.lazy(() => UserRelationFilterObjectSchema), - z.lazy(() => UserWhereInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const AppointmentWhereInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/AppointmentWhereUniqueInput.schema.ts b/packages/db/shared/schemas/objects/AppointmentWhereUniqueInput.schema.ts deleted file mode 100644 index 72b1490..0000000 --- a/packages/db/shared/schemas/objects/AppointmentWhereUniqueInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - }) - .strict(); - -export const AppointmentWhereUniqueInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts b/packages/db/shared/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts deleted file mode 100644 index b30a318..0000000 --- a/packages/db/shared/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - set: z.coerce.date().optional(), - }) - .strict(); - -export const DateTimeFieldUpdateOperationsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/DateTimeFilter.schema.ts b/packages/db/shared/schemas/objects/DateTimeFilter.schema.ts deleted file mode 100644 index 44be224..0000000 --- a/packages/db/shared/schemas/objects/DateTimeFilter.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; -import { NestedDateTimeFilterObjectSchema } from './NestedDateTimeFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.coerce.date().optional(), - in: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - notIn: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - lt: z.coerce.date().optional(), - lte: z.coerce.date().optional(), - gt: z.coerce.date().optional(), - gte: z.coerce.date().optional(), - not: z - .union([z.coerce.date(), z.lazy(() => NestedDateTimeFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const DateTimeFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/DateTimeWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/DateTimeWithAggregatesFilter.schema.ts deleted file mode 100644 index 513b20f..0000000 --- a/packages/db/shared/schemas/objects/DateTimeWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; -import { NestedDateTimeWithAggregatesFilterObjectSchema } from './NestedDateTimeWithAggregatesFilter.schema'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedDateTimeFilterObjectSchema } from './NestedDateTimeFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.coerce.date().optional(), - in: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - notIn: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - lt: z.coerce.date().optional(), - lte: z.coerce.date().optional(), - gt: z.coerce.date().optional(), - gte: z.coerce.date().optional(), - not: z - .union([ - z.coerce.date(), - z.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedDateTimeFilterObjectSchema).optional(), - _max: z.lazy(() => NestedDateTimeFilterObjectSchema).optional(), - }) - .strict(); - -export const DateTimeWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/IntFieldUpdateOperationsInput.schema.ts b/packages/db/shared/schemas/objects/IntFieldUpdateOperationsInput.schema.ts deleted file mode 100644 index 08ebf01..0000000 --- a/packages/db/shared/schemas/objects/IntFieldUpdateOperationsInput.schema.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - set: z.number().optional(), - increment: z.number().optional(), - decrement: z.number().optional(), - multiply: z.number().optional(), - divide: z.number().optional(), - }) - .strict(); - -export const IntFieldUpdateOperationsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/IntFilter.schema.ts b/packages/db/shared/schemas/objects/IntFilter.schema.ts deleted file mode 100644 index 9604a9f..0000000 --- a/packages/db/shared/schemas/objects/IntFilter.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional(), - in: z.union([z.number().array(), z.number()]).optional(), - notIn: z.union([z.number().array(), z.number()]).optional(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([z.number(), z.lazy(() => NestedIntFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const IntFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/IntWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/IntWithAggregatesFilter.schema.ts deleted file mode 100644 index 15a2a06..0000000 --- a/packages/db/shared/schemas/objects/IntWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from 'zod'; -import { NestedIntWithAggregatesFilterObjectSchema } from './NestedIntWithAggregatesFilter.schema'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedFloatFilterObjectSchema } from './NestedFloatFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional(), - in: z.union([z.number().array(), z.number()]).optional(), - notIn: z.union([z.number().array(), z.number()]).optional(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([ - z.number(), - z.lazy(() => NestedIntWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _avg: z.lazy(() => NestedFloatFilterObjectSchema).optional(), - _sum: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _max: z.lazy(() => NestedIntFilterObjectSchema).optional(), - }) - .strict(); - -export const IntWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedDateTimeFilter.schema.ts b/packages/db/shared/schemas/objects/NestedDateTimeFilter.schema.ts deleted file mode 100644 index 34194c0..0000000 --- a/packages/db/shared/schemas/objects/NestedDateTimeFilter.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.coerce.date().optional(), - in: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - notIn: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - lt: z.coerce.date().optional(), - lte: z.coerce.date().optional(), - gt: z.coerce.date().optional(), - gte: z.coerce.date().optional(), - not: z - .union([z.coerce.date(), z.lazy(() => NestedDateTimeFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const NestedDateTimeFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedDateTimeWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/NestedDateTimeWithAggregatesFilter.schema.ts deleted file mode 100644 index 2d56cbc..0000000 --- a/packages/db/shared/schemas/objects/NestedDateTimeWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { z } from 'zod'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedDateTimeFilterObjectSchema } from './NestedDateTimeFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.coerce.date().optional(), - in: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - notIn: z.union([z.coerce.date().array(), z.coerce.date()]).optional(), - lt: z.coerce.date().optional(), - lte: z.coerce.date().optional(), - gt: z.coerce.date().optional(), - gte: z.coerce.date().optional(), - not: z - .union([ - z.coerce.date(), - z.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedDateTimeFilterObjectSchema).optional(), - _max: z.lazy(() => NestedDateTimeFilterObjectSchema).optional(), - }) - .strict(); - -export const NestedDateTimeWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedFloatFilter.schema.ts b/packages/db/shared/schemas/objects/NestedFloatFilter.schema.ts deleted file mode 100644 index 459746f..0000000 --- a/packages/db/shared/schemas/objects/NestedFloatFilter.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional(), - in: z.union([z.number().array(), z.number()]).optional(), - notIn: z.union([z.number().array(), z.number()]).optional(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([z.number(), z.lazy(() => NestedFloatFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const NestedFloatFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedIntFilter.schema.ts b/packages/db/shared/schemas/objects/NestedIntFilter.schema.ts deleted file mode 100644 index 9f8a3eb..0000000 --- a/packages/db/shared/schemas/objects/NestedIntFilter.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional(), - in: z.union([z.number().array(), z.number()]).optional(), - notIn: z.union([z.number().array(), z.number()]).optional(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([z.number(), z.lazy(() => NestedIntFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const NestedIntFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedIntNullableFilter.schema.ts b/packages/db/shared/schemas/objects/NestedIntNullableFilter.schema.ts deleted file mode 100644 index 297540d..0000000 --- a/packages/db/shared/schemas/objects/NestedIntNullableFilter.schema.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional().nullable(), - in: z.union([z.number().array(), z.number()]).optional().nullable(), - notIn: z.union([z.number().array(), z.number()]).optional().nullable(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([z.number(), z.lazy(() => NestedIntNullableFilterObjectSchema)]) - .optional() - .nullable(), - }) - .strict(); - -export const NestedIntNullableFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedIntWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/NestedIntWithAggregatesFilter.schema.ts deleted file mode 100644 index e53c1e0..0000000 --- a/packages/db/shared/schemas/objects/NestedIntWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedFloatFilterObjectSchema } from './NestedFloatFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.number().optional(), - in: z.union([z.number().array(), z.number()]).optional(), - notIn: z.union([z.number().array(), z.number()]).optional(), - lt: z.number().optional(), - lte: z.number().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - not: z - .union([ - z.number(), - z.lazy(() => NestedIntWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _avg: z.lazy(() => NestedFloatFilterObjectSchema).optional(), - _sum: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _max: z.lazy(() => NestedIntFilterObjectSchema).optional(), - }) - .strict(); - -export const NestedIntWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedStringFilter.schema.ts b/packages/db/shared/schemas/objects/NestedStringFilter.schema.ts deleted file mode 100644 index 46f7376..0000000 --- a/packages/db/shared/schemas/objects/NestedStringFilter.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional(), - in: z.union([z.string().array(), z.string()]).optional(), - notIn: z.union([z.string().array(), z.string()]).optional(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - not: z - .union([z.string(), z.lazy(() => NestedStringFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const NestedStringFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedStringNullableFilter.schema.ts b/packages/db/shared/schemas/objects/NestedStringNullableFilter.schema.ts deleted file mode 100644 index 6c8d078..0000000 --- a/packages/db/shared/schemas/objects/NestedStringNullableFilter.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional().nullable(), - in: z.union([z.string().array(), z.string()]).optional().nullable(), - notIn: z.union([z.string().array(), z.string()]).optional().nullable(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - not: z - .union([z.string(), z.lazy(() => NestedStringNullableFilterObjectSchema)]) - .optional() - .nullable(), - }) - .strict(); - -export const NestedStringNullableFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts deleted file mode 100644 index ac0d313..0000000 --- a/packages/db/shared/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { z } from 'zod'; -import { NestedIntNullableFilterObjectSchema } from './NestedIntNullableFilter.schema'; -import { NestedStringNullableFilterObjectSchema } from './NestedStringNullableFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional().nullable(), - in: z.union([z.string().array(), z.string()]).optional().nullable(), - notIn: z.union([z.string().array(), z.string()]).optional().nullable(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - not: z - .union([ - z.string(), - z.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema), - ]) - .optional() - .nullable(), - _count: z.lazy(() => NestedIntNullableFilterObjectSchema).optional(), - _min: z.lazy(() => NestedStringNullableFilterObjectSchema).optional(), - _max: z.lazy(() => NestedStringNullableFilterObjectSchema).optional(), - }) - .strict(); - -export const NestedStringNullableWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NestedStringWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/NestedStringWithAggregatesFilter.schema.ts deleted file mode 100644 index dc7c274..0000000 --- a/packages/db/shared/schemas/objects/NestedStringWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from 'zod'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedStringFilterObjectSchema } from './NestedStringFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional(), - in: z.union([z.string().array(), z.string()]).optional(), - notIn: z.union([z.string().array(), z.string()]).optional(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - not: z - .union([ - z.string(), - z.lazy(() => NestedStringWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedStringFilterObjectSchema).optional(), - _max: z.lazy(() => NestedStringFilterObjectSchema).optional(), - }) - .strict(); - -export const NestedStringWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts b/packages/db/shared/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts deleted file mode 100644 index ef40a84..0000000 --- a/packages/db/shared/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - set: z.string().optional().nullable(), - }) - .strict(); - -export const NullableStringFieldUpdateOperationsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientAvgAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientAvgAggregateInput.schema.ts deleted file mode 100644 index a847d03..0000000 --- a/packages/db/shared/schemas/objects/PatientAvgAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - userId: z.literal(true).optional(), - }) - .strict(); - -export const PatientAvgAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientAvgOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientAvgOrderByAggregateInput.schema.ts deleted file mode 100644 index 7880fad..0000000 --- a/packages/db/shared/schemas/objects/PatientAvgOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientAvgOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.ts deleted file mode 100644 index 41f5c66..0000000 --- a/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - firstName: z.literal(true).optional(), - lastName: z.literal(true).optional(), - dateOfBirth: z.literal(true).optional(), - gender: z.literal(true).optional(), - phone: z.literal(true).optional(), - email: z.literal(true).optional(), - address: z.literal(true).optional(), - city: z.literal(true).optional(), - zipCode: z.literal(true).optional(), - insuranceProvider: z.literal(true).optional(), - insuranceId: z.literal(true).optional(), - groupNumber: z.literal(true).optional(), - policyHolder: z.literal(true).optional(), - allergies: z.literal(true).optional(), - medicalConditions: z.literal(true).optional(), - status: z.literal(true).optional(), - userId: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - _all: z.literal(true).optional(), - }) - .strict(); - -export const PatientCountAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.ts deleted file mode 100644 index c081424..0000000 --- a/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - firstName: z.lazy(() => SortOrderSchema).optional(), - lastName: z.lazy(() => SortOrderSchema).optional(), - dateOfBirth: z.lazy(() => SortOrderSchema).optional(), - gender: z.lazy(() => SortOrderSchema).optional(), - phone: z.lazy(() => SortOrderSchema).optional(), - email: z.lazy(() => SortOrderSchema).optional(), - address: z.lazy(() => SortOrderSchema).optional(), - city: z.lazy(() => SortOrderSchema).optional(), - zipCode: z.lazy(() => SortOrderSchema).optional(), - insuranceProvider: z.lazy(() => SortOrderSchema).optional(), - insuranceId: z.lazy(() => SortOrderSchema).optional(), - groupNumber: z.lazy(() => SortOrderSchema).optional(), - policyHolder: z.lazy(() => SortOrderSchema).optional(), - allergies: z.lazy(() => SortOrderSchema).optional(), - medicalConditions: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientCountOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateInput.schema.ts deleted file mode 100644 index d109ac8..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateInput.schema.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { z } from 'zod'; -import { UserCreateNestedOneWithoutPatientsInputObjectSchema } from './UserCreateNestedOneWithoutPatientsInput.schema'; -import { AppointmentCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentCreateNestedManyWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - user: z.lazy(() => UserCreateNestedOneWithoutPatientsInputObjectSchema), - appointments: z - .lazy(() => AppointmentCreateNestedManyWithoutPatientInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.ts deleted file mode 100644 index e2afb1a..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - userId: z.number(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const PatientCreateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.ts deleted file mode 100644 index ebc8c3a..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const PatientCreateManyUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateManyUserInputEnvelope.schema.ts b/packages/db/shared/schemas/objects/PatientCreateManyUserInputEnvelope.schema.ts deleted file mode 100644 index 8aed342..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateManyUserInputEnvelope.schema.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateManyUserInputObjectSchema } from './PatientCreateManyUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - data: z.union([ - z.lazy(() => PatientCreateManyUserInputObjectSchema), - z.lazy(() => PatientCreateManyUserInputObjectSchema).array(), - ]), - skipDuplicates: z.boolean().optional(), - }) - .strict(); - -export const PatientCreateManyUserInputEnvelopeObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateNestedManyWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateNestedManyWithoutUserInput.schema.ts deleted file mode 100644 index 53d13db..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateNestedManyWithoutUserInput.schema.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; -import { PatientCreateOrConnectWithoutUserInputObjectSchema } from './PatientCreateOrConnectWithoutUserInput.schema'; -import { PatientCreateManyUserInputEnvelopeObjectSchema } from './PatientCreateManyUserInputEnvelope.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => PatientCreateManyUserInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const PatientCreateNestedManyWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutAppointmentsInput.schema.ts deleted file mode 100644 index cd41a4b..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutAppointmentsInputObjectSchema } from './PatientCreateWithoutAppointmentsInput.schema'; -import { PatientUncheckedCreateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedCreateWithoutAppointmentsInput.schema'; -import { PatientCreateOrConnectWithoutAppointmentsInputObjectSchema } from './PatientCreateOrConnectWithoutAppointmentsInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutAppointmentsInputObjectSchema), - z.lazy( - () => PatientUncheckedCreateWithoutAppointmentsInputObjectSchema, - ), - ]) - .optional(), - connectOrCreate: z - .lazy(() => PatientCreateOrConnectWithoutAppointmentsInputObjectSchema) - .optional(), - connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional(), - }) - .strict(); - -export const PatientCreateNestedOneWithoutAppointmentsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutAppointmentsInput.schema.ts deleted file mode 100644 index ca2715d..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientCreateWithoutAppointmentsInputObjectSchema } from './PatientCreateWithoutAppointmentsInput.schema'; -import { PatientUncheckedCreateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedCreateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - where: z.lazy(() => PatientWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => PatientCreateWithoutAppointmentsInputObjectSchema), - z.lazy( - () => PatientUncheckedCreateWithoutAppointmentsInputObjectSchema, - ), - ]), - }) - .strict(); - -export const PatientCreateOrConnectWithoutAppointmentsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutUserInput.schema.ts deleted file mode 100644 index b863a41..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutUserInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => PatientWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const PatientCreateOrConnectWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 144099c..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; -import { UserCreateNestedOneWithoutPatientsInputObjectSchema } from './UserCreateNestedOneWithoutPatientsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - user: z.lazy(() => UserCreateNestedOneWithoutPatientsInputObjectSchema), - }) - .strict(); - -export const PatientCreateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.ts deleted file mode 100644 index e760bf2..0000000 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentCreateNestedManyWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - appointments: z - .lazy(() => AppointmentCreateNestedManyWithoutPatientInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientCreateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientListRelationFilter.schema.ts b/packages/db/shared/schemas/objects/PatientListRelationFilter.schema.ts deleted file mode 100644 index 5d4f4b1..0000000 --- a/packages/db/shared/schemas/objects/PatientListRelationFilter.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereInputObjectSchema } from './PatientWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - every: z.lazy(() => PatientWhereInputObjectSchema).optional(), - some: z.lazy(() => PatientWhereInputObjectSchema).optional(), - none: z.lazy(() => PatientWhereInputObjectSchema).optional(), - }) - .strict(); - -export const PatientListRelationFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.ts deleted file mode 100644 index 9fa4ec4..0000000 --- a/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - firstName: z.literal(true).optional(), - lastName: z.literal(true).optional(), - dateOfBirth: z.literal(true).optional(), - gender: z.literal(true).optional(), - phone: z.literal(true).optional(), - email: z.literal(true).optional(), - address: z.literal(true).optional(), - city: z.literal(true).optional(), - zipCode: z.literal(true).optional(), - insuranceProvider: z.literal(true).optional(), - insuranceId: z.literal(true).optional(), - groupNumber: z.literal(true).optional(), - policyHolder: z.literal(true).optional(), - allergies: z.literal(true).optional(), - medicalConditions: z.literal(true).optional(), - status: z.literal(true).optional(), - userId: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - }) - .strict(); - -export const PatientMaxAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.ts deleted file mode 100644 index a2b4513..0000000 --- a/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - firstName: z.lazy(() => SortOrderSchema).optional(), - lastName: z.lazy(() => SortOrderSchema).optional(), - dateOfBirth: z.lazy(() => SortOrderSchema).optional(), - gender: z.lazy(() => SortOrderSchema).optional(), - phone: z.lazy(() => SortOrderSchema).optional(), - email: z.lazy(() => SortOrderSchema).optional(), - address: z.lazy(() => SortOrderSchema).optional(), - city: z.lazy(() => SortOrderSchema).optional(), - zipCode: z.lazy(() => SortOrderSchema).optional(), - insuranceProvider: z.lazy(() => SortOrderSchema).optional(), - insuranceId: z.lazy(() => SortOrderSchema).optional(), - groupNumber: z.lazy(() => SortOrderSchema).optional(), - policyHolder: z.lazy(() => SortOrderSchema).optional(), - allergies: z.lazy(() => SortOrderSchema).optional(), - medicalConditions: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientMaxOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.ts deleted file mode 100644 index e7502b6..0000000 --- a/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - firstName: z.literal(true).optional(), - lastName: z.literal(true).optional(), - dateOfBirth: z.literal(true).optional(), - gender: z.literal(true).optional(), - phone: z.literal(true).optional(), - email: z.literal(true).optional(), - address: z.literal(true).optional(), - city: z.literal(true).optional(), - zipCode: z.literal(true).optional(), - insuranceProvider: z.literal(true).optional(), - insuranceId: z.literal(true).optional(), - groupNumber: z.literal(true).optional(), - policyHolder: z.literal(true).optional(), - allergies: z.literal(true).optional(), - medicalConditions: z.literal(true).optional(), - status: z.literal(true).optional(), - userId: z.literal(true).optional(), - createdAt: z.literal(true).optional(), - }) - .strict(); - -export const PatientMinAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.ts deleted file mode 100644 index 8cba90f..0000000 --- a/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - firstName: z.lazy(() => SortOrderSchema).optional(), - lastName: z.lazy(() => SortOrderSchema).optional(), - dateOfBirth: z.lazy(() => SortOrderSchema).optional(), - gender: z.lazy(() => SortOrderSchema).optional(), - phone: z.lazy(() => SortOrderSchema).optional(), - email: z.lazy(() => SortOrderSchema).optional(), - address: z.lazy(() => SortOrderSchema).optional(), - city: z.lazy(() => SortOrderSchema).optional(), - zipCode: z.lazy(() => SortOrderSchema).optional(), - insuranceProvider: z.lazy(() => SortOrderSchema).optional(), - insuranceId: z.lazy(() => SortOrderSchema).optional(), - groupNumber: z.lazy(() => SortOrderSchema).optional(), - policyHolder: z.lazy(() => SortOrderSchema).optional(), - allergies: z.lazy(() => SortOrderSchema).optional(), - medicalConditions: z.lazy(() => SortOrderSchema).optional(), - status: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientMinOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientOrderByRelationAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientOrderByRelationAggregateInput.schema.ts deleted file mode 100644 index 8fbdcd5..0000000 --- a/packages/db/shared/schemas/objects/PatientOrderByRelationAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - _count: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientOrderByRelationAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.ts b/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.ts deleted file mode 100644 index c1cbc89..0000000 --- a/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { SortOrderInputObjectSchema } from './SortOrderInput.schema'; -import { PatientCountOrderByAggregateInputObjectSchema } from './PatientCountOrderByAggregateInput.schema'; -import { PatientAvgOrderByAggregateInputObjectSchema } from './PatientAvgOrderByAggregateInput.schema'; -import { PatientMaxOrderByAggregateInputObjectSchema } from './PatientMaxOrderByAggregateInput.schema'; -import { PatientMinOrderByAggregateInputObjectSchema } from './PatientMinOrderByAggregateInput.schema'; -import { PatientSumOrderByAggregateInputObjectSchema } from './PatientSumOrderByAggregateInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - firstName: z.lazy(() => SortOrderSchema).optional(), - lastName: z.lazy(() => SortOrderSchema).optional(), - dateOfBirth: z.lazy(() => SortOrderSchema).optional(), - gender: z.lazy(() => SortOrderSchema).optional(), - phone: z.lazy(() => SortOrderSchema).optional(), - email: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - address: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - city: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - zipCode: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - insuranceProvider: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - insuranceId: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - groupNumber: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - policyHolder: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - allergies: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - medicalConditions: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - status: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - _count: z - .lazy(() => PatientCountOrderByAggregateInputObjectSchema) - .optional(), - _avg: z.lazy(() => PatientAvgOrderByAggregateInputObjectSchema).optional(), - _max: z.lazy(() => PatientMaxOrderByAggregateInputObjectSchema).optional(), - _min: z.lazy(() => PatientMinOrderByAggregateInputObjectSchema).optional(), - _sum: z.lazy(() => PatientSumOrderByAggregateInputObjectSchema).optional(), - }) - .strict(); - -export const PatientOrderByWithAggregationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.ts b/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.ts deleted file mode 100644 index 7f6d241..0000000 --- a/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { SortOrderInputObjectSchema } from './SortOrderInput.schema'; -import { UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema'; -import { AppointmentOrderByRelationAggregateInputObjectSchema } from './AppointmentOrderByRelationAggregateInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - firstName: z.lazy(() => SortOrderSchema).optional(), - lastName: z.lazy(() => SortOrderSchema).optional(), - dateOfBirth: z.lazy(() => SortOrderSchema).optional(), - gender: z.lazy(() => SortOrderSchema).optional(), - phone: z.lazy(() => SortOrderSchema).optional(), - email: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - address: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - city: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - zipCode: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - insuranceProvider: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - insuranceId: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - groupNumber: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - policyHolder: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - allergies: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - medicalConditions: z - .union([ - z.lazy(() => SortOrderSchema), - z.lazy(() => SortOrderInputObjectSchema), - ]) - .optional(), - status: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - createdAt: z.lazy(() => SortOrderSchema).optional(), - user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional(), - appointments: z - .lazy(() => AppointmentOrderByRelationAggregateInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientOrderByWithRelationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientRelationFilter.schema.ts b/packages/db/shared/schemas/objects/PatientRelationFilter.schema.ts deleted file mode 100644 index a30c603..0000000 --- a/packages/db/shared/schemas/objects/PatientRelationFilter.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereInputObjectSchema } from './PatientWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - is: z - .lazy(() => PatientWhereInputObjectSchema) - .optional() - .nullable(), - isNot: z - .lazy(() => PatientWhereInputObjectSchema) - .optional() - .nullable(), - }) - .strict(); - -export const PatientRelationFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.ts b/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.ts deleted file mode 100644 index e3423f0..0000000 --- a/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { z } from 'zod'; -import { IntFilterObjectSchema } from './IntFilter.schema'; -import { StringFilterObjectSchema } from './StringFilter.schema'; -import { DateTimeFilterObjectSchema } from './DateTimeFilter.schema'; -import { StringNullableFilterObjectSchema } from './StringNullableFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => PatientScalarWhereInputObjectSchema), - z.lazy(() => PatientScalarWhereInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => PatientScalarWhereInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => PatientScalarWhereInputObjectSchema), - z.lazy(() => PatientScalarWhereInputObjectSchema).array(), - ]) - .optional(), - id: z.union([z.lazy(() => IntFilterObjectSchema), z.number()]).optional(), - firstName: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - lastName: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - dateOfBirth: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - gender: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - phone: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - email: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - address: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - city: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - zipCode: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - insuranceProvider: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - insuranceId: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - groupNumber: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - policyHolder: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - allergies: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - medicalConditions: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - userId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - createdAt: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - }) - .strict(); - -export const PatientScalarWhereInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.ts b/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.ts deleted file mode 100644 index 33cf0e1..0000000 --- a/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { z } from 'zod'; -import { IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema'; -import { StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'; -import { DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema'; -import { StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => PatientScalarWhereWithAggregatesInputObjectSchema), - z.lazy(() => PatientScalarWhereWithAggregatesInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => PatientScalarWhereWithAggregatesInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => PatientScalarWhereWithAggregatesInputObjectSchema), - z.lazy(() => PatientScalarWhereWithAggregatesInputObjectSchema).array(), - ]) - .optional(), - id: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - firstName: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - lastName: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - dateOfBirth: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - gender: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - phone: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - email: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - address: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - city: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), - z.string(), - ]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - userId: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - createdAt: z - .union([ - z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), - z.coerce.date(), - ]) - .optional(), - }) - .strict(); - -export const PatientScalarWhereWithAggregatesInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientSumAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientSumAggregateInput.schema.ts deleted file mode 100644 index d02d383..0000000 --- a/packages/db/shared/schemas/objects/PatientSumAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - userId: z.literal(true).optional(), - }) - .strict(); - -export const PatientSumAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientSumOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/PatientSumOrderByAggregateInput.schema.ts deleted file mode 100644 index bc1287b..0000000 --- a/packages/db/shared/schemas/objects/PatientSumOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - userId: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const PatientSumOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.ts deleted file mode 100644 index 6399ff6..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { z } from 'zod'; -import { AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - userId: z.number(), - createdAt: z.coerce.date().optional(), - appointments: z - .lazy( - () => - AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const PatientUncheckedCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts deleted file mode 100644 index 2cad9a4..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; -import { PatientCreateOrConnectWithoutUserInputObjectSchema } from './PatientCreateOrConnectWithoutUserInput.schema'; -import { PatientCreateManyUserInputEnvelopeObjectSchema } from './PatientCreateManyUserInputEnvelope.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => PatientCreateManyUserInputEnvelopeObjectSchema) - .optional(), - connect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 9e134f6..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z.number().optional(), - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - userId: z.number(), - createdAt: z.coerce.date().optional(), - }) - .strict(); - -export const PatientUncheckedCreateWithoutAppointmentsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.ts deleted file mode 100644 index d46f86e..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { z } from 'zod'; -import { AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - firstName: z.string(), - lastName: z.string(), - dateOfBirth: z.coerce.date(), - gender: z.string(), - phone: z.string(), - email: z.string().optional().nullable(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - zipCode: z.string().optional().nullable(), - insuranceProvider: z.string().optional().nullable(), - insuranceId: z.string().optional().nullable(), - groupNumber: z.string().optional().nullable(), - policyHolder: z.string().optional().nullable(), - allergies: z.string().optional().nullable(), - medicalConditions: z.string().optional().nullable(), - status: z.string().optional(), - createdAt: z.coerce.date().optional(), - appointments: z - .lazy( - () => - AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const PatientUncheckedCreateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.ts deleted file mode 100644 index dea9717..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy( - () => - AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.ts deleted file mode 100644 index 5d2c534..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutPatientsInput.schema.ts deleted file mode 100644 index 1c66253..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateManyWithoutPatientsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts deleted file mode 100644 index afb57b9..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; -import { PatientCreateOrConnectWithoutUserInputObjectSchema } from './PatientCreateOrConnectWithoutUserInput.schema'; -import { PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './PatientUpsertWithWhereUniqueWithoutUserInput.schema'; -import { PatientCreateManyUserInputEnvelopeObjectSchema } from './PatientCreateManyUserInputEnvelope.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './PatientUpdateWithWhereUniqueWithoutUserInput.schema'; -import { PatientUpdateManyWithWhereWithoutUserInputObjectSchema } from './PatientUpdateManyWithWhereWithoutUserInput.schema'; -import { PatientScalarWhereInputObjectSchema } from './PatientScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy( - () => PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => PatientCreateManyUserInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy( - () => PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ), - z - .lazy( - () => PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema, - ) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy(() => PatientUpdateManyWithWhereWithoutUserInputObjectSchema), - z - .lazy(() => PatientUpdateManyWithWhereWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => PatientScalarWhereInputObjectSchema), - z.lazy(() => PatientScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 4407083..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - userId: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.ts deleted file mode 100644 index b4516cb..0000000 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy( - () => - AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const PatientUncheckedUpdateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateInput.schema.ts deleted file mode 100644 index 3c5f2df..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateInput.schema.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutPatientsNestedInput.schema'; -import { AppointmentUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentUpdateManyWithoutPatientNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - user: z - .lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema) - .optional(), - appointments: z - .lazy(() => AppointmentUpdateManyWithoutPatientNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.ts deleted file mode 100644 index 85cc19e..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const PatientUpdateManyMutationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts deleted file mode 100644 index eed2af7..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { PatientScalarWhereInputObjectSchema } from './PatientScalarWhereInput.schema'; -import { PatientUpdateManyMutationInputObjectSchema } from './PatientUpdateManyMutationInput.schema'; -import { PatientUncheckedUpdateManyWithoutPatientsInputObjectSchema } from './PatientUncheckedUpdateManyWithoutPatientsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => PatientScalarWhereInputObjectSchema), - data: z.union([ - z.lazy(() => PatientUpdateManyMutationInputObjectSchema), - z.lazy(() => PatientUncheckedUpdateManyWithoutPatientsInputObjectSchema), - ]), - }) - .strict(); - -export const PatientUpdateManyWithWhereWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateManyWithoutUserNestedInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateManyWithoutUserNestedInput.schema.ts deleted file mode 100644 index e55f6c2..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateManyWithoutUserNestedInput.schema.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; -import { PatientCreateOrConnectWithoutUserInputObjectSchema } from './PatientCreateOrConnectWithoutUserInput.schema'; -import { PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './PatientUpsertWithWhereUniqueWithoutUserInput.schema'; -import { PatientCreateManyUserInputEnvelopeObjectSchema } from './PatientCreateManyUserInputEnvelope.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './PatientUpdateWithWhereUniqueWithoutUserInput.schema'; -import { PatientUpdateManyWithWhereWithoutUserInputObjectSchema } from './PatientUpdateManyWithWhereWithoutUserInput.schema'; -import { PatientScalarWhereInputObjectSchema } from './PatientScalarWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientCreateWithoutUserInputObjectSchema).array(), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - z - .lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - connectOrCreate: z - .union([ - z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema), - z - .lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - upsert: z - .union([ - z.lazy(() => PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema), - z - .lazy(() => PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - createMany: z - .lazy(() => PatientCreateManyUserInputEnvelopeObjectSchema) - .optional(), - set: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - disconnect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - delete: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - connect: z - .union([ - z.lazy(() => PatientWhereUniqueInputObjectSchema), - z.lazy(() => PatientWhereUniqueInputObjectSchema).array(), - ]) - .optional(), - update: z - .union([ - z.lazy(() => PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema), - z - .lazy(() => PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - updateMany: z - .union([ - z.lazy(() => PatientUpdateManyWithWhereWithoutUserInputObjectSchema), - z - .lazy(() => PatientUpdateManyWithWhereWithoutUserInputObjectSchema) - .array(), - ]) - .optional(), - deleteMany: z - .union([ - z.lazy(() => PatientScalarWhereInputObjectSchema), - z.lazy(() => PatientScalarWhereInputObjectSchema).array(), - ]) - .optional(), - }) - .strict(); - -export const PatientUpdateManyWithoutUserNestedInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts deleted file mode 100644 index cbec90e..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateWithoutAppointmentsInputObjectSchema } from './PatientCreateWithoutAppointmentsInput.schema'; -import { PatientUncheckedCreateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedCreateWithoutAppointmentsInput.schema'; -import { PatientCreateOrConnectWithoutAppointmentsInputObjectSchema } from './PatientCreateOrConnectWithoutAppointmentsInput.schema'; -import { PatientUpsertWithoutAppointmentsInputObjectSchema } from './PatientUpsertWithoutAppointmentsInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientUpdateWithoutAppointmentsInputObjectSchema } from './PatientUpdateWithoutAppointmentsInput.schema'; -import { PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedUpdateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => PatientCreateWithoutAppointmentsInputObjectSchema), - z.lazy( - () => PatientUncheckedCreateWithoutAppointmentsInputObjectSchema, - ), - ]) - .optional(), - connectOrCreate: z - .lazy(() => PatientCreateOrConnectWithoutAppointmentsInputObjectSchema) - .optional(), - upsert: z - .lazy(() => PatientUpsertWithoutAppointmentsInputObjectSchema) - .optional(), - connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional(), - update: z - .union([ - z.lazy(() => PatientUpdateWithoutAppointmentsInputObjectSchema), - z.lazy( - () => PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema, - ), - ]) - .optional(), - }) - .strict(); - -export const PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts deleted file mode 100644 index 3e651cc..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientUpdateWithoutUserInputObjectSchema } from './PatientUpdateWithoutUserInput.schema'; -import { PatientUncheckedUpdateWithoutUserInputObjectSchema } from './PatientUncheckedUpdateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => PatientWhereUniqueInputObjectSchema), - data: z.union([ - z.lazy(() => PatientUpdateWithoutUserInputObjectSchema), - z.lazy(() => PatientUncheckedUpdateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 1236f82..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,129 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutPatientsNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - user: z - .lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientUpdateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.ts deleted file mode 100644 index 0935c23..0000000 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.ts +++ /dev/null @@ -1,129 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; -import { NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; -import { AppointmentUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentUpdateManyWithoutPatientNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - firstName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - lastName: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - dateOfBirth: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - gender: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - phone: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - email: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - address: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - city: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - zipCode: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceProvider: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - insuranceId: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - groupNumber: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - policyHolder: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - allergies: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - medicalConditions: z - .union([ - z.string(), - z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema), - ]) - .optional() - .nullable(), - status: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - createdAt: z - .union([ - z.coerce.date(), - z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy(() => AppointmentUpdateManyWithoutPatientNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const PatientUpdateWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts deleted file mode 100644 index 9698654..0000000 --- a/packages/db/shared/schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; -import { PatientUpdateWithoutUserInputObjectSchema } from './PatientUpdateWithoutUserInput.schema'; -import { PatientUncheckedUpdateWithoutUserInputObjectSchema } from './PatientUncheckedUpdateWithoutUserInput.schema'; -import { PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema'; -import { PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => PatientWhereUniqueInputObjectSchema), - update: z.union([ - z.lazy(() => PatientUpdateWithoutUserInputObjectSchema), - z.lazy(() => PatientUncheckedUpdateWithoutUserInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => PatientCreateWithoutUserInputObjectSchema), - z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), - ]), - }) - .strict(); - -export const PatientUpsertWithWhereUniqueWithoutUserInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientUpsertWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/PatientUpsertWithoutAppointmentsInput.schema.ts deleted file mode 100644 index d0a674c..0000000 --- a/packages/db/shared/schemas/objects/PatientUpsertWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { PatientUpdateWithoutAppointmentsInputObjectSchema } from './PatientUpdateWithoutAppointmentsInput.schema'; -import { PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedUpdateWithoutAppointmentsInput.schema'; -import { PatientCreateWithoutAppointmentsInputObjectSchema } from './PatientCreateWithoutAppointmentsInput.schema'; -import { PatientUncheckedCreateWithoutAppointmentsInputObjectSchema } from './PatientUncheckedCreateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - update: z.union([ - z.lazy(() => PatientUpdateWithoutAppointmentsInputObjectSchema), - z.lazy(() => PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => PatientCreateWithoutAppointmentsInputObjectSchema), - z.lazy(() => PatientUncheckedCreateWithoutAppointmentsInputObjectSchema), - ]), - }) - .strict(); - -export const PatientUpsertWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientWhereInput.schema.ts b/packages/db/shared/schemas/objects/PatientWhereInput.schema.ts deleted file mode 100644 index d583870..0000000 --- a/packages/db/shared/schemas/objects/PatientWhereInput.schema.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { z } from 'zod'; -import { IntFilterObjectSchema } from './IntFilter.schema'; -import { StringFilterObjectSchema } from './StringFilter.schema'; -import { DateTimeFilterObjectSchema } from './DateTimeFilter.schema'; -import { StringNullableFilterObjectSchema } from './StringNullableFilter.schema'; -import { UserRelationFilterObjectSchema } from './UserRelationFilter.schema'; -import { UserWhereInputObjectSchema } from './UserWhereInput.schema'; -import { AppointmentListRelationFilterObjectSchema } from './AppointmentListRelationFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => PatientWhereInputObjectSchema), - z.lazy(() => PatientWhereInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => PatientWhereInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => PatientWhereInputObjectSchema), - z.lazy(() => PatientWhereInputObjectSchema).array(), - ]) - .optional(), - id: z.union([z.lazy(() => IntFilterObjectSchema), z.number()]).optional(), - firstName: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - lastName: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - dateOfBirth: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - gender: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - phone: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - email: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - address: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - city: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - zipCode: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - insuranceProvider: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - insuranceId: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - groupNumber: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - policyHolder: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - allergies: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - medicalConditions: z - .union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]) - .optional() - .nullable(), - status: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - userId: z - .union([z.lazy(() => IntFilterObjectSchema), z.number()]) - .optional(), - createdAt: z - .union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]) - .optional(), - user: z - .union([ - z.lazy(() => UserRelationFilterObjectSchema), - z.lazy(() => UserWhereInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy(() => AppointmentListRelationFilterObjectSchema) - .optional(), - }) - .strict(); - -export const PatientWhereInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/PatientWhereUniqueInput.schema.ts b/packages/db/shared/schemas/objects/PatientWhereUniqueInput.schema.ts deleted file mode 100644 index b43d52d..0000000 --- a/packages/db/shared/schemas/objects/PatientWhereUniqueInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - }) - .strict(); - -export const PatientWhereUniqueInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/SortOrderInput.schema.ts b/packages/db/shared/schemas/objects/SortOrderInput.schema.ts deleted file mode 100644 index 08d4cc7..0000000 --- a/packages/db/shared/schemas/objects/SortOrderInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { NullsOrderSchema } from '../enums/NullsOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - sort: z.lazy(() => SortOrderSchema), - nulls: z.lazy(() => NullsOrderSchema).optional(), - }) - .strict(); - -export const SortOrderInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/StringFieldUpdateOperationsInput.schema.ts b/packages/db/shared/schemas/objects/StringFieldUpdateOperationsInput.schema.ts deleted file mode 100644 index 3811b82..0000000 --- a/packages/db/shared/schemas/objects/StringFieldUpdateOperationsInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - set: z.string().optional(), - }) - .strict(); - -export const StringFieldUpdateOperationsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/StringFilter.schema.ts b/packages/db/shared/schemas/objects/StringFilter.schema.ts deleted file mode 100644 index c76a7ea..0000000 --- a/packages/db/shared/schemas/objects/StringFilter.schema.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { z } from 'zod'; -import { QueryModeSchema } from '../enums/QueryMode.schema'; -import { NestedStringFilterObjectSchema } from './NestedStringFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional(), - in: z.union([z.string().array(), z.string()]).optional(), - notIn: z.union([z.string().array(), z.string()]).optional(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - mode: z.lazy(() => QueryModeSchema).optional(), - not: z - .union([z.string(), z.lazy(() => NestedStringFilterObjectSchema)]) - .optional(), - }) - .strict(); - -export const StringFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/StringNullableFilter.schema.ts b/packages/db/shared/schemas/objects/StringNullableFilter.schema.ts deleted file mode 100644 index fe22bb3..0000000 --- a/packages/db/shared/schemas/objects/StringNullableFilter.schema.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { z } from 'zod'; -import { QueryModeSchema } from '../enums/QueryMode.schema'; -import { NestedStringNullableFilterObjectSchema } from './NestedStringNullableFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional().nullable(), - in: z.union([z.string().array(), z.string()]).optional().nullable(), - notIn: z.union([z.string().array(), z.string()]).optional().nullable(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - mode: z.lazy(() => QueryModeSchema).optional(), - not: z - .union([z.string(), z.lazy(() => NestedStringNullableFilterObjectSchema)]) - .optional() - .nullable(), - }) - .strict(); - -export const StringNullableFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/StringNullableWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/StringNullableWithAggregatesFilter.schema.ts deleted file mode 100644 index 74ec50f..0000000 --- a/packages/db/shared/schemas/objects/StringNullableWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { z } from 'zod'; -import { QueryModeSchema } from '../enums/QueryMode.schema'; -import { NestedStringNullableWithAggregatesFilterObjectSchema } from './NestedStringNullableWithAggregatesFilter.schema'; -import { NestedIntNullableFilterObjectSchema } from './NestedIntNullableFilter.schema'; -import { NestedStringNullableFilterObjectSchema } from './NestedStringNullableFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional().nullable(), - in: z.union([z.string().array(), z.string()]).optional().nullable(), - notIn: z.union([z.string().array(), z.string()]).optional().nullable(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - mode: z.lazy(() => QueryModeSchema).optional(), - not: z - .union([ - z.string(), - z.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema), - ]) - .optional() - .nullable(), - _count: z.lazy(() => NestedIntNullableFilterObjectSchema).optional(), - _min: z.lazy(() => NestedStringNullableFilterObjectSchema).optional(), - _max: z.lazy(() => NestedStringNullableFilterObjectSchema).optional(), - }) - .strict(); - -export const StringNullableWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/StringWithAggregatesFilter.schema.ts b/packages/db/shared/schemas/objects/StringWithAggregatesFilter.schema.ts deleted file mode 100644 index e61d26b..0000000 --- a/packages/db/shared/schemas/objects/StringWithAggregatesFilter.schema.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { z } from 'zod'; -import { QueryModeSchema } from '../enums/QueryMode.schema'; -import { NestedStringWithAggregatesFilterObjectSchema } from './NestedStringWithAggregatesFilter.schema'; -import { NestedIntFilterObjectSchema } from './NestedIntFilter.schema'; -import { NestedStringFilterObjectSchema } from './NestedStringFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - equals: z.string().optional(), - in: z.union([z.string().array(), z.string()]).optional(), - notIn: z.union([z.string().array(), z.string()]).optional(), - lt: z.string().optional(), - lte: z.string().optional(), - gt: z.string().optional(), - gte: z.string().optional(), - contains: z.string().optional(), - startsWith: z.string().optional(), - endsWith: z.string().optional(), - mode: z.lazy(() => QueryModeSchema).optional(), - not: z - .union([ - z.string(), - z.lazy(() => NestedStringWithAggregatesFilterObjectSchema), - ]) - .optional(), - _count: z.lazy(() => NestedIntFilterObjectSchema).optional(), - _min: z.lazy(() => NestedStringFilterObjectSchema).optional(), - _max: z.lazy(() => NestedStringFilterObjectSchema).optional(), - }) - .strict(); - -export const StringWithAggregatesFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.ts deleted file mode 100644 index 86ee2b1..0000000 --- a/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - }) - .strict(); - -export const UserAvgAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.ts deleted file mode 100644 index 8fb5eec..0000000 --- a/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const UserAvgOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.ts deleted file mode 100644 index 5591540..0000000 --- a/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - username: z.literal(true).optional(), - password: z.literal(true).optional(), - _all: z.literal(true).optional(), - }) - .strict(); - -export const UserCountAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.ts deleted file mode 100644 index b5262c3..0000000 --- a/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - username: z.lazy(() => SortOrderSchema).optional(), - password: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const UserCountOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateInput.schema.ts deleted file mode 100644 index 091ae1b..0000000 --- a/packages/db/shared/schemas/objects/UserCreateInput.schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateNestedManyWithoutUserInputObjectSchema } from './PatientCreateNestedManyWithoutUserInput.schema'; -import { AppointmentCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z.string(), - password: z.string(), - patients: z - .lazy(() => PatientCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - appointments: z - .lazy(() => AppointmentCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateManyInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateManyInput.schema.ts deleted file mode 100644 index 3cc8a5b..0000000 --- a/packages/db/shared/schemas/objects/UserCreateManyInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - username: z.string(), - password: z.string(), - }) - .strict(); - -export const UserCreateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAppointmentsInput.schema.ts deleted file mode 100644 index f33e3c0..0000000 --- a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; -import { UserCreateWithoutAppointmentsInputObjectSchema } from './UserCreateWithoutAppointmentsInput.schema'; -import { UserUncheckedCreateWithoutAppointmentsInputObjectSchema } from './UserUncheckedCreateWithoutAppointmentsInput.schema'; -import { UserCreateOrConnectWithoutAppointmentsInputObjectSchema } from './UserCreateOrConnectWithoutAppointmentsInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => UserCreateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutAppointmentsInputObjectSchema), - ]) - .optional(), - connectOrCreate: z - .lazy(() => UserCreateOrConnectWithoutAppointmentsInputObjectSchema) - .optional(), - connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(), - }) - .strict(); - -export const UserCreateNestedOneWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts deleted file mode 100644 index b73f7c4..0000000 --- a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; -import { UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema'; -import { UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema'; -import { UserCreateOrConnectWithoutPatientsInputObjectSchema } from './UserCreateOrConnectWithoutPatientsInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - create: z - .union([ - z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema), - ]) - .optional(), - connectOrCreate: z - .lazy(() => UserCreateOrConnectWithoutPatientsInputObjectSchema) - .optional(), - connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(), - }) - .strict(); - -export const UserCreateNestedOneWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAppointmentsInput.schema.ts deleted file mode 100644 index e4d8037..0000000 --- a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; -import { UserCreateWithoutAppointmentsInputObjectSchema } from './UserCreateWithoutAppointmentsInput.schema'; -import { UserUncheckedCreateWithoutAppointmentsInputObjectSchema } from './UserUncheckedCreateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => UserWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => UserCreateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutAppointmentsInputObjectSchema), - ]), - }) - .strict(); - -export const UserCreateOrConnectWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts deleted file mode 100644 index 42f6606..0000000 --- a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; -import { UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema'; -import { UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - where: z.lazy(() => UserWhereUniqueInputObjectSchema), - create: z.union([ - z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema), - ]), - }) - .strict(); - -export const UserCreateOrConnectWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index fefdbfc..0000000 --- a/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from 'zod'; -import { PatientCreateNestedManyWithoutUserInputObjectSchema } from './PatientCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z.string(), - password: z.string(), - patients: z - .lazy(() => PatientCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserCreateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.ts deleted file mode 100644 index 10d9013..0000000 --- a/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from 'zod'; -import { AppointmentCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z.string(), - password: z.string(), - appointments: z - .lazy(() => AppointmentCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserCreateWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.ts deleted file mode 100644 index 80ede29..0000000 --- a/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - username: z.literal(true).optional(), - password: z.literal(true).optional(), - }) - .strict(); - -export const UserMaxAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.ts deleted file mode 100644 index a55ff6e..0000000 --- a/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - username: z.lazy(() => SortOrderSchema).optional(), - password: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const UserMaxOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.ts deleted file mode 100644 index 707c2ac..0000000 --- a/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - username: z.literal(true).optional(), - password: z.literal(true).optional(), - }) - .strict(); - -export const UserMinAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.ts deleted file mode 100644 index 159ddb2..0000000 --- a/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - username: z.lazy(() => SortOrderSchema).optional(), - password: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const UserMinOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.ts b/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.ts deleted file mode 100644 index fc645d4..0000000 --- a/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { UserCountOrderByAggregateInputObjectSchema } from './UserCountOrderByAggregateInput.schema'; -import { UserAvgOrderByAggregateInputObjectSchema } from './UserAvgOrderByAggregateInput.schema'; -import { UserMaxOrderByAggregateInputObjectSchema } from './UserMaxOrderByAggregateInput.schema'; -import { UserMinOrderByAggregateInputObjectSchema } from './UserMinOrderByAggregateInput.schema'; -import { UserSumOrderByAggregateInputObjectSchema } from './UserSumOrderByAggregateInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - username: z.lazy(() => SortOrderSchema).optional(), - password: z.lazy(() => SortOrderSchema).optional(), - _count: z.lazy(() => UserCountOrderByAggregateInputObjectSchema).optional(), - _avg: z.lazy(() => UserAvgOrderByAggregateInputObjectSchema).optional(), - _max: z.lazy(() => UserMaxOrderByAggregateInputObjectSchema).optional(), - _min: z.lazy(() => UserMinOrderByAggregateInputObjectSchema).optional(), - _sum: z.lazy(() => UserSumOrderByAggregateInputObjectSchema).optional(), - }) - .strict(); - -export const UserOrderByWithAggregationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.ts b/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.ts deleted file mode 100644 index 7ab24ba..0000000 --- a/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; -import { PatientOrderByRelationAggregateInputObjectSchema } from './PatientOrderByRelationAggregateInput.schema'; -import { AppointmentOrderByRelationAggregateInputObjectSchema } from './AppointmentOrderByRelationAggregateInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - username: z.lazy(() => SortOrderSchema).optional(), - password: z.lazy(() => SortOrderSchema).optional(), - patients: z - .lazy(() => PatientOrderByRelationAggregateInputObjectSchema) - .optional(), - appointments: z - .lazy(() => AppointmentOrderByRelationAggregateInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserOrderByWithRelationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserRelationFilter.schema.ts b/packages/db/shared/schemas/objects/UserRelationFilter.schema.ts deleted file mode 100644 index 2b9afce..0000000 --- a/packages/db/shared/schemas/objects/UserRelationFilter.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { UserWhereInputObjectSchema } from './UserWhereInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - is: z - .lazy(() => UserWhereInputObjectSchema) - .optional() - .nullable(), - isNot: z - .lazy(() => UserWhereInputObjectSchema) - .optional() - .nullable(), - }) - .strict(); - -export const UserRelationFilterObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.ts b/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.ts deleted file mode 100644 index 67e6d4b..0000000 --- a/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { z } from 'zod'; -import { IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema'; -import { StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => UserScalarWhereWithAggregatesInputObjectSchema), - z.lazy(() => UserScalarWhereWithAggregatesInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => UserScalarWhereWithAggregatesInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => UserScalarWhereWithAggregatesInputObjectSchema), - z.lazy(() => UserScalarWhereWithAggregatesInputObjectSchema).array(), - ]) - .optional(), - id: z - .union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number()]) - .optional(), - username: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - password: z - .union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]) - .optional(), - }) - .strict(); - -export const UserScalarWhereWithAggregatesInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.ts deleted file mode 100644 index 7a4663c..0000000 --- a/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.literal(true).optional(), - }) - .strict(); - -export const UserSumAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.ts deleted file mode 100644 index 3b4ed61..0000000 --- a/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { SortOrderSchema } from '../enums/SortOrder.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.lazy(() => SortOrderSchema).optional(), - }) - .strict(); - -export const UserSumOrderByAggregateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.ts deleted file mode 100644 index e78c571..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; -import { PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './PatientUncheckedCreateNestedManyWithoutUserInput.schema'; -import { AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - username: z.string(), - password: z.string(), - patients: z - .lazy(() => PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - appointments: z - .lazy( - () => AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const UserUncheckedCreateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index b64c637..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { z } from 'zod'; -import { PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './PatientUncheckedCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - username: z.string(), - password: z.string(), - patients: z - .lazy(() => PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserUncheckedCreateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts deleted file mode 100644 index 14b0ba9..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { z } from 'zod'; -import { AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutUserInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - username: z.string(), - password: z.string(), - appointments: z - .lazy( - () => AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const UserUncheckedCreateWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.ts deleted file mode 100644 index a722bcd..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './PatientUncheckedUpdateManyWithoutUserNestedInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patients: z - .lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - appointments: z - .lazy( - () => AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const UserUncheckedUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.ts deleted file mode 100644 index a163925..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const UserUncheckedUpdateManyInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 04de16e..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './PatientUncheckedUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patients: z - .lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserUncheckedUpdateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.ts deleted file mode 100644 index a5ba68f..0000000 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { z } from 'zod'; -import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z - .union([ - z.number(), - z.lazy(() => IntFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy( - () => AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema, - ) - .optional(), - }) - .strict(); - -export const UserUncheckedUpdateWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateInput.schema.ts deleted file mode 100644 index 1997ebc..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateInput.schema.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { PatientUpdateManyWithoutUserNestedInputObjectSchema } from './PatientUpdateManyWithoutUserNestedInput.schema'; -import { AppointmentUpdateManyWithoutUserNestedInputObjectSchema } from './AppointmentUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patients: z - .lazy(() => PatientUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - appointments: z - .lazy(() => AppointmentUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserUpdateInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.ts deleted file mode 100644 index 209019c..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const UserUpdateManyMutationInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts deleted file mode 100644 index 11c7f0a..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { z } from 'zod'; -import { UserCreateWithoutAppointmentsInputObjectSchema } from './UserCreateWithoutAppointmentsInput.schema'; -import { UserUncheckedCreateWithoutAppointmentsInputObjectSchema } from './UserUncheckedCreateWithoutAppointmentsInput.schema'; -import { UserCreateOrConnectWithoutAppointmentsInputObjectSchema } from './UserCreateOrConnectWithoutAppointmentsInput.schema'; -import { UserUpsertWithoutAppointmentsInputObjectSchema } from './UserUpsertWithoutAppointmentsInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; -import { UserUpdateWithoutAppointmentsInputObjectSchema } from './UserUpdateWithoutAppointmentsInput.schema'; -import { UserUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './UserUncheckedUpdateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => UserCreateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutAppointmentsInputObjectSchema), - ]) - .optional(), - connectOrCreate: z - .lazy(() => UserCreateOrConnectWithoutAppointmentsInputObjectSchema) - .optional(), - upsert: z - .lazy(() => UserUpsertWithoutAppointmentsInputObjectSchema) - .optional(), - connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(), - update: z - .union([ - z.lazy(() => UserUpdateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedUpdateWithoutAppointmentsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientsNestedInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientsNestedInput.schema.ts deleted file mode 100644 index d80a28c..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientsNestedInput.schema.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { z } from 'zod'; -import { UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema'; -import { UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema'; -import { UserCreateOrConnectWithoutPatientsInputObjectSchema } from './UserCreateOrConnectWithoutPatientsInput.schema'; -import { UserUpsertWithoutPatientsInputObjectSchema } from './UserUpsertWithoutPatientsInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'; -import { UserUpdateWithoutPatientsInputObjectSchema } from './UserUpdateWithoutPatientsInput.schema'; -import { UserUncheckedUpdateWithoutPatientsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = - z - .object({ - create: z - .union([ - z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema), - ]) - .optional(), - connectOrCreate: z - .lazy(() => UserCreateOrConnectWithoutPatientsInputObjectSchema) - .optional(), - upsert: z - .lazy(() => UserUpsertWithoutPatientsInputObjectSchema) - .optional(), - connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(), - update: z - .union([ - z.lazy(() => UserUpdateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedUpdateWithoutPatientsInputObjectSchema), - ]) - .optional(), - }) - .strict(); - -export const UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema = - Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 4bf749d..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { PatientUpdateManyWithoutUserNestedInputObjectSchema } from './PatientUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - patients: z - .lazy(() => PatientUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserUpdateWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.ts deleted file mode 100644 index a3dfbcb..0000000 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { z } from 'zod'; -import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; -import { AppointmentUpdateManyWithoutUserNestedInputObjectSchema } from './AppointmentUpdateManyWithoutUserNestedInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - username: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - password: z - .union([ - z.string(), - z.lazy(() => StringFieldUpdateOperationsInputObjectSchema), - ]) - .optional(), - appointments: z - .lazy(() => AppointmentUpdateManyWithoutUserNestedInputObjectSchema) - .optional(), - }) - .strict(); - -export const UserUpdateWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutAppointmentsInput.schema.ts b/packages/db/shared/schemas/objects/UserUpsertWithoutAppointmentsInput.schema.ts deleted file mode 100644 index 548e223..0000000 --- a/packages/db/shared/schemas/objects/UserUpsertWithoutAppointmentsInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { UserUpdateWithoutAppointmentsInputObjectSchema } from './UserUpdateWithoutAppointmentsInput.schema'; -import { UserUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './UserUncheckedUpdateWithoutAppointmentsInput.schema'; -import { UserCreateWithoutAppointmentsInputObjectSchema } from './UserCreateWithoutAppointmentsInput.schema'; -import { UserUncheckedCreateWithoutAppointmentsInputObjectSchema } from './UserUncheckedCreateWithoutAppointmentsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - update: z.union([ - z.lazy(() => UserUpdateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedUpdateWithoutAppointmentsInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => UserCreateWithoutAppointmentsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutAppointmentsInputObjectSchema), - ]), - }) - .strict(); - -export const UserUpsertWithoutAppointmentsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutPatientsInput.schema.ts b/packages/db/shared/schemas/objects/UserUpsertWithoutPatientsInput.schema.ts deleted file mode 100644 index 0bfa981..0000000 --- a/packages/db/shared/schemas/objects/UserUpsertWithoutPatientsInput.schema.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { z } from 'zod'; -import { UserUpdateWithoutPatientsInputObjectSchema } from './UserUpdateWithoutPatientsInput.schema'; -import { UserUncheckedUpdateWithoutPatientsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientsInput.schema'; -import { UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema'; -import { UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - update: z.union([ - z.lazy(() => UserUpdateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedUpdateWithoutPatientsInputObjectSchema), - ]), - create: z.union([ - z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), - z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema), - ]), - }) - .strict(); - -export const UserUpsertWithoutPatientsInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserWhereInput.schema.ts b/packages/db/shared/schemas/objects/UserWhereInput.schema.ts deleted file mode 100644 index fd1ebee..0000000 --- a/packages/db/shared/schemas/objects/UserWhereInput.schema.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { z } from 'zod'; -import { IntFilterObjectSchema } from './IntFilter.schema'; -import { StringFilterObjectSchema } from './StringFilter.schema'; -import { PatientListRelationFilterObjectSchema } from './PatientListRelationFilter.schema'; -import { AppointmentListRelationFilterObjectSchema } from './AppointmentListRelationFilter.schema'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - AND: z - .union([ - z.lazy(() => UserWhereInputObjectSchema), - z.lazy(() => UserWhereInputObjectSchema).array(), - ]) - .optional(), - OR: z - .lazy(() => UserWhereInputObjectSchema) - .array() - .optional(), - NOT: z - .union([ - z.lazy(() => UserWhereInputObjectSchema), - z.lazy(() => UserWhereInputObjectSchema).array(), - ]) - .optional(), - id: z.union([z.lazy(() => IntFilterObjectSchema), z.number()]).optional(), - username: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - password: z - .union([z.lazy(() => StringFilterObjectSchema), z.string()]) - .optional(), - patients: z.lazy(() => PatientListRelationFilterObjectSchema).optional(), - appointments: z - .lazy(() => AppointmentListRelationFilterObjectSchema) - .optional(), - }) - .strict(); - -export const UserWhereInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/objects/UserWhereUniqueInput.schema.ts b/packages/db/shared/schemas/objects/UserWhereUniqueInput.schema.ts deleted file mode 100644 index f4a8a2a..0000000 --- a/packages/db/shared/schemas/objects/UserWhereUniqueInput.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; - -import type { Prisma } from '../../../generated/prisma'; - -const Schema: z.ZodType = z - .object({ - id: z.number().optional(), - username: z.string().optional(), - }) - .strict(); - -export const UserWhereUniqueInputObjectSchema = Schema; diff --git a/packages/db/shared/schemas/updateManyAppointment.schema.ts b/packages/db/shared/schemas/updateManyAppointment.schema.ts deleted file mode 100644 index 1726af9..0000000 --- a/packages/db/shared/schemas/updateManyAppointment.schema.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { z } from 'zod'; -import { AppointmentUpdateManyMutationInputObjectSchema } from './objects/AppointmentUpdateManyMutationInput.schema'; -import { AppointmentWhereInputObjectSchema } from './objects/AppointmentWhereInput.schema'; - -export const AppointmentUpdateManySchema = z.object({ - data: AppointmentUpdateManyMutationInputObjectSchema, - where: AppointmentWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/updateManyPatient.schema.ts b/packages/db/shared/schemas/updateManyPatient.schema.ts deleted file mode 100644 index c6dbde0..0000000 --- a/packages/db/shared/schemas/updateManyPatient.schema.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { z } from 'zod'; -import { PatientUpdateManyMutationInputObjectSchema } from './objects/PatientUpdateManyMutationInput.schema'; -import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema'; - -export const PatientUpdateManySchema = z.object({ - data: PatientUpdateManyMutationInputObjectSchema, - where: PatientWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/updateManyUser.schema.ts b/packages/db/shared/schemas/updateManyUser.schema.ts deleted file mode 100644 index 7414f5d..0000000 --- a/packages/db/shared/schemas/updateManyUser.schema.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { z } from 'zod'; -import { UserUpdateManyMutationInputObjectSchema } from './objects/UserUpdateManyMutationInput.schema'; -import { UserWhereInputObjectSchema } from './objects/UserWhereInput.schema'; - -export const UserUpdateManySchema = z.object({ - data: UserUpdateManyMutationInputObjectSchema, - where: UserWhereInputObjectSchema.optional(), -}); diff --git a/packages/db/shared/schemas/updateOneAppointment.schema.ts b/packages/db/shared/schemas/updateOneAppointment.schema.ts deleted file mode 100644 index 2e0a9f8..0000000 --- a/packages/db/shared/schemas/updateOneAppointment.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { AppointmentUpdateInputObjectSchema } from './objects/AppointmentUpdateInput.schema'; -import { AppointmentUncheckedUpdateInputObjectSchema } from './objects/AppointmentUncheckedUpdateInput.schema'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; - -export const AppointmentUpdateOneSchema = z.object({ - data: z.union([ - AppointmentUpdateInputObjectSchema, - AppointmentUncheckedUpdateInputObjectSchema, - ]), - where: AppointmentWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/updateOnePatient.schema.ts b/packages/db/shared/schemas/updateOnePatient.schema.ts deleted file mode 100644 index fba707b..0000000 --- a/packages/db/shared/schemas/updateOnePatient.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { PatientUpdateInputObjectSchema } from './objects/PatientUpdateInput.schema'; -import { PatientUncheckedUpdateInputObjectSchema } from './objects/PatientUncheckedUpdateInput.schema'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; - -export const PatientUpdateOneSchema = z.object({ - data: z.union([ - PatientUpdateInputObjectSchema, - PatientUncheckedUpdateInputObjectSchema, - ]), - where: PatientWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/updateOneUser.schema.ts b/packages/db/shared/schemas/updateOneUser.schema.ts deleted file mode 100644 index 26d2721..0000000 --- a/packages/db/shared/schemas/updateOneUser.schema.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { z } from 'zod'; -import { UserUpdateInputObjectSchema } from './objects/UserUpdateInput.schema'; -import { UserUncheckedUpdateInputObjectSchema } from './objects/UserUncheckedUpdateInput.schema'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; - -export const UserUpdateOneSchema = z.object({ - data: z.union([ - UserUpdateInputObjectSchema, - UserUncheckedUpdateInputObjectSchema, - ]), - where: UserWhereUniqueInputObjectSchema, -}); diff --git a/packages/db/shared/schemas/upsertOneAppointment.schema.ts b/packages/db/shared/schemas/upsertOneAppointment.schema.ts deleted file mode 100644 index 2541556..0000000 --- a/packages/db/shared/schemas/upsertOneAppointment.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { AppointmentWhereUniqueInputObjectSchema } from './objects/AppointmentWhereUniqueInput.schema'; -import { AppointmentCreateInputObjectSchema } from './objects/AppointmentCreateInput.schema'; -import { AppointmentUncheckedCreateInputObjectSchema } from './objects/AppointmentUncheckedCreateInput.schema'; -import { AppointmentUpdateInputObjectSchema } from './objects/AppointmentUpdateInput.schema'; -import { AppointmentUncheckedUpdateInputObjectSchema } from './objects/AppointmentUncheckedUpdateInput.schema'; - -export const AppointmentUpsertSchema = z.object({ - where: AppointmentWhereUniqueInputObjectSchema, - create: z.union([ - AppointmentCreateInputObjectSchema, - AppointmentUncheckedCreateInputObjectSchema, - ]), - update: z.union([ - AppointmentUpdateInputObjectSchema, - AppointmentUncheckedUpdateInputObjectSchema, - ]), -}); diff --git a/packages/db/shared/schemas/upsertOnePatient.schema.ts b/packages/db/shared/schemas/upsertOnePatient.schema.ts deleted file mode 100644 index 72ed7d4..0000000 --- a/packages/db/shared/schemas/upsertOnePatient.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema'; -import { PatientCreateInputObjectSchema } from './objects/PatientCreateInput.schema'; -import { PatientUncheckedCreateInputObjectSchema } from './objects/PatientUncheckedCreateInput.schema'; -import { PatientUpdateInputObjectSchema } from './objects/PatientUpdateInput.schema'; -import { PatientUncheckedUpdateInputObjectSchema } from './objects/PatientUncheckedUpdateInput.schema'; - -export const PatientUpsertSchema = z.object({ - where: PatientWhereUniqueInputObjectSchema, - create: z.union([ - PatientCreateInputObjectSchema, - PatientUncheckedCreateInputObjectSchema, - ]), - update: z.union([ - PatientUpdateInputObjectSchema, - PatientUncheckedUpdateInputObjectSchema, - ]), -}); diff --git a/packages/db/shared/schemas/upsertOneUser.schema.ts b/packages/db/shared/schemas/upsertOneUser.schema.ts deleted file mode 100644 index 5350de4..0000000 --- a/packages/db/shared/schemas/upsertOneUser.schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { z } from 'zod'; -import { UserWhereUniqueInputObjectSchema } from './objects/UserWhereUniqueInput.schema'; -import { UserCreateInputObjectSchema } from './objects/UserCreateInput.schema'; -import { UserUncheckedCreateInputObjectSchema } from './objects/UserUncheckedCreateInput.schema'; -import { UserUpdateInputObjectSchema } from './objects/UserUpdateInput.schema'; -import { UserUncheckedUpdateInputObjectSchema } from './objects/UserUncheckedUpdateInput.schema'; - -export const UserUpsertSchema = z.object({ - where: UserWhereUniqueInputObjectSchema, - create: z.union([ - UserCreateInputObjectSchema, - UserUncheckedCreateInputObjectSchema, - ]), - update: z.union([ - UserUpdateInputObjectSchema, - UserUncheckedUpdateInputObjectSchema, - ]), -});