@allbluecn/database 0.4.0 → 0.4.1

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