@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,2148 @@
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 `Project` 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 Project
17
+ *
18
+ */
19
+ export type ProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectPayload>
20
+
21
+ export type AggregateProject = {
22
+ _count: ProjectCountAggregateOutputType | null
23
+ _min: ProjectMinAggregateOutputType | null
24
+ _max: ProjectMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type ProjectMinAggregateOutputType = {
28
+ id: string | null
29
+ displayId: string | null
30
+ name: string | null
31
+ description: string | null
32
+ icon: string | null
33
+ timezone: string | null
34
+ ownerId: string | null
35
+ workspaceId: string | null
36
+ createdAt: Date | null
37
+ updatedAt: Date | null
38
+ }
39
+
40
+ export type ProjectMaxAggregateOutputType = {
41
+ id: string | null
42
+ displayId: string | null
43
+ name: string | null
44
+ description: string | null
45
+ icon: string | null
46
+ timezone: string | null
47
+ ownerId: string | null
48
+ workspaceId: string | null
49
+ createdAt: Date | null
50
+ updatedAt: Date | null
51
+ }
52
+
53
+ export type ProjectCountAggregateOutputType = {
54
+ id: number
55
+ displayId: number
56
+ name: number
57
+ description: number
58
+ icon: number
59
+ timezone: number
60
+ ownerId: number
61
+ workspaceId: number
62
+ createdAt: number
63
+ updatedAt: number
64
+ _all: number
65
+ }
66
+
67
+
68
+ export type ProjectMinAggregateInputType = {
69
+ id?: true
70
+ displayId?: true
71
+ name?: true
72
+ description?: true
73
+ icon?: true
74
+ timezone?: true
75
+ ownerId?: true
76
+ workspaceId?: true
77
+ createdAt?: true
78
+ updatedAt?: true
79
+ }
80
+
81
+ export type ProjectMaxAggregateInputType = {
82
+ id?: true
83
+ displayId?: true
84
+ name?: true
85
+ description?: true
86
+ icon?: true
87
+ timezone?: true
88
+ ownerId?: true
89
+ workspaceId?: true
90
+ createdAt?: true
91
+ updatedAt?: true
92
+ }
93
+
94
+ export type ProjectCountAggregateInputType = {
95
+ id?: true
96
+ displayId?: true
97
+ name?: true
98
+ description?: true
99
+ icon?: true
100
+ timezone?: true
101
+ ownerId?: true
102
+ workspaceId?: true
103
+ createdAt?: true
104
+ updatedAt?: true
105
+ _all?: true
106
+ }
107
+
108
+ export type ProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
+ /**
110
+ * Filter which Project to aggregate.
111
+ */
112
+ where?: Prisma.ProjectWhereInput
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
+ *
116
+ * Determine the order of Projects to fetch.
117
+ */
118
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
121
+ *
122
+ * Sets the start position
123
+ */
124
+ cursor?: Prisma.ProjectWhereUniqueInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
+ *
128
+ * Take `±n` Projects from the position of the cursor.
129
+ */
130
+ take?: number
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
+ *
134
+ * Skip the first `n` Projects.
135
+ */
136
+ skip?: number
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Count returned Projects
141
+ **/
142
+ _count?: true | ProjectCountAggregateInputType
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Select which fields to find the minimum value
147
+ **/
148
+ _min?: ProjectMinAggregateInputType
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Select which fields to find the maximum value
153
+ **/
154
+ _max?: ProjectMaxAggregateInputType
155
+ }
156
+
157
+ export type GetProjectAggregateType<T extends ProjectAggregateArgs> = {
158
+ [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count'
159
+ ? T[P] extends true
160
+ ? number
161
+ : Prisma.GetScalarType<T[P], AggregateProject[P]>
162
+ : Prisma.GetScalarType<T[P], AggregateProject[P]>
163
+ }
164
+
165
+
166
+
167
+
168
+ export type ProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
169
+ where?: Prisma.ProjectWhereInput
170
+ orderBy?: Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[]
171
+ by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum
172
+ having?: Prisma.ProjectScalarWhereWithAggregatesInput
173
+ take?: number
174
+ skip?: number
175
+ _count?: ProjectCountAggregateInputType | true
176
+ _min?: ProjectMinAggregateInputType
177
+ _max?: ProjectMaxAggregateInputType
178
+ }
179
+
180
+ export type ProjectGroupByOutputType = {
181
+ id: string
182
+ displayId: string | null
183
+ name: string
184
+ description: string | null
185
+ icon: string
186
+ timezone: string | null
187
+ ownerId: string
188
+ workspaceId: string | null
189
+ createdAt: Date
190
+ updatedAt: Date
191
+ _count: ProjectCountAggregateOutputType | null
192
+ _min: ProjectMinAggregateOutputType | null
193
+ _max: ProjectMaxAggregateOutputType | null
194
+ }
195
+
196
+ export type GetProjectGroupByPayload<T extends ProjectGroupByArgs> = Prisma.PrismaPromise<
197
+ Array<
198
+ Prisma.PickEnumerable<ProjectGroupByOutputType, T['by']> &
199
+ {
200
+ [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count'
201
+ ? T[P] extends boolean
202
+ ? number
203
+ : Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
204
+ : Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
205
+ }
206
+ >
207
+ >
208
+
209
+
210
+
211
+ export type ProjectWhereInput = {
212
+ AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
213
+ OR?: Prisma.ProjectWhereInput[]
214
+ NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
215
+ id?: Prisma.StringFilter<"Project"> | string
216
+ displayId?: Prisma.StringNullableFilter<"Project"> | string | null
217
+ name?: Prisma.StringFilter<"Project"> | string
218
+ description?: Prisma.StringNullableFilter<"Project"> | string | null
219
+ icon?: Prisma.StringFilter<"Project"> | string
220
+ timezone?: Prisma.StringNullableFilter<"Project"> | string | null
221
+ ownerId?: Prisma.StringFilter<"Project"> | string
222
+ workspaceId?: Prisma.StringNullableFilter<"Project"> | string | null
223
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
224
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
225
+ owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
226
+ workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
227
+ members?: Prisma.ProjectMemberListRelationFilter
228
+ activities?: Prisma.ProjectActivityListRelationFilter
229
+ stories?: Prisma.StoryListRelationFilter
230
+ }
231
+
232
+ export type ProjectOrderByWithRelationInput = {
233
+ id?: Prisma.SortOrder
234
+ displayId?: Prisma.SortOrderInput | Prisma.SortOrder
235
+ name?: Prisma.SortOrder
236
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
237
+ icon?: Prisma.SortOrder
238
+ timezone?: Prisma.SortOrderInput | Prisma.SortOrder
239
+ ownerId?: Prisma.SortOrder
240
+ workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
241
+ createdAt?: Prisma.SortOrder
242
+ updatedAt?: Prisma.SortOrder
243
+ owner?: Prisma.UserOrderByWithRelationInput
244
+ workspace?: Prisma.WorkspaceOrderByWithRelationInput
245
+ members?: Prisma.ProjectMemberOrderByRelationAggregateInput
246
+ activities?: Prisma.ProjectActivityOrderByRelationAggregateInput
247
+ stories?: Prisma.StoryOrderByRelationAggregateInput
248
+ }
249
+
250
+ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
251
+ id?: string
252
+ ownerId_displayId?: Prisma.ProjectOwnerIdDisplayIdCompoundUniqueInput
253
+ AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
254
+ OR?: Prisma.ProjectWhereInput[]
255
+ NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
256
+ displayId?: Prisma.StringNullableFilter<"Project"> | string | null
257
+ name?: Prisma.StringFilter<"Project"> | string
258
+ description?: Prisma.StringNullableFilter<"Project"> | string | null
259
+ icon?: Prisma.StringFilter<"Project"> | string
260
+ timezone?: Prisma.StringNullableFilter<"Project"> | string | null
261
+ ownerId?: Prisma.StringFilter<"Project"> | string
262
+ workspaceId?: Prisma.StringNullableFilter<"Project"> | string | null
263
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
264
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
265
+ owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
266
+ workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
267
+ members?: Prisma.ProjectMemberListRelationFilter
268
+ activities?: Prisma.ProjectActivityListRelationFilter
269
+ stories?: Prisma.StoryListRelationFilter
270
+ }, "id" | "ownerId_displayId">
271
+
272
+ export type ProjectOrderByWithAggregationInput = {
273
+ id?: Prisma.SortOrder
274
+ displayId?: Prisma.SortOrderInput | Prisma.SortOrder
275
+ name?: Prisma.SortOrder
276
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
277
+ icon?: Prisma.SortOrder
278
+ timezone?: Prisma.SortOrderInput | Prisma.SortOrder
279
+ ownerId?: Prisma.SortOrder
280
+ workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
281
+ createdAt?: Prisma.SortOrder
282
+ updatedAt?: Prisma.SortOrder
283
+ _count?: Prisma.ProjectCountOrderByAggregateInput
284
+ _max?: Prisma.ProjectMaxOrderByAggregateInput
285
+ _min?: Prisma.ProjectMinOrderByAggregateInput
286
+ }
287
+
288
+ export type ProjectScalarWhereWithAggregatesInput = {
289
+ AND?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
290
+ OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]
291
+ NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
292
+ id?: Prisma.StringWithAggregatesFilter<"Project"> | string
293
+ displayId?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
294
+ name?: Prisma.StringWithAggregatesFilter<"Project"> | string
295
+ description?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
296
+ icon?: Prisma.StringWithAggregatesFilter<"Project"> | string
297
+ timezone?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
298
+ ownerId?: Prisma.StringWithAggregatesFilter<"Project"> | string
299
+ workspaceId?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
300
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
301
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
302
+ }
303
+
304
+ export type ProjectCreateInput = {
305
+ id?: string
306
+ displayId?: string | null
307
+ name: string
308
+ description?: string | null
309
+ icon?: string
310
+ timezone?: string | null
311
+ createdAt?: Date | string
312
+ updatedAt?: Date | string
313
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
314
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
315
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
316
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
317
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
318
+ }
319
+
320
+ export type ProjectUncheckedCreateInput = {
321
+ id?: string
322
+ displayId?: string | null
323
+ name: string
324
+ description?: string | null
325
+ icon?: string
326
+ timezone?: string | null
327
+ ownerId: string
328
+ workspaceId?: string | null
329
+ createdAt?: Date | string
330
+ updatedAt?: Date | string
331
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
332
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
333
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
334
+ }
335
+
336
+ export type ProjectUpdateInput = {
337
+ id?: Prisma.StringFieldUpdateOperationsInput | string
338
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
339
+ name?: Prisma.StringFieldUpdateOperationsInput | string
340
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
341
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
342
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
343
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
344
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
345
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
346
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
347
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
348
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
349
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
350
+ }
351
+
352
+ export type ProjectUncheckedUpdateInput = {
353
+ id?: Prisma.StringFieldUpdateOperationsInput | string
354
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
355
+ name?: Prisma.StringFieldUpdateOperationsInput | string
356
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
357
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
358
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
359
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
360
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
361
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
362
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
364
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
365
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
366
+ }
367
+
368
+ export type ProjectCreateManyInput = {
369
+ id?: string
370
+ displayId?: string | null
371
+ name: string
372
+ description?: string | null
373
+ icon?: string
374
+ timezone?: string | null
375
+ ownerId: string
376
+ workspaceId?: string | null
377
+ createdAt?: Date | string
378
+ updatedAt?: Date | string
379
+ }
380
+
381
+ export type ProjectUpdateManyMutationInput = {
382
+ id?: Prisma.StringFieldUpdateOperationsInput | string
383
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
384
+ name?: Prisma.StringFieldUpdateOperationsInput | string
385
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
386
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
387
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
388
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
389
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
390
+ }
391
+
392
+ export type ProjectUncheckedUpdateManyInput = {
393
+ id?: Prisma.StringFieldUpdateOperationsInput | string
394
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
395
+ name?: Prisma.StringFieldUpdateOperationsInput | string
396
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
397
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
398
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
399
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
400
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
401
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
402
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
403
+ }
404
+
405
+ export type ProjectListRelationFilter = {
406
+ every?: Prisma.ProjectWhereInput
407
+ some?: Prisma.ProjectWhereInput
408
+ none?: Prisma.ProjectWhereInput
409
+ }
410
+
411
+ export type ProjectOrderByRelationAggregateInput = {
412
+ _count?: Prisma.SortOrder
413
+ }
414
+
415
+ export type ProjectOwnerIdDisplayIdCompoundUniqueInput = {
416
+ ownerId: string
417
+ displayId: string
418
+ }
419
+
420
+ export type ProjectCountOrderByAggregateInput = {
421
+ id?: Prisma.SortOrder
422
+ displayId?: Prisma.SortOrder
423
+ name?: Prisma.SortOrder
424
+ description?: Prisma.SortOrder
425
+ icon?: Prisma.SortOrder
426
+ timezone?: Prisma.SortOrder
427
+ ownerId?: Prisma.SortOrder
428
+ workspaceId?: Prisma.SortOrder
429
+ createdAt?: Prisma.SortOrder
430
+ updatedAt?: Prisma.SortOrder
431
+ }
432
+
433
+ export type ProjectMaxOrderByAggregateInput = {
434
+ id?: Prisma.SortOrder
435
+ displayId?: Prisma.SortOrder
436
+ name?: Prisma.SortOrder
437
+ description?: Prisma.SortOrder
438
+ icon?: Prisma.SortOrder
439
+ timezone?: Prisma.SortOrder
440
+ ownerId?: Prisma.SortOrder
441
+ workspaceId?: Prisma.SortOrder
442
+ createdAt?: Prisma.SortOrder
443
+ updatedAt?: Prisma.SortOrder
444
+ }
445
+
446
+ export type ProjectMinOrderByAggregateInput = {
447
+ id?: Prisma.SortOrder
448
+ displayId?: Prisma.SortOrder
449
+ name?: Prisma.SortOrder
450
+ description?: Prisma.SortOrder
451
+ icon?: Prisma.SortOrder
452
+ timezone?: Prisma.SortOrder
453
+ ownerId?: Prisma.SortOrder
454
+ workspaceId?: Prisma.SortOrder
455
+ createdAt?: Prisma.SortOrder
456
+ updatedAt?: Prisma.SortOrder
457
+ }
458
+
459
+ export type ProjectScalarRelationFilter = {
460
+ is?: Prisma.ProjectWhereInput
461
+ isNot?: Prisma.ProjectWhereInput
462
+ }
463
+
464
+ export type ProjectCreateNestedManyWithoutOwnerInput = {
465
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput> | Prisma.ProjectCreateWithoutOwnerInput[] | Prisma.ProjectUncheckedCreateWithoutOwnerInput[]
466
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutOwnerInput | Prisma.ProjectCreateOrConnectWithoutOwnerInput[]
467
+ createMany?: Prisma.ProjectCreateManyOwnerInputEnvelope
468
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
469
+ }
470
+
471
+ export type ProjectUncheckedCreateNestedManyWithoutOwnerInput = {
472
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput> | Prisma.ProjectCreateWithoutOwnerInput[] | Prisma.ProjectUncheckedCreateWithoutOwnerInput[]
473
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutOwnerInput | Prisma.ProjectCreateOrConnectWithoutOwnerInput[]
474
+ createMany?: Prisma.ProjectCreateManyOwnerInputEnvelope
475
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
476
+ }
477
+
478
+ export type ProjectUpdateManyWithoutOwnerNestedInput = {
479
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput> | Prisma.ProjectCreateWithoutOwnerInput[] | Prisma.ProjectUncheckedCreateWithoutOwnerInput[]
480
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutOwnerInput | Prisma.ProjectCreateOrConnectWithoutOwnerInput[]
481
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutOwnerInput | Prisma.ProjectUpsertWithWhereUniqueWithoutOwnerInput[]
482
+ createMany?: Prisma.ProjectCreateManyOwnerInputEnvelope
483
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
484
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
485
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
486
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
487
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutOwnerInput | Prisma.ProjectUpdateWithWhereUniqueWithoutOwnerInput[]
488
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutOwnerInput | Prisma.ProjectUpdateManyWithWhereWithoutOwnerInput[]
489
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
490
+ }
491
+
492
+ export type ProjectUncheckedUpdateManyWithoutOwnerNestedInput = {
493
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput> | Prisma.ProjectCreateWithoutOwnerInput[] | Prisma.ProjectUncheckedCreateWithoutOwnerInput[]
494
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutOwnerInput | Prisma.ProjectCreateOrConnectWithoutOwnerInput[]
495
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutOwnerInput | Prisma.ProjectUpsertWithWhereUniqueWithoutOwnerInput[]
496
+ createMany?: Prisma.ProjectCreateManyOwnerInputEnvelope
497
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
498
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
499
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
500
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
501
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutOwnerInput | Prisma.ProjectUpdateWithWhereUniqueWithoutOwnerInput[]
502
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutOwnerInput | Prisma.ProjectUpdateManyWithWhereWithoutOwnerInput[]
503
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
504
+ }
505
+
506
+ export type ProjectCreateNestedOneWithoutMembersInput = {
507
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutMembersInput, Prisma.ProjectUncheckedCreateWithoutMembersInput>
508
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMembersInput
509
+ connect?: Prisma.ProjectWhereUniqueInput
510
+ }
511
+
512
+ export type ProjectUpdateOneRequiredWithoutMembersNestedInput = {
513
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutMembersInput, Prisma.ProjectUncheckedCreateWithoutMembersInput>
514
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMembersInput
515
+ upsert?: Prisma.ProjectUpsertWithoutMembersInput
516
+ connect?: Prisma.ProjectWhereUniqueInput
517
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutMembersInput, Prisma.ProjectUpdateWithoutMembersInput>, Prisma.ProjectUncheckedUpdateWithoutMembersInput>
518
+ }
519
+
520
+ export type ProjectCreateNestedManyWithoutWorkspaceInput = {
521
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput> | Prisma.ProjectCreateWithoutWorkspaceInput[] | Prisma.ProjectUncheckedCreateWithoutWorkspaceInput[]
522
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutWorkspaceInput | Prisma.ProjectCreateOrConnectWithoutWorkspaceInput[]
523
+ createMany?: Prisma.ProjectCreateManyWorkspaceInputEnvelope
524
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
525
+ }
526
+
527
+ export type ProjectUncheckedCreateNestedManyWithoutWorkspaceInput = {
528
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput> | Prisma.ProjectCreateWithoutWorkspaceInput[] | Prisma.ProjectUncheckedCreateWithoutWorkspaceInput[]
529
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutWorkspaceInput | Prisma.ProjectCreateOrConnectWithoutWorkspaceInput[]
530
+ createMany?: Prisma.ProjectCreateManyWorkspaceInputEnvelope
531
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
532
+ }
533
+
534
+ export type ProjectUpdateManyWithoutWorkspaceNestedInput = {
535
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput> | Prisma.ProjectCreateWithoutWorkspaceInput[] | Prisma.ProjectUncheckedCreateWithoutWorkspaceInput[]
536
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutWorkspaceInput | Prisma.ProjectCreateOrConnectWithoutWorkspaceInput[]
537
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutWorkspaceInput[]
538
+ createMany?: Prisma.ProjectCreateManyWorkspaceInputEnvelope
539
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
540
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
541
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
542
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
543
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutWorkspaceInput[]
544
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutWorkspaceInput | Prisma.ProjectUpdateManyWithWhereWithoutWorkspaceInput[]
545
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
546
+ }
547
+
548
+ export type ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput = {
549
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput> | Prisma.ProjectCreateWithoutWorkspaceInput[] | Prisma.ProjectUncheckedCreateWithoutWorkspaceInput[]
550
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutWorkspaceInput | Prisma.ProjectCreateOrConnectWithoutWorkspaceInput[]
551
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutWorkspaceInput[]
552
+ createMany?: Prisma.ProjectCreateManyWorkspaceInputEnvelope
553
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
554
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
555
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
556
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
557
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutWorkspaceInput[]
558
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutWorkspaceInput | Prisma.ProjectUpdateManyWithWhereWithoutWorkspaceInput[]
559
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
560
+ }
561
+
562
+ export type ProjectCreateNestedOneWithoutActivitiesInput = {
563
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutActivitiesInput, Prisma.ProjectUncheckedCreateWithoutActivitiesInput>
564
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutActivitiesInput
565
+ connect?: Prisma.ProjectWhereUniqueInput
566
+ }
567
+
568
+ export type ProjectUpdateOneRequiredWithoutActivitiesNestedInput = {
569
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutActivitiesInput, Prisma.ProjectUncheckedCreateWithoutActivitiesInput>
570
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutActivitiesInput
571
+ upsert?: Prisma.ProjectUpsertWithoutActivitiesInput
572
+ connect?: Prisma.ProjectWhereUniqueInput
573
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutActivitiesInput, Prisma.ProjectUpdateWithoutActivitiesInput>, Prisma.ProjectUncheckedUpdateWithoutActivitiesInput>
574
+ }
575
+
576
+ export type ProjectCreateNestedOneWithoutStoriesInput = {
577
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
578
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutStoriesInput
579
+ connect?: Prisma.ProjectWhereUniqueInput
580
+ }
581
+
582
+ export type ProjectUpdateOneRequiredWithoutStoriesNestedInput = {
583
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
584
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutStoriesInput
585
+ upsert?: Prisma.ProjectUpsertWithoutStoriesInput
586
+ connect?: Prisma.ProjectWhereUniqueInput
587
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutStoriesInput, Prisma.ProjectUpdateWithoutStoriesInput>, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
588
+ }
589
+
590
+ export type ProjectCreateWithoutOwnerInput = {
591
+ id?: string
592
+ displayId?: string | null
593
+ name: string
594
+ description?: string | null
595
+ icon?: string
596
+ timezone?: string | null
597
+ createdAt?: Date | string
598
+ updatedAt?: Date | string
599
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
600
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
601
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
602
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
603
+ }
604
+
605
+ export type ProjectUncheckedCreateWithoutOwnerInput = {
606
+ id?: string
607
+ displayId?: string | null
608
+ name: string
609
+ description?: string | null
610
+ icon?: string
611
+ timezone?: string | null
612
+ workspaceId?: string | null
613
+ createdAt?: Date | string
614
+ updatedAt?: Date | string
615
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
616
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
617
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
618
+ }
619
+
620
+ export type ProjectCreateOrConnectWithoutOwnerInput = {
621
+ where: Prisma.ProjectWhereUniqueInput
622
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput>
623
+ }
624
+
625
+ export type ProjectCreateManyOwnerInputEnvelope = {
626
+ data: Prisma.ProjectCreateManyOwnerInput | Prisma.ProjectCreateManyOwnerInput[]
627
+ skipDuplicates?: boolean
628
+ }
629
+
630
+ export type ProjectUpsertWithWhereUniqueWithoutOwnerInput = {
631
+ where: Prisma.ProjectWhereUniqueInput
632
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutOwnerInput, Prisma.ProjectUncheckedUpdateWithoutOwnerInput>
633
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput>
634
+ }
635
+
636
+ export type ProjectUpdateWithWhereUniqueWithoutOwnerInput = {
637
+ where: Prisma.ProjectWhereUniqueInput
638
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutOwnerInput, Prisma.ProjectUncheckedUpdateWithoutOwnerInput>
639
+ }
640
+
641
+ export type ProjectUpdateManyWithWhereWithoutOwnerInput = {
642
+ where: Prisma.ProjectScalarWhereInput
643
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutOwnerInput>
644
+ }
645
+
646
+ export type ProjectScalarWhereInput = {
647
+ AND?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
648
+ OR?: Prisma.ProjectScalarWhereInput[]
649
+ NOT?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
650
+ id?: Prisma.StringFilter<"Project"> | string
651
+ displayId?: Prisma.StringNullableFilter<"Project"> | string | null
652
+ name?: Prisma.StringFilter<"Project"> | string
653
+ description?: Prisma.StringNullableFilter<"Project"> | string | null
654
+ icon?: Prisma.StringFilter<"Project"> | string
655
+ timezone?: Prisma.StringNullableFilter<"Project"> | string | null
656
+ ownerId?: Prisma.StringFilter<"Project"> | string
657
+ workspaceId?: Prisma.StringNullableFilter<"Project"> | string | null
658
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
659
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
660
+ }
661
+
662
+ export type ProjectCreateWithoutMembersInput = {
663
+ id?: string
664
+ displayId?: string | null
665
+ name: string
666
+ description?: string | null
667
+ icon?: string
668
+ timezone?: string | null
669
+ createdAt?: Date | string
670
+ updatedAt?: Date | string
671
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
672
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
673
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
674
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
675
+ }
676
+
677
+ export type ProjectUncheckedCreateWithoutMembersInput = {
678
+ id?: string
679
+ displayId?: string | null
680
+ name: string
681
+ description?: string | null
682
+ icon?: string
683
+ timezone?: string | null
684
+ ownerId: string
685
+ workspaceId?: string | null
686
+ createdAt?: Date | string
687
+ updatedAt?: Date | string
688
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
689
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
690
+ }
691
+
692
+ export type ProjectCreateOrConnectWithoutMembersInput = {
693
+ where: Prisma.ProjectWhereUniqueInput
694
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutMembersInput, Prisma.ProjectUncheckedCreateWithoutMembersInput>
695
+ }
696
+
697
+ export type ProjectUpsertWithoutMembersInput = {
698
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutMembersInput, Prisma.ProjectUncheckedUpdateWithoutMembersInput>
699
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutMembersInput, Prisma.ProjectUncheckedCreateWithoutMembersInput>
700
+ where?: Prisma.ProjectWhereInput
701
+ }
702
+
703
+ export type ProjectUpdateToOneWithWhereWithoutMembersInput = {
704
+ where?: Prisma.ProjectWhereInput
705
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutMembersInput, Prisma.ProjectUncheckedUpdateWithoutMembersInput>
706
+ }
707
+
708
+ export type ProjectUpdateWithoutMembersInput = {
709
+ id?: Prisma.StringFieldUpdateOperationsInput | string
710
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
711
+ name?: Prisma.StringFieldUpdateOperationsInput | string
712
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
713
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
714
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
716
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
717
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
718
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
719
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
720
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
721
+ }
722
+
723
+ export type ProjectUncheckedUpdateWithoutMembersInput = {
724
+ id?: Prisma.StringFieldUpdateOperationsInput | string
725
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
726
+ name?: Prisma.StringFieldUpdateOperationsInput | string
727
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
728
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
729
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
730
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
731
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
732
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
733
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
734
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
735
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
736
+ }
737
+
738
+ export type ProjectCreateWithoutWorkspaceInput = {
739
+ id?: string
740
+ displayId?: string | null
741
+ name: string
742
+ description?: string | null
743
+ icon?: string
744
+ timezone?: string | null
745
+ createdAt?: Date | string
746
+ updatedAt?: Date | string
747
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
748
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
749
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
750
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
751
+ }
752
+
753
+ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
754
+ id?: string
755
+ displayId?: string | null
756
+ name: string
757
+ description?: string | null
758
+ icon?: string
759
+ timezone?: string | null
760
+ ownerId: string
761
+ createdAt?: Date | string
762
+ updatedAt?: Date | string
763
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
764
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
765
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
766
+ }
767
+
768
+ export type ProjectCreateOrConnectWithoutWorkspaceInput = {
769
+ where: Prisma.ProjectWhereUniqueInput
770
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput>
771
+ }
772
+
773
+ export type ProjectCreateManyWorkspaceInputEnvelope = {
774
+ data: Prisma.ProjectCreateManyWorkspaceInput | Prisma.ProjectCreateManyWorkspaceInput[]
775
+ skipDuplicates?: boolean
776
+ }
777
+
778
+ export type ProjectUpsertWithWhereUniqueWithoutWorkspaceInput = {
779
+ where: Prisma.ProjectWhereUniqueInput
780
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutWorkspaceInput, Prisma.ProjectUncheckedUpdateWithoutWorkspaceInput>
781
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutWorkspaceInput, Prisma.ProjectUncheckedCreateWithoutWorkspaceInput>
782
+ }
783
+
784
+ export type ProjectUpdateWithWhereUniqueWithoutWorkspaceInput = {
785
+ where: Prisma.ProjectWhereUniqueInput
786
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutWorkspaceInput, Prisma.ProjectUncheckedUpdateWithoutWorkspaceInput>
787
+ }
788
+
789
+ export type ProjectUpdateManyWithWhereWithoutWorkspaceInput = {
790
+ where: Prisma.ProjectScalarWhereInput
791
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceInput>
792
+ }
793
+
794
+ export type ProjectCreateWithoutActivitiesInput = {
795
+ id?: string
796
+ displayId?: string | null
797
+ name: string
798
+ description?: string | null
799
+ icon?: string
800
+ timezone?: string | null
801
+ createdAt?: Date | string
802
+ updatedAt?: Date | string
803
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
804
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
805
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
806
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
807
+ }
808
+
809
+ export type ProjectUncheckedCreateWithoutActivitiesInput = {
810
+ id?: string
811
+ displayId?: string | null
812
+ name: string
813
+ description?: string | null
814
+ icon?: string
815
+ timezone?: string | null
816
+ ownerId: string
817
+ workspaceId?: string | null
818
+ createdAt?: Date | string
819
+ updatedAt?: Date | string
820
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
821
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
822
+ }
823
+
824
+ export type ProjectCreateOrConnectWithoutActivitiesInput = {
825
+ where: Prisma.ProjectWhereUniqueInput
826
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutActivitiesInput, Prisma.ProjectUncheckedCreateWithoutActivitiesInput>
827
+ }
828
+
829
+ export type ProjectUpsertWithoutActivitiesInput = {
830
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutActivitiesInput, Prisma.ProjectUncheckedUpdateWithoutActivitiesInput>
831
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutActivitiesInput, Prisma.ProjectUncheckedCreateWithoutActivitiesInput>
832
+ where?: Prisma.ProjectWhereInput
833
+ }
834
+
835
+ export type ProjectUpdateToOneWithWhereWithoutActivitiesInput = {
836
+ where?: Prisma.ProjectWhereInput
837
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutActivitiesInput, Prisma.ProjectUncheckedUpdateWithoutActivitiesInput>
838
+ }
839
+
840
+ export type ProjectUpdateWithoutActivitiesInput = {
841
+ id?: Prisma.StringFieldUpdateOperationsInput | string
842
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
843
+ name?: Prisma.StringFieldUpdateOperationsInput | string
844
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
845
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
846
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
847
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
848
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
849
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
850
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
851
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
852
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
853
+ }
854
+
855
+ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
856
+ id?: Prisma.StringFieldUpdateOperationsInput | string
857
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
858
+ name?: Prisma.StringFieldUpdateOperationsInput | string
859
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
860
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
861
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
862
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
863
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
864
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
865
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
866
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
867
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
868
+ }
869
+
870
+ export type ProjectCreateWithoutStoriesInput = {
871
+ id?: string
872
+ displayId?: string | null
873
+ name: string
874
+ description?: string | null
875
+ icon?: string
876
+ timezone?: string | null
877
+ createdAt?: Date | string
878
+ updatedAt?: Date | string
879
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
880
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
881
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
882
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
883
+ }
884
+
885
+ export type ProjectUncheckedCreateWithoutStoriesInput = {
886
+ id?: string
887
+ displayId?: string | null
888
+ name: string
889
+ description?: string | null
890
+ icon?: string
891
+ timezone?: string | null
892
+ ownerId: string
893
+ workspaceId?: string | null
894
+ createdAt?: Date | string
895
+ updatedAt?: Date | string
896
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
897
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
898
+ }
899
+
900
+ export type ProjectCreateOrConnectWithoutStoriesInput = {
901
+ where: Prisma.ProjectWhereUniqueInput
902
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
903
+ }
904
+
905
+ export type ProjectUpsertWithoutStoriesInput = {
906
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutStoriesInput, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
907
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
908
+ where?: Prisma.ProjectWhereInput
909
+ }
910
+
911
+ export type ProjectUpdateToOneWithWhereWithoutStoriesInput = {
912
+ where?: Prisma.ProjectWhereInput
913
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutStoriesInput, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
914
+ }
915
+
916
+ export type ProjectUpdateWithoutStoriesInput = {
917
+ id?: Prisma.StringFieldUpdateOperationsInput | string
918
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
919
+ name?: Prisma.StringFieldUpdateOperationsInput | string
920
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
921
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
922
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
923
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
924
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
925
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
926
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
927
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
928
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
929
+ }
930
+
931
+ export type ProjectUncheckedUpdateWithoutStoriesInput = {
932
+ id?: Prisma.StringFieldUpdateOperationsInput | string
933
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
934
+ name?: Prisma.StringFieldUpdateOperationsInput | string
935
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
936
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
937
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
938
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
939
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
941
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
942
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
943
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
944
+ }
945
+
946
+ export type ProjectCreateManyOwnerInput = {
947
+ id?: string
948
+ displayId?: string | null
949
+ name: string
950
+ description?: string | null
951
+ icon?: string
952
+ timezone?: string | null
953
+ workspaceId?: string | null
954
+ createdAt?: Date | string
955
+ updatedAt?: Date | string
956
+ }
957
+
958
+ export type ProjectUpdateWithoutOwnerInput = {
959
+ id?: Prisma.StringFieldUpdateOperationsInput | string
960
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
961
+ name?: Prisma.StringFieldUpdateOperationsInput | string
962
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
963
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
964
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
965
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
966
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
967
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
968
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
969
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
970
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
971
+ }
972
+
973
+ export type ProjectUncheckedUpdateWithoutOwnerInput = {
974
+ id?: Prisma.StringFieldUpdateOperationsInput | string
975
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
976
+ name?: Prisma.StringFieldUpdateOperationsInput | string
977
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
978
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
979
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
980
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
981
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
982
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
983
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
984
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
985
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
986
+ }
987
+
988
+ export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
989
+ id?: Prisma.StringFieldUpdateOperationsInput | string
990
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
991
+ name?: Prisma.StringFieldUpdateOperationsInput | string
992
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
993
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
994
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
995
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
996
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
997
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
998
+ }
999
+
1000
+ export type ProjectCreateManyWorkspaceInput = {
1001
+ id?: string
1002
+ displayId?: string | null
1003
+ name: string
1004
+ description?: string | null
1005
+ icon?: string
1006
+ timezone?: string | null
1007
+ ownerId: string
1008
+ createdAt?: Date | string
1009
+ updatedAt?: Date | string
1010
+ }
1011
+
1012
+ export type ProjectUpdateWithoutWorkspaceInput = {
1013
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1014
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1015
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1016
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1017
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1018
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1019
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1020
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1021
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1022
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1023
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1024
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1025
+ }
1026
+
1027
+ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
1028
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1029
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1030
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1031
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1032
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1033
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1034
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1035
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1036
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1037
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1038
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1039
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1040
+ }
1041
+
1042
+ export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
1043
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1044
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1045
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1046
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1047
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1048
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1049
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1050
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1051
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1052
+ }
1053
+
1054
+
1055
+ /**
1056
+ * Count Type ProjectCountOutputType
1057
+ */
1058
+
1059
+ export type ProjectCountOutputType = {
1060
+ members: number
1061
+ activities: number
1062
+ stories: number
1063
+ }
1064
+
1065
+ export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1066
+ members?: boolean | ProjectCountOutputTypeCountMembersArgs
1067
+ activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
1068
+ stories?: boolean | ProjectCountOutputTypeCountStoriesArgs
1069
+ }
1070
+
1071
+ /**
1072
+ * ProjectCountOutputType without action
1073
+ */
1074
+ export type ProjectCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1075
+ /**
1076
+ * Select specific fields to fetch from the ProjectCountOutputType
1077
+ */
1078
+ select?: Prisma.ProjectCountOutputTypeSelect<ExtArgs> | null
1079
+ }
1080
+
1081
+ /**
1082
+ * ProjectCountOutputType without action
1083
+ */
1084
+ export type ProjectCountOutputTypeCountMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1085
+ where?: Prisma.ProjectMemberWhereInput
1086
+ }
1087
+
1088
+ /**
1089
+ * ProjectCountOutputType without action
1090
+ */
1091
+ export type ProjectCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1092
+ where?: Prisma.ProjectActivityWhereInput
1093
+ }
1094
+
1095
+ /**
1096
+ * ProjectCountOutputType without action
1097
+ */
1098
+ export type ProjectCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1099
+ where?: Prisma.StoryWhereInput
1100
+ }
1101
+
1102
+
1103
+ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1104
+ id?: boolean
1105
+ displayId?: boolean
1106
+ name?: boolean
1107
+ description?: boolean
1108
+ icon?: boolean
1109
+ timezone?: boolean
1110
+ ownerId?: boolean
1111
+ workspaceId?: boolean
1112
+ createdAt?: boolean
1113
+ updatedAt?: boolean
1114
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1115
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1116
+ members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1117
+ activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1118
+ stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1119
+ _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1120
+ }, ExtArgs["result"]["project"]>
1121
+
1122
+ export type ProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1123
+ id?: boolean
1124
+ displayId?: boolean
1125
+ name?: boolean
1126
+ description?: boolean
1127
+ icon?: boolean
1128
+ timezone?: boolean
1129
+ ownerId?: boolean
1130
+ workspaceId?: boolean
1131
+ createdAt?: boolean
1132
+ updatedAt?: boolean
1133
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1134
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1135
+ }, ExtArgs["result"]["project"]>
1136
+
1137
+ export type ProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1138
+ id?: boolean
1139
+ displayId?: boolean
1140
+ name?: boolean
1141
+ description?: boolean
1142
+ icon?: boolean
1143
+ timezone?: boolean
1144
+ ownerId?: boolean
1145
+ workspaceId?: boolean
1146
+ createdAt?: boolean
1147
+ updatedAt?: boolean
1148
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1149
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1150
+ }, ExtArgs["result"]["project"]>
1151
+
1152
+ export type ProjectSelectScalar = {
1153
+ id?: boolean
1154
+ displayId?: boolean
1155
+ name?: boolean
1156
+ description?: boolean
1157
+ icon?: boolean
1158
+ timezone?: boolean
1159
+ ownerId?: boolean
1160
+ workspaceId?: boolean
1161
+ createdAt?: boolean
1162
+ updatedAt?: boolean
1163
+ }
1164
+
1165
+ export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "displayId" | "name" | "description" | "icon" | "timezone" | "ownerId" | "workspaceId" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]>
1166
+ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1167
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1168
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1169
+ members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1170
+ activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1171
+ stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1172
+ _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1173
+ }
1174
+ export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1175
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1176
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1177
+ }
1178
+ export type ProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1179
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1180
+ workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1181
+ }
1182
+
1183
+ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1184
+ name: "Project"
1185
+ objects: {
1186
+ owner: Prisma.$UserPayload<ExtArgs>
1187
+ workspace: Prisma.$WorkspacePayload<ExtArgs> | null
1188
+ members: Prisma.$ProjectMemberPayload<ExtArgs>[]
1189
+ activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
1190
+ stories: Prisma.$StoryPayload<ExtArgs>[]
1191
+ }
1192
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1193
+ id: string
1194
+ displayId: string | null
1195
+ name: string
1196
+ description: string | null
1197
+ icon: string
1198
+ timezone: string | null
1199
+ ownerId: string
1200
+ workspaceId: string | null
1201
+ createdAt: Date
1202
+ updatedAt: Date
1203
+ }, ExtArgs["result"]["project"]>
1204
+ composites: {}
1205
+ }
1206
+
1207
+ export type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectPayload, S>
1208
+
1209
+ export type ProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1210
+ Omit<ProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1211
+ select?: ProjectCountAggregateInputType | true
1212
+ }
1213
+
1214
+ export interface ProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1215
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Project'], meta: { name: 'Project' } }
1216
+ /**
1217
+ * Find zero or one Project that matches the filter.
1218
+ * @param {ProjectFindUniqueArgs} args - Arguments to find a Project
1219
+ * @example
1220
+ * // Get one Project
1221
+ * const project = await prisma.project.findUnique({
1222
+ * where: {
1223
+ * // ... provide filter here
1224
+ * }
1225
+ * })
1226
+ */
1227
+ findUnique<T extends ProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1228
+
1229
+ /**
1230
+ * Find one Project that matches the filter or throw an error with `error.code='P2025'`
1231
+ * if no matches were found.
1232
+ * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project
1233
+ * @example
1234
+ * // Get one Project
1235
+ * const project = await prisma.project.findUniqueOrThrow({
1236
+ * where: {
1237
+ * // ... provide filter here
1238
+ * }
1239
+ * })
1240
+ */
1241
+ findUniqueOrThrow<T extends ProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1242
+
1243
+ /**
1244
+ * Find the first Project that matches the filter.
1245
+ * Note, that providing `undefined` is treated as the value not being there.
1246
+ * Read more here: https://pris.ly/d/null-undefined
1247
+ * @param {ProjectFindFirstArgs} args - Arguments to find a Project
1248
+ * @example
1249
+ * // Get one Project
1250
+ * const project = await prisma.project.findFirst({
1251
+ * where: {
1252
+ * // ... provide filter here
1253
+ * }
1254
+ * })
1255
+ */
1256
+ findFirst<T extends ProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1257
+
1258
+ /**
1259
+ * Find the first Project that matches the filter or
1260
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1261
+ * Note, that providing `undefined` is treated as the value not being there.
1262
+ * Read more here: https://pris.ly/d/null-undefined
1263
+ * @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project
1264
+ * @example
1265
+ * // Get one Project
1266
+ * const project = await prisma.project.findFirstOrThrow({
1267
+ * where: {
1268
+ * // ... provide filter here
1269
+ * }
1270
+ * })
1271
+ */
1272
+ findFirstOrThrow<T extends ProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1273
+
1274
+ /**
1275
+ * Find zero or more Projects that matches the filter.
1276
+ * Note, that providing `undefined` is treated as the value not being there.
1277
+ * Read more here: https://pris.ly/d/null-undefined
1278
+ * @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only.
1279
+ * @example
1280
+ * // Get all Projects
1281
+ * const projects = await prisma.project.findMany()
1282
+ *
1283
+ * // Get first 10 Projects
1284
+ * const projects = await prisma.project.findMany({ take: 10 })
1285
+ *
1286
+ * // Only select the `id`
1287
+ * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } })
1288
+ *
1289
+ */
1290
+ findMany<T extends ProjectFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1291
+
1292
+ /**
1293
+ * Create a Project.
1294
+ * @param {ProjectCreateArgs} args - Arguments to create a Project.
1295
+ * @example
1296
+ * // Create one Project
1297
+ * const Project = await prisma.project.create({
1298
+ * data: {
1299
+ * // ... data to create a Project
1300
+ * }
1301
+ * })
1302
+ *
1303
+ */
1304
+ create<T extends ProjectCreateArgs>(args: Prisma.SelectSubset<T, ProjectCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1305
+
1306
+ /**
1307
+ * Create many Projects.
1308
+ * @param {ProjectCreateManyArgs} args - Arguments to create many Projects.
1309
+ * @example
1310
+ * // Create many Projects
1311
+ * const project = await prisma.project.createMany({
1312
+ * data: [
1313
+ * // ... provide data here
1314
+ * ]
1315
+ * })
1316
+ *
1317
+ */
1318
+ createMany<T extends ProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1319
+
1320
+ /**
1321
+ * Create many Projects and returns the data saved in the database.
1322
+ * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects.
1323
+ * @example
1324
+ * // Create many Projects
1325
+ * const project = await prisma.project.createManyAndReturn({
1326
+ * data: [
1327
+ * // ... provide data here
1328
+ * ]
1329
+ * })
1330
+ *
1331
+ * // Create many Projects and only return the `id`
1332
+ * const projectWithIdOnly = await prisma.project.createManyAndReturn({
1333
+ * select: { id: true },
1334
+ * data: [
1335
+ * // ... provide data here
1336
+ * ]
1337
+ * })
1338
+ * Note, that providing `undefined` is treated as the value not being there.
1339
+ * Read more here: https://pris.ly/d/null-undefined
1340
+ *
1341
+ */
1342
+ createManyAndReturn<T extends ProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1343
+
1344
+ /**
1345
+ * Delete a Project.
1346
+ * @param {ProjectDeleteArgs} args - Arguments to delete one Project.
1347
+ * @example
1348
+ * // Delete one Project
1349
+ * const Project = await prisma.project.delete({
1350
+ * where: {
1351
+ * // ... filter to delete one Project
1352
+ * }
1353
+ * })
1354
+ *
1355
+ */
1356
+ delete<T extends ProjectDeleteArgs>(args: Prisma.SelectSubset<T, ProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1357
+
1358
+ /**
1359
+ * Update one Project.
1360
+ * @param {ProjectUpdateArgs} args - Arguments to update one Project.
1361
+ * @example
1362
+ * // Update one Project
1363
+ * const project = await prisma.project.update({
1364
+ * where: {
1365
+ * // ... provide filter here
1366
+ * },
1367
+ * data: {
1368
+ * // ... provide data here
1369
+ * }
1370
+ * })
1371
+ *
1372
+ */
1373
+ update<T extends ProjectUpdateArgs>(args: Prisma.SelectSubset<T, ProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1374
+
1375
+ /**
1376
+ * Delete zero or more Projects.
1377
+ * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete.
1378
+ * @example
1379
+ * // Delete a few Projects
1380
+ * const { count } = await prisma.project.deleteMany({
1381
+ * where: {
1382
+ * // ... provide filter here
1383
+ * }
1384
+ * })
1385
+ *
1386
+ */
1387
+ deleteMany<T extends ProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1388
+
1389
+ /**
1390
+ * Update zero or more Projects.
1391
+ * Note, that providing `undefined` is treated as the value not being there.
1392
+ * Read more here: https://pris.ly/d/null-undefined
1393
+ * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows.
1394
+ * @example
1395
+ * // Update many Projects
1396
+ * const project = await prisma.project.updateMany({
1397
+ * where: {
1398
+ * // ... provide filter here
1399
+ * },
1400
+ * data: {
1401
+ * // ... provide data here
1402
+ * }
1403
+ * })
1404
+ *
1405
+ */
1406
+ updateMany<T extends ProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1407
+
1408
+ /**
1409
+ * Update zero or more Projects and returns the data updated in the database.
1410
+ * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects.
1411
+ * @example
1412
+ * // Update many Projects
1413
+ * const project = await prisma.project.updateManyAndReturn({
1414
+ * where: {
1415
+ * // ... provide filter here
1416
+ * },
1417
+ * data: [
1418
+ * // ... provide data here
1419
+ * ]
1420
+ * })
1421
+ *
1422
+ * // Update zero or more Projects and only return the `id`
1423
+ * const projectWithIdOnly = await prisma.project.updateManyAndReturn({
1424
+ * select: { id: true },
1425
+ * where: {
1426
+ * // ... provide filter here
1427
+ * },
1428
+ * data: [
1429
+ * // ... provide data here
1430
+ * ]
1431
+ * })
1432
+ * Note, that providing `undefined` is treated as the value not being there.
1433
+ * Read more here: https://pris.ly/d/null-undefined
1434
+ *
1435
+ */
1436
+ updateManyAndReturn<T extends ProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1437
+
1438
+ /**
1439
+ * Create or update one Project.
1440
+ * @param {ProjectUpsertArgs} args - Arguments to update or create a Project.
1441
+ * @example
1442
+ * // Update or create a Project
1443
+ * const project = await prisma.project.upsert({
1444
+ * create: {
1445
+ * // ... data to create a Project
1446
+ * },
1447
+ * update: {
1448
+ * // ... in case it already exists, update
1449
+ * },
1450
+ * where: {
1451
+ * // ... the filter for the Project we want to update
1452
+ * }
1453
+ * })
1454
+ */
1455
+ upsert<T extends ProjectUpsertArgs>(args: Prisma.SelectSubset<T, ProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1456
+
1457
+
1458
+ /**
1459
+ * Count the number of Projects.
1460
+ * Note, that providing `undefined` is treated as the value not being there.
1461
+ * Read more here: https://pris.ly/d/null-undefined
1462
+ * @param {ProjectCountArgs} args - Arguments to filter Projects to count.
1463
+ * @example
1464
+ * // Count the number of Projects
1465
+ * const count = await prisma.project.count({
1466
+ * where: {
1467
+ * // ... the filter for the Projects we want to count
1468
+ * }
1469
+ * })
1470
+ **/
1471
+ count<T extends ProjectCountArgs>(
1472
+ args?: Prisma.Subset<T, ProjectCountArgs>,
1473
+ ): Prisma.PrismaPromise<
1474
+ T extends runtime.Types.Utils.Record<'select', any>
1475
+ ? T['select'] extends true
1476
+ ? number
1477
+ : Prisma.GetScalarType<T['select'], ProjectCountAggregateOutputType>
1478
+ : number
1479
+ >
1480
+
1481
+ /**
1482
+ * Allows you to perform aggregations operations on a Project.
1483
+ * Note, that providing `undefined` is treated as the value not being there.
1484
+ * Read more here: https://pris.ly/d/null-undefined
1485
+ * @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1486
+ * @example
1487
+ * // Ordered by age ascending
1488
+ * // Where email contains prisma.io
1489
+ * // Limited to the 10 users
1490
+ * const aggregations = await prisma.user.aggregate({
1491
+ * _avg: {
1492
+ * age: true,
1493
+ * },
1494
+ * where: {
1495
+ * email: {
1496
+ * contains: "prisma.io",
1497
+ * },
1498
+ * },
1499
+ * orderBy: {
1500
+ * age: "asc",
1501
+ * },
1502
+ * take: 10,
1503
+ * })
1504
+ **/
1505
+ aggregate<T extends ProjectAggregateArgs>(args: Prisma.Subset<T, ProjectAggregateArgs>): Prisma.PrismaPromise<GetProjectAggregateType<T>>
1506
+
1507
+ /**
1508
+ * Group by Project.
1509
+ * Note, that providing `undefined` is treated as the value not being there.
1510
+ * Read more here: https://pris.ly/d/null-undefined
1511
+ * @param {ProjectGroupByArgs} args - Group by arguments.
1512
+ * @example
1513
+ * // Group by city, order by createdAt, get count
1514
+ * const result = await prisma.user.groupBy({
1515
+ * by: ['city', 'createdAt'],
1516
+ * orderBy: {
1517
+ * createdAt: true
1518
+ * },
1519
+ * _count: {
1520
+ * _all: true
1521
+ * },
1522
+ * })
1523
+ *
1524
+ **/
1525
+ groupBy<
1526
+ T extends ProjectGroupByArgs,
1527
+ HasSelectOrTake extends Prisma.Or<
1528
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1529
+ Prisma.Extends<'take', Prisma.Keys<T>>
1530
+ >,
1531
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1532
+ ? { orderBy: ProjectGroupByArgs['orderBy'] }
1533
+ : { orderBy?: ProjectGroupByArgs['orderBy'] },
1534
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1535
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1536
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1537
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1538
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1539
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1540
+ InputErrors extends ByEmpty extends Prisma.True
1541
+ ? `Error: "by" must not be empty.`
1542
+ : HavingValid extends Prisma.False
1543
+ ? {
1544
+ [P in HavingFields]: P extends ByFields
1545
+ ? never
1546
+ : P extends string
1547
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1548
+ : [
1549
+ Error,
1550
+ 'Field ',
1551
+ P,
1552
+ ` in "having" needs to be provided in "by"`,
1553
+ ]
1554
+ }[HavingFields]
1555
+ : 'take' extends Prisma.Keys<T>
1556
+ ? 'orderBy' extends Prisma.Keys<T>
1557
+ ? ByValid extends Prisma.True
1558
+ ? {}
1559
+ : {
1560
+ [P in OrderFields]: P extends ByFields
1561
+ ? never
1562
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1563
+ }[OrderFields]
1564
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1565
+ : 'skip' extends Prisma.Keys<T>
1566
+ ? 'orderBy' extends Prisma.Keys<T>
1567
+ ? ByValid extends Prisma.True
1568
+ ? {}
1569
+ : {
1570
+ [P in OrderFields]: P extends ByFields
1571
+ ? never
1572
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1573
+ }[OrderFields]
1574
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1575
+ : ByValid extends Prisma.True
1576
+ ? {}
1577
+ : {
1578
+ [P in OrderFields]: P extends ByFields
1579
+ ? never
1580
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1581
+ }[OrderFields]
1582
+ >(args: Prisma.SubsetIntersection<T, ProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1583
+ /**
1584
+ * Fields of the Project model
1585
+ */
1586
+ readonly fields: ProjectFieldRefs;
1587
+ }
1588
+
1589
+ /**
1590
+ * The delegate class that acts as a "Promise-like" for Project.
1591
+ * Why is this prefixed with `Prisma__`?
1592
+ * Because we want to prevent naming conflicts as mentioned in
1593
+ * https://github.com/prisma/prisma-client-js/issues/707
1594
+ */
1595
+ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1596
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1597
+ owner<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>
1598
+ workspace<T extends Prisma.Project$workspaceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$workspaceArgs<ExtArgs>>): Prisma.Prisma__WorkspaceClient<runtime.Types.Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1599
+ members<T extends Prisma.Project$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1600
+ activities<T extends Prisma.Project$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1601
+ stories<T extends Prisma.Project$storiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$storiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1602
+ /**
1603
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1604
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1605
+ * @param onrejected The callback to execute when the Promise is rejected.
1606
+ * @returns A Promise for the completion of which ever callback is executed.
1607
+ */
1608
+ 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>
1609
+ /**
1610
+ * Attaches a callback for only the rejection of the Promise.
1611
+ * @param onrejected The callback to execute when the Promise is rejected.
1612
+ * @returns A Promise for the completion of the callback.
1613
+ */
1614
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1615
+ /**
1616
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1617
+ * resolved value cannot be modified from the callback.
1618
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1619
+ * @returns A Promise for the completion of the callback.
1620
+ */
1621
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1622
+ }
1623
+
1624
+
1625
+
1626
+
1627
+ /**
1628
+ * Fields of the Project model
1629
+ */
1630
+ export interface ProjectFieldRefs {
1631
+ readonly id: Prisma.FieldRef<"Project", 'String'>
1632
+ readonly displayId: Prisma.FieldRef<"Project", 'String'>
1633
+ readonly name: Prisma.FieldRef<"Project", 'String'>
1634
+ readonly description: Prisma.FieldRef<"Project", 'String'>
1635
+ readonly icon: Prisma.FieldRef<"Project", 'String'>
1636
+ readonly timezone: Prisma.FieldRef<"Project", 'String'>
1637
+ readonly ownerId: Prisma.FieldRef<"Project", 'String'>
1638
+ readonly workspaceId: Prisma.FieldRef<"Project", 'String'>
1639
+ readonly createdAt: Prisma.FieldRef<"Project", 'DateTime'>
1640
+ readonly updatedAt: Prisma.FieldRef<"Project", 'DateTime'>
1641
+ }
1642
+
1643
+
1644
+ // Custom InputTypes
1645
+ /**
1646
+ * Project findUnique
1647
+ */
1648
+ export type ProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1649
+ /**
1650
+ * Select specific fields to fetch from the Project
1651
+ */
1652
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1653
+ /**
1654
+ * Omit specific fields from the Project
1655
+ */
1656
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1657
+ /**
1658
+ * Choose, which related nodes to fetch as well
1659
+ */
1660
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1661
+ /**
1662
+ * Filter, which Project to fetch.
1663
+ */
1664
+ where: Prisma.ProjectWhereUniqueInput
1665
+ }
1666
+
1667
+ /**
1668
+ * Project findUniqueOrThrow
1669
+ */
1670
+ export type ProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1671
+ /**
1672
+ * Select specific fields to fetch from the Project
1673
+ */
1674
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1675
+ /**
1676
+ * Omit specific fields from the Project
1677
+ */
1678
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1679
+ /**
1680
+ * Choose, which related nodes to fetch as well
1681
+ */
1682
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1683
+ /**
1684
+ * Filter, which Project to fetch.
1685
+ */
1686
+ where: Prisma.ProjectWhereUniqueInput
1687
+ }
1688
+
1689
+ /**
1690
+ * Project findFirst
1691
+ */
1692
+ export type ProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1693
+ /**
1694
+ * Select specific fields to fetch from the Project
1695
+ */
1696
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1697
+ /**
1698
+ * Omit specific fields from the Project
1699
+ */
1700
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1701
+ /**
1702
+ * Choose, which related nodes to fetch as well
1703
+ */
1704
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1705
+ /**
1706
+ * Filter, which Project to fetch.
1707
+ */
1708
+ where?: Prisma.ProjectWhereInput
1709
+ /**
1710
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1711
+ *
1712
+ * Determine the order of Projects to fetch.
1713
+ */
1714
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1715
+ /**
1716
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1717
+ *
1718
+ * Sets the position for searching for Projects.
1719
+ */
1720
+ cursor?: Prisma.ProjectWhereUniqueInput
1721
+ /**
1722
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1723
+ *
1724
+ * Take `±n` Projects from the position of the cursor.
1725
+ */
1726
+ take?: number
1727
+ /**
1728
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1729
+ *
1730
+ * Skip the first `n` Projects.
1731
+ */
1732
+ skip?: number
1733
+ /**
1734
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1735
+ *
1736
+ * Filter by unique combinations of Projects.
1737
+ */
1738
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1739
+ }
1740
+
1741
+ /**
1742
+ * Project findFirstOrThrow
1743
+ */
1744
+ export type ProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1745
+ /**
1746
+ * Select specific fields to fetch from the Project
1747
+ */
1748
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1749
+ /**
1750
+ * Omit specific fields from the Project
1751
+ */
1752
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1753
+ /**
1754
+ * Choose, which related nodes to fetch as well
1755
+ */
1756
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1757
+ /**
1758
+ * Filter, which Project to fetch.
1759
+ */
1760
+ where?: Prisma.ProjectWhereInput
1761
+ /**
1762
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1763
+ *
1764
+ * Determine the order of Projects to fetch.
1765
+ */
1766
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1767
+ /**
1768
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1769
+ *
1770
+ * Sets the position for searching for Projects.
1771
+ */
1772
+ cursor?: Prisma.ProjectWhereUniqueInput
1773
+ /**
1774
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1775
+ *
1776
+ * Take `±n` Projects from the position of the cursor.
1777
+ */
1778
+ take?: number
1779
+ /**
1780
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1781
+ *
1782
+ * Skip the first `n` Projects.
1783
+ */
1784
+ skip?: number
1785
+ /**
1786
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1787
+ *
1788
+ * Filter by unique combinations of Projects.
1789
+ */
1790
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1791
+ }
1792
+
1793
+ /**
1794
+ * Project findMany
1795
+ */
1796
+ export type ProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1797
+ /**
1798
+ * Select specific fields to fetch from the Project
1799
+ */
1800
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1801
+ /**
1802
+ * Omit specific fields from the Project
1803
+ */
1804
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1805
+ /**
1806
+ * Choose, which related nodes to fetch as well
1807
+ */
1808
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1809
+ /**
1810
+ * Filter, which Projects to fetch.
1811
+ */
1812
+ where?: Prisma.ProjectWhereInput
1813
+ /**
1814
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1815
+ *
1816
+ * Determine the order of Projects to fetch.
1817
+ */
1818
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1819
+ /**
1820
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1821
+ *
1822
+ * Sets the position for listing Projects.
1823
+ */
1824
+ cursor?: Prisma.ProjectWhereUniqueInput
1825
+ /**
1826
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1827
+ *
1828
+ * Take `±n` Projects from the position of the cursor.
1829
+ */
1830
+ take?: number
1831
+ /**
1832
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1833
+ *
1834
+ * Skip the first `n` Projects.
1835
+ */
1836
+ skip?: number
1837
+ /**
1838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1839
+ *
1840
+ * Filter by unique combinations of Projects.
1841
+ */
1842
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1843
+ }
1844
+
1845
+ /**
1846
+ * Project create
1847
+ */
1848
+ export type ProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1849
+ /**
1850
+ * Select specific fields to fetch from the Project
1851
+ */
1852
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1853
+ /**
1854
+ * Omit specific fields from the Project
1855
+ */
1856
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1857
+ /**
1858
+ * Choose, which related nodes to fetch as well
1859
+ */
1860
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1861
+ /**
1862
+ * The data needed to create a Project.
1863
+ */
1864
+ data: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
1865
+ }
1866
+
1867
+ /**
1868
+ * Project createMany
1869
+ */
1870
+ export type ProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1871
+ /**
1872
+ * The data used to create many Projects.
1873
+ */
1874
+ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
1875
+ skipDuplicates?: boolean
1876
+ }
1877
+
1878
+ /**
1879
+ * Project createManyAndReturn
1880
+ */
1881
+ export type ProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1882
+ /**
1883
+ * Select specific fields to fetch from the Project
1884
+ */
1885
+ select?: Prisma.ProjectSelectCreateManyAndReturn<ExtArgs> | null
1886
+ /**
1887
+ * Omit specific fields from the Project
1888
+ */
1889
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1890
+ /**
1891
+ * The data used to create many Projects.
1892
+ */
1893
+ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
1894
+ skipDuplicates?: boolean
1895
+ /**
1896
+ * Choose, which related nodes to fetch as well
1897
+ */
1898
+ include?: Prisma.ProjectIncludeCreateManyAndReturn<ExtArgs> | null
1899
+ }
1900
+
1901
+ /**
1902
+ * Project update
1903
+ */
1904
+ export type ProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1905
+ /**
1906
+ * Select specific fields to fetch from the Project
1907
+ */
1908
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1909
+ /**
1910
+ * Omit specific fields from the Project
1911
+ */
1912
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1913
+ /**
1914
+ * Choose, which related nodes to fetch as well
1915
+ */
1916
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1917
+ /**
1918
+ * The data needed to update a Project.
1919
+ */
1920
+ data: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
1921
+ /**
1922
+ * Choose, which Project to update.
1923
+ */
1924
+ where: Prisma.ProjectWhereUniqueInput
1925
+ }
1926
+
1927
+ /**
1928
+ * Project updateMany
1929
+ */
1930
+ export type ProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1931
+ /**
1932
+ * The data used to update Projects.
1933
+ */
1934
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
1935
+ /**
1936
+ * Filter which Projects to update
1937
+ */
1938
+ where?: Prisma.ProjectWhereInput
1939
+ /**
1940
+ * Limit how many Projects to update.
1941
+ */
1942
+ limit?: number
1943
+ }
1944
+
1945
+ /**
1946
+ * Project updateManyAndReturn
1947
+ */
1948
+ export type ProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1949
+ /**
1950
+ * Select specific fields to fetch from the Project
1951
+ */
1952
+ select?: Prisma.ProjectSelectUpdateManyAndReturn<ExtArgs> | null
1953
+ /**
1954
+ * Omit specific fields from the Project
1955
+ */
1956
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1957
+ /**
1958
+ * The data used to update Projects.
1959
+ */
1960
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
1961
+ /**
1962
+ * Filter which Projects to update
1963
+ */
1964
+ where?: Prisma.ProjectWhereInput
1965
+ /**
1966
+ * Limit how many Projects to update.
1967
+ */
1968
+ limit?: number
1969
+ /**
1970
+ * Choose, which related nodes to fetch as well
1971
+ */
1972
+ include?: Prisma.ProjectIncludeUpdateManyAndReturn<ExtArgs> | null
1973
+ }
1974
+
1975
+ /**
1976
+ * Project upsert
1977
+ */
1978
+ export type ProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1979
+ /**
1980
+ * Select specific fields to fetch from the Project
1981
+ */
1982
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1983
+ /**
1984
+ * Omit specific fields from the Project
1985
+ */
1986
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1987
+ /**
1988
+ * Choose, which related nodes to fetch as well
1989
+ */
1990
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1991
+ /**
1992
+ * The filter to search for the Project to update in case it exists.
1993
+ */
1994
+ where: Prisma.ProjectWhereUniqueInput
1995
+ /**
1996
+ * In case the Project found by the `where` argument doesn't exist, create a new Project with this data.
1997
+ */
1998
+ create: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
1999
+ /**
2000
+ * In case the Project was found with the provided `where` argument, update it with this data.
2001
+ */
2002
+ update: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
2003
+ }
2004
+
2005
+ /**
2006
+ * Project delete
2007
+ */
2008
+ export type ProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2009
+ /**
2010
+ * Select specific fields to fetch from the Project
2011
+ */
2012
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2013
+ /**
2014
+ * Omit specific fields from the Project
2015
+ */
2016
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2017
+ /**
2018
+ * Choose, which related nodes to fetch as well
2019
+ */
2020
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2021
+ /**
2022
+ * Filter which Project to delete.
2023
+ */
2024
+ where: Prisma.ProjectWhereUniqueInput
2025
+ }
2026
+
2027
+ /**
2028
+ * Project deleteMany
2029
+ */
2030
+ export type ProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2031
+ /**
2032
+ * Filter which Projects to delete
2033
+ */
2034
+ where?: Prisma.ProjectWhereInput
2035
+ /**
2036
+ * Limit how many Projects to delete.
2037
+ */
2038
+ limit?: number
2039
+ }
2040
+
2041
+ /**
2042
+ * Project.workspace
2043
+ */
2044
+ export type Project$workspaceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2045
+ /**
2046
+ * Select specific fields to fetch from the Workspace
2047
+ */
2048
+ select?: Prisma.WorkspaceSelect<ExtArgs> | null
2049
+ /**
2050
+ * Omit specific fields from the Workspace
2051
+ */
2052
+ omit?: Prisma.WorkspaceOmit<ExtArgs> | null
2053
+ /**
2054
+ * Choose, which related nodes to fetch as well
2055
+ */
2056
+ include?: Prisma.WorkspaceInclude<ExtArgs> | null
2057
+ where?: Prisma.WorkspaceWhereInput
2058
+ }
2059
+
2060
+ /**
2061
+ * Project.members
2062
+ */
2063
+ export type Project$membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2064
+ /**
2065
+ * Select specific fields to fetch from the ProjectMember
2066
+ */
2067
+ select?: Prisma.ProjectMemberSelect<ExtArgs> | null
2068
+ /**
2069
+ * Omit specific fields from the ProjectMember
2070
+ */
2071
+ omit?: Prisma.ProjectMemberOmit<ExtArgs> | null
2072
+ /**
2073
+ * Choose, which related nodes to fetch as well
2074
+ */
2075
+ include?: Prisma.ProjectMemberInclude<ExtArgs> | null
2076
+ where?: Prisma.ProjectMemberWhereInput
2077
+ orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[]
2078
+ cursor?: Prisma.ProjectMemberWhereUniqueInput
2079
+ take?: number
2080
+ skip?: number
2081
+ distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[]
2082
+ }
2083
+
2084
+ /**
2085
+ * Project.activities
2086
+ */
2087
+ export type Project$activitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2088
+ /**
2089
+ * Select specific fields to fetch from the ProjectActivity
2090
+ */
2091
+ select?: Prisma.ProjectActivitySelect<ExtArgs> | null
2092
+ /**
2093
+ * Omit specific fields from the ProjectActivity
2094
+ */
2095
+ omit?: Prisma.ProjectActivityOmit<ExtArgs> | null
2096
+ /**
2097
+ * Choose, which related nodes to fetch as well
2098
+ */
2099
+ include?: Prisma.ProjectActivityInclude<ExtArgs> | null
2100
+ where?: Prisma.ProjectActivityWhereInput
2101
+ orderBy?: Prisma.ProjectActivityOrderByWithRelationInput | Prisma.ProjectActivityOrderByWithRelationInput[]
2102
+ cursor?: Prisma.ProjectActivityWhereUniqueInput
2103
+ take?: number
2104
+ skip?: number
2105
+ distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
2106
+ }
2107
+
2108
+ /**
2109
+ * Project.stories
2110
+ */
2111
+ export type Project$storiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2112
+ /**
2113
+ * Select specific fields to fetch from the Story
2114
+ */
2115
+ select?: Prisma.StorySelect<ExtArgs> | null
2116
+ /**
2117
+ * Omit specific fields from the Story
2118
+ */
2119
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2120
+ /**
2121
+ * Choose, which related nodes to fetch as well
2122
+ */
2123
+ include?: Prisma.StoryInclude<ExtArgs> | null
2124
+ where?: Prisma.StoryWhereInput
2125
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
2126
+ cursor?: Prisma.StoryWhereUniqueInput
2127
+ take?: number
2128
+ skip?: number
2129
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2130
+ }
2131
+
2132
+ /**
2133
+ * Project without action
2134
+ */
2135
+ export type ProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2136
+ /**
2137
+ * Select specific fields to fetch from the Project
2138
+ */
2139
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2140
+ /**
2141
+ * Omit specific fields from the Project
2142
+ */
2143
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2144
+ /**
2145
+ * Choose, which related nodes to fetch as well
2146
+ */
2147
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2148
+ }