@allbluecn/database 0.4.0 → 0.4.2

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,1582 @@
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
+ skipDuplicates?: boolean
494
+ }
495
+
496
+ export type ProjectActivityUpsertWithWhereUniqueWithoutUserInput = {
497
+ where: Prisma.ProjectActivityWhereUniqueInput
498
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutUserInput, Prisma.ProjectActivityUncheckedUpdateWithoutUserInput>
499
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutUserInput, Prisma.ProjectActivityUncheckedCreateWithoutUserInput>
500
+ }
501
+
502
+ export type ProjectActivityUpdateWithWhereUniqueWithoutUserInput = {
503
+ where: Prisma.ProjectActivityWhereUniqueInput
504
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutUserInput, Prisma.ProjectActivityUncheckedUpdateWithoutUserInput>
505
+ }
506
+
507
+ export type ProjectActivityUpdateManyWithWhereWithoutUserInput = {
508
+ where: Prisma.ProjectActivityScalarWhereInput
509
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyWithoutUserInput>
510
+ }
511
+
512
+ export type ProjectActivityScalarWhereInput = {
513
+ AND?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
514
+ OR?: Prisma.ProjectActivityScalarWhereInput[]
515
+ NOT?: Prisma.ProjectActivityScalarWhereInput | Prisma.ProjectActivityScalarWhereInput[]
516
+ id?: Prisma.StringFilter<"ProjectActivity"> | string
517
+ projectId?: Prisma.StringFilter<"ProjectActivity"> | string
518
+ userId?: Prisma.StringFilter<"ProjectActivity"> | string
519
+ action?: Prisma.StringFilter<"ProjectActivity"> | string
520
+ targetType?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
521
+ targetId?: Prisma.StringNullableFilter<"ProjectActivity"> | string | null
522
+ metadata?: Prisma.JsonNullableFilter<"ProjectActivity">
523
+ createdAt?: Prisma.DateTimeFilter<"ProjectActivity"> | Date | string
524
+ }
525
+
526
+ export type ProjectActivityCreateWithoutProjectInput = {
527
+ id?: string
528
+ action: string
529
+ targetType?: string | null
530
+ targetId?: string | null
531
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
532
+ createdAt?: Date | string
533
+ user: Prisma.UserCreateNestedOneWithoutProjectActivitiesInput
534
+ }
535
+
536
+ export type ProjectActivityUncheckedCreateWithoutProjectInput = {
537
+ id?: string
538
+ userId: string
539
+ action: string
540
+ targetType?: string | null
541
+ targetId?: string | null
542
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
543
+ createdAt?: Date | string
544
+ }
545
+
546
+ export type ProjectActivityCreateOrConnectWithoutProjectInput = {
547
+ where: Prisma.ProjectActivityWhereUniqueInput
548
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput>
549
+ }
550
+
551
+ export type ProjectActivityCreateManyProjectInputEnvelope = {
552
+ data: Prisma.ProjectActivityCreateManyProjectInput | Prisma.ProjectActivityCreateManyProjectInput[]
553
+ skipDuplicates?: boolean
554
+ }
555
+
556
+ export type ProjectActivityUpsertWithWhereUniqueWithoutProjectInput = {
557
+ where: Prisma.ProjectActivityWhereUniqueInput
558
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutProjectInput, Prisma.ProjectActivityUncheckedUpdateWithoutProjectInput>
559
+ create: Prisma.XOR<Prisma.ProjectActivityCreateWithoutProjectInput, Prisma.ProjectActivityUncheckedCreateWithoutProjectInput>
560
+ }
561
+
562
+ export type ProjectActivityUpdateWithWhereUniqueWithoutProjectInput = {
563
+ where: Prisma.ProjectActivityWhereUniqueInput
564
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateWithoutProjectInput, Prisma.ProjectActivityUncheckedUpdateWithoutProjectInput>
565
+ }
566
+
567
+ export type ProjectActivityUpdateManyWithWhereWithoutProjectInput = {
568
+ where: Prisma.ProjectActivityScalarWhereInput
569
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectInput>
570
+ }
571
+
572
+ export type ProjectActivityCreateManyUserInput = {
573
+ id?: string
574
+ projectId: string
575
+ action: string
576
+ targetType?: string | null
577
+ targetId?: string | null
578
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
579
+ createdAt?: Date | string
580
+ }
581
+
582
+ export type ProjectActivityUpdateWithoutUserInput = {
583
+ id?: Prisma.StringFieldUpdateOperationsInput | string
584
+ action?: Prisma.StringFieldUpdateOperationsInput | string
585
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
586
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
587
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
588
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
+ project?: Prisma.ProjectUpdateOneRequiredWithoutActivitiesNestedInput
590
+ }
591
+
592
+ export type ProjectActivityUncheckedUpdateWithoutUserInput = {
593
+ id?: Prisma.StringFieldUpdateOperationsInput | string
594
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
595
+ action?: Prisma.StringFieldUpdateOperationsInput | string
596
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
597
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
598
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
599
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
600
+ }
601
+
602
+ export type ProjectActivityUncheckedUpdateManyWithoutUserInput = {
603
+ id?: Prisma.StringFieldUpdateOperationsInput | string
604
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
605
+ action?: Prisma.StringFieldUpdateOperationsInput | string
606
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
607
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
608
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
609
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
610
+ }
611
+
612
+ export type ProjectActivityCreateManyProjectInput = {
613
+ id?: string
614
+ userId: string
615
+ action: string
616
+ targetType?: string | null
617
+ targetId?: string | null
618
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
619
+ createdAt?: Date | string
620
+ }
621
+
622
+ export type ProjectActivityUpdateWithoutProjectInput = {
623
+ id?: Prisma.StringFieldUpdateOperationsInput | string
624
+ action?: Prisma.StringFieldUpdateOperationsInput | string
625
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
626
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
627
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
628
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
629
+ user?: Prisma.UserUpdateOneRequiredWithoutProjectActivitiesNestedInput
630
+ }
631
+
632
+ export type ProjectActivityUncheckedUpdateWithoutProjectInput = {
633
+ id?: Prisma.StringFieldUpdateOperationsInput | string
634
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
635
+ action?: Prisma.StringFieldUpdateOperationsInput | string
636
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
637
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
638
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
639
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
640
+ }
641
+
642
+ export type ProjectActivityUncheckedUpdateManyWithoutProjectInput = {
643
+ id?: Prisma.StringFieldUpdateOperationsInput | string
644
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
645
+ action?: Prisma.StringFieldUpdateOperationsInput | string
646
+ targetType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
647
+ targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
648
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
649
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
650
+ }
651
+
652
+
653
+
654
+ export type ProjectActivitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
655
+ id?: boolean
656
+ projectId?: boolean
657
+ userId?: boolean
658
+ action?: boolean
659
+ targetType?: boolean
660
+ targetId?: boolean
661
+ metadata?: boolean
662
+ createdAt?: boolean
663
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
664
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
665
+ }, ExtArgs["result"]["projectActivity"]>
666
+
667
+ export type ProjectActivitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
668
+ id?: boolean
669
+ projectId?: boolean
670
+ userId?: boolean
671
+ action?: boolean
672
+ targetType?: boolean
673
+ targetId?: boolean
674
+ metadata?: boolean
675
+ createdAt?: boolean
676
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
677
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
678
+ }, ExtArgs["result"]["projectActivity"]>
679
+
680
+ export type ProjectActivitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
681
+ id?: boolean
682
+ projectId?: boolean
683
+ userId?: boolean
684
+ action?: boolean
685
+ targetType?: boolean
686
+ targetId?: boolean
687
+ metadata?: boolean
688
+ createdAt?: boolean
689
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
690
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
691
+ }, ExtArgs["result"]["projectActivity"]>
692
+
693
+ export type ProjectActivitySelectScalar = {
694
+ id?: boolean
695
+ projectId?: boolean
696
+ userId?: boolean
697
+ action?: boolean
698
+ targetType?: boolean
699
+ targetId?: boolean
700
+ metadata?: boolean
701
+ createdAt?: boolean
702
+ }
703
+
704
+ 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"]>
705
+ export type ProjectActivityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
706
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
707
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
708
+ }
709
+ export type ProjectActivityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
710
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
711
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
712
+ }
713
+ export type ProjectActivityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
714
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
715
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
716
+ }
717
+
718
+ export type $ProjectActivityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
719
+ name: "ProjectActivity"
720
+ objects: {
721
+ project: Prisma.$ProjectPayload<ExtArgs>
722
+ user: Prisma.$UserPayload<ExtArgs>
723
+ }
724
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
725
+ id: string
726
+ projectId: string
727
+ userId: string
728
+ action: string
729
+ targetType: string | null
730
+ targetId: string | null
731
+ metadata: runtime.JsonValue | null
732
+ createdAt: Date
733
+ }, ExtArgs["result"]["projectActivity"]>
734
+ composites: {}
735
+ }
736
+
737
+ export type ProjectActivityGetPayload<S extends boolean | null | undefined | ProjectActivityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload, S>
738
+
739
+ export type ProjectActivityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
740
+ Omit<ProjectActivityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
741
+ select?: ProjectActivityCountAggregateInputType | true
742
+ }
743
+
744
+ export interface ProjectActivityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
745
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjectActivity'], meta: { name: 'ProjectActivity' } }
746
+ /**
747
+ * Find zero or one ProjectActivity that matches the filter.
748
+ * @param {ProjectActivityFindUniqueArgs} args - Arguments to find a ProjectActivity
749
+ * @example
750
+ * // Get one ProjectActivity
751
+ * const projectActivity = await prisma.projectActivity.findUnique({
752
+ * where: {
753
+ * // ... provide filter here
754
+ * }
755
+ * })
756
+ */
757
+ 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>
758
+
759
+ /**
760
+ * Find one ProjectActivity that matches the filter or throw an error with `error.code='P2025'`
761
+ * if no matches were found.
762
+ * @param {ProjectActivityFindUniqueOrThrowArgs} args - Arguments to find a ProjectActivity
763
+ * @example
764
+ * // Get one ProjectActivity
765
+ * const projectActivity = await prisma.projectActivity.findUniqueOrThrow({
766
+ * where: {
767
+ * // ... provide filter here
768
+ * }
769
+ * })
770
+ */
771
+ 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>
772
+
773
+ /**
774
+ * Find the first ProjectActivity that matches the filter.
775
+ * Note, that providing `undefined` is treated as the value not being there.
776
+ * Read more here: https://pris.ly/d/null-undefined
777
+ * @param {ProjectActivityFindFirstArgs} args - Arguments to find a ProjectActivity
778
+ * @example
779
+ * // Get one ProjectActivity
780
+ * const projectActivity = await prisma.projectActivity.findFirst({
781
+ * where: {
782
+ * // ... provide filter here
783
+ * }
784
+ * })
785
+ */
786
+ 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>
787
+
788
+ /**
789
+ * Find the first ProjectActivity that matches the filter or
790
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
791
+ * Note, that providing `undefined` is treated as the value not being there.
792
+ * Read more here: https://pris.ly/d/null-undefined
793
+ * @param {ProjectActivityFindFirstOrThrowArgs} args - Arguments to find a ProjectActivity
794
+ * @example
795
+ * // Get one ProjectActivity
796
+ * const projectActivity = await prisma.projectActivity.findFirstOrThrow({
797
+ * where: {
798
+ * // ... provide filter here
799
+ * }
800
+ * })
801
+ */
802
+ 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>
803
+
804
+ /**
805
+ * Find zero or more ProjectActivities that matches the filter.
806
+ * Note, that providing `undefined` is treated as the value not being there.
807
+ * Read more here: https://pris.ly/d/null-undefined
808
+ * @param {ProjectActivityFindManyArgs} args - Arguments to filter and select certain fields only.
809
+ * @example
810
+ * // Get all ProjectActivities
811
+ * const projectActivities = await prisma.projectActivity.findMany()
812
+ *
813
+ * // Get first 10 ProjectActivities
814
+ * const projectActivities = await prisma.projectActivity.findMany({ take: 10 })
815
+ *
816
+ * // Only select the `id`
817
+ * const projectActivityWithIdOnly = await prisma.projectActivity.findMany({ select: { id: true } })
818
+ *
819
+ */
820
+ findMany<T extends ProjectActivityFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
821
+
822
+ /**
823
+ * Create a ProjectActivity.
824
+ * @param {ProjectActivityCreateArgs} args - Arguments to create a ProjectActivity.
825
+ * @example
826
+ * // Create one ProjectActivity
827
+ * const ProjectActivity = await prisma.projectActivity.create({
828
+ * data: {
829
+ * // ... data to create a ProjectActivity
830
+ * }
831
+ * })
832
+ *
833
+ */
834
+ 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>
835
+
836
+ /**
837
+ * Create many ProjectActivities.
838
+ * @param {ProjectActivityCreateManyArgs} args - Arguments to create many ProjectActivities.
839
+ * @example
840
+ * // Create many ProjectActivities
841
+ * const projectActivity = await prisma.projectActivity.createMany({
842
+ * data: [
843
+ * // ... provide data here
844
+ * ]
845
+ * })
846
+ *
847
+ */
848
+ createMany<T extends ProjectActivityCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
849
+
850
+ /**
851
+ * Create many ProjectActivities and returns the data saved in the database.
852
+ * @param {ProjectActivityCreateManyAndReturnArgs} args - Arguments to create many ProjectActivities.
853
+ * @example
854
+ * // Create many ProjectActivities
855
+ * const projectActivity = await prisma.projectActivity.createManyAndReturn({
856
+ * data: [
857
+ * // ... provide data here
858
+ * ]
859
+ * })
860
+ *
861
+ * // Create many ProjectActivities and only return the `id`
862
+ * const projectActivityWithIdOnly = await prisma.projectActivity.createManyAndReturn({
863
+ * select: { id: true },
864
+ * data: [
865
+ * // ... provide data here
866
+ * ]
867
+ * })
868
+ * Note, that providing `undefined` is treated as the value not being there.
869
+ * Read more here: https://pris.ly/d/null-undefined
870
+ *
871
+ */
872
+ createManyAndReturn<T extends ProjectActivityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectActivityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
873
+
874
+ /**
875
+ * Delete a ProjectActivity.
876
+ * @param {ProjectActivityDeleteArgs} args - Arguments to delete one ProjectActivity.
877
+ * @example
878
+ * // Delete one ProjectActivity
879
+ * const ProjectActivity = await prisma.projectActivity.delete({
880
+ * where: {
881
+ * // ... filter to delete one ProjectActivity
882
+ * }
883
+ * })
884
+ *
885
+ */
886
+ 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>
887
+
888
+ /**
889
+ * Update one ProjectActivity.
890
+ * @param {ProjectActivityUpdateArgs} args - Arguments to update one ProjectActivity.
891
+ * @example
892
+ * // Update one ProjectActivity
893
+ * const projectActivity = await prisma.projectActivity.update({
894
+ * where: {
895
+ * // ... provide filter here
896
+ * },
897
+ * data: {
898
+ * // ... provide data here
899
+ * }
900
+ * })
901
+ *
902
+ */
903
+ 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>
904
+
905
+ /**
906
+ * Delete zero or more ProjectActivities.
907
+ * @param {ProjectActivityDeleteManyArgs} args - Arguments to filter ProjectActivities to delete.
908
+ * @example
909
+ * // Delete a few ProjectActivities
910
+ * const { count } = await prisma.projectActivity.deleteMany({
911
+ * where: {
912
+ * // ... provide filter here
913
+ * }
914
+ * })
915
+ *
916
+ */
917
+ deleteMany<T extends ProjectActivityDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectActivityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
918
+
919
+ /**
920
+ * Update zero or more ProjectActivities.
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 {ProjectActivityUpdateManyArgs} args - Arguments to update one or more rows.
924
+ * @example
925
+ * // Update many ProjectActivities
926
+ * const projectActivity = await prisma.projectActivity.updateMany({
927
+ * where: {
928
+ * // ... provide filter here
929
+ * },
930
+ * data: {
931
+ * // ... provide data here
932
+ * }
933
+ * })
934
+ *
935
+ */
936
+ updateMany<T extends ProjectActivityUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
937
+
938
+ /**
939
+ * Update zero or more ProjectActivities and returns the data updated in the database.
940
+ * @param {ProjectActivityUpdateManyAndReturnArgs} args - Arguments to update many ProjectActivities.
941
+ * @example
942
+ * // Update many ProjectActivities
943
+ * const projectActivity = await prisma.projectActivity.updateManyAndReturn({
944
+ * where: {
945
+ * // ... provide filter here
946
+ * },
947
+ * data: [
948
+ * // ... provide data here
949
+ * ]
950
+ * })
951
+ *
952
+ * // Update zero or more ProjectActivities and only return the `id`
953
+ * const projectActivityWithIdOnly = await prisma.projectActivity.updateManyAndReturn({
954
+ * select: { id: true },
955
+ * where: {
956
+ * // ... provide filter here
957
+ * },
958
+ * data: [
959
+ * // ... provide data here
960
+ * ]
961
+ * })
962
+ * Note, that providing `undefined` is treated as the value not being there.
963
+ * Read more here: https://pris.ly/d/null-undefined
964
+ *
965
+ */
966
+ updateManyAndReturn<T extends ProjectActivityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectActivityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
967
+
968
+ /**
969
+ * Create or update one ProjectActivity.
970
+ * @param {ProjectActivityUpsertArgs} args - Arguments to update or create a ProjectActivity.
971
+ * @example
972
+ * // Update or create a ProjectActivity
973
+ * const projectActivity = await prisma.projectActivity.upsert({
974
+ * create: {
975
+ * // ... data to create a ProjectActivity
976
+ * },
977
+ * update: {
978
+ * // ... in case it already exists, update
979
+ * },
980
+ * where: {
981
+ * // ... the filter for the ProjectActivity we want to update
982
+ * }
983
+ * })
984
+ */
985
+ 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>
986
+
987
+
988
+ /**
989
+ * Count the number of ProjectActivities.
990
+ * Note, that providing `undefined` is treated as the value not being there.
991
+ * Read more here: https://pris.ly/d/null-undefined
992
+ * @param {ProjectActivityCountArgs} args - Arguments to filter ProjectActivities to count.
993
+ * @example
994
+ * // Count the number of ProjectActivities
995
+ * const count = await prisma.projectActivity.count({
996
+ * where: {
997
+ * // ... the filter for the ProjectActivities we want to count
998
+ * }
999
+ * })
1000
+ **/
1001
+ count<T extends ProjectActivityCountArgs>(
1002
+ args?: Prisma.Subset<T, ProjectActivityCountArgs>,
1003
+ ): Prisma.PrismaPromise<
1004
+ T extends runtime.Types.Utils.Record<'select', any>
1005
+ ? T['select'] extends true
1006
+ ? number
1007
+ : Prisma.GetScalarType<T['select'], ProjectActivityCountAggregateOutputType>
1008
+ : number
1009
+ >
1010
+
1011
+ /**
1012
+ * Allows you to perform aggregations operations on a ProjectActivity.
1013
+ * Note, that providing `undefined` is treated as the value not being there.
1014
+ * Read more here: https://pris.ly/d/null-undefined
1015
+ * @param {ProjectActivityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1016
+ * @example
1017
+ * // Ordered by age ascending
1018
+ * // Where email contains prisma.io
1019
+ * // Limited to the 10 users
1020
+ * const aggregations = await prisma.user.aggregate({
1021
+ * _avg: {
1022
+ * age: true,
1023
+ * },
1024
+ * where: {
1025
+ * email: {
1026
+ * contains: "prisma.io",
1027
+ * },
1028
+ * },
1029
+ * orderBy: {
1030
+ * age: "asc",
1031
+ * },
1032
+ * take: 10,
1033
+ * })
1034
+ **/
1035
+ aggregate<T extends ProjectActivityAggregateArgs>(args: Prisma.Subset<T, ProjectActivityAggregateArgs>): Prisma.PrismaPromise<GetProjectActivityAggregateType<T>>
1036
+
1037
+ /**
1038
+ * Group by ProjectActivity.
1039
+ * Note, that providing `undefined` is treated as the value not being there.
1040
+ * Read more here: https://pris.ly/d/null-undefined
1041
+ * @param {ProjectActivityGroupByArgs} args - Group by arguments.
1042
+ * @example
1043
+ * // Group by city, order by createdAt, get count
1044
+ * const result = await prisma.user.groupBy({
1045
+ * by: ['city', 'createdAt'],
1046
+ * orderBy: {
1047
+ * createdAt: true
1048
+ * },
1049
+ * _count: {
1050
+ * _all: true
1051
+ * },
1052
+ * })
1053
+ *
1054
+ **/
1055
+ groupBy<
1056
+ T extends ProjectActivityGroupByArgs,
1057
+ HasSelectOrTake extends Prisma.Or<
1058
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1059
+ Prisma.Extends<'take', Prisma.Keys<T>>
1060
+ >,
1061
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1062
+ ? { orderBy: ProjectActivityGroupByArgs['orderBy'] }
1063
+ : { orderBy?: ProjectActivityGroupByArgs['orderBy'] },
1064
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1065
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1066
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1067
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1068
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1069
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1070
+ InputErrors extends ByEmpty extends Prisma.True
1071
+ ? `Error: "by" must not be empty.`
1072
+ : HavingValid extends Prisma.False
1073
+ ? {
1074
+ [P in HavingFields]: P extends ByFields
1075
+ ? never
1076
+ : P extends string
1077
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1078
+ : [
1079
+ Error,
1080
+ 'Field ',
1081
+ P,
1082
+ ` in "having" needs to be provided in "by"`,
1083
+ ]
1084
+ }[HavingFields]
1085
+ : 'take' extends Prisma.Keys<T>
1086
+ ? 'orderBy' extends Prisma.Keys<T>
1087
+ ? ByValid extends Prisma.True
1088
+ ? {}
1089
+ : {
1090
+ [P in OrderFields]: P extends ByFields
1091
+ ? never
1092
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1093
+ }[OrderFields]
1094
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1095
+ : 'skip' extends Prisma.Keys<T>
1096
+ ? 'orderBy' extends Prisma.Keys<T>
1097
+ ? ByValid extends Prisma.True
1098
+ ? {}
1099
+ : {
1100
+ [P in OrderFields]: P extends ByFields
1101
+ ? never
1102
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1103
+ }[OrderFields]
1104
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1105
+ : ByValid extends Prisma.True
1106
+ ? {}
1107
+ : {
1108
+ [P in OrderFields]: P extends ByFields
1109
+ ? never
1110
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1111
+ }[OrderFields]
1112
+ >(args: Prisma.SubsetIntersection<T, ProjectActivityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectActivityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1113
+ /**
1114
+ * Fields of the ProjectActivity model
1115
+ */
1116
+ readonly fields: ProjectActivityFieldRefs;
1117
+ }
1118
+
1119
+ /**
1120
+ * The delegate class that acts as a "Promise-like" for ProjectActivity.
1121
+ * Why is this prefixed with `Prisma__`?
1122
+ * Because we want to prevent naming conflicts as mentioned in
1123
+ * https://github.com/prisma/prisma-client-js/issues/707
1124
+ */
1125
+ export interface Prisma__ProjectActivityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1126
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1127
+ 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>
1128
+ 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>
1129
+ /**
1130
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1131
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1132
+ * @param onrejected The callback to execute when the Promise is rejected.
1133
+ * @returns A Promise for the completion of which ever callback is executed.
1134
+ */
1135
+ 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>
1136
+ /**
1137
+ * Attaches a callback for only the rejection of the Promise.
1138
+ * @param onrejected The callback to execute when the Promise is rejected.
1139
+ * @returns A Promise for the completion of the callback.
1140
+ */
1141
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1142
+ /**
1143
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1144
+ * resolved value cannot be modified from the callback.
1145
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1146
+ * @returns A Promise for the completion of the callback.
1147
+ */
1148
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1149
+ }
1150
+
1151
+
1152
+
1153
+
1154
+ /**
1155
+ * Fields of the ProjectActivity model
1156
+ */
1157
+ export interface ProjectActivityFieldRefs {
1158
+ readonly id: Prisma.FieldRef<"ProjectActivity", 'String'>
1159
+ readonly projectId: Prisma.FieldRef<"ProjectActivity", 'String'>
1160
+ readonly userId: Prisma.FieldRef<"ProjectActivity", 'String'>
1161
+ readonly action: Prisma.FieldRef<"ProjectActivity", 'String'>
1162
+ readonly targetType: Prisma.FieldRef<"ProjectActivity", 'String'>
1163
+ readonly targetId: Prisma.FieldRef<"ProjectActivity", 'String'>
1164
+ readonly metadata: Prisma.FieldRef<"ProjectActivity", 'Json'>
1165
+ readonly createdAt: Prisma.FieldRef<"ProjectActivity", 'DateTime'>
1166
+ }
1167
+
1168
+
1169
+ // Custom InputTypes
1170
+ /**
1171
+ * ProjectActivity findUnique
1172
+ */
1173
+ export type ProjectActivityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
+ /**
1175
+ * Select specific fields to fetch from the ProjectActivity
1176
+ */
1177
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1178
+ /**
1179
+ * Omit specific fields from the ProjectActivity
1180
+ */
1181
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1182
+ /**
1183
+ * Choose, which related nodes to fetch as well
1184
+ */
1185
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1186
+ /**
1187
+ * Filter, which ProjectActivity to fetch.
1188
+ */
1189
+ where: Prisma.ProjectActivityWhereUniqueInput
1190
+ }
1191
+
1192
+ /**
1193
+ * ProjectActivity findUniqueOrThrow
1194
+ */
1195
+ export type ProjectActivityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the ProjectActivity
1198
+ */
1199
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1200
+ /**
1201
+ * Omit specific fields from the ProjectActivity
1202
+ */
1203
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
1207
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1208
+ /**
1209
+ * Filter, which ProjectActivity to fetch.
1210
+ */
1211
+ where: Prisma.ProjectActivityWhereUniqueInput
1212
+ }
1213
+
1214
+ /**
1215
+ * ProjectActivity findFirst
1216
+ */
1217
+ export type ProjectActivityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
+ /**
1219
+ * Select specific fields to fetch from the ProjectActivity
1220
+ */
1221
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1222
+ /**
1223
+ * Omit specific fields from the ProjectActivity
1224
+ */
1225
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1226
+ /**
1227
+ * Choose, which related nodes to fetch as well
1228
+ */
1229
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1230
+ /**
1231
+ * Filter, which ProjectActivity to fetch.
1232
+ */
1233
+ where?: Prisma.ProjectActivityWhereInput
1234
+ /**
1235
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1236
+ *
1237
+ * Determine the order of ProjectActivities to fetch.
1238
+ */
1239
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1240
+ /**
1241
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1242
+ *
1243
+ * Sets the position for searching for ProjectActivities.
1244
+ */
1245
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1246
+ /**
1247
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1248
+ *
1249
+ * Take `±n` ProjectActivities from the position of the cursor.
1250
+ */
1251
+ take?: number
1252
+ /**
1253
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1254
+ *
1255
+ * Skip the first `n` ProjectActivities.
1256
+ */
1257
+ skip?: number
1258
+ /**
1259
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1260
+ *
1261
+ * Filter by unique combinations of ProjectActivities.
1262
+ */
1263
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1264
+ }
1265
+
1266
+ /**
1267
+ * ProjectActivity findFirstOrThrow
1268
+ */
1269
+ export type ProjectActivityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1270
+ /**
1271
+ * Select specific fields to fetch from the ProjectActivity
1272
+ */
1273
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1274
+ /**
1275
+ * Omit specific fields from the ProjectActivity
1276
+ */
1277
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1278
+ /**
1279
+ * Choose, which related nodes to fetch as well
1280
+ */
1281
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1282
+ /**
1283
+ * Filter, which ProjectActivity to fetch.
1284
+ */
1285
+ where?: Prisma.ProjectActivityWhereInput
1286
+ /**
1287
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1288
+ *
1289
+ * Determine the order of ProjectActivities to fetch.
1290
+ */
1291
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1292
+ /**
1293
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1294
+ *
1295
+ * Sets the position for searching for ProjectActivities.
1296
+ */
1297
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1298
+ /**
1299
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1300
+ *
1301
+ * Take `±n` ProjectActivities from the position of the cursor.
1302
+ */
1303
+ take?: number
1304
+ /**
1305
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1306
+ *
1307
+ * Skip the first `n` ProjectActivities.
1308
+ */
1309
+ skip?: number
1310
+ /**
1311
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1312
+ *
1313
+ * Filter by unique combinations of ProjectActivities.
1314
+ */
1315
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1316
+ }
1317
+
1318
+ /**
1319
+ * ProjectActivity findMany
1320
+ */
1321
+ export type ProjectActivityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1322
+ /**
1323
+ * Select specific fields to fetch from the ProjectActivity
1324
+ */
1325
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1326
+ /**
1327
+ * Omit specific fields from the ProjectActivity
1328
+ */
1329
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1330
+ /**
1331
+ * Choose, which related nodes to fetch as well
1332
+ */
1333
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1334
+ /**
1335
+ * Filter, which ProjectActivities to fetch.
1336
+ */
1337
+ where?: Prisma.ProjectActivityWhereInput
1338
+ /**
1339
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1340
+ *
1341
+ * Determine the order of ProjectActivities to fetch.
1342
+ */
1343
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
1344
+ /**
1345
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1346
+ *
1347
+ * Sets the position for listing ProjectActivities.
1348
+ */
1349
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
1350
+ /**
1351
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1352
+ *
1353
+ * Take `±n` ProjectActivities from the position of the cursor.
1354
+ */
1355
+ take?: number
1356
+ /**
1357
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1358
+ *
1359
+ * Skip the first `n` ProjectActivities.
1360
+ */
1361
+ skip?: number
1362
+ /**
1363
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1364
+ *
1365
+ * Filter by unique combinations of ProjectActivities.
1366
+ */
1367
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1368
+ }
1369
+
1370
+ /**
1371
+ * ProjectActivity create
1372
+ */
1373
+ export type ProjectActivityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1374
+ /**
1375
+ * Select specific fields to fetch from the ProjectActivity
1376
+ */
1377
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1378
+ /**
1379
+ * Omit specific fields from the ProjectActivity
1380
+ */
1381
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1382
+ /**
1383
+ * Choose, which related nodes to fetch as well
1384
+ */
1385
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1386
+ /**
1387
+ * The data needed to create a ProjectActivity.
1388
+ */
1389
+ data: Prisma.XOR<Prisma.ProjectActivityCreateInput, Prisma.ProjectActivityUncheckedCreateInput>
1390
+ }
1391
+
1392
+ /**
1393
+ * ProjectActivity createMany
1394
+ */
1395
+ export type ProjectActivityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1396
+ /**
1397
+ * The data used to create many ProjectActivities.
1398
+ */
1399
+ data: Prisma.ProjectActivityCreateManyInput | Prisma.ProjectActivityCreateManyInput[]
1400
+ skipDuplicates?: boolean
1401
+ }
1402
+
1403
+ /**
1404
+ * ProjectActivity createManyAndReturn
1405
+ */
1406
+ export type ProjectActivityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1407
+ /**
1408
+ * Select specific fields to fetch from the ProjectActivity
1409
+ */
1410
+ select?: Prisma.ProjectActivitySelectCreateManyAndReturn<ExtArgs> | null
1411
+ /**
1412
+ * Omit specific fields from the ProjectActivity
1413
+ */
1414
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1415
+ /**
1416
+ * The data used to create many ProjectActivities.
1417
+ */
1418
+ data: Prisma.ProjectActivityCreateManyInput | Prisma.ProjectActivityCreateManyInput[]
1419
+ skipDuplicates?: boolean
1420
+ /**
1421
+ * Choose, which related nodes to fetch as well
1422
+ */
1423
+ include?: Prisma.ProjectActivityIncludeCreateManyAndReturn<ExtArgs> | null
1424
+ }
1425
+
1426
+ /**
1427
+ * ProjectActivity update
1428
+ */
1429
+ export type ProjectActivityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1430
+ /**
1431
+ * Select specific fields to fetch from the ProjectActivity
1432
+ */
1433
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1434
+ /**
1435
+ * Omit specific fields from the ProjectActivity
1436
+ */
1437
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1438
+ /**
1439
+ * Choose, which related nodes to fetch as well
1440
+ */
1441
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1442
+ /**
1443
+ * The data needed to update a ProjectActivity.
1444
+ */
1445
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateInput, Prisma.ProjectActivityUncheckedUpdateInput>
1446
+ /**
1447
+ * Choose, which ProjectActivity to update.
1448
+ */
1449
+ where: Prisma.ProjectActivityWhereUniqueInput
1450
+ }
1451
+
1452
+ /**
1453
+ * ProjectActivity updateMany
1454
+ */
1455
+ export type ProjectActivityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1456
+ /**
1457
+ * The data used to update ProjectActivities.
1458
+ */
1459
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyInput>
1460
+ /**
1461
+ * Filter which ProjectActivities to update
1462
+ */
1463
+ where?: Prisma.ProjectActivityWhereInput
1464
+ /**
1465
+ * Limit how many ProjectActivities to update.
1466
+ */
1467
+ limit?: number
1468
+ }
1469
+
1470
+ /**
1471
+ * ProjectActivity updateManyAndReturn
1472
+ */
1473
+ export type ProjectActivityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1474
+ /**
1475
+ * Select specific fields to fetch from the ProjectActivity
1476
+ */
1477
+ select?: Prisma.ProjectActivitySelectUpdateManyAndReturn<ExtArgs> | null
1478
+ /**
1479
+ * Omit specific fields from the ProjectActivity
1480
+ */
1481
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1482
+ /**
1483
+ * The data used to update ProjectActivities.
1484
+ */
1485
+ data: Prisma.XOR<Prisma.ProjectActivityUpdateManyMutationInput, Prisma.ProjectActivityUncheckedUpdateManyInput>
1486
+ /**
1487
+ * Filter which ProjectActivities to update
1488
+ */
1489
+ where?: Prisma.ProjectActivityWhereInput
1490
+ /**
1491
+ * Limit how many ProjectActivities to update.
1492
+ */
1493
+ limit?: number
1494
+ /**
1495
+ * Choose, which related nodes to fetch as well
1496
+ */
1497
+ include?: Prisma.ProjectActivityIncludeUpdateManyAndReturn<ExtArgs> | null
1498
+ }
1499
+
1500
+ /**
1501
+ * ProjectActivity upsert
1502
+ */
1503
+ export type ProjectActivityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1504
+ /**
1505
+ * Select specific fields to fetch from the ProjectActivity
1506
+ */
1507
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1508
+ /**
1509
+ * Omit specific fields from the ProjectActivity
1510
+ */
1511
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1512
+ /**
1513
+ * Choose, which related nodes to fetch as well
1514
+ */
1515
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1516
+ /**
1517
+ * The filter to search for the ProjectActivity to update in case it exists.
1518
+ */
1519
+ where: Prisma.ProjectActivityWhereUniqueInput
1520
+ /**
1521
+ * In case the ProjectActivity found by the `where` argument doesn't exist, create a new ProjectActivity with this data.
1522
+ */
1523
+ create: Prisma.XOR<Prisma.ProjectActivityCreateInput, Prisma.ProjectActivityUncheckedCreateInput>
1524
+ /**
1525
+ * In case the ProjectActivity was found with the provided `where` argument, update it with this data.
1526
+ */
1527
+ update: Prisma.XOR<Prisma.ProjectActivityUpdateInput, Prisma.ProjectActivityUncheckedUpdateInput>
1528
+ }
1529
+
1530
+ /**
1531
+ * ProjectActivity delete
1532
+ */
1533
+ export type ProjectActivityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1534
+ /**
1535
+ * Select specific fields to fetch from the ProjectActivity
1536
+ */
1537
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1538
+ /**
1539
+ * Omit specific fields from the ProjectActivity
1540
+ */
1541
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1542
+ /**
1543
+ * Choose, which related nodes to fetch as well
1544
+ */
1545
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1546
+ /**
1547
+ * Filter which ProjectActivity to delete.
1548
+ */
1549
+ where: Prisma.ProjectActivityWhereUniqueInput
1550
+ }
1551
+
1552
+ /**
1553
+ * ProjectActivity deleteMany
1554
+ */
1555
+ export type ProjectActivityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1556
+ /**
1557
+ * Filter which ProjectActivities to delete
1558
+ */
1559
+ where?: Prisma.ProjectActivityWhereInput
1560
+ /**
1561
+ * Limit how many ProjectActivities to delete.
1562
+ */
1563
+ limit?: number
1564
+ }
1565
+
1566
+ /**
1567
+ * ProjectActivity without action
1568
+ */
1569
+ export type ProjectActivityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1570
+ /**
1571
+ * Select specific fields to fetch from the ProjectActivity
1572
+ */
1573
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
1574
+ /**
1575
+ * Omit specific fields from the ProjectActivity
1576
+ */
1577
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
1578
+ /**
1579
+ * Choose, which related nodes to fetch as well
1580
+ */
1581
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
1582
+ }