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,1728 @@
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 `projectPhaseLog` 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 projectPhaseLog
17
+ *
18
+ */
19
+ export type projectPhaseLogModel = runtime.Types.Result.DefaultSelection<Prisma.$projectPhaseLogPayload>
20
+
21
+ export type AggregateProjectPhaseLog = {
22
+ _count: ProjectPhaseLogCountAggregateOutputType | null
23
+ _avg: ProjectPhaseLogAvgAggregateOutputType | null
24
+ _sum: ProjectPhaseLogSumAggregateOutputType | null
25
+ _min: ProjectPhaseLogMinAggregateOutputType | null
26
+ _max: ProjectPhaseLogMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type ProjectPhaseLogAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type ProjectPhaseLogSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type ProjectPhaseLogMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ projectId: string | null
41
+ phase: string | null
42
+ action: string | null
43
+ comment: string | null
44
+ createdAt: Date | null
45
+ updatedAt: Date | null
46
+ deletedAt: Date | null
47
+ updatedById: string | null
48
+ }
49
+
50
+ export type ProjectPhaseLogMaxAggregateOutputType = {
51
+ id: string | null
52
+ no: number | null
53
+ projectId: string | null
54
+ phase: string | null
55
+ action: string | null
56
+ comment: string | null
57
+ createdAt: Date | null
58
+ updatedAt: Date | null
59
+ deletedAt: Date | null
60
+ updatedById: string | null
61
+ }
62
+
63
+ export type ProjectPhaseLogCountAggregateOutputType = {
64
+ id: number
65
+ no: number
66
+ projectId: number
67
+ phase: number
68
+ action: number
69
+ comment: number
70
+ createdAt: number
71
+ updatedAt: number
72
+ deletedAt: number
73
+ updatedById: number
74
+ _all: number
75
+ }
76
+
77
+
78
+ export type ProjectPhaseLogAvgAggregateInputType = {
79
+ no?: true
80
+ }
81
+
82
+ export type ProjectPhaseLogSumAggregateInputType = {
83
+ no?: true
84
+ }
85
+
86
+ export type ProjectPhaseLogMinAggregateInputType = {
87
+ id?: true
88
+ no?: true
89
+ projectId?: true
90
+ phase?: true
91
+ action?: true
92
+ comment?: true
93
+ createdAt?: true
94
+ updatedAt?: true
95
+ deletedAt?: true
96
+ updatedById?: true
97
+ }
98
+
99
+ export type ProjectPhaseLogMaxAggregateInputType = {
100
+ id?: true
101
+ no?: true
102
+ projectId?: true
103
+ phase?: true
104
+ action?: true
105
+ comment?: true
106
+ createdAt?: true
107
+ updatedAt?: true
108
+ deletedAt?: true
109
+ updatedById?: true
110
+ }
111
+
112
+ export type ProjectPhaseLogCountAggregateInputType = {
113
+ id?: true
114
+ no?: true
115
+ projectId?: true
116
+ phase?: true
117
+ action?: true
118
+ comment?: true
119
+ createdAt?: true
120
+ updatedAt?: true
121
+ deletedAt?: true
122
+ updatedById?: true
123
+ _all?: true
124
+ }
125
+
126
+ export type ProjectPhaseLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
127
+ /**
128
+ * Filter which projectPhaseLog to aggregate.
129
+ */
130
+ where?: Prisma.projectPhaseLogWhereInput
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
133
+ *
134
+ * Determine the order of projectPhaseLogs to fetch.
135
+ */
136
+ orderBy?: Prisma.projectPhaseLogOrderByWithRelationInput | Prisma.projectPhaseLogOrderByWithRelationInput[]
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
139
+ *
140
+ * Sets the start position
141
+ */
142
+ cursor?: Prisma.projectPhaseLogWhereUniqueInput
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
+ *
146
+ * Take `±n` projectPhaseLogs from the position of the cursor.
147
+ */
148
+ take?: number
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
151
+ *
152
+ * Skip the first `n` projectPhaseLogs.
153
+ */
154
+ skip?: number
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Count returned projectPhaseLogs
159
+ **/
160
+ _count?: true | ProjectPhaseLogCountAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to average
165
+ **/
166
+ _avg?: ProjectPhaseLogAvgAggregateInputType
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
+ *
170
+ * Select which fields to sum
171
+ **/
172
+ _sum?: ProjectPhaseLogSumAggregateInputType
173
+ /**
174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
+ *
176
+ * Select which fields to find the minimum value
177
+ **/
178
+ _min?: ProjectPhaseLogMinAggregateInputType
179
+ /**
180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
181
+ *
182
+ * Select which fields to find the maximum value
183
+ **/
184
+ _max?: ProjectPhaseLogMaxAggregateInputType
185
+ }
186
+
187
+ export type GetProjectPhaseLogAggregateType<T extends ProjectPhaseLogAggregateArgs> = {
188
+ [P in keyof T & keyof AggregateProjectPhaseLog]: P extends '_count' | 'count'
189
+ ? T[P] extends true
190
+ ? number
191
+ : Prisma.GetScalarType<T[P], AggregateProjectPhaseLog[P]>
192
+ : Prisma.GetScalarType<T[P], AggregateProjectPhaseLog[P]>
193
+ }
194
+
195
+
196
+
197
+
198
+ export type projectPhaseLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
199
+ where?: Prisma.projectPhaseLogWhereInput
200
+ orderBy?: Prisma.projectPhaseLogOrderByWithAggregationInput | Prisma.projectPhaseLogOrderByWithAggregationInput[]
201
+ by: Prisma.ProjectPhaseLogScalarFieldEnum[] | Prisma.ProjectPhaseLogScalarFieldEnum
202
+ having?: Prisma.projectPhaseLogScalarWhereWithAggregatesInput
203
+ take?: number
204
+ skip?: number
205
+ _count?: ProjectPhaseLogCountAggregateInputType | true
206
+ _avg?: ProjectPhaseLogAvgAggregateInputType
207
+ _sum?: ProjectPhaseLogSumAggregateInputType
208
+ _min?: ProjectPhaseLogMinAggregateInputType
209
+ _max?: ProjectPhaseLogMaxAggregateInputType
210
+ }
211
+
212
+ export type ProjectPhaseLogGroupByOutputType = {
213
+ id: string
214
+ no: number
215
+ projectId: string
216
+ phase: string
217
+ action: string
218
+ comment: string | null
219
+ createdAt: Date
220
+ updatedAt: Date
221
+ deletedAt: Date | null
222
+ updatedById: string | null
223
+ _count: ProjectPhaseLogCountAggregateOutputType | null
224
+ _avg: ProjectPhaseLogAvgAggregateOutputType | null
225
+ _sum: ProjectPhaseLogSumAggregateOutputType | null
226
+ _min: ProjectPhaseLogMinAggregateOutputType | null
227
+ _max: ProjectPhaseLogMaxAggregateOutputType | null
228
+ }
229
+
230
+ type GetProjectPhaseLogGroupByPayload<T extends projectPhaseLogGroupByArgs> = Prisma.PrismaPromise<
231
+ Array<
232
+ Prisma.PickEnumerable<ProjectPhaseLogGroupByOutputType, T['by']> &
233
+ {
234
+ [P in ((keyof T) & (keyof ProjectPhaseLogGroupByOutputType))]: P extends '_count'
235
+ ? T[P] extends boolean
236
+ ? number
237
+ : Prisma.GetScalarType<T[P], ProjectPhaseLogGroupByOutputType[P]>
238
+ : Prisma.GetScalarType<T[P], ProjectPhaseLogGroupByOutputType[P]>
239
+ }
240
+ >
241
+ >
242
+
243
+
244
+
245
+ export type projectPhaseLogWhereInput = {
246
+ AND?: Prisma.projectPhaseLogWhereInput | Prisma.projectPhaseLogWhereInput[]
247
+ OR?: Prisma.projectPhaseLogWhereInput[]
248
+ NOT?: Prisma.projectPhaseLogWhereInput | Prisma.projectPhaseLogWhereInput[]
249
+ id?: Prisma.StringFilter<"projectPhaseLog"> | string
250
+ no?: Prisma.IntFilter<"projectPhaseLog"> | number
251
+ projectId?: Prisma.StringFilter<"projectPhaseLog"> | string
252
+ phase?: Prisma.StringFilter<"projectPhaseLog"> | string
253
+ action?: Prisma.StringFilter<"projectPhaseLog"> | string
254
+ comment?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
255
+ createdAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
256
+ updatedAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
257
+ deletedAt?: Prisma.DateTimeNullableFilter<"projectPhaseLog"> | Date | string | null
258
+ updatedById?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
259
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
260
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
261
+ }
262
+
263
+ export type projectPhaseLogOrderByWithRelationInput = {
264
+ id?: Prisma.SortOrder
265
+ no?: Prisma.SortOrder
266
+ projectId?: Prisma.SortOrder
267
+ phase?: Prisma.SortOrder
268
+ action?: Prisma.SortOrder
269
+ comment?: Prisma.SortOrderInput | Prisma.SortOrder
270
+ createdAt?: Prisma.SortOrder
271
+ updatedAt?: Prisma.SortOrder
272
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
273
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
274
+ project?: Prisma.ProjectOrderByWithRelationInput
275
+ updatedBy?: Prisma.UserOrderByWithRelationInput
276
+ }
277
+
278
+ export type projectPhaseLogWhereUniqueInput = Prisma.AtLeast<{
279
+ id?: string
280
+ AND?: Prisma.projectPhaseLogWhereInput | Prisma.projectPhaseLogWhereInput[]
281
+ OR?: Prisma.projectPhaseLogWhereInput[]
282
+ NOT?: Prisma.projectPhaseLogWhereInput | Prisma.projectPhaseLogWhereInput[]
283
+ no?: Prisma.IntFilter<"projectPhaseLog"> | number
284
+ projectId?: Prisma.StringFilter<"projectPhaseLog"> | string
285
+ phase?: Prisma.StringFilter<"projectPhaseLog"> | string
286
+ action?: Prisma.StringFilter<"projectPhaseLog"> | string
287
+ comment?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
288
+ createdAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
289
+ updatedAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
290
+ deletedAt?: Prisma.DateTimeNullableFilter<"projectPhaseLog"> | Date | string | null
291
+ updatedById?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
292
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
293
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
294
+ }, "id" | "id">
295
+
296
+ export type projectPhaseLogOrderByWithAggregationInput = {
297
+ id?: Prisma.SortOrder
298
+ no?: Prisma.SortOrder
299
+ projectId?: Prisma.SortOrder
300
+ phase?: Prisma.SortOrder
301
+ action?: Prisma.SortOrder
302
+ comment?: Prisma.SortOrderInput | Prisma.SortOrder
303
+ createdAt?: Prisma.SortOrder
304
+ updatedAt?: Prisma.SortOrder
305
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
306
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
307
+ _count?: Prisma.projectPhaseLogCountOrderByAggregateInput
308
+ _avg?: Prisma.projectPhaseLogAvgOrderByAggregateInput
309
+ _max?: Prisma.projectPhaseLogMaxOrderByAggregateInput
310
+ _min?: Prisma.projectPhaseLogMinOrderByAggregateInput
311
+ _sum?: Prisma.projectPhaseLogSumOrderByAggregateInput
312
+ }
313
+
314
+ export type projectPhaseLogScalarWhereWithAggregatesInput = {
315
+ AND?: Prisma.projectPhaseLogScalarWhereWithAggregatesInput | Prisma.projectPhaseLogScalarWhereWithAggregatesInput[]
316
+ OR?: Prisma.projectPhaseLogScalarWhereWithAggregatesInput[]
317
+ NOT?: Prisma.projectPhaseLogScalarWhereWithAggregatesInput | Prisma.projectPhaseLogScalarWhereWithAggregatesInput[]
318
+ id?: Prisma.StringWithAggregatesFilter<"projectPhaseLog"> | string
319
+ no?: Prisma.IntWithAggregatesFilter<"projectPhaseLog"> | number
320
+ projectId?: Prisma.StringWithAggregatesFilter<"projectPhaseLog"> | string
321
+ phase?: Prisma.StringWithAggregatesFilter<"projectPhaseLog"> | string
322
+ action?: Prisma.StringWithAggregatesFilter<"projectPhaseLog"> | string
323
+ comment?: Prisma.StringNullableWithAggregatesFilter<"projectPhaseLog"> | string | null
324
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"projectPhaseLog"> | Date | string
325
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"projectPhaseLog"> | Date | string
326
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"projectPhaseLog"> | Date | string | null
327
+ updatedById?: Prisma.StringNullableWithAggregatesFilter<"projectPhaseLog"> | string | null
328
+ }
329
+
330
+ export type projectPhaseLogCreateInput = {
331
+ id?: string
332
+ no?: number
333
+ phase: string
334
+ action: string
335
+ comment?: string | null
336
+ createdAt?: Date | string
337
+ updatedAt?: Date | string
338
+ deletedAt?: Date | string | null
339
+ project: Prisma.ProjectCreateNestedOneWithoutProjectPhaseLogInput
340
+ updatedBy?: Prisma.UserCreateNestedOneWithoutProjectPhaseLogInput
341
+ }
342
+
343
+ export type projectPhaseLogUncheckedCreateInput = {
344
+ id?: string
345
+ no?: number
346
+ projectId: string
347
+ phase: string
348
+ action: string
349
+ comment?: string | null
350
+ createdAt?: Date | string
351
+ updatedAt?: Date | string
352
+ deletedAt?: Date | string | null
353
+ updatedById?: string | null
354
+ }
355
+
356
+ export type projectPhaseLogUpdateInput = {
357
+ id?: Prisma.StringFieldUpdateOperationsInput | string
358
+ no?: Prisma.IntFieldUpdateOperationsInput | number
359
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
360
+ action?: Prisma.StringFieldUpdateOperationsInput | string
361
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
364
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
365
+ project?: Prisma.ProjectUpdateOneRequiredWithoutProjectPhaseLogNestedInput
366
+ updatedBy?: Prisma.UserUpdateOneWithoutProjectPhaseLogNestedInput
367
+ }
368
+
369
+ export type projectPhaseLogUncheckedUpdateInput = {
370
+ id?: Prisma.StringFieldUpdateOperationsInput | string
371
+ no?: Prisma.IntFieldUpdateOperationsInput | number
372
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
373
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
374
+ action?: Prisma.StringFieldUpdateOperationsInput | string
375
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
376
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
377
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
378
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
379
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
380
+ }
381
+
382
+ export type projectPhaseLogCreateManyInput = {
383
+ id?: string
384
+ no?: number
385
+ projectId: string
386
+ phase: string
387
+ action: string
388
+ comment?: string | null
389
+ createdAt?: Date | string
390
+ updatedAt?: Date | string
391
+ deletedAt?: Date | string | null
392
+ updatedById?: string | null
393
+ }
394
+
395
+ export type projectPhaseLogUpdateManyMutationInput = {
396
+ id?: Prisma.StringFieldUpdateOperationsInput | string
397
+ no?: Prisma.IntFieldUpdateOperationsInput | number
398
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
399
+ action?: Prisma.StringFieldUpdateOperationsInput | string
400
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
401
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
402
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
403
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
404
+ }
405
+
406
+ export type projectPhaseLogUncheckedUpdateManyInput = {
407
+ id?: Prisma.StringFieldUpdateOperationsInput | string
408
+ no?: Prisma.IntFieldUpdateOperationsInput | number
409
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
410
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
411
+ action?: Prisma.StringFieldUpdateOperationsInput | string
412
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
414
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
415
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
416
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
417
+ }
418
+
419
+ export type ProjectPhaseLogListRelationFilter = {
420
+ every?: Prisma.projectPhaseLogWhereInput
421
+ some?: Prisma.projectPhaseLogWhereInput
422
+ none?: Prisma.projectPhaseLogWhereInput
423
+ }
424
+
425
+ export type projectPhaseLogOrderByRelationAggregateInput = {
426
+ _count?: Prisma.SortOrder
427
+ }
428
+
429
+ export type projectPhaseLogCountOrderByAggregateInput = {
430
+ id?: Prisma.SortOrder
431
+ no?: Prisma.SortOrder
432
+ projectId?: Prisma.SortOrder
433
+ phase?: Prisma.SortOrder
434
+ action?: Prisma.SortOrder
435
+ comment?: Prisma.SortOrder
436
+ createdAt?: Prisma.SortOrder
437
+ updatedAt?: Prisma.SortOrder
438
+ deletedAt?: Prisma.SortOrder
439
+ updatedById?: Prisma.SortOrder
440
+ }
441
+
442
+ export type projectPhaseLogAvgOrderByAggregateInput = {
443
+ no?: Prisma.SortOrder
444
+ }
445
+
446
+ export type projectPhaseLogMaxOrderByAggregateInput = {
447
+ id?: Prisma.SortOrder
448
+ no?: Prisma.SortOrder
449
+ projectId?: Prisma.SortOrder
450
+ phase?: Prisma.SortOrder
451
+ action?: Prisma.SortOrder
452
+ comment?: Prisma.SortOrder
453
+ createdAt?: Prisma.SortOrder
454
+ updatedAt?: Prisma.SortOrder
455
+ deletedAt?: Prisma.SortOrder
456
+ updatedById?: Prisma.SortOrder
457
+ }
458
+
459
+ export type projectPhaseLogMinOrderByAggregateInput = {
460
+ id?: Prisma.SortOrder
461
+ no?: Prisma.SortOrder
462
+ projectId?: Prisma.SortOrder
463
+ phase?: Prisma.SortOrder
464
+ action?: Prisma.SortOrder
465
+ comment?: Prisma.SortOrder
466
+ createdAt?: Prisma.SortOrder
467
+ updatedAt?: Prisma.SortOrder
468
+ deletedAt?: Prisma.SortOrder
469
+ updatedById?: Prisma.SortOrder
470
+ }
471
+
472
+ export type projectPhaseLogSumOrderByAggregateInput = {
473
+ no?: Prisma.SortOrder
474
+ }
475
+
476
+ export type projectPhaseLogCreateNestedManyWithoutUpdatedByInput = {
477
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput> | Prisma.projectPhaseLogCreateWithoutUpdatedByInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput[]
478
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput | Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput[]
479
+ createMany?: Prisma.projectPhaseLogCreateManyUpdatedByInputEnvelope
480
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
481
+ }
482
+
483
+ export type projectPhaseLogUncheckedCreateNestedManyWithoutUpdatedByInput = {
484
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput> | Prisma.projectPhaseLogCreateWithoutUpdatedByInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput[]
485
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput | Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput[]
486
+ createMany?: Prisma.projectPhaseLogCreateManyUpdatedByInputEnvelope
487
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
488
+ }
489
+
490
+ export type projectPhaseLogUpdateManyWithoutUpdatedByNestedInput = {
491
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput> | Prisma.projectPhaseLogCreateWithoutUpdatedByInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput[]
492
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput | Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput[]
493
+ upsert?: Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutUpdatedByInput[]
494
+ createMany?: Prisma.projectPhaseLogCreateManyUpdatedByInputEnvelope
495
+ set?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
496
+ disconnect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
497
+ delete?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
498
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
499
+ update?: Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutUpdatedByInput[]
500
+ updateMany?: Prisma.projectPhaseLogUpdateManyWithWhereWithoutUpdatedByInput | Prisma.projectPhaseLogUpdateManyWithWhereWithoutUpdatedByInput[]
501
+ deleteMany?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
502
+ }
503
+
504
+ export type projectPhaseLogUncheckedUpdateManyWithoutUpdatedByNestedInput = {
505
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput> | Prisma.projectPhaseLogCreateWithoutUpdatedByInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput[]
506
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput | Prisma.projectPhaseLogCreateOrConnectWithoutUpdatedByInput[]
507
+ upsert?: Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutUpdatedByInput[]
508
+ createMany?: Prisma.projectPhaseLogCreateManyUpdatedByInputEnvelope
509
+ set?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
510
+ disconnect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
511
+ delete?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
512
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
513
+ update?: Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutUpdatedByInput[]
514
+ updateMany?: Prisma.projectPhaseLogUpdateManyWithWhereWithoutUpdatedByInput | Prisma.projectPhaseLogUpdateManyWithWhereWithoutUpdatedByInput[]
515
+ deleteMany?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
516
+ }
517
+
518
+ export type projectPhaseLogCreateNestedManyWithoutProjectInput = {
519
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput> | Prisma.projectPhaseLogCreateWithoutProjectInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput[]
520
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput | Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput[]
521
+ createMany?: Prisma.projectPhaseLogCreateManyProjectInputEnvelope
522
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
523
+ }
524
+
525
+ export type projectPhaseLogUncheckedCreateNestedManyWithoutProjectInput = {
526
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput> | Prisma.projectPhaseLogCreateWithoutProjectInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput[]
527
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput | Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput[]
528
+ createMany?: Prisma.projectPhaseLogCreateManyProjectInputEnvelope
529
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
530
+ }
531
+
532
+ export type projectPhaseLogUpdateManyWithoutProjectNestedInput = {
533
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput> | Prisma.projectPhaseLogCreateWithoutProjectInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput[]
534
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput | Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput[]
535
+ upsert?: Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutProjectInput | Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutProjectInput[]
536
+ createMany?: Prisma.projectPhaseLogCreateManyProjectInputEnvelope
537
+ set?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
538
+ disconnect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
539
+ delete?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
540
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
541
+ update?: Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutProjectInput | Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutProjectInput[]
542
+ updateMany?: Prisma.projectPhaseLogUpdateManyWithWhereWithoutProjectInput | Prisma.projectPhaseLogUpdateManyWithWhereWithoutProjectInput[]
543
+ deleteMany?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
544
+ }
545
+
546
+ export type projectPhaseLogUncheckedUpdateManyWithoutProjectNestedInput = {
547
+ create?: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput> | Prisma.projectPhaseLogCreateWithoutProjectInput[] | Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput[]
548
+ connectOrCreate?: Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput | Prisma.projectPhaseLogCreateOrConnectWithoutProjectInput[]
549
+ upsert?: Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutProjectInput | Prisma.projectPhaseLogUpsertWithWhereUniqueWithoutProjectInput[]
550
+ createMany?: Prisma.projectPhaseLogCreateManyProjectInputEnvelope
551
+ set?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
552
+ disconnect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
553
+ delete?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
554
+ connect?: Prisma.projectPhaseLogWhereUniqueInput | Prisma.projectPhaseLogWhereUniqueInput[]
555
+ update?: Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutProjectInput | Prisma.projectPhaseLogUpdateWithWhereUniqueWithoutProjectInput[]
556
+ updateMany?: Prisma.projectPhaseLogUpdateManyWithWhereWithoutProjectInput | Prisma.projectPhaseLogUpdateManyWithWhereWithoutProjectInput[]
557
+ deleteMany?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
558
+ }
559
+
560
+ export type projectPhaseLogCreateWithoutUpdatedByInput = {
561
+ id?: string
562
+ no?: number
563
+ phase: string
564
+ action: string
565
+ comment?: string | null
566
+ createdAt?: Date | string
567
+ updatedAt?: Date | string
568
+ deletedAt?: Date | string | null
569
+ project: Prisma.ProjectCreateNestedOneWithoutProjectPhaseLogInput
570
+ }
571
+
572
+ export type projectPhaseLogUncheckedCreateWithoutUpdatedByInput = {
573
+ id?: string
574
+ no?: number
575
+ projectId: string
576
+ phase: string
577
+ action: string
578
+ comment?: string | null
579
+ createdAt?: Date | string
580
+ updatedAt?: Date | string
581
+ deletedAt?: Date | string | null
582
+ }
583
+
584
+ export type projectPhaseLogCreateOrConnectWithoutUpdatedByInput = {
585
+ where: Prisma.projectPhaseLogWhereUniqueInput
586
+ create: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput>
587
+ }
588
+
589
+ export type projectPhaseLogCreateManyUpdatedByInputEnvelope = {
590
+ data: Prisma.projectPhaseLogCreateManyUpdatedByInput | Prisma.projectPhaseLogCreateManyUpdatedByInput[]
591
+ skipDuplicates?: boolean
592
+ }
593
+
594
+ export type projectPhaseLogUpsertWithWhereUniqueWithoutUpdatedByInput = {
595
+ where: Prisma.projectPhaseLogWhereUniqueInput
596
+ update: Prisma.XOR<Prisma.projectPhaseLogUpdateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedUpdateWithoutUpdatedByInput>
597
+ create: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedCreateWithoutUpdatedByInput>
598
+ }
599
+
600
+ export type projectPhaseLogUpdateWithWhereUniqueWithoutUpdatedByInput = {
601
+ where: Prisma.projectPhaseLogWhereUniqueInput
602
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateWithoutUpdatedByInput, Prisma.projectPhaseLogUncheckedUpdateWithoutUpdatedByInput>
603
+ }
604
+
605
+ export type projectPhaseLogUpdateManyWithWhereWithoutUpdatedByInput = {
606
+ where: Prisma.projectPhaseLogScalarWhereInput
607
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateManyMutationInput, Prisma.projectPhaseLogUncheckedUpdateManyWithoutUpdatedByInput>
608
+ }
609
+
610
+ export type projectPhaseLogScalarWhereInput = {
611
+ AND?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
612
+ OR?: Prisma.projectPhaseLogScalarWhereInput[]
613
+ NOT?: Prisma.projectPhaseLogScalarWhereInput | Prisma.projectPhaseLogScalarWhereInput[]
614
+ id?: Prisma.StringFilter<"projectPhaseLog"> | string
615
+ no?: Prisma.IntFilter<"projectPhaseLog"> | number
616
+ projectId?: Prisma.StringFilter<"projectPhaseLog"> | string
617
+ phase?: Prisma.StringFilter<"projectPhaseLog"> | string
618
+ action?: Prisma.StringFilter<"projectPhaseLog"> | string
619
+ comment?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
620
+ createdAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
621
+ updatedAt?: Prisma.DateTimeFilter<"projectPhaseLog"> | Date | string
622
+ deletedAt?: Prisma.DateTimeNullableFilter<"projectPhaseLog"> | Date | string | null
623
+ updatedById?: Prisma.StringNullableFilter<"projectPhaseLog"> | string | null
624
+ }
625
+
626
+ export type projectPhaseLogCreateWithoutProjectInput = {
627
+ id?: string
628
+ no?: number
629
+ phase: string
630
+ action: string
631
+ comment?: string | null
632
+ createdAt?: Date | string
633
+ updatedAt?: Date | string
634
+ deletedAt?: Date | string | null
635
+ updatedBy?: Prisma.UserCreateNestedOneWithoutProjectPhaseLogInput
636
+ }
637
+
638
+ export type projectPhaseLogUncheckedCreateWithoutProjectInput = {
639
+ id?: string
640
+ no?: number
641
+ phase: string
642
+ action: string
643
+ comment?: string | null
644
+ createdAt?: Date | string
645
+ updatedAt?: Date | string
646
+ deletedAt?: Date | string | null
647
+ updatedById?: string | null
648
+ }
649
+
650
+ export type projectPhaseLogCreateOrConnectWithoutProjectInput = {
651
+ where: Prisma.projectPhaseLogWhereUniqueInput
652
+ create: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput>
653
+ }
654
+
655
+ export type projectPhaseLogCreateManyProjectInputEnvelope = {
656
+ data: Prisma.projectPhaseLogCreateManyProjectInput | Prisma.projectPhaseLogCreateManyProjectInput[]
657
+ skipDuplicates?: boolean
658
+ }
659
+
660
+ export type projectPhaseLogUpsertWithWhereUniqueWithoutProjectInput = {
661
+ where: Prisma.projectPhaseLogWhereUniqueInput
662
+ update: Prisma.XOR<Prisma.projectPhaseLogUpdateWithoutProjectInput, Prisma.projectPhaseLogUncheckedUpdateWithoutProjectInput>
663
+ create: Prisma.XOR<Prisma.projectPhaseLogCreateWithoutProjectInput, Prisma.projectPhaseLogUncheckedCreateWithoutProjectInput>
664
+ }
665
+
666
+ export type projectPhaseLogUpdateWithWhereUniqueWithoutProjectInput = {
667
+ where: Prisma.projectPhaseLogWhereUniqueInput
668
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateWithoutProjectInput, Prisma.projectPhaseLogUncheckedUpdateWithoutProjectInput>
669
+ }
670
+
671
+ export type projectPhaseLogUpdateManyWithWhereWithoutProjectInput = {
672
+ where: Prisma.projectPhaseLogScalarWhereInput
673
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateManyMutationInput, Prisma.projectPhaseLogUncheckedUpdateManyWithoutProjectInput>
674
+ }
675
+
676
+ export type projectPhaseLogCreateManyUpdatedByInput = {
677
+ id?: string
678
+ no?: number
679
+ projectId: string
680
+ phase: string
681
+ action: string
682
+ comment?: string | null
683
+ createdAt?: Date | string
684
+ updatedAt?: Date | string
685
+ deletedAt?: Date | string | null
686
+ }
687
+
688
+ export type projectPhaseLogUpdateWithoutUpdatedByInput = {
689
+ id?: Prisma.StringFieldUpdateOperationsInput | string
690
+ no?: Prisma.IntFieldUpdateOperationsInput | number
691
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
692
+ action?: Prisma.StringFieldUpdateOperationsInput | string
693
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
694
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
695
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
696
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
697
+ project?: Prisma.ProjectUpdateOneRequiredWithoutProjectPhaseLogNestedInput
698
+ }
699
+
700
+ export type projectPhaseLogUncheckedUpdateWithoutUpdatedByInput = {
701
+ id?: Prisma.StringFieldUpdateOperationsInput | string
702
+ no?: Prisma.IntFieldUpdateOperationsInput | number
703
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
704
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
705
+ action?: Prisma.StringFieldUpdateOperationsInput | string
706
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
707
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
708
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
709
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
710
+ }
711
+
712
+ export type projectPhaseLogUncheckedUpdateManyWithoutUpdatedByInput = {
713
+ id?: Prisma.StringFieldUpdateOperationsInput | string
714
+ no?: Prisma.IntFieldUpdateOperationsInput | number
715
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
716
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
717
+ action?: Prisma.StringFieldUpdateOperationsInput | string
718
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
719
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
720
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
721
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
722
+ }
723
+
724
+ export type projectPhaseLogCreateManyProjectInput = {
725
+ id?: string
726
+ no?: number
727
+ phase: string
728
+ action: string
729
+ comment?: string | null
730
+ createdAt?: Date | string
731
+ updatedAt?: Date | string
732
+ deletedAt?: Date | string | null
733
+ updatedById?: string | null
734
+ }
735
+
736
+ export type projectPhaseLogUpdateWithoutProjectInput = {
737
+ id?: Prisma.StringFieldUpdateOperationsInput | string
738
+ no?: Prisma.IntFieldUpdateOperationsInput | number
739
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
740
+ action?: Prisma.StringFieldUpdateOperationsInput | string
741
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
742
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
743
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
744
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
745
+ updatedBy?: Prisma.UserUpdateOneWithoutProjectPhaseLogNestedInput
746
+ }
747
+
748
+ export type projectPhaseLogUncheckedUpdateWithoutProjectInput = {
749
+ id?: Prisma.StringFieldUpdateOperationsInput | string
750
+ no?: Prisma.IntFieldUpdateOperationsInput | number
751
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
752
+ action?: Prisma.StringFieldUpdateOperationsInput | string
753
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
754
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
755
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
756
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
757
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
758
+ }
759
+
760
+ export type projectPhaseLogUncheckedUpdateManyWithoutProjectInput = {
761
+ id?: Prisma.StringFieldUpdateOperationsInput | string
762
+ no?: Prisma.IntFieldUpdateOperationsInput | number
763
+ phase?: Prisma.StringFieldUpdateOperationsInput | string
764
+ action?: Prisma.StringFieldUpdateOperationsInput | string
765
+ comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
766
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
767
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
768
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
769
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
770
+ }
771
+
772
+
773
+
774
+ export type projectPhaseLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
775
+ id?: boolean
776
+ no?: boolean
777
+ projectId?: boolean
778
+ phase?: boolean
779
+ action?: boolean
780
+ comment?: boolean
781
+ createdAt?: boolean
782
+ updatedAt?: boolean
783
+ deletedAt?: boolean
784
+ updatedById?: boolean
785
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
786
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
787
+ }, ExtArgs["result"]["projectPhaseLog"]>
788
+
789
+ export type projectPhaseLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
790
+ id?: boolean
791
+ no?: boolean
792
+ projectId?: boolean
793
+ phase?: boolean
794
+ action?: boolean
795
+ comment?: boolean
796
+ createdAt?: boolean
797
+ updatedAt?: boolean
798
+ deletedAt?: boolean
799
+ updatedById?: boolean
800
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
801
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
802
+ }, ExtArgs["result"]["projectPhaseLog"]>
803
+
804
+ export type projectPhaseLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
805
+ id?: boolean
806
+ no?: boolean
807
+ projectId?: boolean
808
+ phase?: boolean
809
+ action?: boolean
810
+ comment?: boolean
811
+ createdAt?: boolean
812
+ updatedAt?: boolean
813
+ deletedAt?: boolean
814
+ updatedById?: boolean
815
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
816
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
817
+ }, ExtArgs["result"]["projectPhaseLog"]>
818
+
819
+ export type projectPhaseLogSelectScalar = {
820
+ id?: boolean
821
+ no?: boolean
822
+ projectId?: boolean
823
+ phase?: boolean
824
+ action?: boolean
825
+ comment?: boolean
826
+ createdAt?: boolean
827
+ updatedAt?: boolean
828
+ deletedAt?: boolean
829
+ updatedById?: boolean
830
+ }
831
+
832
+ export type projectPhaseLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "projectId" | "phase" | "action" | "comment" | "createdAt" | "updatedAt" | "deletedAt" | "updatedById", ExtArgs["result"]["projectPhaseLog"]>
833
+ export type projectPhaseLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
835
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
836
+ }
837
+ export type projectPhaseLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
838
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
839
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
840
+ }
841
+ export type projectPhaseLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
842
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
843
+ updatedBy?: boolean | Prisma.projectPhaseLog$updatedByArgs<ExtArgs>
844
+ }
845
+
846
+ export type $projectPhaseLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
847
+ name: "projectPhaseLog"
848
+ objects: {
849
+ project: Prisma.$ProjectPayload<ExtArgs>
850
+ updatedBy: Prisma.$UserPayload<ExtArgs> | null
851
+ }
852
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
853
+ id: string
854
+ no: number
855
+ projectId: string
856
+ phase: string
857
+ action: string
858
+ comment: string | null
859
+ createdAt: Date
860
+ updatedAt: Date
861
+ deletedAt: Date | null
862
+ updatedById: string | null
863
+ }, ExtArgs["result"]["projectPhaseLog"]>
864
+ composites: {}
865
+ }
866
+
867
+ export type projectPhaseLogGetPayload<S extends boolean | null | undefined | projectPhaseLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload, S>
868
+
869
+ export type projectPhaseLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
870
+ Omit<projectPhaseLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
871
+ select?: ProjectPhaseLogCountAggregateInputType | true
872
+ }
873
+
874
+ export interface projectPhaseLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
875
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['projectPhaseLog'], meta: { name: 'projectPhaseLog' } }
876
+ /**
877
+ * Find zero or one ProjectPhaseLog that matches the filter.
878
+ * @param {projectPhaseLogFindUniqueArgs} args - Arguments to find a ProjectPhaseLog
879
+ * @example
880
+ * // Get one ProjectPhaseLog
881
+ * const projectPhaseLog = await prisma.projectPhaseLog.findUnique({
882
+ * where: {
883
+ * // ... provide filter here
884
+ * }
885
+ * })
886
+ */
887
+ findUnique<T extends projectPhaseLogFindUniqueArgs>(args: Prisma.SelectSubset<T, projectPhaseLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
888
+
889
+ /**
890
+ * Find one ProjectPhaseLog that matches the filter or throw an error with `error.code='P2025'`
891
+ * if no matches were found.
892
+ * @param {projectPhaseLogFindUniqueOrThrowArgs} args - Arguments to find a ProjectPhaseLog
893
+ * @example
894
+ * // Get one ProjectPhaseLog
895
+ * const projectPhaseLog = await prisma.projectPhaseLog.findUniqueOrThrow({
896
+ * where: {
897
+ * // ... provide filter here
898
+ * }
899
+ * })
900
+ */
901
+ findUniqueOrThrow<T extends projectPhaseLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, projectPhaseLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
902
+
903
+ /**
904
+ * Find the first ProjectPhaseLog that matches the filter.
905
+ * Note, that providing `undefined` is treated as the value not being there.
906
+ * Read more here: https://pris.ly/d/null-undefined
907
+ * @param {projectPhaseLogFindFirstArgs} args - Arguments to find a ProjectPhaseLog
908
+ * @example
909
+ * // Get one ProjectPhaseLog
910
+ * const projectPhaseLog = await prisma.projectPhaseLog.findFirst({
911
+ * where: {
912
+ * // ... provide filter here
913
+ * }
914
+ * })
915
+ */
916
+ findFirst<T extends projectPhaseLogFindFirstArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
917
+
918
+ /**
919
+ * Find the first ProjectPhaseLog that matches the filter or
920
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
921
+ * Note, that providing `undefined` is treated as the value not being there.
922
+ * Read more here: https://pris.ly/d/null-undefined
923
+ * @param {projectPhaseLogFindFirstOrThrowArgs} args - Arguments to find a ProjectPhaseLog
924
+ * @example
925
+ * // Get one ProjectPhaseLog
926
+ * const projectPhaseLog = await prisma.projectPhaseLog.findFirstOrThrow({
927
+ * where: {
928
+ * // ... provide filter here
929
+ * }
930
+ * })
931
+ */
932
+ findFirstOrThrow<T extends projectPhaseLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
933
+
934
+ /**
935
+ * Find zero or more ProjectPhaseLogs that matches the filter.
936
+ * Note, that providing `undefined` is treated as the value not being there.
937
+ * Read more here: https://pris.ly/d/null-undefined
938
+ * @param {projectPhaseLogFindManyArgs} args - Arguments to filter and select certain fields only.
939
+ * @example
940
+ * // Get all ProjectPhaseLogs
941
+ * const projectPhaseLogs = await prisma.projectPhaseLog.findMany()
942
+ *
943
+ * // Get first 10 ProjectPhaseLogs
944
+ * const projectPhaseLogs = await prisma.projectPhaseLog.findMany({ take: 10 })
945
+ *
946
+ * // Only select the `id`
947
+ * const projectPhaseLogWithIdOnly = await prisma.projectPhaseLog.findMany({ select: { id: true } })
948
+ *
949
+ */
950
+ findMany<T extends projectPhaseLogFindManyArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
951
+
952
+ /**
953
+ * Create a ProjectPhaseLog.
954
+ * @param {projectPhaseLogCreateArgs} args - Arguments to create a ProjectPhaseLog.
955
+ * @example
956
+ * // Create one ProjectPhaseLog
957
+ * const ProjectPhaseLog = await prisma.projectPhaseLog.create({
958
+ * data: {
959
+ * // ... data to create a ProjectPhaseLog
960
+ * }
961
+ * })
962
+ *
963
+ */
964
+ create<T extends projectPhaseLogCreateArgs>(args: Prisma.SelectSubset<T, projectPhaseLogCreateArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
965
+
966
+ /**
967
+ * Create many ProjectPhaseLogs.
968
+ * @param {projectPhaseLogCreateManyArgs} args - Arguments to create many ProjectPhaseLogs.
969
+ * @example
970
+ * // Create many ProjectPhaseLogs
971
+ * const projectPhaseLog = await prisma.projectPhaseLog.createMany({
972
+ * data: [
973
+ * // ... provide data here
974
+ * ]
975
+ * })
976
+ *
977
+ */
978
+ createMany<T extends projectPhaseLogCreateManyArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
979
+
980
+ /**
981
+ * Create many ProjectPhaseLogs and returns the data saved in the database.
982
+ * @param {projectPhaseLogCreateManyAndReturnArgs} args - Arguments to create many ProjectPhaseLogs.
983
+ * @example
984
+ * // Create many ProjectPhaseLogs
985
+ * const projectPhaseLog = await prisma.projectPhaseLog.createManyAndReturn({
986
+ * data: [
987
+ * // ... provide data here
988
+ * ]
989
+ * })
990
+ *
991
+ * // Create many ProjectPhaseLogs and only return the `id`
992
+ * const projectPhaseLogWithIdOnly = await prisma.projectPhaseLog.createManyAndReturn({
993
+ * select: { id: true },
994
+ * data: [
995
+ * // ... provide data here
996
+ * ]
997
+ * })
998
+ * Note, that providing `undefined` is treated as the value not being there.
999
+ * Read more here: https://pris.ly/d/null-undefined
1000
+ *
1001
+ */
1002
+ createManyAndReturn<T extends projectPhaseLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1003
+
1004
+ /**
1005
+ * Delete a ProjectPhaseLog.
1006
+ * @param {projectPhaseLogDeleteArgs} args - Arguments to delete one ProjectPhaseLog.
1007
+ * @example
1008
+ * // Delete one ProjectPhaseLog
1009
+ * const ProjectPhaseLog = await prisma.projectPhaseLog.delete({
1010
+ * where: {
1011
+ * // ... filter to delete one ProjectPhaseLog
1012
+ * }
1013
+ * })
1014
+ *
1015
+ */
1016
+ delete<T extends projectPhaseLogDeleteArgs>(args: Prisma.SelectSubset<T, projectPhaseLogDeleteArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1017
+
1018
+ /**
1019
+ * Update one ProjectPhaseLog.
1020
+ * @param {projectPhaseLogUpdateArgs} args - Arguments to update one ProjectPhaseLog.
1021
+ * @example
1022
+ * // Update one ProjectPhaseLog
1023
+ * const projectPhaseLog = await prisma.projectPhaseLog.update({
1024
+ * where: {
1025
+ * // ... provide filter here
1026
+ * },
1027
+ * data: {
1028
+ * // ... provide data here
1029
+ * }
1030
+ * })
1031
+ *
1032
+ */
1033
+ update<T extends projectPhaseLogUpdateArgs>(args: Prisma.SelectSubset<T, projectPhaseLogUpdateArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1034
+
1035
+ /**
1036
+ * Delete zero or more ProjectPhaseLogs.
1037
+ * @param {projectPhaseLogDeleteManyArgs} args - Arguments to filter ProjectPhaseLogs to delete.
1038
+ * @example
1039
+ * // Delete a few ProjectPhaseLogs
1040
+ * const { count } = await prisma.projectPhaseLog.deleteMany({
1041
+ * where: {
1042
+ * // ... provide filter here
1043
+ * }
1044
+ * })
1045
+ *
1046
+ */
1047
+ deleteMany<T extends projectPhaseLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, projectPhaseLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1048
+
1049
+ /**
1050
+ * Update zero or more ProjectPhaseLogs.
1051
+ * Note, that providing `undefined` is treated as the value not being there.
1052
+ * Read more here: https://pris.ly/d/null-undefined
1053
+ * @param {projectPhaseLogUpdateManyArgs} args - Arguments to update one or more rows.
1054
+ * @example
1055
+ * // Update many ProjectPhaseLogs
1056
+ * const projectPhaseLog = await prisma.projectPhaseLog.updateMany({
1057
+ * where: {
1058
+ * // ... provide filter here
1059
+ * },
1060
+ * data: {
1061
+ * // ... provide data here
1062
+ * }
1063
+ * })
1064
+ *
1065
+ */
1066
+ updateMany<T extends projectPhaseLogUpdateManyArgs>(args: Prisma.SelectSubset<T, projectPhaseLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1067
+
1068
+ /**
1069
+ * Update zero or more ProjectPhaseLogs and returns the data updated in the database.
1070
+ * @param {projectPhaseLogUpdateManyAndReturnArgs} args - Arguments to update many ProjectPhaseLogs.
1071
+ * @example
1072
+ * // Update many ProjectPhaseLogs
1073
+ * const projectPhaseLog = await prisma.projectPhaseLog.updateManyAndReturn({
1074
+ * where: {
1075
+ * // ... provide filter here
1076
+ * },
1077
+ * data: [
1078
+ * // ... provide data here
1079
+ * ]
1080
+ * })
1081
+ *
1082
+ * // Update zero or more ProjectPhaseLogs and only return the `id`
1083
+ * const projectPhaseLogWithIdOnly = await prisma.projectPhaseLog.updateManyAndReturn({
1084
+ * select: { id: true },
1085
+ * where: {
1086
+ * // ... provide filter here
1087
+ * },
1088
+ * data: [
1089
+ * // ... provide data here
1090
+ * ]
1091
+ * })
1092
+ * Note, that providing `undefined` is treated as the value not being there.
1093
+ * Read more here: https://pris.ly/d/null-undefined
1094
+ *
1095
+ */
1096
+ updateManyAndReturn<T extends projectPhaseLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, projectPhaseLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1097
+
1098
+ /**
1099
+ * Create or update one ProjectPhaseLog.
1100
+ * @param {projectPhaseLogUpsertArgs} args - Arguments to update or create a ProjectPhaseLog.
1101
+ * @example
1102
+ * // Update or create a ProjectPhaseLog
1103
+ * const projectPhaseLog = await prisma.projectPhaseLog.upsert({
1104
+ * create: {
1105
+ * // ... data to create a ProjectPhaseLog
1106
+ * },
1107
+ * update: {
1108
+ * // ... in case it already exists, update
1109
+ * },
1110
+ * where: {
1111
+ * // ... the filter for the ProjectPhaseLog we want to update
1112
+ * }
1113
+ * })
1114
+ */
1115
+ upsert<T extends projectPhaseLogUpsertArgs>(args: Prisma.SelectSubset<T, projectPhaseLogUpsertArgs<ExtArgs>>): Prisma.Prisma__projectPhaseLogClient<runtime.Types.Result.GetResult<Prisma.$projectPhaseLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1116
+
1117
+
1118
+ /**
1119
+ * Count the number of ProjectPhaseLogs.
1120
+ * Note, that providing `undefined` is treated as the value not being there.
1121
+ * Read more here: https://pris.ly/d/null-undefined
1122
+ * @param {projectPhaseLogCountArgs} args - Arguments to filter ProjectPhaseLogs to count.
1123
+ * @example
1124
+ * // Count the number of ProjectPhaseLogs
1125
+ * const count = await prisma.projectPhaseLog.count({
1126
+ * where: {
1127
+ * // ... the filter for the ProjectPhaseLogs we want to count
1128
+ * }
1129
+ * })
1130
+ **/
1131
+ count<T extends projectPhaseLogCountArgs>(
1132
+ args?: Prisma.Subset<T, projectPhaseLogCountArgs>,
1133
+ ): Prisma.PrismaPromise<
1134
+ T extends runtime.Types.Utils.Record<'select', any>
1135
+ ? T['select'] extends true
1136
+ ? number
1137
+ : Prisma.GetScalarType<T['select'], ProjectPhaseLogCountAggregateOutputType>
1138
+ : number
1139
+ >
1140
+
1141
+ /**
1142
+ * Allows you to perform aggregations operations on a ProjectPhaseLog.
1143
+ * Note, that providing `undefined` is treated as the value not being there.
1144
+ * Read more here: https://pris.ly/d/null-undefined
1145
+ * @param {ProjectPhaseLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1146
+ * @example
1147
+ * // Ordered by age ascending
1148
+ * // Where email contains prisma.io
1149
+ * // Limited to the 10 users
1150
+ * const aggregations = await prisma.user.aggregate({
1151
+ * _avg: {
1152
+ * age: true,
1153
+ * },
1154
+ * where: {
1155
+ * email: {
1156
+ * contains: "prisma.io",
1157
+ * },
1158
+ * },
1159
+ * orderBy: {
1160
+ * age: "asc",
1161
+ * },
1162
+ * take: 10,
1163
+ * })
1164
+ **/
1165
+ aggregate<T extends ProjectPhaseLogAggregateArgs>(args: Prisma.Subset<T, ProjectPhaseLogAggregateArgs>): Prisma.PrismaPromise<GetProjectPhaseLogAggregateType<T>>
1166
+
1167
+ /**
1168
+ * Group by ProjectPhaseLog.
1169
+ * Note, that providing `undefined` is treated as the value not being there.
1170
+ * Read more here: https://pris.ly/d/null-undefined
1171
+ * @param {projectPhaseLogGroupByArgs} args - Group by arguments.
1172
+ * @example
1173
+ * // Group by city, order by createdAt, get count
1174
+ * const result = await prisma.user.groupBy({
1175
+ * by: ['city', 'createdAt'],
1176
+ * orderBy: {
1177
+ * createdAt: true
1178
+ * },
1179
+ * _count: {
1180
+ * _all: true
1181
+ * },
1182
+ * })
1183
+ *
1184
+ **/
1185
+ groupBy<
1186
+ T extends projectPhaseLogGroupByArgs,
1187
+ HasSelectOrTake extends Prisma.Or<
1188
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1189
+ Prisma.Extends<'take', Prisma.Keys<T>>
1190
+ >,
1191
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1192
+ ? { orderBy: projectPhaseLogGroupByArgs['orderBy'] }
1193
+ : { orderBy?: projectPhaseLogGroupByArgs['orderBy'] },
1194
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1195
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1196
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1197
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1198
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1199
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1200
+ InputErrors extends ByEmpty extends Prisma.True
1201
+ ? `Error: "by" must not be empty.`
1202
+ : HavingValid extends Prisma.False
1203
+ ? {
1204
+ [P in HavingFields]: P extends ByFields
1205
+ ? never
1206
+ : P extends string
1207
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1208
+ : [
1209
+ Error,
1210
+ 'Field ',
1211
+ P,
1212
+ ` in "having" needs to be provided in "by"`,
1213
+ ]
1214
+ }[HavingFields]
1215
+ : 'take' extends Prisma.Keys<T>
1216
+ ? 'orderBy' extends Prisma.Keys<T>
1217
+ ? ByValid extends Prisma.True
1218
+ ? {}
1219
+ : {
1220
+ [P in OrderFields]: P extends ByFields
1221
+ ? never
1222
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1223
+ }[OrderFields]
1224
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1225
+ : 'skip' extends Prisma.Keys<T>
1226
+ ? 'orderBy' extends Prisma.Keys<T>
1227
+ ? ByValid extends Prisma.True
1228
+ ? {}
1229
+ : {
1230
+ [P in OrderFields]: P extends ByFields
1231
+ ? never
1232
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1233
+ }[OrderFields]
1234
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1235
+ : ByValid extends Prisma.True
1236
+ ? {}
1237
+ : {
1238
+ [P in OrderFields]: P extends ByFields
1239
+ ? never
1240
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1241
+ }[OrderFields]
1242
+ >(args: Prisma.SubsetIntersection<T, projectPhaseLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectPhaseLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1243
+ /**
1244
+ * Fields of the projectPhaseLog model
1245
+ */
1246
+ readonly fields: projectPhaseLogFieldRefs;
1247
+ }
1248
+
1249
+ /**
1250
+ * The delegate class that acts as a "Promise-like" for projectPhaseLog.
1251
+ * Why is this prefixed with `Prisma__`?
1252
+ * Because we want to prevent naming conflicts as mentioned in
1253
+ * https://github.com/prisma/prisma-client-js/issues/707
1254
+ */
1255
+ export interface Prisma__projectPhaseLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1256
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1257
+ project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1258
+ updatedBy<T extends Prisma.projectPhaseLog$updatedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.projectPhaseLog$updatedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1259
+ /**
1260
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1261
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1262
+ * @param onrejected The callback to execute when the Promise is rejected.
1263
+ * @returns A Promise for the completion of which ever callback is executed.
1264
+ */
1265
+ 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>
1266
+ /**
1267
+ * Attaches a callback for only the rejection of the Promise.
1268
+ * @param onrejected The callback to execute when the Promise is rejected.
1269
+ * @returns A Promise for the completion of the callback.
1270
+ */
1271
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1272
+ /**
1273
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1274
+ * resolved value cannot be modified from the callback.
1275
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1276
+ * @returns A Promise for the completion of the callback.
1277
+ */
1278
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1279
+ }
1280
+
1281
+
1282
+
1283
+
1284
+ /**
1285
+ * Fields of the projectPhaseLog model
1286
+ */
1287
+ export interface projectPhaseLogFieldRefs {
1288
+ readonly id: Prisma.FieldRef<"projectPhaseLog", 'String'>
1289
+ readonly no: Prisma.FieldRef<"projectPhaseLog", 'Int'>
1290
+ readonly projectId: Prisma.FieldRef<"projectPhaseLog", 'String'>
1291
+ readonly phase: Prisma.FieldRef<"projectPhaseLog", 'String'>
1292
+ readonly action: Prisma.FieldRef<"projectPhaseLog", 'String'>
1293
+ readonly comment: Prisma.FieldRef<"projectPhaseLog", 'String'>
1294
+ readonly createdAt: Prisma.FieldRef<"projectPhaseLog", 'DateTime'>
1295
+ readonly updatedAt: Prisma.FieldRef<"projectPhaseLog", 'DateTime'>
1296
+ readonly deletedAt: Prisma.FieldRef<"projectPhaseLog", 'DateTime'>
1297
+ readonly updatedById: Prisma.FieldRef<"projectPhaseLog", 'String'>
1298
+ }
1299
+
1300
+
1301
+ // Custom InputTypes
1302
+ /**
1303
+ * projectPhaseLog findUnique
1304
+ */
1305
+ export type projectPhaseLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1306
+ /**
1307
+ * Select specific fields to fetch from the projectPhaseLog
1308
+ */
1309
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1310
+ /**
1311
+ * Omit specific fields from the projectPhaseLog
1312
+ */
1313
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1314
+ /**
1315
+ * Choose, which related nodes to fetch as well
1316
+ */
1317
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1318
+ /**
1319
+ * Filter, which projectPhaseLog to fetch.
1320
+ */
1321
+ where: Prisma.projectPhaseLogWhereUniqueInput
1322
+ }
1323
+
1324
+ /**
1325
+ * projectPhaseLog findUniqueOrThrow
1326
+ */
1327
+ export type projectPhaseLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
+ /**
1329
+ * Select specific fields to fetch from the projectPhaseLog
1330
+ */
1331
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1332
+ /**
1333
+ * Omit specific fields from the projectPhaseLog
1334
+ */
1335
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1336
+ /**
1337
+ * Choose, which related nodes to fetch as well
1338
+ */
1339
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1340
+ /**
1341
+ * Filter, which projectPhaseLog to fetch.
1342
+ */
1343
+ where: Prisma.projectPhaseLogWhereUniqueInput
1344
+ }
1345
+
1346
+ /**
1347
+ * projectPhaseLog findFirst
1348
+ */
1349
+ export type projectPhaseLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1350
+ /**
1351
+ * Select specific fields to fetch from the projectPhaseLog
1352
+ */
1353
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1354
+ /**
1355
+ * Omit specific fields from the projectPhaseLog
1356
+ */
1357
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1358
+ /**
1359
+ * Choose, which related nodes to fetch as well
1360
+ */
1361
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1362
+ /**
1363
+ * Filter, which projectPhaseLog to fetch.
1364
+ */
1365
+ where?: Prisma.projectPhaseLogWhereInput
1366
+ /**
1367
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1368
+ *
1369
+ * Determine the order of projectPhaseLogs to fetch.
1370
+ */
1371
+ orderBy?: Prisma.projectPhaseLogOrderByWithRelationInput | Prisma.projectPhaseLogOrderByWithRelationInput[]
1372
+ /**
1373
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1374
+ *
1375
+ * Sets the position for searching for projectPhaseLogs.
1376
+ */
1377
+ cursor?: Prisma.projectPhaseLogWhereUniqueInput
1378
+ /**
1379
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1380
+ *
1381
+ * Take `±n` projectPhaseLogs from the position of the cursor.
1382
+ */
1383
+ take?: number
1384
+ /**
1385
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1386
+ *
1387
+ * Skip the first `n` projectPhaseLogs.
1388
+ */
1389
+ skip?: number
1390
+ /**
1391
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1392
+ *
1393
+ * Filter by unique combinations of projectPhaseLogs.
1394
+ */
1395
+ distinct?: Prisma.ProjectPhaseLogScalarFieldEnum | Prisma.ProjectPhaseLogScalarFieldEnum[]
1396
+ }
1397
+
1398
+ /**
1399
+ * projectPhaseLog findFirstOrThrow
1400
+ */
1401
+ export type projectPhaseLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1402
+ /**
1403
+ * Select specific fields to fetch from the projectPhaseLog
1404
+ */
1405
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1406
+ /**
1407
+ * Omit specific fields from the projectPhaseLog
1408
+ */
1409
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1410
+ /**
1411
+ * Choose, which related nodes to fetch as well
1412
+ */
1413
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1414
+ /**
1415
+ * Filter, which projectPhaseLog to fetch.
1416
+ */
1417
+ where?: Prisma.projectPhaseLogWhereInput
1418
+ /**
1419
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1420
+ *
1421
+ * Determine the order of projectPhaseLogs to fetch.
1422
+ */
1423
+ orderBy?: Prisma.projectPhaseLogOrderByWithRelationInput | Prisma.projectPhaseLogOrderByWithRelationInput[]
1424
+ /**
1425
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1426
+ *
1427
+ * Sets the position for searching for projectPhaseLogs.
1428
+ */
1429
+ cursor?: Prisma.projectPhaseLogWhereUniqueInput
1430
+ /**
1431
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1432
+ *
1433
+ * Take `±n` projectPhaseLogs from the position of the cursor.
1434
+ */
1435
+ take?: number
1436
+ /**
1437
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1438
+ *
1439
+ * Skip the first `n` projectPhaseLogs.
1440
+ */
1441
+ skip?: number
1442
+ /**
1443
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1444
+ *
1445
+ * Filter by unique combinations of projectPhaseLogs.
1446
+ */
1447
+ distinct?: Prisma.ProjectPhaseLogScalarFieldEnum | Prisma.ProjectPhaseLogScalarFieldEnum[]
1448
+ }
1449
+
1450
+ /**
1451
+ * projectPhaseLog findMany
1452
+ */
1453
+ export type projectPhaseLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1454
+ /**
1455
+ * Select specific fields to fetch from the projectPhaseLog
1456
+ */
1457
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1458
+ /**
1459
+ * Omit specific fields from the projectPhaseLog
1460
+ */
1461
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1462
+ /**
1463
+ * Choose, which related nodes to fetch as well
1464
+ */
1465
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1466
+ /**
1467
+ * Filter, which projectPhaseLogs to fetch.
1468
+ */
1469
+ where?: Prisma.projectPhaseLogWhereInput
1470
+ /**
1471
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1472
+ *
1473
+ * Determine the order of projectPhaseLogs to fetch.
1474
+ */
1475
+ orderBy?: Prisma.projectPhaseLogOrderByWithRelationInput | Prisma.projectPhaseLogOrderByWithRelationInput[]
1476
+ /**
1477
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1478
+ *
1479
+ * Sets the position for listing projectPhaseLogs.
1480
+ */
1481
+ cursor?: Prisma.projectPhaseLogWhereUniqueInput
1482
+ /**
1483
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1484
+ *
1485
+ * Take `±n` projectPhaseLogs from the position of the cursor.
1486
+ */
1487
+ take?: number
1488
+ /**
1489
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1490
+ *
1491
+ * Skip the first `n` projectPhaseLogs.
1492
+ */
1493
+ skip?: number
1494
+ distinct?: Prisma.ProjectPhaseLogScalarFieldEnum | Prisma.ProjectPhaseLogScalarFieldEnum[]
1495
+ }
1496
+
1497
+ /**
1498
+ * projectPhaseLog create
1499
+ */
1500
+ export type projectPhaseLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1501
+ /**
1502
+ * Select specific fields to fetch from the projectPhaseLog
1503
+ */
1504
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1505
+ /**
1506
+ * Omit specific fields from the projectPhaseLog
1507
+ */
1508
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1509
+ /**
1510
+ * Choose, which related nodes to fetch as well
1511
+ */
1512
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1513
+ /**
1514
+ * The data needed to create a projectPhaseLog.
1515
+ */
1516
+ data: Prisma.XOR<Prisma.projectPhaseLogCreateInput, Prisma.projectPhaseLogUncheckedCreateInput>
1517
+ }
1518
+
1519
+ /**
1520
+ * projectPhaseLog createMany
1521
+ */
1522
+ export type projectPhaseLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1523
+ /**
1524
+ * The data used to create many projectPhaseLogs.
1525
+ */
1526
+ data: Prisma.projectPhaseLogCreateManyInput | Prisma.projectPhaseLogCreateManyInput[]
1527
+ skipDuplicates?: boolean
1528
+ }
1529
+
1530
+ /**
1531
+ * projectPhaseLog createManyAndReturn
1532
+ */
1533
+ export type projectPhaseLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1534
+ /**
1535
+ * Select specific fields to fetch from the projectPhaseLog
1536
+ */
1537
+ select?: Prisma.projectPhaseLogSelectCreateManyAndReturn<ExtArgs> | null
1538
+ /**
1539
+ * Omit specific fields from the projectPhaseLog
1540
+ */
1541
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1542
+ /**
1543
+ * The data used to create many projectPhaseLogs.
1544
+ */
1545
+ data: Prisma.projectPhaseLogCreateManyInput | Prisma.projectPhaseLogCreateManyInput[]
1546
+ skipDuplicates?: boolean
1547
+ /**
1548
+ * Choose, which related nodes to fetch as well
1549
+ */
1550
+ include?: Prisma.projectPhaseLogIncludeCreateManyAndReturn<ExtArgs> | null
1551
+ }
1552
+
1553
+ /**
1554
+ * projectPhaseLog update
1555
+ */
1556
+ export type projectPhaseLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1557
+ /**
1558
+ * Select specific fields to fetch from the projectPhaseLog
1559
+ */
1560
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1561
+ /**
1562
+ * Omit specific fields from the projectPhaseLog
1563
+ */
1564
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1565
+ /**
1566
+ * Choose, which related nodes to fetch as well
1567
+ */
1568
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1569
+ /**
1570
+ * The data needed to update a projectPhaseLog.
1571
+ */
1572
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateInput, Prisma.projectPhaseLogUncheckedUpdateInput>
1573
+ /**
1574
+ * Choose, which projectPhaseLog to update.
1575
+ */
1576
+ where: Prisma.projectPhaseLogWhereUniqueInput
1577
+ }
1578
+
1579
+ /**
1580
+ * projectPhaseLog updateMany
1581
+ */
1582
+ export type projectPhaseLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1583
+ /**
1584
+ * The data used to update projectPhaseLogs.
1585
+ */
1586
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateManyMutationInput, Prisma.projectPhaseLogUncheckedUpdateManyInput>
1587
+ /**
1588
+ * Filter which projectPhaseLogs to update
1589
+ */
1590
+ where?: Prisma.projectPhaseLogWhereInput
1591
+ /**
1592
+ * Limit how many projectPhaseLogs to update.
1593
+ */
1594
+ limit?: number
1595
+ }
1596
+
1597
+ /**
1598
+ * projectPhaseLog updateManyAndReturn
1599
+ */
1600
+ export type projectPhaseLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1601
+ /**
1602
+ * Select specific fields to fetch from the projectPhaseLog
1603
+ */
1604
+ select?: Prisma.projectPhaseLogSelectUpdateManyAndReturn<ExtArgs> | null
1605
+ /**
1606
+ * Omit specific fields from the projectPhaseLog
1607
+ */
1608
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1609
+ /**
1610
+ * The data used to update projectPhaseLogs.
1611
+ */
1612
+ data: Prisma.XOR<Prisma.projectPhaseLogUpdateManyMutationInput, Prisma.projectPhaseLogUncheckedUpdateManyInput>
1613
+ /**
1614
+ * Filter which projectPhaseLogs to update
1615
+ */
1616
+ where?: Prisma.projectPhaseLogWhereInput
1617
+ /**
1618
+ * Limit how many projectPhaseLogs to update.
1619
+ */
1620
+ limit?: number
1621
+ /**
1622
+ * Choose, which related nodes to fetch as well
1623
+ */
1624
+ include?: Prisma.projectPhaseLogIncludeUpdateManyAndReturn<ExtArgs> | null
1625
+ }
1626
+
1627
+ /**
1628
+ * projectPhaseLog upsert
1629
+ */
1630
+ export type projectPhaseLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1631
+ /**
1632
+ * Select specific fields to fetch from the projectPhaseLog
1633
+ */
1634
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1635
+ /**
1636
+ * Omit specific fields from the projectPhaseLog
1637
+ */
1638
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1639
+ /**
1640
+ * Choose, which related nodes to fetch as well
1641
+ */
1642
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1643
+ /**
1644
+ * The filter to search for the projectPhaseLog to update in case it exists.
1645
+ */
1646
+ where: Prisma.projectPhaseLogWhereUniqueInput
1647
+ /**
1648
+ * In case the projectPhaseLog found by the `where` argument doesn't exist, create a new projectPhaseLog with this data.
1649
+ */
1650
+ create: Prisma.XOR<Prisma.projectPhaseLogCreateInput, Prisma.projectPhaseLogUncheckedCreateInput>
1651
+ /**
1652
+ * In case the projectPhaseLog was found with the provided `where` argument, update it with this data.
1653
+ */
1654
+ update: Prisma.XOR<Prisma.projectPhaseLogUpdateInput, Prisma.projectPhaseLogUncheckedUpdateInput>
1655
+ }
1656
+
1657
+ /**
1658
+ * projectPhaseLog delete
1659
+ */
1660
+ export type projectPhaseLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1661
+ /**
1662
+ * Select specific fields to fetch from the projectPhaseLog
1663
+ */
1664
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1665
+ /**
1666
+ * Omit specific fields from the projectPhaseLog
1667
+ */
1668
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1669
+ /**
1670
+ * Choose, which related nodes to fetch as well
1671
+ */
1672
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1673
+ /**
1674
+ * Filter which projectPhaseLog to delete.
1675
+ */
1676
+ where: Prisma.projectPhaseLogWhereUniqueInput
1677
+ }
1678
+
1679
+ /**
1680
+ * projectPhaseLog deleteMany
1681
+ */
1682
+ export type projectPhaseLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1683
+ /**
1684
+ * Filter which projectPhaseLogs to delete
1685
+ */
1686
+ where?: Prisma.projectPhaseLogWhereInput
1687
+ /**
1688
+ * Limit how many projectPhaseLogs to delete.
1689
+ */
1690
+ limit?: number
1691
+ }
1692
+
1693
+ /**
1694
+ * projectPhaseLog.updatedBy
1695
+ */
1696
+ export type projectPhaseLog$updatedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1697
+ /**
1698
+ * Select specific fields to fetch from the User
1699
+ */
1700
+ select?: Prisma.UserSelect<ExtArgs> | null
1701
+ /**
1702
+ * Omit specific fields from the User
1703
+ */
1704
+ omit?: Prisma.UserOmit<ExtArgs> | null
1705
+ /**
1706
+ * Choose, which related nodes to fetch as well
1707
+ */
1708
+ include?: Prisma.UserInclude<ExtArgs> | null
1709
+ where?: Prisma.UserWhereInput
1710
+ }
1711
+
1712
+ /**
1713
+ * projectPhaseLog without action
1714
+ */
1715
+ export type projectPhaseLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1716
+ /**
1717
+ * Select specific fields to fetch from the projectPhaseLog
1718
+ */
1719
+ select?: Prisma.projectPhaseLogSelect<ExtArgs> | null
1720
+ /**
1721
+ * Omit specific fields from the projectPhaseLog
1722
+ */
1723
+ omit?: Prisma.projectPhaseLogOmit<ExtArgs> | null
1724
+ /**
1725
+ * Choose, which related nodes to fetch as well
1726
+ */
1727
+ include?: Prisma.projectPhaseLogInclude<ExtArgs> | null
1728
+ }