efiber-prisma-schema 1.16.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +13 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/schema.prisma +2 -2
  121. package/prisma/seed.ts +33 -0
  122. package/prisma.config.ts +13 -0
  123. package/tsconfig.json +13 -0
@@ -0,0 +1,1351 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `ProjectType` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.js"
13
+ import type * as Prisma from "../internal/prismaNamespace.js"
14
+
15
+ /**
16
+ * Model ProjectType
17
+ *
18
+ */
19
+ export type ProjectTypeModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectTypePayload>
20
+
21
+ export type AggregateProjectType = {
22
+ _count: ProjectTypeCountAggregateOutputType | null
23
+ _avg: ProjectTypeAvgAggregateOutputType | null
24
+ _sum: ProjectTypeSumAggregateOutputType | null
25
+ _min: ProjectTypeMinAggregateOutputType | null
26
+ _max: ProjectTypeMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type ProjectTypeAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type ProjectTypeSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type ProjectTypeMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ name: string | null
41
+ }
42
+
43
+ export type ProjectTypeMaxAggregateOutputType = {
44
+ id: string | null
45
+ no: number | null
46
+ name: string | null
47
+ }
48
+
49
+ export type ProjectTypeCountAggregateOutputType = {
50
+ id: number
51
+ no: number
52
+ name: number
53
+ _all: number
54
+ }
55
+
56
+
57
+ export type ProjectTypeAvgAggregateInputType = {
58
+ no?: true
59
+ }
60
+
61
+ export type ProjectTypeSumAggregateInputType = {
62
+ no?: true
63
+ }
64
+
65
+ export type ProjectTypeMinAggregateInputType = {
66
+ id?: true
67
+ no?: true
68
+ name?: true
69
+ }
70
+
71
+ export type ProjectTypeMaxAggregateInputType = {
72
+ id?: true
73
+ no?: true
74
+ name?: true
75
+ }
76
+
77
+ export type ProjectTypeCountAggregateInputType = {
78
+ id?: true
79
+ no?: true
80
+ name?: true
81
+ _all?: true
82
+ }
83
+
84
+ export type ProjectTypeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
85
+ /**
86
+ * Filter which ProjectType to aggregate.
87
+ */
88
+ where?: Prisma.ProjectTypeWhereInput
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
91
+ *
92
+ * Determine the order of ProjectTypes to fetch.
93
+ */
94
+ orderBy?: Prisma.ProjectTypeOrderByWithRelationInput | Prisma.ProjectTypeOrderByWithRelationInput[]
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97
+ *
98
+ * Sets the start position
99
+ */
100
+ cursor?: Prisma.ProjectTypeWhereUniqueInput
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
+ *
104
+ * Take `±n` ProjectTypes from the position of the cursor.
105
+ */
106
+ take?: number
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Skip the first `n` ProjectTypes.
111
+ */
112
+ skip?: number
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
+ *
116
+ * Count returned ProjectTypes
117
+ **/
118
+ _count?: true | ProjectTypeCountAggregateInputType
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Select which fields to average
123
+ **/
124
+ _avg?: ProjectTypeAvgAggregateInputType
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to sum
129
+ **/
130
+ _sum?: ProjectTypeSumAggregateInputType
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to find the minimum value
135
+ **/
136
+ _min?: ProjectTypeMinAggregateInputType
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Select which fields to find the maximum value
141
+ **/
142
+ _max?: ProjectTypeMaxAggregateInputType
143
+ }
144
+
145
+ export type GetProjectTypeAggregateType<T extends ProjectTypeAggregateArgs> = {
146
+ [P in keyof T & keyof AggregateProjectType]: P extends '_count' | 'count'
147
+ ? T[P] extends true
148
+ ? number
149
+ : Prisma.GetScalarType<T[P], AggregateProjectType[P]>
150
+ : Prisma.GetScalarType<T[P], AggregateProjectType[P]>
151
+ }
152
+
153
+
154
+
155
+
156
+ export type ProjectTypeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
157
+ where?: Prisma.ProjectTypeWhereInput
158
+ orderBy?: Prisma.ProjectTypeOrderByWithAggregationInput | Prisma.ProjectTypeOrderByWithAggregationInput[]
159
+ by: Prisma.ProjectTypeScalarFieldEnum[] | Prisma.ProjectTypeScalarFieldEnum
160
+ having?: Prisma.ProjectTypeScalarWhereWithAggregatesInput
161
+ take?: number
162
+ skip?: number
163
+ _count?: ProjectTypeCountAggregateInputType | true
164
+ _avg?: ProjectTypeAvgAggregateInputType
165
+ _sum?: ProjectTypeSumAggregateInputType
166
+ _min?: ProjectTypeMinAggregateInputType
167
+ _max?: ProjectTypeMaxAggregateInputType
168
+ }
169
+
170
+ export type ProjectTypeGroupByOutputType = {
171
+ id: string
172
+ no: number
173
+ name: string
174
+ _count: ProjectTypeCountAggregateOutputType | null
175
+ _avg: ProjectTypeAvgAggregateOutputType | null
176
+ _sum: ProjectTypeSumAggregateOutputType | null
177
+ _min: ProjectTypeMinAggregateOutputType | null
178
+ _max: ProjectTypeMaxAggregateOutputType | null
179
+ }
180
+
181
+ type GetProjectTypeGroupByPayload<T extends ProjectTypeGroupByArgs> = Prisma.PrismaPromise<
182
+ Array<
183
+ Prisma.PickEnumerable<ProjectTypeGroupByOutputType, T['by']> &
184
+ {
185
+ [P in ((keyof T) & (keyof ProjectTypeGroupByOutputType))]: P extends '_count'
186
+ ? T[P] extends boolean
187
+ ? number
188
+ : Prisma.GetScalarType<T[P], ProjectTypeGroupByOutputType[P]>
189
+ : Prisma.GetScalarType<T[P], ProjectTypeGroupByOutputType[P]>
190
+ }
191
+ >
192
+ >
193
+
194
+
195
+
196
+ export type ProjectTypeWhereInput = {
197
+ AND?: Prisma.ProjectTypeWhereInput | Prisma.ProjectTypeWhereInput[]
198
+ OR?: Prisma.ProjectTypeWhereInput[]
199
+ NOT?: Prisma.ProjectTypeWhereInput | Prisma.ProjectTypeWhereInput[]
200
+ id?: Prisma.StringFilter<"ProjectType"> | string
201
+ no?: Prisma.IntFilter<"ProjectType"> | number
202
+ name?: Prisma.StringFilter<"ProjectType"> | string
203
+ projects?: Prisma.ProjectListRelationFilter
204
+ }
205
+
206
+ export type ProjectTypeOrderByWithRelationInput = {
207
+ id?: Prisma.SortOrder
208
+ no?: Prisma.SortOrder
209
+ name?: Prisma.SortOrder
210
+ projects?: Prisma.ProjectOrderByRelationAggregateInput
211
+ }
212
+
213
+ export type ProjectTypeWhereUniqueInput = Prisma.AtLeast<{
214
+ id?: string
215
+ AND?: Prisma.ProjectTypeWhereInput | Prisma.ProjectTypeWhereInput[]
216
+ OR?: Prisma.ProjectTypeWhereInput[]
217
+ NOT?: Prisma.ProjectTypeWhereInput | Prisma.ProjectTypeWhereInput[]
218
+ no?: Prisma.IntFilter<"ProjectType"> | number
219
+ name?: Prisma.StringFilter<"ProjectType"> | string
220
+ projects?: Prisma.ProjectListRelationFilter
221
+ }, "id" | "id">
222
+
223
+ export type ProjectTypeOrderByWithAggregationInput = {
224
+ id?: Prisma.SortOrder
225
+ no?: Prisma.SortOrder
226
+ name?: Prisma.SortOrder
227
+ _count?: Prisma.ProjectTypeCountOrderByAggregateInput
228
+ _avg?: Prisma.ProjectTypeAvgOrderByAggregateInput
229
+ _max?: Prisma.ProjectTypeMaxOrderByAggregateInput
230
+ _min?: Prisma.ProjectTypeMinOrderByAggregateInput
231
+ _sum?: Prisma.ProjectTypeSumOrderByAggregateInput
232
+ }
233
+
234
+ export type ProjectTypeScalarWhereWithAggregatesInput = {
235
+ AND?: Prisma.ProjectTypeScalarWhereWithAggregatesInput | Prisma.ProjectTypeScalarWhereWithAggregatesInput[]
236
+ OR?: Prisma.ProjectTypeScalarWhereWithAggregatesInput[]
237
+ NOT?: Prisma.ProjectTypeScalarWhereWithAggregatesInput | Prisma.ProjectTypeScalarWhereWithAggregatesInput[]
238
+ id?: Prisma.StringWithAggregatesFilter<"ProjectType"> | string
239
+ no?: Prisma.IntWithAggregatesFilter<"ProjectType"> | number
240
+ name?: Prisma.StringWithAggregatesFilter<"ProjectType"> | string
241
+ }
242
+
243
+ export type ProjectTypeCreateInput = {
244
+ id?: string
245
+ no?: number
246
+ name: string
247
+ projects?: Prisma.ProjectCreateNestedManyWithoutTypesInput
248
+ }
249
+
250
+ export type ProjectTypeUncheckedCreateInput = {
251
+ id?: string
252
+ no?: number
253
+ name: string
254
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTypesInput
255
+ }
256
+
257
+ export type ProjectTypeUpdateInput = {
258
+ id?: Prisma.StringFieldUpdateOperationsInput | string
259
+ no?: Prisma.IntFieldUpdateOperationsInput | number
260
+ name?: Prisma.StringFieldUpdateOperationsInput | string
261
+ projects?: Prisma.ProjectUpdateManyWithoutTypesNestedInput
262
+ }
263
+
264
+ export type ProjectTypeUncheckedUpdateInput = {
265
+ id?: Prisma.StringFieldUpdateOperationsInput | string
266
+ no?: Prisma.IntFieldUpdateOperationsInput | number
267
+ name?: Prisma.StringFieldUpdateOperationsInput | string
268
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutTypesNestedInput
269
+ }
270
+
271
+ export type ProjectTypeCreateManyInput = {
272
+ id?: string
273
+ no?: number
274
+ name: string
275
+ }
276
+
277
+ export type ProjectTypeUpdateManyMutationInput = {
278
+ id?: Prisma.StringFieldUpdateOperationsInput | string
279
+ no?: Prisma.IntFieldUpdateOperationsInput | number
280
+ name?: Prisma.StringFieldUpdateOperationsInput | string
281
+ }
282
+
283
+ export type ProjectTypeUncheckedUpdateManyInput = {
284
+ id?: Prisma.StringFieldUpdateOperationsInput | string
285
+ no?: Prisma.IntFieldUpdateOperationsInput | number
286
+ name?: Prisma.StringFieldUpdateOperationsInput | string
287
+ }
288
+
289
+ export type ProjectTypeListRelationFilter = {
290
+ every?: Prisma.ProjectTypeWhereInput
291
+ some?: Prisma.ProjectTypeWhereInput
292
+ none?: Prisma.ProjectTypeWhereInput
293
+ }
294
+
295
+ export type ProjectTypeOrderByRelationAggregateInput = {
296
+ _count?: Prisma.SortOrder
297
+ }
298
+
299
+ export type ProjectTypeCountOrderByAggregateInput = {
300
+ id?: Prisma.SortOrder
301
+ no?: Prisma.SortOrder
302
+ name?: Prisma.SortOrder
303
+ }
304
+
305
+ export type ProjectTypeAvgOrderByAggregateInput = {
306
+ no?: Prisma.SortOrder
307
+ }
308
+
309
+ export type ProjectTypeMaxOrderByAggregateInput = {
310
+ id?: Prisma.SortOrder
311
+ no?: Prisma.SortOrder
312
+ name?: Prisma.SortOrder
313
+ }
314
+
315
+ export type ProjectTypeMinOrderByAggregateInput = {
316
+ id?: Prisma.SortOrder
317
+ no?: Prisma.SortOrder
318
+ name?: Prisma.SortOrder
319
+ }
320
+
321
+ export type ProjectTypeSumOrderByAggregateInput = {
322
+ no?: Prisma.SortOrder
323
+ }
324
+
325
+ export type ProjectTypeCreateNestedManyWithoutProjectsInput = {
326
+ create?: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput> | Prisma.ProjectTypeCreateWithoutProjectsInput[] | Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput[]
327
+ connectOrCreate?: Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput | Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput[]
328
+ connect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
329
+ }
330
+
331
+ export type ProjectTypeUncheckedCreateNestedManyWithoutProjectsInput = {
332
+ create?: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput> | Prisma.ProjectTypeCreateWithoutProjectsInput[] | Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput[]
333
+ connectOrCreate?: Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput | Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput[]
334
+ connect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
335
+ }
336
+
337
+ export type ProjectTypeUpdateManyWithoutProjectsNestedInput = {
338
+ create?: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput> | Prisma.ProjectTypeCreateWithoutProjectsInput[] | Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput[]
339
+ connectOrCreate?: Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput | Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput[]
340
+ upsert?: Prisma.ProjectTypeUpsertWithWhereUniqueWithoutProjectsInput | Prisma.ProjectTypeUpsertWithWhereUniqueWithoutProjectsInput[]
341
+ set?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
342
+ disconnect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
343
+ delete?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
344
+ connect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
345
+ update?: Prisma.ProjectTypeUpdateWithWhereUniqueWithoutProjectsInput | Prisma.ProjectTypeUpdateWithWhereUniqueWithoutProjectsInput[]
346
+ updateMany?: Prisma.ProjectTypeUpdateManyWithWhereWithoutProjectsInput | Prisma.ProjectTypeUpdateManyWithWhereWithoutProjectsInput[]
347
+ deleteMany?: Prisma.ProjectTypeScalarWhereInput | Prisma.ProjectTypeScalarWhereInput[]
348
+ }
349
+
350
+ export type ProjectTypeUncheckedUpdateManyWithoutProjectsNestedInput = {
351
+ create?: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput> | Prisma.ProjectTypeCreateWithoutProjectsInput[] | Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput[]
352
+ connectOrCreate?: Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput | Prisma.ProjectTypeCreateOrConnectWithoutProjectsInput[]
353
+ upsert?: Prisma.ProjectTypeUpsertWithWhereUniqueWithoutProjectsInput | Prisma.ProjectTypeUpsertWithWhereUniqueWithoutProjectsInput[]
354
+ set?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
355
+ disconnect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
356
+ delete?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
357
+ connect?: Prisma.ProjectTypeWhereUniqueInput | Prisma.ProjectTypeWhereUniqueInput[]
358
+ update?: Prisma.ProjectTypeUpdateWithWhereUniqueWithoutProjectsInput | Prisma.ProjectTypeUpdateWithWhereUniqueWithoutProjectsInput[]
359
+ updateMany?: Prisma.ProjectTypeUpdateManyWithWhereWithoutProjectsInput | Prisma.ProjectTypeUpdateManyWithWhereWithoutProjectsInput[]
360
+ deleteMany?: Prisma.ProjectTypeScalarWhereInput | Prisma.ProjectTypeScalarWhereInput[]
361
+ }
362
+
363
+ export type ProjectTypeCreateWithoutProjectsInput = {
364
+ id?: string
365
+ no?: number
366
+ name: string
367
+ }
368
+
369
+ export type ProjectTypeUncheckedCreateWithoutProjectsInput = {
370
+ id?: string
371
+ no?: number
372
+ name: string
373
+ }
374
+
375
+ export type ProjectTypeCreateOrConnectWithoutProjectsInput = {
376
+ where: Prisma.ProjectTypeWhereUniqueInput
377
+ create: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput>
378
+ }
379
+
380
+ export type ProjectTypeUpsertWithWhereUniqueWithoutProjectsInput = {
381
+ where: Prisma.ProjectTypeWhereUniqueInput
382
+ update: Prisma.XOR<Prisma.ProjectTypeUpdateWithoutProjectsInput, Prisma.ProjectTypeUncheckedUpdateWithoutProjectsInput>
383
+ create: Prisma.XOR<Prisma.ProjectTypeCreateWithoutProjectsInput, Prisma.ProjectTypeUncheckedCreateWithoutProjectsInput>
384
+ }
385
+
386
+ export type ProjectTypeUpdateWithWhereUniqueWithoutProjectsInput = {
387
+ where: Prisma.ProjectTypeWhereUniqueInput
388
+ data: Prisma.XOR<Prisma.ProjectTypeUpdateWithoutProjectsInput, Prisma.ProjectTypeUncheckedUpdateWithoutProjectsInput>
389
+ }
390
+
391
+ export type ProjectTypeUpdateManyWithWhereWithoutProjectsInput = {
392
+ where: Prisma.ProjectTypeScalarWhereInput
393
+ data: Prisma.XOR<Prisma.ProjectTypeUpdateManyMutationInput, Prisma.ProjectTypeUncheckedUpdateManyWithoutProjectsInput>
394
+ }
395
+
396
+ export type ProjectTypeScalarWhereInput = {
397
+ AND?: Prisma.ProjectTypeScalarWhereInput | Prisma.ProjectTypeScalarWhereInput[]
398
+ OR?: Prisma.ProjectTypeScalarWhereInput[]
399
+ NOT?: Prisma.ProjectTypeScalarWhereInput | Prisma.ProjectTypeScalarWhereInput[]
400
+ id?: Prisma.StringFilter<"ProjectType"> | string
401
+ no?: Prisma.IntFilter<"ProjectType"> | number
402
+ name?: Prisma.StringFilter<"ProjectType"> | string
403
+ }
404
+
405
+ export type ProjectTypeUpdateWithoutProjectsInput = {
406
+ id?: Prisma.StringFieldUpdateOperationsInput | string
407
+ no?: Prisma.IntFieldUpdateOperationsInput | number
408
+ name?: Prisma.StringFieldUpdateOperationsInput | string
409
+ }
410
+
411
+ export type ProjectTypeUncheckedUpdateWithoutProjectsInput = {
412
+ id?: Prisma.StringFieldUpdateOperationsInput | string
413
+ no?: Prisma.IntFieldUpdateOperationsInput | number
414
+ name?: Prisma.StringFieldUpdateOperationsInput | string
415
+ }
416
+
417
+ export type ProjectTypeUncheckedUpdateManyWithoutProjectsInput = {
418
+ id?: Prisma.StringFieldUpdateOperationsInput | string
419
+ no?: Prisma.IntFieldUpdateOperationsInput | number
420
+ name?: Prisma.StringFieldUpdateOperationsInput | string
421
+ }
422
+
423
+
424
+ /**
425
+ * Count Type ProjectTypeCountOutputType
426
+ */
427
+
428
+ export type ProjectTypeCountOutputType = {
429
+ projects: number
430
+ }
431
+
432
+ export type ProjectTypeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
433
+ projects?: boolean | ProjectTypeCountOutputTypeCountProjectsArgs
434
+ }
435
+
436
+ /**
437
+ * ProjectTypeCountOutputType without action
438
+ */
439
+ export type ProjectTypeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
440
+ /**
441
+ * Select specific fields to fetch from the ProjectTypeCountOutputType
442
+ */
443
+ select?: Prisma.ProjectTypeCountOutputTypeSelect<ExtArgs> | null
444
+ }
445
+
446
+ /**
447
+ * ProjectTypeCountOutputType without action
448
+ */
449
+ export type ProjectTypeCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
450
+ where?: Prisma.ProjectWhereInput
451
+ }
452
+
453
+
454
+ export type ProjectTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
455
+ id?: boolean
456
+ no?: boolean
457
+ name?: boolean
458
+ projects?: boolean | Prisma.ProjectType$projectsArgs<ExtArgs>
459
+ _count?: boolean | Prisma.ProjectTypeCountOutputTypeDefaultArgs<ExtArgs>
460
+ }, ExtArgs["result"]["projectType"]>
461
+
462
+ export type ProjectTypeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
463
+ id?: boolean
464
+ no?: boolean
465
+ name?: boolean
466
+ }, ExtArgs["result"]["projectType"]>
467
+
468
+ export type ProjectTypeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
469
+ id?: boolean
470
+ no?: boolean
471
+ name?: boolean
472
+ }, ExtArgs["result"]["projectType"]>
473
+
474
+ export type ProjectTypeSelectScalar = {
475
+ id?: boolean
476
+ no?: boolean
477
+ name?: boolean
478
+ }
479
+
480
+ export type ProjectTypeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name", ExtArgs["result"]["projectType"]>
481
+ export type ProjectTypeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
482
+ projects?: boolean | Prisma.ProjectType$projectsArgs<ExtArgs>
483
+ _count?: boolean | Prisma.ProjectTypeCountOutputTypeDefaultArgs<ExtArgs>
484
+ }
485
+ export type ProjectTypeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
486
+ export type ProjectTypeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
487
+
488
+ export type $ProjectTypePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
489
+ name: "ProjectType"
490
+ objects: {
491
+ projects: Prisma.$ProjectPayload<ExtArgs>[]
492
+ }
493
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
494
+ id: string
495
+ no: number
496
+ name: string
497
+ }, ExtArgs["result"]["projectType"]>
498
+ composites: {}
499
+ }
500
+
501
+ export type ProjectTypeGetPayload<S extends boolean | null | undefined | ProjectTypeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload, S>
502
+
503
+ export type ProjectTypeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
504
+ Omit<ProjectTypeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
505
+ select?: ProjectTypeCountAggregateInputType | true
506
+ }
507
+
508
+ export interface ProjectTypeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
509
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjectType'], meta: { name: 'ProjectType' } }
510
+ /**
511
+ * Find zero or one ProjectType that matches the filter.
512
+ * @param {ProjectTypeFindUniqueArgs} args - Arguments to find a ProjectType
513
+ * @example
514
+ * // Get one ProjectType
515
+ * const projectType = await prisma.projectType.findUnique({
516
+ * where: {
517
+ * // ... provide filter here
518
+ * }
519
+ * })
520
+ */
521
+ findUnique<T extends ProjectTypeFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectTypeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
522
+
523
+ /**
524
+ * Find one ProjectType that matches the filter or throw an error with `error.code='P2025'`
525
+ * if no matches were found.
526
+ * @param {ProjectTypeFindUniqueOrThrowArgs} args - Arguments to find a ProjectType
527
+ * @example
528
+ * // Get one ProjectType
529
+ * const projectType = await prisma.projectType.findUniqueOrThrow({
530
+ * where: {
531
+ * // ... provide filter here
532
+ * }
533
+ * })
534
+ */
535
+ findUniqueOrThrow<T extends ProjectTypeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
536
+
537
+ /**
538
+ * Find the first ProjectType that matches the filter.
539
+ * Note, that providing `undefined` is treated as the value not being there.
540
+ * Read more here: https://pris.ly/d/null-undefined
541
+ * @param {ProjectTypeFindFirstArgs} args - Arguments to find a ProjectType
542
+ * @example
543
+ * // Get one ProjectType
544
+ * const projectType = await prisma.projectType.findFirst({
545
+ * where: {
546
+ * // ... provide filter here
547
+ * }
548
+ * })
549
+ */
550
+ findFirst<T extends ProjectTypeFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectTypeFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
551
+
552
+ /**
553
+ * Find the first ProjectType that matches the filter or
554
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
555
+ * Note, that providing `undefined` is treated as the value not being there.
556
+ * Read more here: https://pris.ly/d/null-undefined
557
+ * @param {ProjectTypeFindFirstOrThrowArgs} args - Arguments to find a ProjectType
558
+ * @example
559
+ * // Get one ProjectType
560
+ * const projectType = await prisma.projectType.findFirstOrThrow({
561
+ * where: {
562
+ * // ... provide filter here
563
+ * }
564
+ * })
565
+ */
566
+ findFirstOrThrow<T extends ProjectTypeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
567
+
568
+ /**
569
+ * Find zero or more ProjectTypes that matches the filter.
570
+ * Note, that providing `undefined` is treated as the value not being there.
571
+ * Read more here: https://pris.ly/d/null-undefined
572
+ * @param {ProjectTypeFindManyArgs} args - Arguments to filter and select certain fields only.
573
+ * @example
574
+ * // Get all ProjectTypes
575
+ * const projectTypes = await prisma.projectType.findMany()
576
+ *
577
+ * // Get first 10 ProjectTypes
578
+ * const projectTypes = await prisma.projectType.findMany({ take: 10 })
579
+ *
580
+ * // Only select the `id`
581
+ * const projectTypeWithIdOnly = await prisma.projectType.findMany({ select: { id: true } })
582
+ *
583
+ */
584
+ findMany<T extends ProjectTypeFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
585
+
586
+ /**
587
+ * Create a ProjectType.
588
+ * @param {ProjectTypeCreateArgs} args - Arguments to create a ProjectType.
589
+ * @example
590
+ * // Create one ProjectType
591
+ * const ProjectType = await prisma.projectType.create({
592
+ * data: {
593
+ * // ... data to create a ProjectType
594
+ * }
595
+ * })
596
+ *
597
+ */
598
+ create<T extends ProjectTypeCreateArgs>(args: Prisma.SelectSubset<T, ProjectTypeCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
599
+
600
+ /**
601
+ * Create many ProjectTypes.
602
+ * @param {ProjectTypeCreateManyArgs} args - Arguments to create many ProjectTypes.
603
+ * @example
604
+ * // Create many ProjectTypes
605
+ * const projectType = await prisma.projectType.createMany({
606
+ * data: [
607
+ * // ... provide data here
608
+ * ]
609
+ * })
610
+ *
611
+ */
612
+ createMany<T extends ProjectTypeCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
613
+
614
+ /**
615
+ * Create many ProjectTypes and returns the data saved in the database.
616
+ * @param {ProjectTypeCreateManyAndReturnArgs} args - Arguments to create many ProjectTypes.
617
+ * @example
618
+ * // Create many ProjectTypes
619
+ * const projectType = await prisma.projectType.createManyAndReturn({
620
+ * data: [
621
+ * // ... provide data here
622
+ * ]
623
+ * })
624
+ *
625
+ * // Create many ProjectTypes and only return the `id`
626
+ * const projectTypeWithIdOnly = await prisma.projectType.createManyAndReturn({
627
+ * select: { id: true },
628
+ * data: [
629
+ * // ... provide data here
630
+ * ]
631
+ * })
632
+ * Note, that providing `undefined` is treated as the value not being there.
633
+ * Read more here: https://pris.ly/d/null-undefined
634
+ *
635
+ */
636
+ createManyAndReturn<T extends ProjectTypeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
637
+
638
+ /**
639
+ * Delete a ProjectType.
640
+ * @param {ProjectTypeDeleteArgs} args - Arguments to delete one ProjectType.
641
+ * @example
642
+ * // Delete one ProjectType
643
+ * const ProjectType = await prisma.projectType.delete({
644
+ * where: {
645
+ * // ... filter to delete one ProjectType
646
+ * }
647
+ * })
648
+ *
649
+ */
650
+ delete<T extends ProjectTypeDeleteArgs>(args: Prisma.SelectSubset<T, ProjectTypeDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
651
+
652
+ /**
653
+ * Update one ProjectType.
654
+ * @param {ProjectTypeUpdateArgs} args - Arguments to update one ProjectType.
655
+ * @example
656
+ * // Update one ProjectType
657
+ * const projectType = await prisma.projectType.update({
658
+ * where: {
659
+ * // ... provide filter here
660
+ * },
661
+ * data: {
662
+ * // ... provide data here
663
+ * }
664
+ * })
665
+ *
666
+ */
667
+ update<T extends ProjectTypeUpdateArgs>(args: Prisma.SelectSubset<T, ProjectTypeUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
668
+
669
+ /**
670
+ * Delete zero or more ProjectTypes.
671
+ * @param {ProjectTypeDeleteManyArgs} args - Arguments to filter ProjectTypes to delete.
672
+ * @example
673
+ * // Delete a few ProjectTypes
674
+ * const { count } = await prisma.projectType.deleteMany({
675
+ * where: {
676
+ * // ... provide filter here
677
+ * }
678
+ * })
679
+ *
680
+ */
681
+ deleteMany<T extends ProjectTypeDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
682
+
683
+ /**
684
+ * Update zero or more ProjectTypes.
685
+ * Note, that providing `undefined` is treated as the value not being there.
686
+ * Read more here: https://pris.ly/d/null-undefined
687
+ * @param {ProjectTypeUpdateManyArgs} args - Arguments to update one or more rows.
688
+ * @example
689
+ * // Update many ProjectTypes
690
+ * const projectType = await prisma.projectType.updateMany({
691
+ * where: {
692
+ * // ... provide filter here
693
+ * },
694
+ * data: {
695
+ * // ... provide data here
696
+ * }
697
+ * })
698
+ *
699
+ */
700
+ updateMany<T extends ProjectTypeUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
701
+
702
+ /**
703
+ * Update zero or more ProjectTypes and returns the data updated in the database.
704
+ * @param {ProjectTypeUpdateManyAndReturnArgs} args - Arguments to update many ProjectTypes.
705
+ * @example
706
+ * // Update many ProjectTypes
707
+ * const projectType = await prisma.projectType.updateManyAndReturn({
708
+ * where: {
709
+ * // ... provide filter here
710
+ * },
711
+ * data: [
712
+ * // ... provide data here
713
+ * ]
714
+ * })
715
+ *
716
+ * // Update zero or more ProjectTypes and only return the `id`
717
+ * const projectTypeWithIdOnly = await prisma.projectType.updateManyAndReturn({
718
+ * select: { id: true },
719
+ * where: {
720
+ * // ... provide filter here
721
+ * },
722
+ * data: [
723
+ * // ... provide data here
724
+ * ]
725
+ * })
726
+ * Note, that providing `undefined` is treated as the value not being there.
727
+ * Read more here: https://pris.ly/d/null-undefined
728
+ *
729
+ */
730
+ updateManyAndReturn<T extends ProjectTypeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectTypeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
731
+
732
+ /**
733
+ * Create or update one ProjectType.
734
+ * @param {ProjectTypeUpsertArgs} args - Arguments to update or create a ProjectType.
735
+ * @example
736
+ * // Update or create a ProjectType
737
+ * const projectType = await prisma.projectType.upsert({
738
+ * create: {
739
+ * // ... data to create a ProjectType
740
+ * },
741
+ * update: {
742
+ * // ... in case it already exists, update
743
+ * },
744
+ * where: {
745
+ * // ... the filter for the ProjectType we want to update
746
+ * }
747
+ * })
748
+ */
749
+ upsert<T extends ProjectTypeUpsertArgs>(args: Prisma.SelectSubset<T, ProjectTypeUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectTypeClient<runtime.Types.Result.GetResult<Prisma.$ProjectTypePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
750
+
751
+
752
+ /**
753
+ * Count the number of ProjectTypes.
754
+ * Note, that providing `undefined` is treated as the value not being there.
755
+ * Read more here: https://pris.ly/d/null-undefined
756
+ * @param {ProjectTypeCountArgs} args - Arguments to filter ProjectTypes to count.
757
+ * @example
758
+ * // Count the number of ProjectTypes
759
+ * const count = await prisma.projectType.count({
760
+ * where: {
761
+ * // ... the filter for the ProjectTypes we want to count
762
+ * }
763
+ * })
764
+ **/
765
+ count<T extends ProjectTypeCountArgs>(
766
+ args?: Prisma.Subset<T, ProjectTypeCountArgs>,
767
+ ): Prisma.PrismaPromise<
768
+ T extends runtime.Types.Utils.Record<'select', any>
769
+ ? T['select'] extends true
770
+ ? number
771
+ : Prisma.GetScalarType<T['select'], ProjectTypeCountAggregateOutputType>
772
+ : number
773
+ >
774
+
775
+ /**
776
+ * Allows you to perform aggregations operations on a ProjectType.
777
+ * Note, that providing `undefined` is treated as the value not being there.
778
+ * Read more here: https://pris.ly/d/null-undefined
779
+ * @param {ProjectTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
780
+ * @example
781
+ * // Ordered by age ascending
782
+ * // Where email contains prisma.io
783
+ * // Limited to the 10 users
784
+ * const aggregations = await prisma.user.aggregate({
785
+ * _avg: {
786
+ * age: true,
787
+ * },
788
+ * where: {
789
+ * email: {
790
+ * contains: "prisma.io",
791
+ * },
792
+ * },
793
+ * orderBy: {
794
+ * age: "asc",
795
+ * },
796
+ * take: 10,
797
+ * })
798
+ **/
799
+ aggregate<T extends ProjectTypeAggregateArgs>(args: Prisma.Subset<T, ProjectTypeAggregateArgs>): Prisma.PrismaPromise<GetProjectTypeAggregateType<T>>
800
+
801
+ /**
802
+ * Group by ProjectType.
803
+ * Note, that providing `undefined` is treated as the value not being there.
804
+ * Read more here: https://pris.ly/d/null-undefined
805
+ * @param {ProjectTypeGroupByArgs} args - Group by arguments.
806
+ * @example
807
+ * // Group by city, order by createdAt, get count
808
+ * const result = await prisma.user.groupBy({
809
+ * by: ['city', 'createdAt'],
810
+ * orderBy: {
811
+ * createdAt: true
812
+ * },
813
+ * _count: {
814
+ * _all: true
815
+ * },
816
+ * })
817
+ *
818
+ **/
819
+ groupBy<
820
+ T extends ProjectTypeGroupByArgs,
821
+ HasSelectOrTake extends Prisma.Or<
822
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
823
+ Prisma.Extends<'take', Prisma.Keys<T>>
824
+ >,
825
+ OrderByArg extends Prisma.True extends HasSelectOrTake
826
+ ? { orderBy: ProjectTypeGroupByArgs['orderBy'] }
827
+ : { orderBy?: ProjectTypeGroupByArgs['orderBy'] },
828
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
829
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
830
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
831
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
832
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
833
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
834
+ InputErrors extends ByEmpty extends Prisma.True
835
+ ? `Error: "by" must not be empty.`
836
+ : HavingValid extends Prisma.False
837
+ ? {
838
+ [P in HavingFields]: P extends ByFields
839
+ ? never
840
+ : P extends string
841
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
842
+ : [
843
+ Error,
844
+ 'Field ',
845
+ P,
846
+ ` in "having" needs to be provided in "by"`,
847
+ ]
848
+ }[HavingFields]
849
+ : 'take' extends Prisma.Keys<T>
850
+ ? 'orderBy' extends Prisma.Keys<T>
851
+ ? ByValid extends Prisma.True
852
+ ? {}
853
+ : {
854
+ [P in OrderFields]: P extends ByFields
855
+ ? never
856
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
857
+ }[OrderFields]
858
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
859
+ : 'skip' extends Prisma.Keys<T>
860
+ ? 'orderBy' extends Prisma.Keys<T>
861
+ ? ByValid extends Prisma.True
862
+ ? {}
863
+ : {
864
+ [P in OrderFields]: P extends ByFields
865
+ ? never
866
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
867
+ }[OrderFields]
868
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
869
+ : ByValid extends Prisma.True
870
+ ? {}
871
+ : {
872
+ [P in OrderFields]: P extends ByFields
873
+ ? never
874
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
875
+ }[OrderFields]
876
+ >(args: Prisma.SubsetIntersection<T, ProjectTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
877
+ /**
878
+ * Fields of the ProjectType model
879
+ */
880
+ readonly fields: ProjectTypeFieldRefs;
881
+ }
882
+
883
+ /**
884
+ * The delegate class that acts as a "Promise-like" for ProjectType.
885
+ * Why is this prefixed with `Prisma__`?
886
+ * Because we want to prevent naming conflicts as mentioned in
887
+ * https://github.com/prisma/prisma-client-js/issues/707
888
+ */
889
+ export interface Prisma__ProjectTypeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
890
+ readonly [Symbol.toStringTag]: "PrismaPromise"
891
+ projects<T extends Prisma.ProjectType$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectType$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
892
+ /**
893
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
894
+ * @param onfulfilled The callback to execute when the Promise is resolved.
895
+ * @param onrejected The callback to execute when the Promise is rejected.
896
+ * @returns A Promise for the completion of which ever callback is executed.
897
+ */
898
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
899
+ /**
900
+ * Attaches a callback for only the rejection of the Promise.
901
+ * @param onrejected The callback to execute when the Promise is rejected.
902
+ * @returns A Promise for the completion of the callback.
903
+ */
904
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
905
+ /**
906
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
907
+ * resolved value cannot be modified from the callback.
908
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
909
+ * @returns A Promise for the completion of the callback.
910
+ */
911
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
912
+ }
913
+
914
+
915
+
916
+
917
+ /**
918
+ * Fields of the ProjectType model
919
+ */
920
+ export interface ProjectTypeFieldRefs {
921
+ readonly id: Prisma.FieldRef<"ProjectType", 'String'>
922
+ readonly no: Prisma.FieldRef<"ProjectType", 'Int'>
923
+ readonly name: Prisma.FieldRef<"ProjectType", 'String'>
924
+ }
925
+
926
+
927
+ // Custom InputTypes
928
+ /**
929
+ * ProjectType findUnique
930
+ */
931
+ export type ProjectTypeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
932
+ /**
933
+ * Select specific fields to fetch from the ProjectType
934
+ */
935
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
936
+ /**
937
+ * Omit specific fields from the ProjectType
938
+ */
939
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
940
+ /**
941
+ * Choose, which related nodes to fetch as well
942
+ */
943
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
944
+ /**
945
+ * Filter, which ProjectType to fetch.
946
+ */
947
+ where: Prisma.ProjectTypeWhereUniqueInput
948
+ }
949
+
950
+ /**
951
+ * ProjectType findUniqueOrThrow
952
+ */
953
+ export type ProjectTypeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
954
+ /**
955
+ * Select specific fields to fetch from the ProjectType
956
+ */
957
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
958
+ /**
959
+ * Omit specific fields from the ProjectType
960
+ */
961
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
962
+ /**
963
+ * Choose, which related nodes to fetch as well
964
+ */
965
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
966
+ /**
967
+ * Filter, which ProjectType to fetch.
968
+ */
969
+ where: Prisma.ProjectTypeWhereUniqueInput
970
+ }
971
+
972
+ /**
973
+ * ProjectType findFirst
974
+ */
975
+ export type ProjectTypeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
976
+ /**
977
+ * Select specific fields to fetch from the ProjectType
978
+ */
979
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
980
+ /**
981
+ * Omit specific fields from the ProjectType
982
+ */
983
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
984
+ /**
985
+ * Choose, which related nodes to fetch as well
986
+ */
987
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
988
+ /**
989
+ * Filter, which ProjectType to fetch.
990
+ */
991
+ where?: Prisma.ProjectTypeWhereInput
992
+ /**
993
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
994
+ *
995
+ * Determine the order of ProjectTypes to fetch.
996
+ */
997
+ orderBy?: Prisma.ProjectTypeOrderByWithRelationInput | Prisma.ProjectTypeOrderByWithRelationInput[]
998
+ /**
999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1000
+ *
1001
+ * Sets the position for searching for ProjectTypes.
1002
+ */
1003
+ cursor?: Prisma.ProjectTypeWhereUniqueInput
1004
+ /**
1005
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1006
+ *
1007
+ * Take `±n` ProjectTypes from the position of the cursor.
1008
+ */
1009
+ take?: number
1010
+ /**
1011
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1012
+ *
1013
+ * Skip the first `n` ProjectTypes.
1014
+ */
1015
+ skip?: number
1016
+ /**
1017
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1018
+ *
1019
+ * Filter by unique combinations of ProjectTypes.
1020
+ */
1021
+ distinct?: Prisma.ProjectTypeScalarFieldEnum | Prisma.ProjectTypeScalarFieldEnum[]
1022
+ }
1023
+
1024
+ /**
1025
+ * ProjectType findFirstOrThrow
1026
+ */
1027
+ export type ProjectTypeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1028
+ /**
1029
+ * Select specific fields to fetch from the ProjectType
1030
+ */
1031
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1032
+ /**
1033
+ * Omit specific fields from the ProjectType
1034
+ */
1035
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1036
+ /**
1037
+ * Choose, which related nodes to fetch as well
1038
+ */
1039
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1040
+ /**
1041
+ * Filter, which ProjectType to fetch.
1042
+ */
1043
+ where?: Prisma.ProjectTypeWhereInput
1044
+ /**
1045
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1046
+ *
1047
+ * Determine the order of ProjectTypes to fetch.
1048
+ */
1049
+ orderBy?: Prisma.ProjectTypeOrderByWithRelationInput | Prisma.ProjectTypeOrderByWithRelationInput[]
1050
+ /**
1051
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1052
+ *
1053
+ * Sets the position for searching for ProjectTypes.
1054
+ */
1055
+ cursor?: Prisma.ProjectTypeWhereUniqueInput
1056
+ /**
1057
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1058
+ *
1059
+ * Take `±n` ProjectTypes from the position of the cursor.
1060
+ */
1061
+ take?: number
1062
+ /**
1063
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1064
+ *
1065
+ * Skip the first `n` ProjectTypes.
1066
+ */
1067
+ skip?: number
1068
+ /**
1069
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1070
+ *
1071
+ * Filter by unique combinations of ProjectTypes.
1072
+ */
1073
+ distinct?: Prisma.ProjectTypeScalarFieldEnum | Prisma.ProjectTypeScalarFieldEnum[]
1074
+ }
1075
+
1076
+ /**
1077
+ * ProjectType findMany
1078
+ */
1079
+ export type ProjectTypeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1080
+ /**
1081
+ * Select specific fields to fetch from the ProjectType
1082
+ */
1083
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1084
+ /**
1085
+ * Omit specific fields from the ProjectType
1086
+ */
1087
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1088
+ /**
1089
+ * Choose, which related nodes to fetch as well
1090
+ */
1091
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1092
+ /**
1093
+ * Filter, which ProjectTypes to fetch.
1094
+ */
1095
+ where?: Prisma.ProjectTypeWhereInput
1096
+ /**
1097
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1098
+ *
1099
+ * Determine the order of ProjectTypes to fetch.
1100
+ */
1101
+ orderBy?: Prisma.ProjectTypeOrderByWithRelationInput | Prisma.ProjectTypeOrderByWithRelationInput[]
1102
+ /**
1103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1104
+ *
1105
+ * Sets the position for listing ProjectTypes.
1106
+ */
1107
+ cursor?: Prisma.ProjectTypeWhereUniqueInput
1108
+ /**
1109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1110
+ *
1111
+ * Take `±n` ProjectTypes from the position of the cursor.
1112
+ */
1113
+ take?: number
1114
+ /**
1115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1116
+ *
1117
+ * Skip the first `n` ProjectTypes.
1118
+ */
1119
+ skip?: number
1120
+ distinct?: Prisma.ProjectTypeScalarFieldEnum | Prisma.ProjectTypeScalarFieldEnum[]
1121
+ }
1122
+
1123
+ /**
1124
+ * ProjectType create
1125
+ */
1126
+ export type ProjectTypeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1127
+ /**
1128
+ * Select specific fields to fetch from the ProjectType
1129
+ */
1130
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1131
+ /**
1132
+ * Omit specific fields from the ProjectType
1133
+ */
1134
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1135
+ /**
1136
+ * Choose, which related nodes to fetch as well
1137
+ */
1138
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1139
+ /**
1140
+ * The data needed to create a ProjectType.
1141
+ */
1142
+ data: Prisma.XOR<Prisma.ProjectTypeCreateInput, Prisma.ProjectTypeUncheckedCreateInput>
1143
+ }
1144
+
1145
+ /**
1146
+ * ProjectType createMany
1147
+ */
1148
+ export type ProjectTypeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1149
+ /**
1150
+ * The data used to create many ProjectTypes.
1151
+ */
1152
+ data: Prisma.ProjectTypeCreateManyInput | Prisma.ProjectTypeCreateManyInput[]
1153
+ skipDuplicates?: boolean
1154
+ }
1155
+
1156
+ /**
1157
+ * ProjectType createManyAndReturn
1158
+ */
1159
+ export type ProjectTypeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1160
+ /**
1161
+ * Select specific fields to fetch from the ProjectType
1162
+ */
1163
+ select?: Prisma.ProjectTypeSelectCreateManyAndReturn<ExtArgs> | null
1164
+ /**
1165
+ * Omit specific fields from the ProjectType
1166
+ */
1167
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1168
+ /**
1169
+ * The data used to create many ProjectTypes.
1170
+ */
1171
+ data: Prisma.ProjectTypeCreateManyInput | Prisma.ProjectTypeCreateManyInput[]
1172
+ skipDuplicates?: boolean
1173
+ }
1174
+
1175
+ /**
1176
+ * ProjectType update
1177
+ */
1178
+ export type ProjectTypeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1179
+ /**
1180
+ * Select specific fields to fetch from the ProjectType
1181
+ */
1182
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1183
+ /**
1184
+ * Omit specific fields from the ProjectType
1185
+ */
1186
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1187
+ /**
1188
+ * Choose, which related nodes to fetch as well
1189
+ */
1190
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1191
+ /**
1192
+ * The data needed to update a ProjectType.
1193
+ */
1194
+ data: Prisma.XOR<Prisma.ProjectTypeUpdateInput, Prisma.ProjectTypeUncheckedUpdateInput>
1195
+ /**
1196
+ * Choose, which ProjectType to update.
1197
+ */
1198
+ where: Prisma.ProjectTypeWhereUniqueInput
1199
+ }
1200
+
1201
+ /**
1202
+ * ProjectType updateMany
1203
+ */
1204
+ export type ProjectTypeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1205
+ /**
1206
+ * The data used to update ProjectTypes.
1207
+ */
1208
+ data: Prisma.XOR<Prisma.ProjectTypeUpdateManyMutationInput, Prisma.ProjectTypeUncheckedUpdateManyInput>
1209
+ /**
1210
+ * Filter which ProjectTypes to update
1211
+ */
1212
+ where?: Prisma.ProjectTypeWhereInput
1213
+ /**
1214
+ * Limit how many ProjectTypes to update.
1215
+ */
1216
+ limit?: number
1217
+ }
1218
+
1219
+ /**
1220
+ * ProjectType updateManyAndReturn
1221
+ */
1222
+ export type ProjectTypeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1223
+ /**
1224
+ * Select specific fields to fetch from the ProjectType
1225
+ */
1226
+ select?: Prisma.ProjectTypeSelectUpdateManyAndReturn<ExtArgs> | null
1227
+ /**
1228
+ * Omit specific fields from the ProjectType
1229
+ */
1230
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1231
+ /**
1232
+ * The data used to update ProjectTypes.
1233
+ */
1234
+ data: Prisma.XOR<Prisma.ProjectTypeUpdateManyMutationInput, Prisma.ProjectTypeUncheckedUpdateManyInput>
1235
+ /**
1236
+ * Filter which ProjectTypes to update
1237
+ */
1238
+ where?: Prisma.ProjectTypeWhereInput
1239
+ /**
1240
+ * Limit how many ProjectTypes to update.
1241
+ */
1242
+ limit?: number
1243
+ }
1244
+
1245
+ /**
1246
+ * ProjectType upsert
1247
+ */
1248
+ export type ProjectTypeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1249
+ /**
1250
+ * Select specific fields to fetch from the ProjectType
1251
+ */
1252
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1253
+ /**
1254
+ * Omit specific fields from the ProjectType
1255
+ */
1256
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1257
+ /**
1258
+ * Choose, which related nodes to fetch as well
1259
+ */
1260
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1261
+ /**
1262
+ * The filter to search for the ProjectType to update in case it exists.
1263
+ */
1264
+ where: Prisma.ProjectTypeWhereUniqueInput
1265
+ /**
1266
+ * In case the ProjectType found by the `where` argument doesn't exist, create a new ProjectType with this data.
1267
+ */
1268
+ create: Prisma.XOR<Prisma.ProjectTypeCreateInput, Prisma.ProjectTypeUncheckedCreateInput>
1269
+ /**
1270
+ * In case the ProjectType was found with the provided `where` argument, update it with this data.
1271
+ */
1272
+ update: Prisma.XOR<Prisma.ProjectTypeUpdateInput, Prisma.ProjectTypeUncheckedUpdateInput>
1273
+ }
1274
+
1275
+ /**
1276
+ * ProjectType delete
1277
+ */
1278
+ export type ProjectTypeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1279
+ /**
1280
+ * Select specific fields to fetch from the ProjectType
1281
+ */
1282
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1283
+ /**
1284
+ * Omit specific fields from the ProjectType
1285
+ */
1286
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1287
+ /**
1288
+ * Choose, which related nodes to fetch as well
1289
+ */
1290
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1291
+ /**
1292
+ * Filter which ProjectType to delete.
1293
+ */
1294
+ where: Prisma.ProjectTypeWhereUniqueInput
1295
+ }
1296
+
1297
+ /**
1298
+ * ProjectType deleteMany
1299
+ */
1300
+ export type ProjectTypeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1301
+ /**
1302
+ * Filter which ProjectTypes to delete
1303
+ */
1304
+ where?: Prisma.ProjectTypeWhereInput
1305
+ /**
1306
+ * Limit how many ProjectTypes to delete.
1307
+ */
1308
+ limit?: number
1309
+ }
1310
+
1311
+ /**
1312
+ * ProjectType.projects
1313
+ */
1314
+ export type ProjectType$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1315
+ /**
1316
+ * Select specific fields to fetch from the Project
1317
+ */
1318
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1319
+ /**
1320
+ * Omit specific fields from the Project
1321
+ */
1322
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1323
+ /**
1324
+ * Choose, which related nodes to fetch as well
1325
+ */
1326
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1327
+ where?: Prisma.ProjectWhereInput
1328
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1329
+ cursor?: Prisma.ProjectWhereUniqueInput
1330
+ take?: number
1331
+ skip?: number
1332
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1333
+ }
1334
+
1335
+ /**
1336
+ * ProjectType without action
1337
+ */
1338
+ export type ProjectTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1339
+ /**
1340
+ * Select specific fields to fetch from the ProjectType
1341
+ */
1342
+ select?: Prisma.ProjectTypeSelect<ExtArgs> | null
1343
+ /**
1344
+ * Omit specific fields from the ProjectType
1345
+ */
1346
+ omit?: Prisma.ProjectTypeOmit<ExtArgs> | null
1347
+ /**
1348
+ * Choose, which related nodes to fetch as well
1349
+ */
1350
+ include?: Prisma.ProjectTypeInclude<ExtArgs> | null
1351
+ }