@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,1811 @@
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
+ skipDuplicates?: boolean
636
+ }
637
+
638
+ export type ArtboardUpsertWithWhereUniqueWithoutProjectInput = {
639
+ where: Prisma.ArtboardWhereUniqueInput
640
+ update: Prisma.XOR<Prisma.ArtboardUpdateWithoutProjectInput, Prisma.ArtboardUncheckedUpdateWithoutProjectInput>
641
+ create: Prisma.XOR<Prisma.ArtboardCreateWithoutProjectInput, Prisma.ArtboardUncheckedCreateWithoutProjectInput>
642
+ }
643
+
644
+ export type ArtboardUpdateWithWhereUniqueWithoutProjectInput = {
645
+ where: Prisma.ArtboardWhereUniqueInput
646
+ data: Prisma.XOR<Prisma.ArtboardUpdateWithoutProjectInput, Prisma.ArtboardUncheckedUpdateWithoutProjectInput>
647
+ }
648
+
649
+ export type ArtboardUpdateManyWithWhereWithoutProjectInput = {
650
+ where: Prisma.ArtboardScalarWhereInput
651
+ data: Prisma.XOR<Prisma.ArtboardUpdateManyMutationInput, Prisma.ArtboardUncheckedUpdateManyWithoutProjectInput>
652
+ }
653
+
654
+ export type ArtboardScalarWhereInput = {
655
+ AND?: Prisma.ArtboardScalarWhereInput | Prisma.ArtboardScalarWhereInput[]
656
+ OR?: Prisma.ArtboardScalarWhereInput[]
657
+ NOT?: Prisma.ArtboardScalarWhereInput | Prisma.ArtboardScalarWhereInput[]
658
+ id?: Prisma.StringFilter<"Artboard"> | string
659
+ projectId?: Prisma.StringFilter<"Artboard"> | string
660
+ name?: Prisma.StringFilter<"Artboard"> | string
661
+ pageName?: Prisma.StringNullableFilter<"Artboard"> | string | null
662
+ width?: Prisma.IntFilter<"Artboard"> | number
663
+ height?: Prisma.IntFilter<"Artboard"> | number
664
+ pngPath?: Prisma.StringFilter<"Artboard"> | string
665
+ svgPath?: Prisma.StringNullableFilter<"Artboard"> | string | null
666
+ annotationJson?: Prisma.JsonNullableFilter<"Artboard">
667
+ layerCount?: Prisma.IntNullableFilter<"Artboard"> | number | null
668
+ sortOrder?: Prisma.IntFilter<"Artboard"> | number
669
+ createdAt?: Prisma.DateTimeFilter<"Artboard"> | Date | string
670
+ }
671
+
672
+ export type ArtboardCreateWithoutExportsInput = {
673
+ id?: string
674
+ name: string
675
+ pageName?: string | null
676
+ width: number
677
+ height: number
678
+ pngPath: string
679
+ svgPath?: string | null
680
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
681
+ layerCount?: number | null
682
+ sortOrder?: number
683
+ createdAt?: Date | string
684
+ project: Prisma.DesignProjectCreateNestedOneWithoutArtboardsInput
685
+ }
686
+
687
+ export type ArtboardUncheckedCreateWithoutExportsInput = {
688
+ id?: string
689
+ projectId: string
690
+ name: string
691
+ pageName?: string | null
692
+ width: number
693
+ height: number
694
+ pngPath: string
695
+ svgPath?: string | null
696
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
697
+ layerCount?: number | null
698
+ sortOrder?: number
699
+ createdAt?: Date | string
700
+ }
701
+
702
+ export type ArtboardCreateOrConnectWithoutExportsInput = {
703
+ where: Prisma.ArtboardWhereUniqueInput
704
+ create: Prisma.XOR<Prisma.ArtboardCreateWithoutExportsInput, Prisma.ArtboardUncheckedCreateWithoutExportsInput>
705
+ }
706
+
707
+ export type ArtboardUpsertWithoutExportsInput = {
708
+ update: Prisma.XOR<Prisma.ArtboardUpdateWithoutExportsInput, Prisma.ArtboardUncheckedUpdateWithoutExportsInput>
709
+ create: Prisma.XOR<Prisma.ArtboardCreateWithoutExportsInput, Prisma.ArtboardUncheckedCreateWithoutExportsInput>
710
+ where?: Prisma.ArtboardWhereInput
711
+ }
712
+
713
+ export type ArtboardUpdateToOneWithWhereWithoutExportsInput = {
714
+ where?: Prisma.ArtboardWhereInput
715
+ data: Prisma.XOR<Prisma.ArtboardUpdateWithoutExportsInput, Prisma.ArtboardUncheckedUpdateWithoutExportsInput>
716
+ }
717
+
718
+ export type ArtboardUpdateWithoutExportsInput = {
719
+ id?: Prisma.StringFieldUpdateOperationsInput | string
720
+ name?: Prisma.StringFieldUpdateOperationsInput | string
721
+ pageName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
722
+ width?: Prisma.IntFieldUpdateOperationsInput | number
723
+ height?: Prisma.IntFieldUpdateOperationsInput | number
724
+ pngPath?: Prisma.StringFieldUpdateOperationsInput | string
725
+ svgPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
726
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
727
+ layerCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
728
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
729
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
730
+ project?: Prisma.DesignProjectUpdateOneRequiredWithoutArtboardsNestedInput
731
+ }
732
+
733
+ export type ArtboardUncheckedUpdateWithoutExportsInput = {
734
+ id?: Prisma.StringFieldUpdateOperationsInput | string
735
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
736
+ name?: Prisma.StringFieldUpdateOperationsInput | string
737
+ pageName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
738
+ width?: Prisma.IntFieldUpdateOperationsInput | number
739
+ height?: Prisma.IntFieldUpdateOperationsInput | number
740
+ pngPath?: Prisma.StringFieldUpdateOperationsInput | string
741
+ svgPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
742
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
743
+ layerCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
744
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
745
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
746
+ }
747
+
748
+ export type ArtboardCreateManyProjectInput = {
749
+ id?: string
750
+ name: string
751
+ pageName?: string | null
752
+ width: number
753
+ height: number
754
+ pngPath: string
755
+ svgPath?: string | null
756
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
757
+ layerCount?: number | null
758
+ sortOrder?: number
759
+ createdAt?: Date | string
760
+ }
761
+
762
+ export type ArtboardUpdateWithoutProjectInput = {
763
+ id?: Prisma.StringFieldUpdateOperationsInput | string
764
+ name?: Prisma.StringFieldUpdateOperationsInput | string
765
+ pageName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
766
+ width?: Prisma.IntFieldUpdateOperationsInput | number
767
+ height?: Prisma.IntFieldUpdateOperationsInput | number
768
+ pngPath?: Prisma.StringFieldUpdateOperationsInput | string
769
+ svgPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
770
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
771
+ layerCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
772
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
773
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
774
+ exports?: Prisma.ArtboardExportUpdateManyWithoutArtboardNestedInput
775
+ }
776
+
777
+ export type ArtboardUncheckedUpdateWithoutProjectInput = {
778
+ id?: Prisma.StringFieldUpdateOperationsInput | string
779
+ name?: Prisma.StringFieldUpdateOperationsInput | string
780
+ pageName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
781
+ width?: Prisma.IntFieldUpdateOperationsInput | number
782
+ height?: Prisma.IntFieldUpdateOperationsInput | number
783
+ pngPath?: Prisma.StringFieldUpdateOperationsInput | string
784
+ svgPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
785
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
786
+ layerCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
787
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
788
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
789
+ exports?: Prisma.ArtboardExportUncheckedUpdateManyWithoutArtboardNestedInput
790
+ }
791
+
792
+ export type ArtboardUncheckedUpdateManyWithoutProjectInput = {
793
+ id?: Prisma.StringFieldUpdateOperationsInput | string
794
+ name?: Prisma.StringFieldUpdateOperationsInput | string
795
+ pageName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
796
+ width?: Prisma.IntFieldUpdateOperationsInput | number
797
+ height?: Prisma.IntFieldUpdateOperationsInput | number
798
+ pngPath?: Prisma.StringFieldUpdateOperationsInput | string
799
+ svgPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
800
+ annotationJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
801
+ layerCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
802
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
803
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
804
+ }
805
+
806
+
807
+ /**
808
+ * Count Type ArtboardCountOutputType
809
+ */
810
+
811
+ export type ArtboardCountOutputType = {
812
+ exports: number
813
+ }
814
+
815
+ export type ArtboardCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
816
+ exports?: boolean | ArtboardCountOutputTypeCountExportsArgs
817
+ }
818
+
819
+ /**
820
+ * ArtboardCountOutputType without action
821
+ */
822
+ export type ArtboardCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
823
+ /**
824
+ * Select specific fields to fetch from the ArtboardCountOutputType
825
+ */
826
+ select?: Prisma.ArtboardCountOutputTypeSelect<ExtArgs> | null
827
+ }
828
+
829
+ /**
830
+ * ArtboardCountOutputType without action
831
+ */
832
+ export type ArtboardCountOutputTypeCountExportsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
833
+ where?: Prisma.ArtboardExportWhereInput
834
+ }
835
+
836
+
837
+ export type ArtboardSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
838
+ id?: boolean
839
+ projectId?: boolean
840
+ name?: boolean
841
+ pageName?: boolean
842
+ width?: boolean
843
+ height?: boolean
844
+ pngPath?: boolean
845
+ svgPath?: boolean
846
+ annotationJson?: boolean
847
+ layerCount?: boolean
848
+ sortOrder?: boolean
849
+ createdAt?: boolean
850
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
851
+ exports?: boolean | Prisma.Artboard$exportsArgs<ExtArgs>
852
+ _count?: boolean | Prisma.ArtboardCountOutputTypeDefaultArgs<ExtArgs>
853
+ }, ExtArgs["result"]["artboard"]>
854
+
855
+ export type ArtboardSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
856
+ id?: boolean
857
+ projectId?: boolean
858
+ name?: boolean
859
+ pageName?: boolean
860
+ width?: boolean
861
+ height?: boolean
862
+ pngPath?: boolean
863
+ svgPath?: boolean
864
+ annotationJson?: boolean
865
+ layerCount?: boolean
866
+ sortOrder?: boolean
867
+ createdAt?: boolean
868
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
869
+ }, ExtArgs["result"]["artboard"]>
870
+
871
+ export type ArtboardSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
872
+ id?: boolean
873
+ projectId?: boolean
874
+ name?: boolean
875
+ pageName?: boolean
876
+ width?: boolean
877
+ height?: boolean
878
+ pngPath?: boolean
879
+ svgPath?: boolean
880
+ annotationJson?: boolean
881
+ layerCount?: boolean
882
+ sortOrder?: boolean
883
+ createdAt?: boolean
884
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
885
+ }, ExtArgs["result"]["artboard"]>
886
+
887
+ export type ArtboardSelectScalar = {
888
+ id?: boolean
889
+ projectId?: boolean
890
+ name?: boolean
891
+ pageName?: boolean
892
+ width?: boolean
893
+ height?: boolean
894
+ pngPath?: boolean
895
+ svgPath?: boolean
896
+ annotationJson?: boolean
897
+ layerCount?: boolean
898
+ sortOrder?: boolean
899
+ createdAt?: boolean
900
+ }
901
+
902
+ 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"]>
903
+ export type ArtboardInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
904
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
905
+ exports?: boolean | Prisma.Artboard$exportsArgs<ExtArgs>
906
+ _count?: boolean | Prisma.ArtboardCountOutputTypeDefaultArgs<ExtArgs>
907
+ }
908
+ export type ArtboardIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
909
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
910
+ }
911
+ export type ArtboardIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
912
+ project?: boolean | Prisma.DesignProjectDefaultArgs<ExtArgs>
913
+ }
914
+
915
+ export type $ArtboardPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
916
+ name: "Artboard"
917
+ objects: {
918
+ project: Prisma.$DesignProjectPayload<ExtArgs>
919
+ exports: Prisma.$ArtboardExportPayload<ExtArgs>[]
920
+ }
921
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
922
+ id: string
923
+ projectId: string
924
+ name: string
925
+ pageName: string | null
926
+ width: number
927
+ height: number
928
+ pngPath: string
929
+ svgPath: string | null
930
+ annotationJson: runtime.JsonValue | null
931
+ layerCount: number | null
932
+ sortOrder: number
933
+ createdAt: Date
934
+ }, ExtArgs["result"]["artboard"]>
935
+ composites: {}
936
+ }
937
+
938
+ export type ArtboardGetPayload<S extends boolean | null | undefined | ArtboardDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ArtboardPayload, S>
939
+
940
+ export type ArtboardCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
941
+ Omit<ArtboardFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
942
+ select?: ArtboardCountAggregateInputType | true
943
+ }
944
+
945
+ export interface ArtboardDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
946
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Artboard'], meta: { name: 'Artboard' } }
947
+ /**
948
+ * Find zero or one Artboard that matches the filter.
949
+ * @param {ArtboardFindUniqueArgs} args - Arguments to find a Artboard
950
+ * @example
951
+ * // Get one Artboard
952
+ * const artboard = await prisma.artboard.findUnique({
953
+ * where: {
954
+ * // ... provide filter here
955
+ * }
956
+ * })
957
+ */
958
+ 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>
959
+
960
+ /**
961
+ * Find one Artboard that matches the filter or throw an error with `error.code='P2025'`
962
+ * if no matches were found.
963
+ * @param {ArtboardFindUniqueOrThrowArgs} args - Arguments to find a Artboard
964
+ * @example
965
+ * // Get one Artboard
966
+ * const artboard = await prisma.artboard.findUniqueOrThrow({
967
+ * where: {
968
+ * // ... provide filter here
969
+ * }
970
+ * })
971
+ */
972
+ 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>
973
+
974
+ /**
975
+ * Find the first Artboard that matches the filter.
976
+ * Note, that providing `undefined` is treated as the value not being there.
977
+ * Read more here: https://pris.ly/d/null-undefined
978
+ * @param {ArtboardFindFirstArgs} args - Arguments to find a Artboard
979
+ * @example
980
+ * // Get one Artboard
981
+ * const artboard = await prisma.artboard.findFirst({
982
+ * where: {
983
+ * // ... provide filter here
984
+ * }
985
+ * })
986
+ */
987
+ 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>
988
+
989
+ /**
990
+ * Find the first Artboard that matches the filter or
991
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
992
+ * Note, that providing `undefined` is treated as the value not being there.
993
+ * Read more here: https://pris.ly/d/null-undefined
994
+ * @param {ArtboardFindFirstOrThrowArgs} args - Arguments to find a Artboard
995
+ * @example
996
+ * // Get one Artboard
997
+ * const artboard = await prisma.artboard.findFirstOrThrow({
998
+ * where: {
999
+ * // ... provide filter here
1000
+ * }
1001
+ * })
1002
+ */
1003
+ 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>
1004
+
1005
+ /**
1006
+ * Find zero or more Artboards that matches the filter.
1007
+ * Note, that providing `undefined` is treated as the value not being there.
1008
+ * Read more here: https://pris.ly/d/null-undefined
1009
+ * @param {ArtboardFindManyArgs} args - Arguments to filter and select certain fields only.
1010
+ * @example
1011
+ * // Get all Artboards
1012
+ * const artboards = await prisma.artboard.findMany()
1013
+ *
1014
+ * // Get first 10 Artboards
1015
+ * const artboards = await prisma.artboard.findMany({ take: 10 })
1016
+ *
1017
+ * // Only select the `id`
1018
+ * const artboardWithIdOnly = await prisma.artboard.findMany({ select: { id: true } })
1019
+ *
1020
+ */
1021
+ findMany<T extends ArtboardFindManyArgs>(args?: Prisma.SelectSubset<T, ArtboardFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtboardPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1022
+
1023
+ /**
1024
+ * Create a Artboard.
1025
+ * @param {ArtboardCreateArgs} args - Arguments to create a Artboard.
1026
+ * @example
1027
+ * // Create one Artboard
1028
+ * const Artboard = await prisma.artboard.create({
1029
+ * data: {
1030
+ * // ... data to create a Artboard
1031
+ * }
1032
+ * })
1033
+ *
1034
+ */
1035
+ 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>
1036
+
1037
+ /**
1038
+ * Create many Artboards.
1039
+ * @param {ArtboardCreateManyArgs} args - Arguments to create many Artboards.
1040
+ * @example
1041
+ * // Create many Artboards
1042
+ * const artboard = await prisma.artboard.createMany({
1043
+ * data: [
1044
+ * // ... provide data here
1045
+ * ]
1046
+ * })
1047
+ *
1048
+ */
1049
+ createMany<T extends ArtboardCreateManyArgs>(args?: Prisma.SelectSubset<T, ArtboardCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1050
+
1051
+ /**
1052
+ * Create many Artboards and returns the data saved in the database.
1053
+ * @param {ArtboardCreateManyAndReturnArgs} args - Arguments to create many Artboards.
1054
+ * @example
1055
+ * // Create many Artboards
1056
+ * const artboard = await prisma.artboard.createManyAndReturn({
1057
+ * data: [
1058
+ * // ... provide data here
1059
+ * ]
1060
+ * })
1061
+ *
1062
+ * // Create many Artboards and only return the `id`
1063
+ * const artboardWithIdOnly = await prisma.artboard.createManyAndReturn({
1064
+ * select: { id: true },
1065
+ * data: [
1066
+ * // ... provide data here
1067
+ * ]
1068
+ * })
1069
+ * Note, that providing `undefined` is treated as the value not being there.
1070
+ * Read more here: https://pris.ly/d/null-undefined
1071
+ *
1072
+ */
1073
+ createManyAndReturn<T extends ArtboardCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ArtboardCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtboardPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1074
+
1075
+ /**
1076
+ * Delete a Artboard.
1077
+ * @param {ArtboardDeleteArgs} args - Arguments to delete one Artboard.
1078
+ * @example
1079
+ * // Delete one Artboard
1080
+ * const Artboard = await prisma.artboard.delete({
1081
+ * where: {
1082
+ * // ... filter to delete one Artboard
1083
+ * }
1084
+ * })
1085
+ *
1086
+ */
1087
+ 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>
1088
+
1089
+ /**
1090
+ * Update one Artboard.
1091
+ * @param {ArtboardUpdateArgs} args - Arguments to update one Artboard.
1092
+ * @example
1093
+ * // Update one Artboard
1094
+ * const artboard = await prisma.artboard.update({
1095
+ * where: {
1096
+ * // ... provide filter here
1097
+ * },
1098
+ * data: {
1099
+ * // ... provide data here
1100
+ * }
1101
+ * })
1102
+ *
1103
+ */
1104
+ 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>
1105
+
1106
+ /**
1107
+ * Delete zero or more Artboards.
1108
+ * @param {ArtboardDeleteManyArgs} args - Arguments to filter Artboards to delete.
1109
+ * @example
1110
+ * // Delete a few Artboards
1111
+ * const { count } = await prisma.artboard.deleteMany({
1112
+ * where: {
1113
+ * // ... provide filter here
1114
+ * }
1115
+ * })
1116
+ *
1117
+ */
1118
+ deleteMany<T extends ArtboardDeleteManyArgs>(args?: Prisma.SelectSubset<T, ArtboardDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1119
+
1120
+ /**
1121
+ * Update zero or more Artboards.
1122
+ * Note, that providing `undefined` is treated as the value not being there.
1123
+ * Read more here: https://pris.ly/d/null-undefined
1124
+ * @param {ArtboardUpdateManyArgs} args - Arguments to update one or more rows.
1125
+ * @example
1126
+ * // Update many Artboards
1127
+ * const artboard = await prisma.artboard.updateMany({
1128
+ * where: {
1129
+ * // ... provide filter here
1130
+ * },
1131
+ * data: {
1132
+ * // ... provide data here
1133
+ * }
1134
+ * })
1135
+ *
1136
+ */
1137
+ updateMany<T extends ArtboardUpdateManyArgs>(args: Prisma.SelectSubset<T, ArtboardUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1138
+
1139
+ /**
1140
+ * Update zero or more Artboards and returns the data updated in the database.
1141
+ * @param {ArtboardUpdateManyAndReturnArgs} args - Arguments to update many Artboards.
1142
+ * @example
1143
+ * // Update many Artboards
1144
+ * const artboard = await prisma.artboard.updateManyAndReturn({
1145
+ * where: {
1146
+ * // ... provide filter here
1147
+ * },
1148
+ * data: [
1149
+ * // ... provide data here
1150
+ * ]
1151
+ * })
1152
+ *
1153
+ * // Update zero or more Artboards and only return the `id`
1154
+ * const artboardWithIdOnly = await prisma.artboard.updateManyAndReturn({
1155
+ * select: { id: true },
1156
+ * where: {
1157
+ * // ... provide filter here
1158
+ * },
1159
+ * data: [
1160
+ * // ... provide data here
1161
+ * ]
1162
+ * })
1163
+ * Note, that providing `undefined` is treated as the value not being there.
1164
+ * Read more here: https://pris.ly/d/null-undefined
1165
+ *
1166
+ */
1167
+ updateManyAndReturn<T extends ArtboardUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ArtboardUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtboardPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1168
+
1169
+ /**
1170
+ * Create or update one Artboard.
1171
+ * @param {ArtboardUpsertArgs} args - Arguments to update or create a Artboard.
1172
+ * @example
1173
+ * // Update or create a Artboard
1174
+ * const artboard = await prisma.artboard.upsert({
1175
+ * create: {
1176
+ * // ... data to create a Artboard
1177
+ * },
1178
+ * update: {
1179
+ * // ... in case it already exists, update
1180
+ * },
1181
+ * where: {
1182
+ * // ... the filter for the Artboard we want to update
1183
+ * }
1184
+ * })
1185
+ */
1186
+ 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>
1187
+
1188
+
1189
+ /**
1190
+ * Count the number of Artboards.
1191
+ * Note, that providing `undefined` is treated as the value not being there.
1192
+ * Read more here: https://pris.ly/d/null-undefined
1193
+ * @param {ArtboardCountArgs} args - Arguments to filter Artboards to count.
1194
+ * @example
1195
+ * // Count the number of Artboards
1196
+ * const count = await prisma.artboard.count({
1197
+ * where: {
1198
+ * // ... the filter for the Artboards we want to count
1199
+ * }
1200
+ * })
1201
+ **/
1202
+ count<T extends ArtboardCountArgs>(
1203
+ args?: Prisma.Subset<T, ArtboardCountArgs>,
1204
+ ): Prisma.PrismaPromise<
1205
+ T extends runtime.Types.Utils.Record<'select', any>
1206
+ ? T['select'] extends true
1207
+ ? number
1208
+ : Prisma.GetScalarType<T['select'], ArtboardCountAggregateOutputType>
1209
+ : number
1210
+ >
1211
+
1212
+ /**
1213
+ * Allows you to perform aggregations operations on a Artboard.
1214
+ * Note, that providing `undefined` is treated as the value not being there.
1215
+ * Read more here: https://pris.ly/d/null-undefined
1216
+ * @param {ArtboardAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1217
+ * @example
1218
+ * // Ordered by age ascending
1219
+ * // Where email contains prisma.io
1220
+ * // Limited to the 10 users
1221
+ * const aggregations = await prisma.user.aggregate({
1222
+ * _avg: {
1223
+ * age: true,
1224
+ * },
1225
+ * where: {
1226
+ * email: {
1227
+ * contains: "prisma.io",
1228
+ * },
1229
+ * },
1230
+ * orderBy: {
1231
+ * age: "asc",
1232
+ * },
1233
+ * take: 10,
1234
+ * })
1235
+ **/
1236
+ aggregate<T extends ArtboardAggregateArgs>(args: Prisma.Subset<T, ArtboardAggregateArgs>): Prisma.PrismaPromise<GetArtboardAggregateType<T>>
1237
+
1238
+ /**
1239
+ * Group by Artboard.
1240
+ * Note, that providing `undefined` is treated as the value not being there.
1241
+ * Read more here: https://pris.ly/d/null-undefined
1242
+ * @param {ArtboardGroupByArgs} args - Group by arguments.
1243
+ * @example
1244
+ * // Group by city, order by createdAt, get count
1245
+ * const result = await prisma.user.groupBy({
1246
+ * by: ['city', 'createdAt'],
1247
+ * orderBy: {
1248
+ * createdAt: true
1249
+ * },
1250
+ * _count: {
1251
+ * _all: true
1252
+ * },
1253
+ * })
1254
+ *
1255
+ **/
1256
+ groupBy<
1257
+ T extends ArtboardGroupByArgs,
1258
+ HasSelectOrTake extends Prisma.Or<
1259
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1260
+ Prisma.Extends<'take', Prisma.Keys<T>>
1261
+ >,
1262
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1263
+ ? { orderBy: ArtboardGroupByArgs['orderBy'] }
1264
+ : { orderBy?: ArtboardGroupByArgs['orderBy'] },
1265
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1266
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1267
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1268
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1269
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1270
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1271
+ InputErrors extends ByEmpty extends Prisma.True
1272
+ ? `Error: "by" must not be empty.`
1273
+ : HavingValid extends Prisma.False
1274
+ ? {
1275
+ [P in HavingFields]: P extends ByFields
1276
+ ? never
1277
+ : P extends string
1278
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1279
+ : [
1280
+ Error,
1281
+ 'Field ',
1282
+ P,
1283
+ ` in "having" needs to be provided in "by"`,
1284
+ ]
1285
+ }[HavingFields]
1286
+ : 'take' extends Prisma.Keys<T>
1287
+ ? 'orderBy' extends Prisma.Keys<T>
1288
+ ? ByValid extends Prisma.True
1289
+ ? {}
1290
+ : {
1291
+ [P in OrderFields]: P extends ByFields
1292
+ ? never
1293
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1294
+ }[OrderFields]
1295
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1296
+ : 'skip' extends Prisma.Keys<T>
1297
+ ? 'orderBy' extends Prisma.Keys<T>
1298
+ ? ByValid extends Prisma.True
1299
+ ? {}
1300
+ : {
1301
+ [P in OrderFields]: P extends ByFields
1302
+ ? never
1303
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1304
+ }[OrderFields]
1305
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1306
+ : ByValid extends Prisma.True
1307
+ ? {}
1308
+ : {
1309
+ [P in OrderFields]: P extends ByFields
1310
+ ? never
1311
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1312
+ }[OrderFields]
1313
+ >(args: Prisma.SubsetIntersection<T, ArtboardGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetArtboardGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1314
+ /**
1315
+ * Fields of the Artboard model
1316
+ */
1317
+ readonly fields: ArtboardFieldRefs;
1318
+ }
1319
+
1320
+ /**
1321
+ * The delegate class that acts as a "Promise-like" for Artboard.
1322
+ * Why is this prefixed with `Prisma__`?
1323
+ * Because we want to prevent naming conflicts as mentioned in
1324
+ * https://github.com/prisma/prisma-client-js/issues/707
1325
+ */
1326
+ export interface Prisma__ArtboardClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1327
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1328
+ 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>
1329
+ 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>
1330
+ /**
1331
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1332
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1333
+ * @param onrejected The callback to execute when the Promise is rejected.
1334
+ * @returns A Promise for the completion of which ever callback is executed.
1335
+ */
1336
+ 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>
1337
+ /**
1338
+ * Attaches a callback for only the rejection of the Promise.
1339
+ * @param onrejected The callback to execute when the Promise is rejected.
1340
+ * @returns A Promise for the completion of the callback.
1341
+ */
1342
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1343
+ /**
1344
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1345
+ * resolved value cannot be modified from the callback.
1346
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1347
+ * @returns A Promise for the completion of the callback.
1348
+ */
1349
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1350
+ }
1351
+
1352
+
1353
+
1354
+
1355
+ /**
1356
+ * Fields of the Artboard model
1357
+ */
1358
+ export interface ArtboardFieldRefs {
1359
+ readonly id: Prisma.FieldRef<"Artboard", 'String'>
1360
+ readonly projectId: Prisma.FieldRef<"Artboard", 'String'>
1361
+ readonly name: Prisma.FieldRef<"Artboard", 'String'>
1362
+ readonly pageName: Prisma.FieldRef<"Artboard", 'String'>
1363
+ readonly width: Prisma.FieldRef<"Artboard", 'Int'>
1364
+ readonly height: Prisma.FieldRef<"Artboard", 'Int'>
1365
+ readonly pngPath: Prisma.FieldRef<"Artboard", 'String'>
1366
+ readonly svgPath: Prisma.FieldRef<"Artboard", 'String'>
1367
+ readonly annotationJson: Prisma.FieldRef<"Artboard", 'Json'>
1368
+ readonly layerCount: Prisma.FieldRef<"Artboard", 'Int'>
1369
+ readonly sortOrder: Prisma.FieldRef<"Artboard", 'Int'>
1370
+ readonly createdAt: Prisma.FieldRef<"Artboard", 'DateTime'>
1371
+ }
1372
+
1373
+
1374
+ // Custom InputTypes
1375
+ /**
1376
+ * Artboard findUnique
1377
+ */
1378
+ export type ArtboardFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1379
+ /**
1380
+ * Select specific fields to fetch from the Artboard
1381
+ */
1382
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1383
+ /**
1384
+ * Omit specific fields from the Artboard
1385
+ */
1386
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1387
+ /**
1388
+ * Choose, which related nodes to fetch as well
1389
+ */
1390
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1391
+ /**
1392
+ * Filter, which Artboard to fetch.
1393
+ */
1394
+ where: Prisma.ArtboardWhereUniqueInput
1395
+ }
1396
+
1397
+ /**
1398
+ * Artboard findUniqueOrThrow
1399
+ */
1400
+ export type ArtboardFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
+ /**
1402
+ * Select specific fields to fetch from the Artboard
1403
+ */
1404
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1405
+ /**
1406
+ * Omit specific fields from the Artboard
1407
+ */
1408
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1409
+ /**
1410
+ * Choose, which related nodes to fetch as well
1411
+ */
1412
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1413
+ /**
1414
+ * Filter, which Artboard to fetch.
1415
+ */
1416
+ where: Prisma.ArtboardWhereUniqueInput
1417
+ }
1418
+
1419
+ /**
1420
+ * Artboard findFirst
1421
+ */
1422
+ export type ArtboardFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1423
+ /**
1424
+ * Select specific fields to fetch from the Artboard
1425
+ */
1426
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1427
+ /**
1428
+ * Omit specific fields from the Artboard
1429
+ */
1430
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1431
+ /**
1432
+ * Choose, which related nodes to fetch as well
1433
+ */
1434
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1435
+ /**
1436
+ * Filter, which Artboard to fetch.
1437
+ */
1438
+ where?: Prisma.ArtboardWhereInput
1439
+ /**
1440
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1441
+ *
1442
+ * Determine the order of Artboards to fetch.
1443
+ */
1444
+ orderBy?: Prisma.ArtboardOrderByWithRelationInput | Prisma.ArtboardOrderByWithRelationInput[]
1445
+ /**
1446
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1447
+ *
1448
+ * Sets the position for searching for Artboards.
1449
+ */
1450
+ cursor?: Prisma.ArtboardWhereUniqueInput
1451
+ /**
1452
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1453
+ *
1454
+ * Take `±n` Artboards from the position of the cursor.
1455
+ */
1456
+ take?: number
1457
+ /**
1458
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1459
+ *
1460
+ * Skip the first `n` Artboards.
1461
+ */
1462
+ skip?: number
1463
+ /**
1464
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1465
+ *
1466
+ * Filter by unique combinations of Artboards.
1467
+ */
1468
+ distinct?: Prisma.ArtboardScalarFieldEnum | Prisma.ArtboardScalarFieldEnum[]
1469
+ }
1470
+
1471
+ /**
1472
+ * Artboard findFirstOrThrow
1473
+ */
1474
+ export type ArtboardFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1475
+ /**
1476
+ * Select specific fields to fetch from the Artboard
1477
+ */
1478
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1479
+ /**
1480
+ * Omit specific fields from the Artboard
1481
+ */
1482
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1483
+ /**
1484
+ * Choose, which related nodes to fetch as well
1485
+ */
1486
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1487
+ /**
1488
+ * Filter, which Artboard to fetch.
1489
+ */
1490
+ where?: Prisma.ArtboardWhereInput
1491
+ /**
1492
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1493
+ *
1494
+ * Determine the order of Artboards to fetch.
1495
+ */
1496
+ orderBy?: Prisma.ArtboardOrderByWithRelationInput | Prisma.ArtboardOrderByWithRelationInput[]
1497
+ /**
1498
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1499
+ *
1500
+ * Sets the position for searching for Artboards.
1501
+ */
1502
+ cursor?: Prisma.ArtboardWhereUniqueInput
1503
+ /**
1504
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1505
+ *
1506
+ * Take `±n` Artboards from the position of the cursor.
1507
+ */
1508
+ take?: number
1509
+ /**
1510
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1511
+ *
1512
+ * Skip the first `n` Artboards.
1513
+ */
1514
+ skip?: number
1515
+ /**
1516
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1517
+ *
1518
+ * Filter by unique combinations of Artboards.
1519
+ */
1520
+ distinct?: Prisma.ArtboardScalarFieldEnum | Prisma.ArtboardScalarFieldEnum[]
1521
+ }
1522
+
1523
+ /**
1524
+ * Artboard findMany
1525
+ */
1526
+ export type ArtboardFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1527
+ /**
1528
+ * Select specific fields to fetch from the Artboard
1529
+ */
1530
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1531
+ /**
1532
+ * Omit specific fields from the Artboard
1533
+ */
1534
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1535
+ /**
1536
+ * Choose, which related nodes to fetch as well
1537
+ */
1538
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1539
+ /**
1540
+ * Filter, which Artboards to fetch.
1541
+ */
1542
+ where?: Prisma.ArtboardWhereInput
1543
+ /**
1544
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1545
+ *
1546
+ * Determine the order of Artboards to fetch.
1547
+ */
1548
+ orderBy?: Prisma.ArtboardOrderByWithRelationInput | Prisma.ArtboardOrderByWithRelationInput[]
1549
+ /**
1550
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1551
+ *
1552
+ * Sets the position for listing Artboards.
1553
+ */
1554
+ cursor?: Prisma.ArtboardWhereUniqueInput
1555
+ /**
1556
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1557
+ *
1558
+ * Take `±n` Artboards from the position of the cursor.
1559
+ */
1560
+ take?: number
1561
+ /**
1562
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1563
+ *
1564
+ * Skip the first `n` Artboards.
1565
+ */
1566
+ skip?: number
1567
+ /**
1568
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1569
+ *
1570
+ * Filter by unique combinations of Artboards.
1571
+ */
1572
+ distinct?: Prisma.ArtboardScalarFieldEnum | Prisma.ArtboardScalarFieldEnum[]
1573
+ }
1574
+
1575
+ /**
1576
+ * Artboard create
1577
+ */
1578
+ export type ArtboardCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1579
+ /**
1580
+ * Select specific fields to fetch from the Artboard
1581
+ */
1582
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1583
+ /**
1584
+ * Omit specific fields from the Artboard
1585
+ */
1586
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1587
+ /**
1588
+ * Choose, which related nodes to fetch as well
1589
+ */
1590
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1591
+ /**
1592
+ * The data needed to create a Artboard.
1593
+ */
1594
+ data: Prisma.XOR<Prisma.ArtboardCreateInput, Prisma.ArtboardUncheckedCreateInput>
1595
+ }
1596
+
1597
+ /**
1598
+ * Artboard createMany
1599
+ */
1600
+ export type ArtboardCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1601
+ /**
1602
+ * The data used to create many Artboards.
1603
+ */
1604
+ data: Prisma.ArtboardCreateManyInput | Prisma.ArtboardCreateManyInput[]
1605
+ skipDuplicates?: boolean
1606
+ }
1607
+
1608
+ /**
1609
+ * Artboard createManyAndReturn
1610
+ */
1611
+ export type ArtboardCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1612
+ /**
1613
+ * Select specific fields to fetch from the Artboard
1614
+ */
1615
+ select?: Prisma.ArtboardSelectCreateManyAndReturn<ExtArgs> | null
1616
+ /**
1617
+ * Omit specific fields from the Artboard
1618
+ */
1619
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1620
+ /**
1621
+ * The data used to create many Artboards.
1622
+ */
1623
+ data: Prisma.ArtboardCreateManyInput | Prisma.ArtboardCreateManyInput[]
1624
+ skipDuplicates?: boolean
1625
+ /**
1626
+ * Choose, which related nodes to fetch as well
1627
+ */
1628
+ include?: Prisma.ArtboardIncludeCreateManyAndReturn<ExtArgs> | null
1629
+ }
1630
+
1631
+ /**
1632
+ * Artboard update
1633
+ */
1634
+ export type ArtboardUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ /**
1636
+ * Select specific fields to fetch from the Artboard
1637
+ */
1638
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1639
+ /**
1640
+ * Omit specific fields from the Artboard
1641
+ */
1642
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1643
+ /**
1644
+ * Choose, which related nodes to fetch as well
1645
+ */
1646
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1647
+ /**
1648
+ * The data needed to update a Artboard.
1649
+ */
1650
+ data: Prisma.XOR<Prisma.ArtboardUpdateInput, Prisma.ArtboardUncheckedUpdateInput>
1651
+ /**
1652
+ * Choose, which Artboard to update.
1653
+ */
1654
+ where: Prisma.ArtboardWhereUniqueInput
1655
+ }
1656
+
1657
+ /**
1658
+ * Artboard updateMany
1659
+ */
1660
+ export type ArtboardUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1661
+ /**
1662
+ * The data used to update Artboards.
1663
+ */
1664
+ data: Prisma.XOR<Prisma.ArtboardUpdateManyMutationInput, Prisma.ArtboardUncheckedUpdateManyInput>
1665
+ /**
1666
+ * Filter which Artboards to update
1667
+ */
1668
+ where?: Prisma.ArtboardWhereInput
1669
+ /**
1670
+ * Limit how many Artboards to update.
1671
+ */
1672
+ limit?: number
1673
+ }
1674
+
1675
+ /**
1676
+ * Artboard updateManyAndReturn
1677
+ */
1678
+ export type ArtboardUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1679
+ /**
1680
+ * Select specific fields to fetch from the Artboard
1681
+ */
1682
+ select?: Prisma.ArtboardSelectUpdateManyAndReturn<ExtArgs> | null
1683
+ /**
1684
+ * Omit specific fields from the Artboard
1685
+ */
1686
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1687
+ /**
1688
+ * The data used to update Artboards.
1689
+ */
1690
+ data: Prisma.XOR<Prisma.ArtboardUpdateManyMutationInput, Prisma.ArtboardUncheckedUpdateManyInput>
1691
+ /**
1692
+ * Filter which Artboards to update
1693
+ */
1694
+ where?: Prisma.ArtboardWhereInput
1695
+ /**
1696
+ * Limit how many Artboards to update.
1697
+ */
1698
+ limit?: number
1699
+ /**
1700
+ * Choose, which related nodes to fetch as well
1701
+ */
1702
+ include?: Prisma.ArtboardIncludeUpdateManyAndReturn<ExtArgs> | null
1703
+ }
1704
+
1705
+ /**
1706
+ * Artboard upsert
1707
+ */
1708
+ export type ArtboardUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1709
+ /**
1710
+ * Select specific fields to fetch from the Artboard
1711
+ */
1712
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1713
+ /**
1714
+ * Omit specific fields from the Artboard
1715
+ */
1716
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1717
+ /**
1718
+ * Choose, which related nodes to fetch as well
1719
+ */
1720
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1721
+ /**
1722
+ * The filter to search for the Artboard to update in case it exists.
1723
+ */
1724
+ where: Prisma.ArtboardWhereUniqueInput
1725
+ /**
1726
+ * In case the Artboard found by the `where` argument doesn't exist, create a new Artboard with this data.
1727
+ */
1728
+ create: Prisma.XOR<Prisma.ArtboardCreateInput, Prisma.ArtboardUncheckedCreateInput>
1729
+ /**
1730
+ * In case the Artboard was found with the provided `where` argument, update it with this data.
1731
+ */
1732
+ update: Prisma.XOR<Prisma.ArtboardUpdateInput, Prisma.ArtboardUncheckedUpdateInput>
1733
+ }
1734
+
1735
+ /**
1736
+ * Artboard delete
1737
+ */
1738
+ export type ArtboardDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1739
+ /**
1740
+ * Select specific fields to fetch from the Artboard
1741
+ */
1742
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1743
+ /**
1744
+ * Omit specific fields from the Artboard
1745
+ */
1746
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1747
+ /**
1748
+ * Choose, which related nodes to fetch as well
1749
+ */
1750
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1751
+ /**
1752
+ * Filter which Artboard to delete.
1753
+ */
1754
+ where: Prisma.ArtboardWhereUniqueInput
1755
+ }
1756
+
1757
+ /**
1758
+ * Artboard deleteMany
1759
+ */
1760
+ export type ArtboardDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1761
+ /**
1762
+ * Filter which Artboards to delete
1763
+ */
1764
+ where?: Prisma.ArtboardWhereInput
1765
+ /**
1766
+ * Limit how many Artboards to delete.
1767
+ */
1768
+ limit?: number
1769
+ }
1770
+
1771
+ /**
1772
+ * Artboard.exports
1773
+ */
1774
+ export type Artboard$exportsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1775
+ /**
1776
+ * Select specific fields to fetch from the ArtboardExport
1777
+ */
1778
+ select?: Prisma.ArtboardExportSelect<ExtArgs> | null
1779
+ /**
1780
+ * Omit specific fields from the ArtboardExport
1781
+ */
1782
+ omit?: Prisma.ArtboardExportOmit<ExtArgs> | null
1783
+ /**
1784
+ * Choose, which related nodes to fetch as well
1785
+ */
1786
+ include?: Prisma.ArtboardExportInclude<ExtArgs> | null
1787
+ where?: Prisma.ArtboardExportWhereInput
1788
+ orderBy?: Prisma.ArtboardExportOrderByWithRelationInput | Prisma.ArtboardExportOrderByWithRelationInput[]
1789
+ cursor?: Prisma.ArtboardExportWhereUniqueInput
1790
+ take?: number
1791
+ skip?: number
1792
+ distinct?: Prisma.ArtboardExportScalarFieldEnum | Prisma.ArtboardExportScalarFieldEnum[]
1793
+ }
1794
+
1795
+ /**
1796
+ * Artboard without action
1797
+ */
1798
+ export type ArtboardDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1799
+ /**
1800
+ * Select specific fields to fetch from the Artboard
1801
+ */
1802
+ select?: Prisma.ArtboardSelect<ExtArgs> | null
1803
+ /**
1804
+ * Omit specific fields from the Artboard
1805
+ */
1806
+ omit?: Prisma.ArtboardOmit<ExtArgs> | null
1807
+ /**
1808
+ * Choose, which related nodes to fetch as well
1809
+ */
1810
+ include?: Prisma.ArtboardInclude<ExtArgs> | null
1811
+ }