@allbluecn/database 0.3.14 → 0.4.1

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