@allbluecn/database 0.4.0 → 0.4.1

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 (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,1578 @@
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 `ProjectActivity` 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"
13
+ import type * as Prisma from "../internal/prismaNamespace"
14
+
15
+ /**
16
+ * Model ProjectActivity
17
+ *
18
+ */
19
+ export type ProjectActivityModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectActivityPayload>
20
+
21
+ export type AggregateProjectActivity = {
22
+ _count: ProjectActivityCountAggregateOutputType | null
23
+ _min: ProjectActivityMinAggregateOutputType | null
24
+ _max: ProjectActivityMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type ProjectActivityMinAggregateOutputType = {
28
+ id: string | null
29
+ projectId: string | null
30
+ userId: string | null
31
+ action: string | null
32
+ targetType: string | null
33
+ targetId: string | null
34
+ createdAt: Date | null
35
+ }
36
+
37
+ export type ProjectActivityMaxAggregateOutputType = {
38
+ id: string | null
39
+ projectId: string | null
40
+ userId: string | null
41
+ action: string | null
42
+ targetType: string | null
43
+ targetId: string | null
44
+ createdAt: Date | null
45
+ }
46
+
47
+ export type ProjectActivityCountAggregateOutputType = {
48
+ id: number
49
+ projectId: number
50
+ userId: number
51
+ action: number
52
+ targetType: number
53
+ targetId: number
54
+ metadata: number
55
+ createdAt: number
56
+ _all: number
57
+ }
58
+
59
+
60
+ export type ProjectActivityMinAggregateInputType = {
61
+ id?: true
62
+ projectId?: true
63
+ userId?: true
64
+ action?: true
65
+ targetType?: true
66
+ targetId?: true
67
+ createdAt?: true
68
+ }
69
+
70
+ export type ProjectActivityMaxAggregateInputType = {
71
+ id?: true
72
+ projectId?: true
73
+ userId?: true
74
+ action?: true
75
+ targetType?: true
76
+ targetId?: true
77
+ createdAt?: true
78
+ }
79
+
80
+ export type ProjectActivityCountAggregateInputType = {
81
+ id?: true
82
+ projectId?: true
83
+ userId?: true
84
+ action?: true
85
+ targetType?: true
86
+ targetId?: true
87
+ metadata?: true
88
+ createdAt?: true
89
+ _all?: true
90
+ }
91
+
92
+ export type ProjectActivityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
93
+ /**
94
+ * Filter which ProjectActivity to aggregate.
95
+ */
96
+ where?: Prisma.ProjectActivityWhereInput
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
99
+ *
100
+ * Determine the order of ProjectActivities to fetch.
101
+ */
102
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105
+ *
106
+ * Sets the start position
107
+ */
108
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
111
+ *
112
+ * Take `±n` ProjectActivities from the position of the cursor.
113
+ */
114
+ take?: number
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
117
+ *
118
+ * Skip the first `n` ProjectActivities.
119
+ */
120
+ skip?: number
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
123
+ *
124
+ * Count returned ProjectActivities
125
+ **/
126
+ _count?: true | ProjectActivityCountAggregateInputType
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Select which fields to find the minimum value
131
+ **/
132
+ _min?: ProjectActivityMinAggregateInputType
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
+ *
136
+ * Select which fields to find the maximum value
137
+ **/
138
+ _max?: ProjectActivityMaxAggregateInputType
139
+ }
140
+
141
+ export type GetProjectActivityAggregateType<T extends ProjectActivityAggregateArgs> = {
142
+ [P in keyof T & keyof AggregateProjectActivity]: P extends '_count' | 'count'
143
+ ? T[P] extends true
144
+ ? number
145
+ : Prisma.GetScalarType<T[P], AggregateProjectActivity[P]>
146
+ : Prisma.GetScalarType<T[P], AggregateProjectActivity[P]>
147
+ }
148
+
149
+
150
+
151
+
152
+ export type ProjectActivityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
+ where?: Prisma.ProjectActivityWhereInput
154
+ orderBy?: Prisma.ProjectActivityOrderByWithAggregationInput | Prisma.ProjectActivityOrderByWithAggregationInput[]
155
+ by: Prisma.ProjectActivityScalarFieldEnum[] | Prisma.ProjectActivityScalarFieldEnum
156
+ having?: Prisma.ProjectActivityScalarWhereWithAggregatesInput
157
+ take?: number
158
+ skip?: number
159
+ _count?: ProjectActivityCountAggregateInputType | true
160
+ _min?: ProjectActivityMinAggregateInputType
161
+ _max?: ProjectActivityMaxAggregateInputType
162
+ }
163
+
164
+ export type ProjectActivityGroupByOutputType = {
165
+ id: string
166
+ projectId: string
167
+ userId: string
168
+ action: string
169
+ targetType: string | null
170
+ targetId: string | null
171
+ metadata: runtime.JsonValue | null
172
+ createdAt: Date
173
+ _count: ProjectActivityCountAggregateOutputType | null
174
+ _min: ProjectActivityMinAggregateOutputType | null
175
+ _max: ProjectActivityMaxAggregateOutputType | null
176
+ }
177
+
178
+ export type GetProjectActivityGroupByPayload<T extends ProjectActivityGroupByArgs> = Prisma.PrismaPromise<
179
+ Array<
180
+ Prisma.PickEnumerable<ProjectActivityGroupByOutputType, T['by']> &
181
+ {
182
+ [P in ((keyof T) & (keyof ProjectActivityGroupByOutputType))]: P extends '_count'
183
+ ? T[P] extends boolean
184
+ ? number
185
+ : Prisma.GetScalarType<T[P], ProjectActivityGroupByOutputType[P]>
186
+ : Prisma.GetScalarType<T[P], ProjectActivityGroupByOutputType[P]>
187
+ }
188
+ >
189
+ >
190
+
191
+
192
+
193
+ export type ProjectActivityWhereInput = {
194
+ AND?: Prisma.ProjectActivityWhereInput | Prisma.ProjectActivityWhereInput[]
195
+ OR?: Prisma.ProjectActivityWhereInput[]
196
+ NOT?: Prisma.ProjectActivityWhereInput | Prisma.ProjectActivityWhereInput[]
197
+ id?: Prisma.StringFilter<"ProjectActivity"> | string
198
+ projectId?: Prisma.StringFilter<"ProjectActivity"> | string
199
+ userId?: Prisma.StringFilter<"ProjectActivity"> | string
200
+ action?: Prisma.StringFilter<"ProjectActivity"> | string
201
+ targetType?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
202
+ targetId?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
203
+ metadata?: Prisma.JsonNullableFilter<"ProjectActivity">
204
+ createdAt?: Prisma.DateTimeFilter<"ProjectActivity"> | Date | string
205
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
206
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
207
+ }
208
+
209
+ export type ProjectActivityOrderByWithRelationInput = {
210
+ id?: Prisma.SortOrder
211
+ projectId?: Prisma.SortOrder
212
+ userId?: Prisma.SortOrder
213
+ action?: Prisma.SortOrder
214
+ targetType?: Prisma.SortOrderInput | Prisma.SortOrder
215
+ targetId?: Prisma.SortOrderInput | Prisma.SortOrder
216
+ metadata?: Prisma.SortOrderInput | Prisma.SortOrder
217
+ createdAt?: Prisma.SortOrder
218
+ project?: Prisma.ProjectOrderByWithRelationInput
219
+ user?: Prisma.UserOrderByWithRelationInput
220
+ }
221
+
222
+ export type ProjectActivityWhereUniqueInput = Prisma.AtLeast<{
223
+ id?: string
224
+ AND?: Prisma.ProjectActivityWhereInput | Prisma.ProjectActivityWhereInput[]
225
+ OR?: Prisma.ProjectActivityWhereInput[]
226
+ NOT?: Prisma.ProjectActivityWhereInput | Prisma.ProjectActivityWhereInput[]
227
+ projectId?: Prisma.StringFilter<"ProjectActivity"> | string
228
+ userId?: Prisma.StringFilter<"ProjectActivity"> | string
229
+ action?: Prisma.StringFilter<"ProjectActivity"> | string
230
+ targetType?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
231
+ targetId?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
232
+ metadata?: Prisma.JsonNullableFilter<"ProjectActivity">
233
+ createdAt?: Prisma.DateTimeFilter<"ProjectActivity"> | Date | string
234
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
235
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
236
+ }, "id">
237
+
238
+ export type ProjectActivityOrderByWithAggregationInput = {
239
+ id?: Prisma.SortOrder
240
+ projectId?: Prisma.SortOrder
241
+ userId?: Prisma.SortOrder
242
+ action?: Prisma.SortOrder
243
+ targetType?: Prisma.SortOrderInput | Prisma.SortOrder
244
+ targetId?: Prisma.SortOrderInput | Prisma.SortOrder
245
+ metadata?: Prisma.SortOrderInput | Prisma.SortOrder
246
+ createdAt?: Prisma.SortOrder
247
+ _count?: Prisma.ProjectActivityCountOrderByAggregateInput
248
+ _max?: Prisma.ProjectActivityMaxOrderByAggregateInput
249
+ _min?: Prisma.ProjectActivityMinOrderByAggregateInput
250
+ }
251
+
252
+ export type ProjectActivityScalarWhereWithAggregatesInput = {
253
+ AND?: Prisma.ProjectActivityScalarWhereWithAggregatesInput | Prisma.ProjectActivityScalarWhereWithAggregatesInput[]
254
+ OR?: Prisma.ProjectActivityScalarWhereWithAggregatesInput[]
255
+ NOT?: Prisma.ProjectActivityScalarWhereWithAggregatesInput | Prisma.ProjectActivityScalarWhereWithAggregatesInput[]
256
+ id?: Prisma.StringWithAggregatesFilter<"ProjectActivity"> | string
257
+ projectId?: Prisma.StringWithAggregatesFilter<"ProjectActivity"> | string
258
+ userId?: Prisma.StringWithAggregatesFilter<"ProjectActivity"> | string
259
+ action?: Prisma.StringWithAggregatesFilter<"ProjectActivity"> | string
260
+ targetType?: Prisma.StringNullableWithAggregatesFilter<"ProjectActivity"> | string | null
261
+ targetId?: Prisma.StringNullableWithAggregatesFilter<"ProjectActivity"> | string | null
262
+ metadata?: Prisma.JsonNullableWithAggregatesFilter<"ProjectActivity">
263
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjectActivity"> | Date | string
264
+ }
265
+
266
+ export type ProjectActivityCreateInput = {
267
+ id?: string
268
+ action: string
269
+ targetType?: string | null
270
+ targetId?: string | null
271
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
272
+ createdAt?: Date | string
273
+ project: Prisma.ProjectCreateNestedOneWithoutActivitiesInput
274
+ user: Prisma.UserCreateNestedOneWithoutProjectActivitiesInput
275
+ }
276
+
277
+ export type ProjectActivityUncheckedCreateInput = {
278
+ id?: string
279
+ projectId: string
280
+ userId: string
281
+ action: string
282
+ targetType?: string | null
283
+ targetId?: string | null
284
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
285
+ createdAt?: Date | string
286
+ }
287
+
288
+ export type ProjectActivityUpdateInput = {
289
+ id?: Prisma.StringFieldUpdateOperationsInput | string
290
+ action?: Prisma.StringFieldUpdateOperationsInput | string
291
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
292
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
293
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
294
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
295
+ project?: Prisma.ProjectUpdateOneRequiredWithoutActivitiesNestedInput
296
+ user?: Prisma.UserUpdateOneRequiredWithoutProjectActivitiesNestedInput
297
+ }
298
+
299
+ export type ProjectActivityUncheckedUpdateInput = {
300
+ id?: Prisma.StringFieldUpdateOperationsInput | string
301
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
302
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
303
+ action?: Prisma.StringFieldUpdateOperationsInput | string
304
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
305
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
306
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
307
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
308
+ }
309
+
310
+ export type ProjectActivityCreateManyInput = {
311
+ id?: string
312
+ projectId: string
313
+ userId: string
314
+ action: string
315
+ targetType?: string | null
316
+ targetId?: string | null
317
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
318
+ createdAt?: Date | string
319
+ }
320
+
321
+ export type ProjectActivityUpdateManyMutationInput = {
322
+ id?: Prisma.StringFieldUpdateOperationsInput | string
323
+ action?: Prisma.StringFieldUpdateOperationsInput | string
324
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
325
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
326
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
327
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
328
+ }
329
+
330
+ export type ProjectActivityUncheckedUpdateManyInput = {
331
+ id?: Prisma.StringFieldUpdateOperationsInput | string
332
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
333
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
334
+ action?: Prisma.StringFieldUpdateOperationsInput | string
335
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
336
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
337
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
338
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
339
+ }
340
+
341
+ export type ProjectActivityListRelationFilter = {
342
+ every?: Prisma.ProjectActivityWhereInput
343
+ some?: Prisma.ProjectActivityWhereInput
344
+ none?: Prisma.ProjectActivityWhereInput
345
+ }
346
+
347
+ export type ProjectActivityOrderByRelationAggregateInput = {
348
+ _count?: Prisma.SortOrder
349
+ }
350
+
351
+ export type ProjectActivityCountOrderByAggregateInput = {
352
+ id?: Prisma.SortOrder
353
+ projectId?: Prisma.SortOrder
354
+ userId?: Prisma.SortOrder
355
+ action?: Prisma.SortOrder
356
+ targetType?: Prisma.SortOrder
357
+ targetId?: Prisma.SortOrder
358
+ metadata?: Prisma.SortOrder
359
+ createdAt?: Prisma.SortOrder
360
+ }
361
+
362
+ export type ProjectActivityMaxOrderByAggregateInput = {
363
+ id?: Prisma.SortOrder
364
+ projectId?: Prisma.SortOrder
365
+ userId?: Prisma.SortOrder
366
+ action?: Prisma.SortOrder
367
+ targetType?: Prisma.SortOrder
368
+ targetId?: Prisma.SortOrder
369
+ createdAt?: Prisma.SortOrder
370
+ }
371
+
372
+ export type ProjectActivityMinOrderByAggregateInput = {
373
+ id?: Prisma.SortOrder
374
+ projectId?: Prisma.SortOrder
375
+ userId?: Prisma.SortOrder
376
+ action?: Prisma.SortOrder
377
+ targetType?: Prisma.SortOrder
378
+ targetId?: Prisma.SortOrder
379
+ createdAt?: Prisma.SortOrder
380
+ }
381
+
382
+ export type ProjectActivityCreateNestedManyWithoutUserInput = {
383
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput> | Prisma.ProjectActivityCreateWithoutUserInput[] | Prisma.ProjectActivityUncheckedCreateWithoutUserInput[]
384
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutUserInput | Prisma.ProjectActivityCreateOrConnectWithoutUserInput[]
385
+ createMany?: Prisma.ProjectActivityCreateManyUserInputEnvelope
386
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
387
+ }
388
+
389
+ export type ProjectActivityUncheckedCreateNestedManyWithoutUserInput = {
390
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput> | Prisma.ProjectActivityCreateWithoutUserInput[] | Prisma.ProjectActivityUncheckedCreateWithoutUserInput[]
391
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutUserInput | Prisma.ProjectActivityCreateOrConnectWithoutUserInput[]
392
+ createMany?: Prisma.ProjectActivityCreateManyUserInputEnvelope
393
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
394
+ }
395
+
396
+ export type ProjectActivityUpdateManyWithoutUserNestedInput = {
397
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput> | Prisma.ProjectActivityCreateWithoutUserInput[] | Prisma.ProjectActivityUncheckedCreateWithoutUserInput[]
398
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutUserInput | Prisma.ProjectActivityCreateOrConnectWithoutUserInput[]
399
+ upsert?: Prisma.ProjectActivityUpsertWithWhereUniqueWithoutUserInput | Prisma.ProjectActivityUpsertWithWhereUniqueWithoutUserInput[]
400
+ createMany?: Prisma.ProjectActivityCreateManyUserInputEnvelope
401
+ set?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
402
+ disconnect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
403
+ delete?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
404
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
405
+ update?: Prisma.ProjectActivityUpdateWithWhereUniqueWithoutUserInput | Prisma.ProjectActivityUpdateWithWhereUniqueWithoutUserInput[]
406
+ updateMany?: Prisma.ProjectActivityUpdateManyWithWhereWithoutUserInput | Prisma.ProjectActivityUpdateManyWithWhereWithoutUserInput[]
407
+ deleteMany?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
408
+ }
409
+
410
+ export type ProjectActivityUncheckedUpdateManyWithoutUserNestedInput = {
411
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput> | Prisma.ProjectActivityCreateWithoutUserInput[] | Prisma.ProjectActivityUncheckedCreateWithoutUserInput[]
412
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutUserInput | Prisma.ProjectActivityCreateOrConnectWithoutUserInput[]
413
+ upsert?: Prisma.ProjectActivityUpsertWithWhereUniqueWithoutUserInput | Prisma.ProjectActivityUpsertWithWhereUniqueWithoutUserInput[]
414
+ createMany?: Prisma.ProjectActivityCreateManyUserInputEnvelope
415
+ set?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
416
+ disconnect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
417
+ delete?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
418
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
419
+ update?: Prisma.ProjectActivityUpdateWithWhereUniqueWithoutUserInput | Prisma.ProjectActivityUpdateWithWhereUniqueWithoutUserInput[]
420
+ updateMany?: Prisma.ProjectActivityUpdateManyWithWhereWithoutUserInput | Prisma.ProjectActivityUpdateManyWithWhereWithoutUserInput[]
421
+ deleteMany?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
422
+ }
423
+
424
+ export type ProjectActivityCreateNestedManyWithoutProjectInput = {
425
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput> | Prisma.ProjectActivityCreateWithoutProjectInput[] | Prisma.ProjectActivityUncheckedCreateWithoutProjectInput[]
426
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutProjectInput | Prisma.ProjectActivityCreateOrConnectWithoutProjectInput[]
427
+ createMany?: Prisma.ProjectActivityCreateManyProjectInputEnvelope
428
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
429
+ }
430
+
431
+ export type ProjectActivityUncheckedCreateNestedManyWithoutProjectInput = {
432
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput> | Prisma.ProjectActivityCreateWithoutProjectInput[] | Prisma.ProjectActivityUncheckedCreateWithoutProjectInput[]
433
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutProjectInput | Prisma.ProjectActivityCreateOrConnectWithoutProjectInput[]
434
+ createMany?: Prisma.ProjectActivityCreateManyProjectInputEnvelope
435
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
436
+ }
437
+
438
+ export type ProjectActivityUpdateManyWithoutProjectNestedInput = {
439
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput> | Prisma.ProjectActivityCreateWithoutProjectInput[] | Prisma.ProjectActivityUncheckedCreateWithoutProjectInput[]
440
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutProjectInput | Prisma.ProjectActivityCreateOrConnectWithoutProjectInput[]
441
+ upsert?: Prisma.ProjectActivityUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectActivityUpsertWithWhereUniqueWithoutProjectInput[]
442
+ createMany?: Prisma.ProjectActivityCreateManyProjectInputEnvelope
443
+ set?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
444
+ disconnect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
445
+ delete?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
446
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
447
+ update?: Prisma.ProjectActivityUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectActivityUpdateWithWhereUniqueWithoutProjectInput[]
448
+ updateMany?: Prisma.ProjectActivityUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectActivityUpdateManyWithWhereWithoutProjectInput[]
449
+ deleteMany?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
450
+ }
451
+
452
+ export type ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput = {
453
+ create?: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput> | Prisma.ProjectActivityCreateWithoutProjectInput[] | Prisma.ProjectActivityUncheckedCreateWithoutProjectInput[]
454
+ connectOrCreate?: Prisma.ProjectActivityCreateOrConnectWithoutProjectInput | Prisma.ProjectActivityCreateOrConnectWithoutProjectInput[]
455
+ upsert?: Prisma.ProjectActivityUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectActivityUpsertWithWhereUniqueWithoutProjectInput[]
456
+ createMany?: Prisma.ProjectActivityCreateManyProjectInputEnvelope
457
+ set?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
458
+ disconnect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
459
+ delete?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
460
+ connect?: Prisma.ProjectActivityWhereUniqueInput | Prisma.ProjectActivityWhereUniqueInput[]
461
+ update?: Prisma.ProjectActivityUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectActivityUpdateWithWhereUniqueWithoutProjectInput[]
462
+ updateMany?: Prisma.ProjectActivityUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectActivityUpdateManyWithWhereWithoutProjectInput[]
463
+ deleteMany?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
464
+ }
465
+
466
+ export type ProjectActivityCreateWithoutUserInput = {
467
+ id?: string
468
+ action: string
469
+ targetType?: string | null
470
+ targetId?: string | null
471
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
472
+ createdAt?: Date | string
473
+ project: Prisma.ProjectCreateNestedOneWithoutActivitiesInput
474
+ }
475
+
476
+ export type ProjectActivityUncheckedCreateWithoutUserInput = {
477
+ id?: string
478
+ projectId: string
479
+ action: string
480
+ targetType?: string | null
481
+ targetId?: string | null
482
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
483
+ createdAt?: Date | string
484
+ }
485
+
486
+ export type ProjectActivityCreateOrConnectWithoutUserInput = {
487
+ where: Prisma.ProjectActivityWhereUniqueInput
488
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput>
489
+ }
490
+
491
+ export type ProjectActivityCreateManyUserInputEnvelope = {
492
+ data: Prisma.ProjectActivityCreateManyUserInput | Prisma.ProjectActivityCreateManyUserInput[]
493
+ }
494
+
495
+ export type ProjectActivityUpsertWithWhereUniqueWithoutUserInput = {
496
+ where: Prisma.ProjectActivityWhereUniqueInput
497
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutUserInput, Prisma.ProjectActivityUncheckedUpdateWithoutUserInput>
498
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput>
499
+ }
500
+
501
+ export type ProjectActivityUpdateWithWhereUniqueWithoutUserInput = {
502
+ where: Prisma.ProjectActivityWhereUniqueInput
503
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutUserInput, Prisma.ProjectActivityUncheckedUpdateWithoutUserInput>
504
+ }
505
+
506
+ export type ProjectActivityUpdateManyWithWhereWithoutUserInput = {
507
+ where: Prisma.ProjectActivityScalarWhereInput
508
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyWithoutUserInput>
509
+ }
510
+
511
+ export type ProjectActivityScalarWhereInput = {
512
+ AND?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
513
+ OR?: Prisma.ProjectActivityScalarWhereInput[]
514
+ NOT?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
515
+ id?: Prisma.StringFilter<"ProjectActivity"> | string
516
+ projectId?: Prisma.StringFilter<"ProjectActivity"> | string
517
+ userId?: Prisma.StringFilter<"ProjectActivity"> | string
518
+ action?: Prisma.StringFilter<"ProjectActivity"> | string
519
+ targetType?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
520
+ targetId?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
521
+ metadata?: Prisma.JsonNullableFilter<"ProjectActivity">
522
+ createdAt?: Prisma.DateTimeFilter<"ProjectActivity"> | Date | string
523
+ }
524
+
525
+ export type ProjectActivityCreateWithoutProjectInput = {
526
+ id?: string
527
+ action: string
528
+ targetType?: string | null
529
+ targetId?: string | null
530
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
531
+ createdAt?: Date | string
532
+ user: Prisma.UserCreateNestedOneWithoutProjectActivitiesInput
533
+ }
534
+
535
+ export type ProjectActivityUncheckedCreateWithoutProjectInput = {
536
+ id?: string
537
+ userId: string
538
+ action: string
539
+ targetType?: string | null
540
+ targetId?: string | null
541
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
542
+ createdAt?: Date | string
543
+ }
544
+
545
+ export type ProjectActivityCreateOrConnectWithoutProjectInput = {
546
+ where: Prisma.ProjectActivityWhereUniqueInput
547
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput>
548
+ }
549
+
550
+ export type ProjectActivityCreateManyProjectInputEnvelope = {
551
+ data: Prisma.ProjectActivityCreateManyProjectInput | Prisma.ProjectActivityCreateManyProjectInput[]
552
+ }
553
+
554
+ export type ProjectActivityUpsertWithWhereUniqueWithoutProjectInput = {
555
+ where: Prisma.ProjectActivityWhereUniqueInput
556
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutProjectInput, Prisma.ProjectActivityUncheckedUpdateWithoutProjectInput>
557
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput>
558
+ }
559
+
560
+ export type ProjectActivityUpdateWithWhereUniqueWithoutProjectInput = {
561
+ where: Prisma.ProjectActivityWhereUniqueInput
562
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutProjectInput, Prisma.ProjectActivityUncheckedUpdateWithoutProjectInput>
563
+ }
564
+
565
+ export type ProjectActivityUpdateManyWithWhereWithoutProjectInput = {
566
+ where: Prisma.ProjectActivityScalarWhereInput
567
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectInput>
568
+ }
569
+
570
+ export type ProjectActivityCreateManyUserInput = {
571
+ id?: string
572
+ projectId: string
573
+ action: string
574
+ targetType?: string | null
575
+ targetId?: string | null
576
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
577
+ createdAt?: Date | string
578
+ }
579
+
580
+ export type ProjectActivityUpdateWithoutUserInput = {
581
+ id?: Prisma.StringFieldUpdateOperationsInput | string
582
+ action?: Prisma.StringFieldUpdateOperationsInput | string
583
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
584
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
585
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
586
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
587
+ project?: Prisma.ProjectUpdateOneRequiredWithoutActivitiesNestedInput
588
+ }
589
+
590
+ export type ProjectActivityUncheckedUpdateWithoutUserInput = {
591
+ id?: Prisma.StringFieldUpdateOperationsInput | string
592
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
593
+ action?: Prisma.StringFieldUpdateOperationsInput | string
594
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
595
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
596
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
597
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
598
+ }
599
+
600
+ export type ProjectActivityUncheckedUpdateManyWithoutUserInput = {
601
+ id?: Prisma.StringFieldUpdateOperationsInput | string
602
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
603
+ action?: Prisma.StringFieldUpdateOperationsInput | string
604
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
605
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
606
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
607
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
608
+ }
609
+
610
+ export type ProjectActivityCreateManyProjectInput = {
611
+ id?: string
612
+ userId: string
613
+ action: string
614
+ targetType?: string | null
615
+ targetId?: string | null
616
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
617
+ createdAt?: Date | string
618
+ }
619
+
620
+ export type ProjectActivityUpdateWithoutProjectInput = {
621
+ id?: Prisma.StringFieldUpdateOperationsInput | string
622
+ action?: Prisma.StringFieldUpdateOperationsInput | string
623
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
624
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
625
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
626
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
627
+ user?: Prisma.UserUpdateOneRequiredWithoutProjectActivitiesNestedInput
628
+ }
629
+
630
+ export type ProjectActivityUncheckedUpdateWithoutProjectInput = {
631
+ id?: Prisma.StringFieldUpdateOperationsInput | string
632
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
633
+ action?: Prisma.StringFieldUpdateOperationsInput | string
634
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
635
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
636
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
637
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
638
+ }
639
+
640
+ export type ProjectActivityUncheckedUpdateManyWithoutProjectInput = {
641
+ id?: Prisma.StringFieldUpdateOperationsInput | string
642
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
643
+ action?: Prisma.StringFieldUpdateOperationsInput | string
644
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
645
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
646
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
647
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
648
+ }
649
+
650
+
651
+
652
+ export type ProjectActivitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
653
+ id?: boolean
654
+ projectId?: boolean
655
+ userId?: boolean
656
+ action?: boolean
657
+ targetType?: boolean
658
+ targetId?: boolean
659
+ metadata?: boolean
660
+ createdAt?: boolean
661
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
662
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
663
+ }, ExtArgs["result"]["projectActivity"]>
664
+
665
+ export type ProjectActivitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
666
+ id?: boolean
667
+ projectId?: boolean
668
+ userId?: boolean
669
+ action?: boolean
670
+ targetType?: boolean
671
+ targetId?: boolean
672
+ metadata?: boolean
673
+ createdAt?: boolean
674
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
675
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
676
+ }, ExtArgs["result"]["projectActivity"]>
677
+
678
+ export type ProjectActivitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
679
+ id?: boolean
680
+ projectId?: boolean
681
+ userId?: boolean
682
+ action?: boolean
683
+ targetType?: boolean
684
+ targetId?: boolean
685
+ metadata?: boolean
686
+ createdAt?: boolean
687
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
688
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
689
+ }, ExtArgs["result"]["projectActivity"]>
690
+
691
+ export type ProjectActivitySelectScalar = {
692
+ id?: boolean
693
+ projectId?: boolean
694
+ userId?: boolean
695
+ action?: boolean
696
+ targetType?: boolean
697
+ targetId?: boolean
698
+ metadata?: boolean
699
+ createdAt?: boolean
700
+ }
701
+
702
+ export type ProjectActivityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "userId" | "action" | "targetType" | "targetId" | "metadata" | "createdAt", ExtArgs["result"]["projectActivity"]>
703
+ export type ProjectActivityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
704
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
705
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
706
+ }
707
+ export type ProjectActivityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
708
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
709
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
710
+ }
711
+ export type ProjectActivityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
712
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
713
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
714
+ }
715
+
716
+ export type $ProjectActivityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
717
+ name: "ProjectActivity"
718
+ objects: {
719
+ project: Prisma.$ProjectPayload<ExtArgs>
720
+ user: Prisma.$UserPayload<ExtArgs>
721
+ }
722
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
723
+ id: string
724
+ projectId: string
725
+ userId: string
726
+ action: string
727
+ targetType: string | null
728
+ targetId: string | null
729
+ metadata: runtime.JsonValue | null
730
+ createdAt: Date
731
+ }, ExtArgs["result"]["projectActivity"]>
732
+ composites: {}
733
+ }
734
+
735
+ export type ProjectActivityGetPayload<S extends boolean | null | undefined | ProjectActivityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload, S>
736
+
737
+ export type ProjectActivityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
738
+ Omit<ProjectActivityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
739
+ select?: ProjectActivityCountAggregateInputType | true
740
+ }
741
+
742
+ export interface ProjectActivityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
743
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjectActivity'], meta: { name: 'ProjectActivity' } }
744
+ /**
745
+ * Find zero or one ProjectActivity that matches the filter.
746
+ * @param {ProjectActivityFindUniqueArgs} args - Arguments to find a ProjectActivity
747
+ * @example
748
+ * // Get one ProjectActivity
749
+ * const projectActivity = await prisma.projectActivity.findUnique({
750
+ * where: {
751
+ * // ... provide filter here
752
+ * }
753
+ * })
754
+ */
755
+ findUnique<T extends ProjectActivityFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectActivityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
756
+
757
+ /**
758
+ * Find one ProjectActivity that matches the filter or throw an error with `error.code='P2025'`
759
+ * if no matches were found.
760
+ * @param {ProjectActivityFindUniqueOrThrowArgs} args - Arguments to find a ProjectActivity
761
+ * @example
762
+ * // Get one ProjectActivity
763
+ * const projectActivity = await prisma.projectActivity.findUniqueOrThrow({
764
+ * where: {
765
+ * // ... provide filter here
766
+ * }
767
+ * })
768
+ */
769
+ findUniqueOrThrow<T extends ProjectActivityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectActivityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
770
+
771
+ /**
772
+ * Find the first ProjectActivity that matches the filter.
773
+ * Note, that providing `undefined` is treated as the value not being there.
774
+ * Read more here: https://pris.ly/d/null-undefined
775
+ * @param {ProjectActivityFindFirstArgs} args - Arguments to find a ProjectActivity
776
+ * @example
777
+ * // Get one ProjectActivity
778
+ * const projectActivity = await prisma.projectActivity.findFirst({
779
+ * where: {
780
+ * // ... provide filter here
781
+ * }
782
+ * })
783
+ */
784
+ findFirst<T extends ProjectActivityFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectActivityFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
785
+
786
+ /**
787
+ * Find the first ProjectActivity that matches the filter or
788
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
789
+ * Note, that providing `undefined` is treated as the value not being there.
790
+ * Read more here: https://pris.ly/d/null-undefined
791
+ * @param {ProjectActivityFindFirstOrThrowArgs} args - Arguments to find a ProjectActivity
792
+ * @example
793
+ * // Get one ProjectActivity
794
+ * const projectActivity = await prisma.projectActivity.findFirstOrThrow({
795
+ * where: {
796
+ * // ... provide filter here
797
+ * }
798
+ * })
799
+ */
800
+ findFirstOrThrow<T extends ProjectActivityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectActivityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
801
+
802
+ /**
803
+ * Find zero or more ProjectActivities that matches the filter.
804
+ * Note, that providing `undefined` is treated as the value not being there.
805
+ * Read more here: https://pris.ly/d/null-undefined
806
+ * @param {ProjectActivityFindManyArgs} args - Arguments to filter and select certain fields only.
807
+ * @example
808
+ * // Get all ProjectActivities
809
+ * const projectActivities = await prisma.projectActivity.findMany()
810
+ *
811
+ * // Get first 10 ProjectActivities
812
+ * const projectActivities = await prisma.projectActivity.findMany({ take: 10 })
813
+ *
814
+ * // Only select the `id`
815
+ * const projectActivityWithIdOnly = await prisma.projectActivity.findMany({ select: { id: true } })
816
+ *
817
+ */
818
+ findMany<T extends ProjectActivityFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
819
+
820
+ /**
821
+ * Create a ProjectActivity.
822
+ * @param {ProjectActivityCreateArgs} args - Arguments to create a ProjectActivity.
823
+ * @example
824
+ * // Create one ProjectActivity
825
+ * const ProjectActivity = await prisma.projectActivity.create({
826
+ * data: {
827
+ * // ... data to create a ProjectActivity
828
+ * }
829
+ * })
830
+ *
831
+ */
832
+ create<T extends ProjectActivityCreateArgs>(args: Prisma.SelectSubset<T, ProjectActivityCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
833
+
834
+ /**
835
+ * Create many ProjectActivities.
836
+ * @param {ProjectActivityCreateManyArgs} args - Arguments to create many ProjectActivities.
837
+ * @example
838
+ * // Create many ProjectActivities
839
+ * const projectActivity = await prisma.projectActivity.createMany({
840
+ * data: [
841
+ * // ... provide data here
842
+ * ]
843
+ * })
844
+ *
845
+ */
846
+ createMany<T extends ProjectActivityCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
847
+
848
+ /**
849
+ * Create many ProjectActivities and returns the data saved in the database.
850
+ * @param {ProjectActivityCreateManyAndReturnArgs} args - Arguments to create many ProjectActivities.
851
+ * @example
852
+ * // Create many ProjectActivities
853
+ * const projectActivity = await prisma.projectActivity.createManyAndReturn({
854
+ * data: [
855
+ * // ... provide data here
856
+ * ]
857
+ * })
858
+ *
859
+ * // Create many ProjectActivities and only return the `id`
860
+ * const projectActivityWithIdOnly = await prisma.projectActivity.createManyAndReturn({
861
+ * select: { id: true },
862
+ * data: [
863
+ * // ... provide data here
864
+ * ]
865
+ * })
866
+ * Note, that providing `undefined` is treated as the value not being there.
867
+ * Read more here: https://pris.ly/d/null-undefined
868
+ *
869
+ */
870
+ createManyAndReturn<T extends ProjectActivityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectActivityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
871
+
872
+ /**
873
+ * Delete a ProjectActivity.
874
+ * @param {ProjectActivityDeleteArgs} args - Arguments to delete one ProjectActivity.
875
+ * @example
876
+ * // Delete one ProjectActivity
877
+ * const ProjectActivity = await prisma.projectActivity.delete({
878
+ * where: {
879
+ * // ... filter to delete one ProjectActivity
880
+ * }
881
+ * })
882
+ *
883
+ */
884
+ delete<T extends ProjectActivityDeleteArgs>(args: Prisma.SelectSubset<T, ProjectActivityDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
885
+
886
+ /**
887
+ * Update one ProjectActivity.
888
+ * @param {ProjectActivityUpdateArgs} args - Arguments to update one ProjectActivity.
889
+ * @example
890
+ * // Update one ProjectActivity
891
+ * const projectActivity = await prisma.projectActivity.update({
892
+ * where: {
893
+ * // ... provide filter here
894
+ * },
895
+ * data: {
896
+ * // ... provide data here
897
+ * }
898
+ * })
899
+ *
900
+ */
901
+ update<T extends ProjectActivityUpdateArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
902
+
903
+ /**
904
+ * Delete zero or more ProjectActivities.
905
+ * @param {ProjectActivityDeleteManyArgs} args - Arguments to filter ProjectActivities to delete.
906
+ * @example
907
+ * // Delete a few ProjectActivities
908
+ * const { count } = await prisma.projectActivity.deleteMany({
909
+ * where: {
910
+ * // ... provide filter here
911
+ * }
912
+ * })
913
+ *
914
+ */
915
+ deleteMany<T extends ProjectActivityDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
916
+
917
+ /**
918
+ * Update zero or more ProjectActivities.
919
+ * Note, that providing `undefined` is treated as the value not being there.
920
+ * Read more here: https://pris.ly/d/null-undefined
921
+ * @param {ProjectActivityUpdateManyArgs} args - Arguments to update one or more rows.
922
+ * @example
923
+ * // Update many ProjectActivities
924
+ * const projectActivity = await prisma.projectActivity.updateMany({
925
+ * where: {
926
+ * // ... provide filter here
927
+ * },
928
+ * data: {
929
+ * // ... provide data here
930
+ * }
931
+ * })
932
+ *
933
+ */
934
+ updateMany<T extends ProjectActivityUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
935
+
936
+ /**
937
+ * Update zero or more ProjectActivities and returns the data updated in the database.
938
+ * @param {ProjectActivityUpdateManyAndReturnArgs} args - Arguments to update many ProjectActivities.
939
+ * @example
940
+ * // Update many ProjectActivities
941
+ * const projectActivity = await prisma.projectActivity.updateManyAndReturn({
942
+ * where: {
943
+ * // ... provide filter here
944
+ * },
945
+ * data: [
946
+ * // ... provide data here
947
+ * ]
948
+ * })
949
+ *
950
+ * // Update zero or more ProjectActivities and only return the `id`
951
+ * const projectActivityWithIdOnly = await prisma.projectActivity.updateManyAndReturn({
952
+ * select: { id: true },
953
+ * where: {
954
+ * // ... provide filter here
955
+ * },
956
+ * data: [
957
+ * // ... provide data here
958
+ * ]
959
+ * })
960
+ * Note, that providing `undefined` is treated as the value not being there.
961
+ * Read more here: https://pris.ly/d/null-undefined
962
+ *
963
+ */
964
+ updateManyAndReturn<T extends ProjectActivityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
965
+
966
+ /**
967
+ * Create or update one ProjectActivity.
968
+ * @param {ProjectActivityUpsertArgs} args - Arguments to update or create a ProjectActivity.
969
+ * @example
970
+ * // Update or create a ProjectActivity
971
+ * const projectActivity = await prisma.projectActivity.upsert({
972
+ * create: {
973
+ * // ... data to create a ProjectActivity
974
+ * },
975
+ * update: {
976
+ * // ... in case it already exists, update
977
+ * },
978
+ * where: {
979
+ * // ... the filter for the ProjectActivity we want to update
980
+ * }
981
+ * })
982
+ */
983
+ upsert<T extends ProjectActivityUpsertArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectActivityClient<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
984
+
985
+
986
+ /**
987
+ * Count the number of ProjectActivities.
988
+ * Note, that providing `undefined` is treated as the value not being there.
989
+ * Read more here: https://pris.ly/d/null-undefined
990
+ * @param {ProjectActivityCountArgs} args - Arguments to filter ProjectActivities to count.
991
+ * @example
992
+ * // Count the number of ProjectActivities
993
+ * const count = await prisma.projectActivity.count({
994
+ * where: {
995
+ * // ... the filter for the ProjectActivities we want to count
996
+ * }
997
+ * })
998
+ **/
999
+ count<T extends ProjectActivityCountArgs>(
1000
+ args?: Prisma.Subset<T, ProjectActivityCountArgs>,
1001
+ ): Prisma.PrismaPromise<
1002
+ T extends runtime.Types.Utils.Record<'select', any>
1003
+ ? T['select'] extends true
1004
+ ? number
1005
+ : Prisma.GetScalarType<T['select'], ProjectActivityCountAggregateOutputType>
1006
+ : number
1007
+ >
1008
+
1009
+ /**
1010
+ * Allows you to perform aggregations operations on a ProjectActivity.
1011
+ * Note, that providing `undefined` is treated as the value not being there.
1012
+ * Read more here: https://pris.ly/d/null-undefined
1013
+ * @param {ProjectActivityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1014
+ * @example
1015
+ * // Ordered by age ascending
1016
+ * // Where email contains prisma.io
1017
+ * // Limited to the 10 users
1018
+ * const aggregations = await prisma.user.aggregate({
1019
+ * _avg: {
1020
+ * age: true,
1021
+ * },
1022
+ * where: {
1023
+ * email: {
1024
+ * contains: "prisma.io",
1025
+ * },
1026
+ * },
1027
+ * orderBy: {
1028
+ * age: "asc",
1029
+ * },
1030
+ * take: 10,
1031
+ * })
1032
+ **/
1033
+ aggregate<T extends ProjectActivityAggregateArgs>(args: Prisma.Subset<T, ProjectActivityAggregateArgs>): Prisma.PrismaPromise<GetProjectActivityAggregateType<T>>
1034
+
1035
+ /**
1036
+ * Group by ProjectActivity.
1037
+ * Note, that providing `undefined` is treated as the value not being there.
1038
+ * Read more here: https://pris.ly/d/null-undefined
1039
+ * @param {ProjectActivityGroupByArgs} args - Group by arguments.
1040
+ * @example
1041
+ * // Group by city, order by createdAt, get count
1042
+ * const result = await prisma.user.groupBy({
1043
+ * by: ['city', 'createdAt'],
1044
+ * orderBy: {
1045
+ * createdAt: true
1046
+ * },
1047
+ * _count: {
1048
+ * _all: true
1049
+ * },
1050
+ * })
1051
+ *
1052
+ **/
1053
+ groupBy<
1054
+ T extends ProjectActivityGroupByArgs,
1055
+ HasSelectOrTake extends Prisma.Or<
1056
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1057
+ Prisma.Extends<'take', Prisma.Keys<T>>
1058
+ >,
1059
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1060
+ ? { orderBy: ProjectActivityGroupByArgs['orderBy'] }
1061
+ : { orderBy?: ProjectActivityGroupByArgs['orderBy'] },
1062
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1063
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1064
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1065
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1066
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1067
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1068
+ InputErrors extends ByEmpty extends Prisma.True
1069
+ ? `Error: "by" must not be empty.`
1070
+ : HavingValid extends Prisma.False
1071
+ ? {
1072
+ [P in HavingFields]: P extends ByFields
1073
+ ? never
1074
+ : P extends string
1075
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1076
+ : [
1077
+ Error,
1078
+ 'Field ',
1079
+ P,
1080
+ ` in "having" needs to be provided in "by"`,
1081
+ ]
1082
+ }[HavingFields]
1083
+ : 'take' extends Prisma.Keys<T>
1084
+ ? 'orderBy' extends Prisma.Keys<T>
1085
+ ? ByValid extends Prisma.True
1086
+ ? {}
1087
+ : {
1088
+ [P in OrderFields]: P extends ByFields
1089
+ ? never
1090
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1091
+ }[OrderFields]
1092
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1093
+ : 'skip' extends Prisma.Keys<T>
1094
+ ? 'orderBy' extends Prisma.Keys<T>
1095
+ ? ByValid extends Prisma.True
1096
+ ? {}
1097
+ : {
1098
+ [P in OrderFields]: P extends ByFields
1099
+ ? never
1100
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1101
+ }[OrderFields]
1102
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1103
+ : ByValid extends Prisma.True
1104
+ ? {}
1105
+ : {
1106
+ [P in OrderFields]: P extends ByFields
1107
+ ? never
1108
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1109
+ }[OrderFields]
1110
+ >(args: Prisma.SubsetIntersection<T, ProjectActivityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectActivityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1111
+ /**
1112
+ * Fields of the ProjectActivity model
1113
+ */
1114
+ readonly fields: ProjectActivityFieldRefs;
1115
+ }
1116
+
1117
+ /**
1118
+ * The delegate class that acts as a "Promise-like" for ProjectActivity.
1119
+ * Why is this prefixed with `Prisma__`?
1120
+ * Because we want to prevent naming conflicts as mentioned in
1121
+ * https://github.com/prisma/prisma-client-js/issues/707
1122
+ */
1123
+ export interface Prisma__ProjectActivityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1124
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1125
+ 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>
1126
+ user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1127
+ /**
1128
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1129
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1130
+ * @param onrejected The callback to execute when the Promise is rejected.
1131
+ * @returns A Promise for the completion of which ever callback is executed.
1132
+ */
1133
+ 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>
1134
+ /**
1135
+ * Attaches a callback for only the rejection of the Promise.
1136
+ * @param onrejected The callback to execute when the Promise is rejected.
1137
+ * @returns A Promise for the completion of the callback.
1138
+ */
1139
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1140
+ /**
1141
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1142
+ * resolved value cannot be modified from the callback.
1143
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1144
+ * @returns A Promise for the completion of the callback.
1145
+ */
1146
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1147
+ }
1148
+
1149
+
1150
+
1151
+
1152
+ /**
1153
+ * Fields of the ProjectActivity model
1154
+ */
1155
+ export interface ProjectActivityFieldRefs {
1156
+ readonly id: Prisma.FieldRef<"ProjectActivity", 'String'>
1157
+ readonly projectId: Prisma.FieldRef<"ProjectActivity", 'String'>
1158
+ readonly userId: Prisma.FieldRef<"ProjectActivity", 'String'>
1159
+ readonly action: Prisma.FieldRef<"ProjectActivity", 'String'>
1160
+ readonly targetType: Prisma.FieldRef<"ProjectActivity", 'String'>
1161
+ readonly targetId: Prisma.FieldRef<"ProjectActivity", 'String'>
1162
+ readonly metadata: Prisma.FieldRef<"ProjectActivity", 'Json'>
1163
+ readonly createdAt: Prisma.FieldRef<"ProjectActivity", 'DateTime'>
1164
+ }
1165
+
1166
+
1167
+ // Custom InputTypes
1168
+ /**
1169
+ * ProjectActivity findUnique
1170
+ */
1171
+ export type ProjectActivityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1172
+ /**
1173
+ * Select specific fields to fetch from the ProjectActivity
1174
+ */
1175
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1176
+ /**
1177
+ * Omit specific fields from the ProjectActivity
1178
+ */
1179
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1180
+ /**
1181
+ * Choose, which related nodes to fetch as well
1182
+ */
1183
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1184
+ /**
1185
+ * Filter, which ProjectActivity to fetch.
1186
+ */
1187
+ where: Prisma.ProjectActivityWhereUniqueInput
1188
+ }
1189
+
1190
+ /**
1191
+ * ProjectActivity findUniqueOrThrow
1192
+ */
1193
+ export type ProjectActivityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1194
+ /**
1195
+ * Select specific fields to fetch from the ProjectActivity
1196
+ */
1197
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1198
+ /**
1199
+ * Omit specific fields from the ProjectActivity
1200
+ */
1201
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1202
+ /**
1203
+ * Choose, which related nodes to fetch as well
1204
+ */
1205
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1206
+ /**
1207
+ * Filter, which ProjectActivity to fetch.
1208
+ */
1209
+ where: Prisma.ProjectActivityWhereUniqueInput
1210
+ }
1211
+
1212
+ /**
1213
+ * ProjectActivity findFirst
1214
+ */
1215
+ export type ProjectActivityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1216
+ /**
1217
+ * Select specific fields to fetch from the ProjectActivity
1218
+ */
1219
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1220
+ /**
1221
+ * Omit specific fields from the ProjectActivity
1222
+ */
1223
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1224
+ /**
1225
+ * Choose, which related nodes to fetch as well
1226
+ */
1227
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1228
+ /**
1229
+ * Filter, which ProjectActivity to fetch.
1230
+ */
1231
+ where?: Prisma.ProjectActivityWhereInput
1232
+ /**
1233
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1234
+ *
1235
+ * Determine the order of ProjectActivities to fetch.
1236
+ */
1237
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1238
+ /**
1239
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1240
+ *
1241
+ * Sets the position for searching for ProjectActivities.
1242
+ */
1243
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1244
+ /**
1245
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1246
+ *
1247
+ * Take `±n` ProjectActivities from the position of the cursor.
1248
+ */
1249
+ take?: number
1250
+ /**
1251
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1252
+ *
1253
+ * Skip the first `n` ProjectActivities.
1254
+ */
1255
+ skip?: number
1256
+ /**
1257
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1258
+ *
1259
+ * Filter by unique combinations of ProjectActivities.
1260
+ */
1261
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1262
+ }
1263
+
1264
+ /**
1265
+ * ProjectActivity findFirstOrThrow
1266
+ */
1267
+ export type ProjectActivityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ /**
1269
+ * Select specific fields to fetch from the ProjectActivity
1270
+ */
1271
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1272
+ /**
1273
+ * Omit specific fields from the ProjectActivity
1274
+ */
1275
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1276
+ /**
1277
+ * Choose, which related nodes to fetch as well
1278
+ */
1279
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1280
+ /**
1281
+ * Filter, which ProjectActivity to fetch.
1282
+ */
1283
+ where?: Prisma.ProjectActivityWhereInput
1284
+ /**
1285
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1286
+ *
1287
+ * Determine the order of ProjectActivities to fetch.
1288
+ */
1289
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1290
+ /**
1291
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1292
+ *
1293
+ * Sets the position for searching for ProjectActivities.
1294
+ */
1295
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1296
+ /**
1297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1298
+ *
1299
+ * Take `±n` ProjectActivities from the position of the cursor.
1300
+ */
1301
+ take?: number
1302
+ /**
1303
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1304
+ *
1305
+ * Skip the first `n` ProjectActivities.
1306
+ */
1307
+ skip?: number
1308
+ /**
1309
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1310
+ *
1311
+ * Filter by unique combinations of ProjectActivities.
1312
+ */
1313
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1314
+ }
1315
+
1316
+ /**
1317
+ * ProjectActivity findMany
1318
+ */
1319
+ export type ProjectActivityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1320
+ /**
1321
+ * Select specific fields to fetch from the ProjectActivity
1322
+ */
1323
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1324
+ /**
1325
+ * Omit specific fields from the ProjectActivity
1326
+ */
1327
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1328
+ /**
1329
+ * Choose, which related nodes to fetch as well
1330
+ */
1331
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1332
+ /**
1333
+ * Filter, which ProjectActivities to fetch.
1334
+ */
1335
+ where?: Prisma.ProjectActivityWhereInput
1336
+ /**
1337
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1338
+ *
1339
+ * Determine the order of ProjectActivities to fetch.
1340
+ */
1341
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1342
+ /**
1343
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1344
+ *
1345
+ * Sets the position for listing ProjectActivities.
1346
+ */
1347
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1348
+ /**
1349
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1350
+ *
1351
+ * Take `±n` ProjectActivities from the position of the cursor.
1352
+ */
1353
+ take?: number
1354
+ /**
1355
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1356
+ *
1357
+ * Skip the first `n` ProjectActivities.
1358
+ */
1359
+ skip?: number
1360
+ /**
1361
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1362
+ *
1363
+ * Filter by unique combinations of ProjectActivities.
1364
+ */
1365
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1366
+ }
1367
+
1368
+ /**
1369
+ * ProjectActivity create
1370
+ */
1371
+ export type ProjectActivityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1372
+ /**
1373
+ * Select specific fields to fetch from the ProjectActivity
1374
+ */
1375
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1376
+ /**
1377
+ * Omit specific fields from the ProjectActivity
1378
+ */
1379
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1380
+ /**
1381
+ * Choose, which related nodes to fetch as well
1382
+ */
1383
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1384
+ /**
1385
+ * The data needed to create a ProjectActivity.
1386
+ */
1387
+ data: Prisma.XOR<Prisma.ProjectActivityCreateInput, Prisma.ProjectActivityUncheckedCreateInput>
1388
+ }
1389
+
1390
+ /**
1391
+ * ProjectActivity createMany
1392
+ */
1393
+ export type ProjectActivityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1394
+ /**
1395
+ * The data used to create many ProjectActivities.
1396
+ */
1397
+ data: Prisma.ProjectActivityCreateManyInput | Prisma.ProjectActivityCreateManyInput[]
1398
+ }
1399
+
1400
+ /**
1401
+ * ProjectActivity createManyAndReturn
1402
+ */
1403
+ export type ProjectActivityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1404
+ /**
1405
+ * Select specific fields to fetch from the ProjectActivity
1406
+ */
1407
+ select?: Prisma.ProjectActivitySelectCreateManyAndReturn<ExtArgs> | null
1408
+ /**
1409
+ * Omit specific fields from the ProjectActivity
1410
+ */
1411
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1412
+ /**
1413
+ * The data used to create many ProjectActivities.
1414
+ */
1415
+ data: Prisma.ProjectActivityCreateManyInput | Prisma.ProjectActivityCreateManyInput[]
1416
+ /**
1417
+ * Choose, which related nodes to fetch as well
1418
+ */
1419
+ include?: Prisma.ProjectActivityIncludeCreateManyAndReturn<ExtArgs> | null
1420
+ }
1421
+
1422
+ /**
1423
+ * ProjectActivity update
1424
+ */
1425
+ export type ProjectActivityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1426
+ /**
1427
+ * Select specific fields to fetch from the ProjectActivity
1428
+ */
1429
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1430
+ /**
1431
+ * Omit specific fields from the ProjectActivity
1432
+ */
1433
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1434
+ /**
1435
+ * Choose, which related nodes to fetch as well
1436
+ */
1437
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1438
+ /**
1439
+ * The data needed to update a ProjectActivity.
1440
+ */
1441
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateInput, Prisma.ProjectActivityUncheckedUpdateInput>
1442
+ /**
1443
+ * Choose, which ProjectActivity to update.
1444
+ */
1445
+ where: Prisma.ProjectActivityWhereUniqueInput
1446
+ }
1447
+
1448
+ /**
1449
+ * ProjectActivity updateMany
1450
+ */
1451
+ export type ProjectActivityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1452
+ /**
1453
+ * The data used to update ProjectActivities.
1454
+ */
1455
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyInput>
1456
+ /**
1457
+ * Filter which ProjectActivities to update
1458
+ */
1459
+ where?: Prisma.ProjectActivityWhereInput
1460
+ /**
1461
+ * Limit how many ProjectActivities to update.
1462
+ */
1463
+ limit?: number
1464
+ }
1465
+
1466
+ /**
1467
+ * ProjectActivity updateManyAndReturn
1468
+ */
1469
+ export type ProjectActivityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1470
+ /**
1471
+ * Select specific fields to fetch from the ProjectActivity
1472
+ */
1473
+ select?: Prisma.ProjectActivitySelectUpdateManyAndReturn<ExtArgs> | null
1474
+ /**
1475
+ * Omit specific fields from the ProjectActivity
1476
+ */
1477
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1478
+ /**
1479
+ * The data used to update ProjectActivities.
1480
+ */
1481
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyInput>
1482
+ /**
1483
+ * Filter which ProjectActivities to update
1484
+ */
1485
+ where?: Prisma.ProjectActivityWhereInput
1486
+ /**
1487
+ * Limit how many ProjectActivities to update.
1488
+ */
1489
+ limit?: number
1490
+ /**
1491
+ * Choose, which related nodes to fetch as well
1492
+ */
1493
+ include?: Prisma.ProjectActivityIncludeUpdateManyAndReturn<ExtArgs> | null
1494
+ }
1495
+
1496
+ /**
1497
+ * ProjectActivity upsert
1498
+ */
1499
+ export type ProjectActivityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1500
+ /**
1501
+ * Select specific fields to fetch from the ProjectActivity
1502
+ */
1503
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1504
+ /**
1505
+ * Omit specific fields from the ProjectActivity
1506
+ */
1507
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1508
+ /**
1509
+ * Choose, which related nodes to fetch as well
1510
+ */
1511
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1512
+ /**
1513
+ * The filter to search for the ProjectActivity to update in case it exists.
1514
+ */
1515
+ where: Prisma.ProjectActivityWhereUniqueInput
1516
+ /**
1517
+ * In case the ProjectActivity found by the `where` argument doesn't exist, create a new ProjectActivity with this data.
1518
+ */
1519
+ create: Prisma.XOR<Prisma.ProjectActivityCreateInput, Prisma.ProjectActivityUncheckedCreateInput>
1520
+ /**
1521
+ * In case the ProjectActivity was found with the provided `where` argument, update it with this data.
1522
+ */
1523
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateInput, Prisma.ProjectActivityUncheckedUpdateInput>
1524
+ }
1525
+
1526
+ /**
1527
+ * ProjectActivity delete
1528
+ */
1529
+ export type ProjectActivityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1530
+ /**
1531
+ * Select specific fields to fetch from the ProjectActivity
1532
+ */
1533
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1534
+ /**
1535
+ * Omit specific fields from the ProjectActivity
1536
+ */
1537
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1538
+ /**
1539
+ * Choose, which related nodes to fetch as well
1540
+ */
1541
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1542
+ /**
1543
+ * Filter which ProjectActivity to delete.
1544
+ */
1545
+ where: Prisma.ProjectActivityWhereUniqueInput
1546
+ }
1547
+
1548
+ /**
1549
+ * ProjectActivity deleteMany
1550
+ */
1551
+ export type ProjectActivityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1552
+ /**
1553
+ * Filter which ProjectActivities to delete
1554
+ */
1555
+ where?: Prisma.ProjectActivityWhereInput
1556
+ /**
1557
+ * Limit how many ProjectActivities to delete.
1558
+ */
1559
+ limit?: number
1560
+ }
1561
+
1562
+ /**
1563
+ * ProjectActivity without action
1564
+ */
1565
+ export type ProjectActivityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1566
+ /**
1567
+ * Select specific fields to fetch from the ProjectActivity
1568
+ */
1569
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1570
+ /**
1571
+ * Omit specific fields from the ProjectActivity
1572
+ */
1573
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1574
+ /**
1575
+ * Choose, which related nodes to fetch as well
1576
+ */
1577
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1578
+ }