@allbluecn/database 0.11.0 → 0.12.0

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 (110) hide show
  1. package/index.ts +14 -17
  2. package/package.json +29 -21
  3. package/pglite-init.ts +75 -0
  4. package/LICENSE +0 -661
  5. package/desktop-init.ts +0 -162
  6. package/generated-sqlite/browser.ts +0 -499
  7. package/generated-sqlite/client.ts +0 -523
  8. package/generated-sqlite/commonInputTypes.ts +0 -722
  9. package/generated-sqlite/enums.ts +0 -15
  10. package/generated-sqlite/internal/class.ts +0 -1154
  11. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  12. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  13. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  14. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  15. package/generated-sqlite/models/AiProvider.ts +0 -1605
  16. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  17. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  18. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  19. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  20. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  21. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  22. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  23. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  24. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  25. package/generated-sqlite/models/AuditLog.ts +0 -1287
  26. package/generated-sqlite/models/Blob.ts +0 -1425
  27. package/generated-sqlite/models/Block.ts +0 -1648
  28. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  29. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  30. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  31. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  32. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  33. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  34. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  35. package/generated-sqlite/models/ChatRun.ts +0 -1802
  36. package/generated-sqlite/models/ChatThread.ts +0 -2417
  37. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  38. package/generated-sqlite/models/Comment.ts +0 -2201
  39. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  40. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  41. package/generated-sqlite/models/Component.ts +0 -2132
  42. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  43. package/generated-sqlite/models/CustomRole.ts +0 -1209
  44. package/generated-sqlite/models/Design.ts +0 -2497
  45. package/generated-sqlite/models/DesignPage.ts +0 -2398
  46. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  47. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  48. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  49. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  50. package/generated-sqlite/models/EmailLog.ts +0 -1343
  51. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  52. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  53. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  54. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  55. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  56. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  57. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  58. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  59. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  60. package/generated-sqlite/models/Invoice.ts +0 -1707
  61. package/generated-sqlite/models/Iteration.ts +0 -1874
  62. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  63. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  64. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  65. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  66. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  67. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  68. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  69. package/generated-sqlite/models/LoginLog.ts +0 -1447
  70. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  71. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  72. package/generated-sqlite/models/PageVersion.ts +0 -1520
  73. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  74. package/generated-sqlite/models/Plan.ts +0 -2250
  75. package/generated-sqlite/models/Project.ts +0 -2628
  76. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  77. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  78. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  79. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  80. package/generated-sqlite/models/Reference.ts +0 -1175
  81. package/generated-sqlite/models/Review.ts +0 -1903
  82. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  83. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  84. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  85. package/generated-sqlite/models/Share.ts +0 -1674
  86. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  87. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  88. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  89. package/generated-sqlite/models/Story.ts +0 -3263
  90. package/generated-sqlite/models/Subscription.ts +0 -2137
  91. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  92. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  93. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  94. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  95. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  96. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  97. package/generated-sqlite/models/Template.ts +0 -1389
  98. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  99. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  100. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  101. package/generated-sqlite/models/User.ts +0 -21247
  102. package/generated-sqlite/models/UserAgent.ts +0 -2146
  103. package/generated-sqlite/models/UserSkill.ts +0 -1453
  104. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  105. package/generated-sqlite/models/Workspace.ts +0 -2341
  106. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  107. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  108. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  109. package/generated-sqlite/models.ts +0 -107
  110. package/schema.sqlite.prisma +0 -2045
@@ -1,2497 +0,0 @@
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 `Design` 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.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model Design
17
- *
18
- */
19
- export type DesignModel = runtime.Types.Result.DefaultSelection<Prisma.$DesignPayload>
20
-
21
- export type AggregateDesign = {
22
- _count: DesignCountAggregateOutputType | null
23
- _min: DesignMinAggregateOutputType | null
24
- _max: DesignMaxAggregateOutputType | null
25
- }
26
-
27
- export type DesignMinAggregateOutputType = {
28
- id: string | null
29
- icon: string | null
30
- name: string | null
31
- description: string | null
32
- kind: string | null
33
- userId: string | null
34
- isDeleted: boolean | null
35
- deletedAt: Date | null
36
- createdAt: Date | null
37
- updatedAt: Date | null
38
- }
39
-
40
- export type DesignMaxAggregateOutputType = {
41
- id: string | null
42
- icon: string | null
43
- name: string | null
44
- description: string | null
45
- kind: string | null
46
- userId: string | null
47
- isDeleted: boolean | null
48
- deletedAt: Date | null
49
- createdAt: Date | null
50
- updatedAt: Date | null
51
- }
52
-
53
- export type DesignCountAggregateOutputType = {
54
- id: number
55
- icon: number
56
- name: number
57
- description: number
58
- kind: number
59
- settings: number
60
- userId: number
61
- isDeleted: number
62
- deletedAt: number
63
- createdAt: number
64
- updatedAt: number
65
- _all: number
66
- }
67
-
68
-
69
- export type DesignMinAggregateInputType = {
70
- id?: true
71
- icon?: true
72
- name?: true
73
- description?: true
74
- kind?: true
75
- userId?: true
76
- isDeleted?: true
77
- deletedAt?: true
78
- createdAt?: true
79
- updatedAt?: true
80
- }
81
-
82
- export type DesignMaxAggregateInputType = {
83
- id?: true
84
- icon?: true
85
- name?: true
86
- description?: true
87
- kind?: true
88
- userId?: true
89
- isDeleted?: true
90
- deletedAt?: true
91
- createdAt?: true
92
- updatedAt?: true
93
- }
94
-
95
- export type DesignCountAggregateInputType = {
96
- id?: true
97
- icon?: true
98
- name?: true
99
- description?: true
100
- kind?: true
101
- settings?: true
102
- userId?: true
103
- isDeleted?: true
104
- deletedAt?: true
105
- createdAt?: true
106
- updatedAt?: true
107
- _all?: true
108
- }
109
-
110
- export type DesignAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
111
- /**
112
- * Filter which Design to aggregate.
113
- */
114
- where?: Prisma.DesignWhereInput
115
- /**
116
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
117
- *
118
- * Determine the order of Designs to fetch.
119
- */
120
- orderBy?: Prisma.DesignOrderByWithRelationInput | Prisma.DesignOrderByWithRelationInput[]
121
- /**
122
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
123
- *
124
- * Sets the start position
125
- */
126
- cursor?: Prisma.DesignWhereUniqueInput
127
- /**
128
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
129
- *
130
- * Take `±n` Designs from the position of the cursor.
131
- */
132
- take?: number
133
- /**
134
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
135
- *
136
- * Skip the first `n` Designs.
137
- */
138
- skip?: number
139
- /**
140
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
- *
142
- * Count returned Designs
143
- **/
144
- _count?: true | DesignCountAggregateInputType
145
- /**
146
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
- *
148
- * Select which fields to find the minimum value
149
- **/
150
- _min?: DesignMinAggregateInputType
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
- *
154
- * Select which fields to find the maximum value
155
- **/
156
- _max?: DesignMaxAggregateInputType
157
- }
158
-
159
- export type GetDesignAggregateType<T extends DesignAggregateArgs> = {
160
- [P in keyof T & keyof AggregateDesign]: P extends '_count' | 'count'
161
- ? T[P] extends true
162
- ? number
163
- : Prisma.GetScalarType<T[P], AggregateDesign[P]>
164
- : Prisma.GetScalarType<T[P], AggregateDesign[P]>
165
- }
166
-
167
-
168
-
169
-
170
- export type DesignGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
171
- where?: Prisma.DesignWhereInput
172
- orderBy?: Prisma.DesignOrderByWithAggregationInput | Prisma.DesignOrderByWithAggregationInput[]
173
- by: Prisma.DesignScalarFieldEnum[] | Prisma.DesignScalarFieldEnum
174
- having?: Prisma.DesignScalarWhereWithAggregatesInput
175
- take?: number
176
- skip?: number
177
- _count?: DesignCountAggregateInputType | true
178
- _min?: DesignMinAggregateInputType
179
- _max?: DesignMaxAggregateInputType
180
- }
181
-
182
- export type DesignGroupByOutputType = {
183
- id: string
184
- icon: string
185
- name: string
186
- description: string | null
187
- kind: string
188
- settings: runtime.JsonValue | null
189
- userId: string
190
- isDeleted: boolean
191
- deletedAt: Date | null
192
- createdAt: Date
193
- updatedAt: Date
194
- _count: DesignCountAggregateOutputType | null
195
- _min: DesignMinAggregateOutputType | null
196
- _max: DesignMaxAggregateOutputType | null
197
- }
198
-
199
- export type GetDesignGroupByPayload<T extends DesignGroupByArgs> = Prisma.PrismaPromise<
200
- Array<
201
- Prisma.PickEnumerable<DesignGroupByOutputType, T['by']> &
202
- {
203
- [P in ((keyof T) & (keyof DesignGroupByOutputType))]: P extends '_count'
204
- ? T[P] extends boolean
205
- ? number
206
- : Prisma.GetScalarType<T[P], DesignGroupByOutputType[P]>
207
- : Prisma.GetScalarType<T[P], DesignGroupByOutputType[P]>
208
- }
209
- >
210
- >
211
-
212
-
213
-
214
- export type DesignWhereInput = {
215
- AND?: Prisma.DesignWhereInput | Prisma.DesignWhereInput[]
216
- OR?: Prisma.DesignWhereInput[]
217
- NOT?: Prisma.DesignWhereInput | Prisma.DesignWhereInput[]
218
- id?: Prisma.StringFilter<"Design"> | string
219
- icon?: Prisma.StringFilter<"Design"> | string
220
- name?: Prisma.StringFilter<"Design"> | string
221
- description?: Prisma.StringNullableFilter<"Design"> | string | null
222
- kind?: Prisma.StringFilter<"Design"> | string
223
- settings?: Prisma.JsonNullableFilter<"Design">
224
- userId?: Prisma.StringFilter<"Design"> | string
225
- isDeleted?: Prisma.BoolFilter<"Design"> | boolean
226
- deletedAt?: Prisma.DateTimeNullableFilter<"Design"> | Date | string | null
227
- createdAt?: Prisma.DateTimeFilter<"Design"> | Date | string
228
- updatedAt?: Prisma.DateTimeFilter<"Design"> | Date | string
229
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
230
- pages?: Prisma.DesignPageListRelationFilter
231
- versions?: Prisma.DesignVersionListRelationFilter
232
- reviews?: Prisma.ReviewListRelationFilter
233
- comments?: Prisma.CommentListRelationFilter
234
- shares?: Prisma.ShareListRelationFilter
235
- agentConversations?: Prisma.AgentConversationListRelationFilter
236
- }
237
-
238
- export type DesignOrderByWithRelationInput = {
239
- id?: Prisma.SortOrder
240
- icon?: Prisma.SortOrder
241
- name?: Prisma.SortOrder
242
- description?: Prisma.SortOrderInput | Prisma.SortOrder
243
- kind?: Prisma.SortOrder
244
- settings?: Prisma.SortOrderInput | Prisma.SortOrder
245
- userId?: Prisma.SortOrder
246
- isDeleted?: Prisma.SortOrder
247
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
248
- createdAt?: Prisma.SortOrder
249
- updatedAt?: Prisma.SortOrder
250
- user?: Prisma.UserOrderByWithRelationInput
251
- pages?: Prisma.DesignPageOrderByRelationAggregateInput
252
- versions?: Prisma.DesignVersionOrderByRelationAggregateInput
253
- reviews?: Prisma.ReviewOrderByRelationAggregateInput
254
- comments?: Prisma.CommentOrderByRelationAggregateInput
255
- shares?: Prisma.ShareOrderByRelationAggregateInput
256
- agentConversations?: Prisma.AgentConversationOrderByRelationAggregateInput
257
- }
258
-
259
- export type DesignWhereUniqueInput = Prisma.AtLeast<{
260
- id?: string
261
- AND?: Prisma.DesignWhereInput | Prisma.DesignWhereInput[]
262
- OR?: Prisma.DesignWhereInput[]
263
- NOT?: Prisma.DesignWhereInput | Prisma.DesignWhereInput[]
264
- icon?: Prisma.StringFilter<"Design"> | string
265
- name?: Prisma.StringFilter<"Design"> | string
266
- description?: Prisma.StringNullableFilter<"Design"> | string | null
267
- kind?: Prisma.StringFilter<"Design"> | string
268
- settings?: Prisma.JsonNullableFilter<"Design">
269
- userId?: Prisma.StringFilter<"Design"> | string
270
- isDeleted?: Prisma.BoolFilter<"Design"> | boolean
271
- deletedAt?: Prisma.DateTimeNullableFilter<"Design"> | Date | string | null
272
- createdAt?: Prisma.DateTimeFilter<"Design"> | Date | string
273
- updatedAt?: Prisma.DateTimeFilter<"Design"> | Date | string
274
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
275
- pages?: Prisma.DesignPageListRelationFilter
276
- versions?: Prisma.DesignVersionListRelationFilter
277
- reviews?: Prisma.ReviewListRelationFilter
278
- comments?: Prisma.CommentListRelationFilter
279
- shares?: Prisma.ShareListRelationFilter
280
- agentConversations?: Prisma.AgentConversationListRelationFilter
281
- }, "id">
282
-
283
- export type DesignOrderByWithAggregationInput = {
284
- id?: Prisma.SortOrder
285
- icon?: Prisma.SortOrder
286
- name?: Prisma.SortOrder
287
- description?: Prisma.SortOrderInput | Prisma.SortOrder
288
- kind?: Prisma.SortOrder
289
- settings?: Prisma.SortOrderInput | Prisma.SortOrder
290
- userId?: Prisma.SortOrder
291
- isDeleted?: Prisma.SortOrder
292
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
293
- createdAt?: Prisma.SortOrder
294
- updatedAt?: Prisma.SortOrder
295
- _count?: Prisma.DesignCountOrderByAggregateInput
296
- _max?: Prisma.DesignMaxOrderByAggregateInput
297
- _min?: Prisma.DesignMinOrderByAggregateInput
298
- }
299
-
300
- export type DesignScalarWhereWithAggregatesInput = {
301
- AND?: Prisma.DesignScalarWhereWithAggregatesInput | Prisma.DesignScalarWhereWithAggregatesInput[]
302
- OR?: Prisma.DesignScalarWhereWithAggregatesInput[]
303
- NOT?: Prisma.DesignScalarWhereWithAggregatesInput | Prisma.DesignScalarWhereWithAggregatesInput[]
304
- id?: Prisma.StringWithAggregatesFilter<"Design"> | string
305
- icon?: Prisma.StringWithAggregatesFilter<"Design"> | string
306
- name?: Prisma.StringWithAggregatesFilter<"Design"> | string
307
- description?: Prisma.StringNullableWithAggregatesFilter<"Design"> | string | null
308
- kind?: Prisma.StringWithAggregatesFilter<"Design"> | string
309
- settings?: Prisma.JsonNullableWithAggregatesFilter<"Design">
310
- userId?: Prisma.StringWithAggregatesFilter<"Design"> | string
311
- isDeleted?: Prisma.BoolWithAggregatesFilter<"Design"> | boolean
312
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Design"> | Date | string | null
313
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Design"> | Date | string
314
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Design"> | Date | string
315
- }
316
-
317
- export type DesignCreateInput = {
318
- id?: string
319
- icon?: string
320
- name: string
321
- description?: string | null
322
- kind?: string
323
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
324
- isDeleted?: boolean
325
- deletedAt?: Date | string | null
326
- createdAt?: Date | string
327
- updatedAt?: Date | string
328
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
329
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
330
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
331
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
332
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
333
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
334
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
335
- }
336
-
337
- export type DesignUncheckedCreateInput = {
338
- id?: string
339
- icon?: string
340
- name: string
341
- description?: string | null
342
- kind?: string
343
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
344
- userId: string
345
- isDeleted?: boolean
346
- deletedAt?: Date | string | null
347
- createdAt?: Date | string
348
- updatedAt?: Date | string
349
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
350
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
351
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
352
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
353
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
354
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
355
- }
356
-
357
- export type DesignUpdateInput = {
358
- id?: Prisma.StringFieldUpdateOperationsInput | string
359
- icon?: Prisma.StringFieldUpdateOperationsInput | string
360
- name?: Prisma.StringFieldUpdateOperationsInput | string
361
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
362
- kind?: Prisma.StringFieldUpdateOperationsInput | string
363
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
364
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
365
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
366
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
367
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
368
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
369
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
370
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
371
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
372
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
373
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
374
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
375
- }
376
-
377
- export type DesignUncheckedUpdateInput = {
378
- id?: Prisma.StringFieldUpdateOperationsInput | string
379
- icon?: Prisma.StringFieldUpdateOperationsInput | string
380
- name?: Prisma.StringFieldUpdateOperationsInput | string
381
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
382
- kind?: Prisma.StringFieldUpdateOperationsInput | string
383
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
384
- userId?: Prisma.StringFieldUpdateOperationsInput | string
385
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
386
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
387
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
388
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
389
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
390
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
391
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
392
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
393
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
394
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
395
- }
396
-
397
- export type DesignCreateManyInput = {
398
- id?: string
399
- icon?: string
400
- name: string
401
- description?: string | null
402
- kind?: string
403
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
404
- userId: string
405
- isDeleted?: boolean
406
- deletedAt?: Date | string | null
407
- createdAt?: Date | string
408
- updatedAt?: Date | string
409
- }
410
-
411
- export type DesignUpdateManyMutationInput = {
412
- id?: Prisma.StringFieldUpdateOperationsInput | string
413
- icon?: Prisma.StringFieldUpdateOperationsInput | string
414
- name?: Prisma.StringFieldUpdateOperationsInput | string
415
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
416
- kind?: Prisma.StringFieldUpdateOperationsInput | string
417
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
418
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
419
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
420
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
421
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
422
- }
423
-
424
- export type DesignUncheckedUpdateManyInput = {
425
- id?: Prisma.StringFieldUpdateOperationsInput | string
426
- icon?: Prisma.StringFieldUpdateOperationsInput | string
427
- name?: Prisma.StringFieldUpdateOperationsInput | string
428
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
429
- kind?: Prisma.StringFieldUpdateOperationsInput | string
430
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
431
- userId?: Prisma.StringFieldUpdateOperationsInput | string
432
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
433
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
434
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
435
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
436
- }
437
-
438
- export type DesignListRelationFilter = {
439
- every?: Prisma.DesignWhereInput
440
- some?: Prisma.DesignWhereInput
441
- none?: Prisma.DesignWhereInput
442
- }
443
-
444
- export type DesignOrderByRelationAggregateInput = {
445
- _count?: Prisma.SortOrder
446
- }
447
-
448
- export type DesignCountOrderByAggregateInput = {
449
- id?: Prisma.SortOrder
450
- icon?: Prisma.SortOrder
451
- name?: Prisma.SortOrder
452
- description?: Prisma.SortOrder
453
- kind?: Prisma.SortOrder
454
- settings?: Prisma.SortOrder
455
- userId?: Prisma.SortOrder
456
- isDeleted?: Prisma.SortOrder
457
- deletedAt?: Prisma.SortOrder
458
- createdAt?: Prisma.SortOrder
459
- updatedAt?: Prisma.SortOrder
460
- }
461
-
462
- export type DesignMaxOrderByAggregateInput = {
463
- id?: Prisma.SortOrder
464
- icon?: Prisma.SortOrder
465
- name?: Prisma.SortOrder
466
- description?: Prisma.SortOrder
467
- kind?: Prisma.SortOrder
468
- userId?: Prisma.SortOrder
469
- isDeleted?: Prisma.SortOrder
470
- deletedAt?: Prisma.SortOrder
471
- createdAt?: Prisma.SortOrder
472
- updatedAt?: Prisma.SortOrder
473
- }
474
-
475
- export type DesignMinOrderByAggregateInput = {
476
- id?: Prisma.SortOrder
477
- icon?: Prisma.SortOrder
478
- name?: Prisma.SortOrder
479
- description?: Prisma.SortOrder
480
- kind?: Prisma.SortOrder
481
- userId?: Prisma.SortOrder
482
- isDeleted?: Prisma.SortOrder
483
- deletedAt?: Prisma.SortOrder
484
- createdAt?: Prisma.SortOrder
485
- updatedAt?: Prisma.SortOrder
486
- }
487
-
488
- export type DesignScalarRelationFilter = {
489
- is?: Prisma.DesignWhereInput
490
- isNot?: Prisma.DesignWhereInput
491
- }
492
-
493
- export type DesignCreateNestedManyWithoutUserInput = {
494
- create?: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput> | Prisma.DesignCreateWithoutUserInput[] | Prisma.DesignUncheckedCreateWithoutUserInput[]
495
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutUserInput | Prisma.DesignCreateOrConnectWithoutUserInput[]
496
- createMany?: Prisma.DesignCreateManyUserInputEnvelope
497
- connect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
498
- }
499
-
500
- export type DesignUncheckedCreateNestedManyWithoutUserInput = {
501
- create?: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput> | Prisma.DesignCreateWithoutUserInput[] | Prisma.DesignUncheckedCreateWithoutUserInput[]
502
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutUserInput | Prisma.DesignCreateOrConnectWithoutUserInput[]
503
- createMany?: Prisma.DesignCreateManyUserInputEnvelope
504
- connect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
505
- }
506
-
507
- export type DesignUpdateManyWithoutUserNestedInput = {
508
- create?: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput> | Prisma.DesignCreateWithoutUserInput[] | Prisma.DesignUncheckedCreateWithoutUserInput[]
509
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutUserInput | Prisma.DesignCreateOrConnectWithoutUserInput[]
510
- upsert?: Prisma.DesignUpsertWithWhereUniqueWithoutUserInput | Prisma.DesignUpsertWithWhereUniqueWithoutUserInput[]
511
- createMany?: Prisma.DesignCreateManyUserInputEnvelope
512
- set?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
513
- disconnect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
514
- delete?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
515
- connect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
516
- update?: Prisma.DesignUpdateWithWhereUniqueWithoutUserInput | Prisma.DesignUpdateWithWhereUniqueWithoutUserInput[]
517
- updateMany?: Prisma.DesignUpdateManyWithWhereWithoutUserInput | Prisma.DesignUpdateManyWithWhereWithoutUserInput[]
518
- deleteMany?: Prisma.DesignScalarWhereInput | Prisma.DesignScalarWhereInput[]
519
- }
520
-
521
- export type DesignUncheckedUpdateManyWithoutUserNestedInput = {
522
- create?: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput> | Prisma.DesignCreateWithoutUserInput[] | Prisma.DesignUncheckedCreateWithoutUserInput[]
523
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutUserInput | Prisma.DesignCreateOrConnectWithoutUserInput[]
524
- upsert?: Prisma.DesignUpsertWithWhereUniqueWithoutUserInput | Prisma.DesignUpsertWithWhereUniqueWithoutUserInput[]
525
- createMany?: Prisma.DesignCreateManyUserInputEnvelope
526
- set?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
527
- disconnect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
528
- delete?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
529
- connect?: Prisma.DesignWhereUniqueInput | Prisma.DesignWhereUniqueInput[]
530
- update?: Prisma.DesignUpdateWithWhereUniqueWithoutUserInput | Prisma.DesignUpdateWithWhereUniqueWithoutUserInput[]
531
- updateMany?: Prisma.DesignUpdateManyWithWhereWithoutUserInput | Prisma.DesignUpdateManyWithWhereWithoutUserInput[]
532
- deleteMany?: Prisma.DesignScalarWhereInput | Prisma.DesignScalarWhereInput[]
533
- }
534
-
535
- export type DesignCreateNestedOneWithoutAgentConversationsInput = {
536
- create?: Prisma.XOR<Prisma.DesignCreateWithoutAgentConversationsInput, Prisma.DesignUncheckedCreateWithoutAgentConversationsInput>
537
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutAgentConversationsInput
538
- connect?: Prisma.DesignWhereUniqueInput
539
- }
540
-
541
- export type DesignUpdateOneRequiredWithoutAgentConversationsNestedInput = {
542
- create?: Prisma.XOR<Prisma.DesignCreateWithoutAgentConversationsInput, Prisma.DesignUncheckedCreateWithoutAgentConversationsInput>
543
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutAgentConversationsInput
544
- upsert?: Prisma.DesignUpsertWithoutAgentConversationsInput
545
- connect?: Prisma.DesignWhereUniqueInput
546
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutAgentConversationsInput, Prisma.DesignUpdateWithoutAgentConversationsInput>, Prisma.DesignUncheckedUpdateWithoutAgentConversationsInput>
547
- }
548
-
549
- export type DesignCreateNestedOneWithoutPagesInput = {
550
- create?: Prisma.XOR<Prisma.DesignCreateWithoutPagesInput, Prisma.DesignUncheckedCreateWithoutPagesInput>
551
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutPagesInput
552
- connect?: Prisma.DesignWhereUniqueInput
553
- }
554
-
555
- export type DesignUpdateOneRequiredWithoutPagesNestedInput = {
556
- create?: Prisma.XOR<Prisma.DesignCreateWithoutPagesInput, Prisma.DesignUncheckedCreateWithoutPagesInput>
557
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutPagesInput
558
- upsert?: Prisma.DesignUpsertWithoutPagesInput
559
- connect?: Prisma.DesignWhereUniqueInput
560
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutPagesInput, Prisma.DesignUpdateWithoutPagesInput>, Prisma.DesignUncheckedUpdateWithoutPagesInput>
561
- }
562
-
563
- export type DesignCreateNestedOneWithoutVersionsInput = {
564
- create?: Prisma.XOR<Prisma.DesignCreateWithoutVersionsInput, Prisma.DesignUncheckedCreateWithoutVersionsInput>
565
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutVersionsInput
566
- connect?: Prisma.DesignWhereUniqueInput
567
- }
568
-
569
- export type DesignUpdateOneRequiredWithoutVersionsNestedInput = {
570
- create?: Prisma.XOR<Prisma.DesignCreateWithoutVersionsInput, Prisma.DesignUncheckedCreateWithoutVersionsInput>
571
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutVersionsInput
572
- upsert?: Prisma.DesignUpsertWithoutVersionsInput
573
- connect?: Prisma.DesignWhereUniqueInput
574
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutVersionsInput, Prisma.DesignUpdateWithoutVersionsInput>, Prisma.DesignUncheckedUpdateWithoutVersionsInput>
575
- }
576
-
577
- export type DesignCreateNestedOneWithoutReviewsInput = {
578
- create?: Prisma.XOR<Prisma.DesignCreateWithoutReviewsInput, Prisma.DesignUncheckedCreateWithoutReviewsInput>
579
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutReviewsInput
580
- connect?: Prisma.DesignWhereUniqueInput
581
- }
582
-
583
- export type DesignUpdateOneRequiredWithoutReviewsNestedInput = {
584
- create?: Prisma.XOR<Prisma.DesignCreateWithoutReviewsInput, Prisma.DesignUncheckedCreateWithoutReviewsInput>
585
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutReviewsInput
586
- upsert?: Prisma.DesignUpsertWithoutReviewsInput
587
- connect?: Prisma.DesignWhereUniqueInput
588
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutReviewsInput, Prisma.DesignUpdateWithoutReviewsInput>, Prisma.DesignUncheckedUpdateWithoutReviewsInput>
589
- }
590
-
591
- export type DesignCreateNestedOneWithoutCommentsInput = {
592
- create?: Prisma.XOR<Prisma.DesignCreateWithoutCommentsInput, Prisma.DesignUncheckedCreateWithoutCommentsInput>
593
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutCommentsInput
594
- connect?: Prisma.DesignWhereUniqueInput
595
- }
596
-
597
- export type DesignUpdateOneRequiredWithoutCommentsNestedInput = {
598
- create?: Prisma.XOR<Prisma.DesignCreateWithoutCommentsInput, Prisma.DesignUncheckedCreateWithoutCommentsInput>
599
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutCommentsInput
600
- upsert?: Prisma.DesignUpsertWithoutCommentsInput
601
- connect?: Prisma.DesignWhereUniqueInput
602
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutCommentsInput, Prisma.DesignUpdateWithoutCommentsInput>, Prisma.DesignUncheckedUpdateWithoutCommentsInput>
603
- }
604
-
605
- export type DesignCreateNestedOneWithoutSharesInput = {
606
- create?: Prisma.XOR<Prisma.DesignCreateWithoutSharesInput, Prisma.DesignUncheckedCreateWithoutSharesInput>
607
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutSharesInput
608
- connect?: Prisma.DesignWhereUniqueInput
609
- }
610
-
611
- export type DesignUpdateOneRequiredWithoutSharesNestedInput = {
612
- create?: Prisma.XOR<Prisma.DesignCreateWithoutSharesInput, Prisma.DesignUncheckedCreateWithoutSharesInput>
613
- connectOrCreate?: Prisma.DesignCreateOrConnectWithoutSharesInput
614
- upsert?: Prisma.DesignUpsertWithoutSharesInput
615
- connect?: Prisma.DesignWhereUniqueInput
616
- update?: Prisma.XOR<Prisma.XOR<Prisma.DesignUpdateToOneWithWhereWithoutSharesInput, Prisma.DesignUpdateWithoutSharesInput>, Prisma.DesignUncheckedUpdateWithoutSharesInput>
617
- }
618
-
619
- export type DesignCreateWithoutUserInput = {
620
- id?: string
621
- icon?: string
622
- name: string
623
- description?: string | null
624
- kind?: string
625
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
626
- isDeleted?: boolean
627
- deletedAt?: Date | string | null
628
- createdAt?: Date | string
629
- updatedAt?: Date | string
630
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
631
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
632
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
633
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
634
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
635
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
636
- }
637
-
638
- export type DesignUncheckedCreateWithoutUserInput = {
639
- id?: string
640
- icon?: string
641
- name: string
642
- description?: string | null
643
- kind?: string
644
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
645
- isDeleted?: boolean
646
- deletedAt?: Date | string | null
647
- createdAt?: Date | string
648
- updatedAt?: Date | string
649
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
650
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
651
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
652
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
653
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
654
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
655
- }
656
-
657
- export type DesignCreateOrConnectWithoutUserInput = {
658
- where: Prisma.DesignWhereUniqueInput
659
- create: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput>
660
- }
661
-
662
- export type DesignCreateManyUserInputEnvelope = {
663
- data: Prisma.DesignCreateManyUserInput | Prisma.DesignCreateManyUserInput[]
664
- }
665
-
666
- export type DesignUpsertWithWhereUniqueWithoutUserInput = {
667
- where: Prisma.DesignWhereUniqueInput
668
- update: Prisma.XOR<Prisma.DesignUpdateWithoutUserInput, Prisma.DesignUncheckedUpdateWithoutUserInput>
669
- create: Prisma.XOR<Prisma.DesignCreateWithoutUserInput, Prisma.DesignUncheckedCreateWithoutUserInput>
670
- }
671
-
672
- export type DesignUpdateWithWhereUniqueWithoutUserInput = {
673
- where: Prisma.DesignWhereUniqueInput
674
- data: Prisma.XOR<Prisma.DesignUpdateWithoutUserInput, Prisma.DesignUncheckedUpdateWithoutUserInput>
675
- }
676
-
677
- export type DesignUpdateManyWithWhereWithoutUserInput = {
678
- where: Prisma.DesignScalarWhereInput
679
- data: Prisma.XOR<Prisma.DesignUpdateManyMutationInput, Prisma.DesignUncheckedUpdateManyWithoutUserInput>
680
- }
681
-
682
- export type DesignScalarWhereInput = {
683
- AND?: Prisma.DesignScalarWhereInput | Prisma.DesignScalarWhereInput[]
684
- OR?: Prisma.DesignScalarWhereInput[]
685
- NOT?: Prisma.DesignScalarWhereInput | Prisma.DesignScalarWhereInput[]
686
- id?: Prisma.StringFilter<"Design"> | string
687
- icon?: Prisma.StringFilter<"Design"> | string
688
- name?: Prisma.StringFilter<"Design"> | string
689
- description?: Prisma.StringNullableFilter<"Design"> | string | null
690
- kind?: Prisma.StringFilter<"Design"> | string
691
- settings?: Prisma.JsonNullableFilter<"Design">
692
- userId?: Prisma.StringFilter<"Design"> | string
693
- isDeleted?: Prisma.BoolFilter<"Design"> | boolean
694
- deletedAt?: Prisma.DateTimeNullableFilter<"Design"> | Date | string | null
695
- createdAt?: Prisma.DateTimeFilter<"Design"> | Date | string
696
- updatedAt?: Prisma.DateTimeFilter<"Design"> | Date | string
697
- }
698
-
699
- export type DesignCreateWithoutAgentConversationsInput = {
700
- id?: string
701
- icon?: string
702
- name: string
703
- description?: string | null
704
- kind?: string
705
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
706
- isDeleted?: boolean
707
- deletedAt?: Date | string | null
708
- createdAt?: Date | string
709
- updatedAt?: Date | string
710
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
711
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
712
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
713
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
714
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
715
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
716
- }
717
-
718
- export type DesignUncheckedCreateWithoutAgentConversationsInput = {
719
- id?: string
720
- icon?: string
721
- name: string
722
- description?: string | null
723
- kind?: string
724
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
725
- userId: string
726
- isDeleted?: boolean
727
- deletedAt?: Date | string | null
728
- createdAt?: Date | string
729
- updatedAt?: Date | string
730
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
731
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
732
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
733
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
734
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
735
- }
736
-
737
- export type DesignCreateOrConnectWithoutAgentConversationsInput = {
738
- where: Prisma.DesignWhereUniqueInput
739
- create: Prisma.XOR<Prisma.DesignCreateWithoutAgentConversationsInput, Prisma.DesignUncheckedCreateWithoutAgentConversationsInput>
740
- }
741
-
742
- export type DesignUpsertWithoutAgentConversationsInput = {
743
- update: Prisma.XOR<Prisma.DesignUpdateWithoutAgentConversationsInput, Prisma.DesignUncheckedUpdateWithoutAgentConversationsInput>
744
- create: Prisma.XOR<Prisma.DesignCreateWithoutAgentConversationsInput, Prisma.DesignUncheckedCreateWithoutAgentConversationsInput>
745
- where?: Prisma.DesignWhereInput
746
- }
747
-
748
- export type DesignUpdateToOneWithWhereWithoutAgentConversationsInput = {
749
- where?: Prisma.DesignWhereInput
750
- data: Prisma.XOR<Prisma.DesignUpdateWithoutAgentConversationsInput, Prisma.DesignUncheckedUpdateWithoutAgentConversationsInput>
751
- }
752
-
753
- export type DesignUpdateWithoutAgentConversationsInput = {
754
- id?: Prisma.StringFieldUpdateOperationsInput | string
755
- icon?: Prisma.StringFieldUpdateOperationsInput | string
756
- name?: Prisma.StringFieldUpdateOperationsInput | string
757
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
758
- kind?: Prisma.StringFieldUpdateOperationsInput | string
759
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
760
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
761
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
762
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
763
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
764
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
765
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
766
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
767
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
768
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
769
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
770
- }
771
-
772
- export type DesignUncheckedUpdateWithoutAgentConversationsInput = {
773
- id?: Prisma.StringFieldUpdateOperationsInput | string
774
- icon?: Prisma.StringFieldUpdateOperationsInput | string
775
- name?: Prisma.StringFieldUpdateOperationsInput | string
776
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
777
- kind?: Prisma.StringFieldUpdateOperationsInput | string
778
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
779
- userId?: Prisma.StringFieldUpdateOperationsInput | string
780
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
781
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
782
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
783
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
784
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
785
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
786
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
787
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
788
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
789
- }
790
-
791
- export type DesignCreateWithoutPagesInput = {
792
- id?: string
793
- icon?: string
794
- name: string
795
- description?: string | null
796
- kind?: string
797
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
798
- isDeleted?: boolean
799
- deletedAt?: Date | string | null
800
- createdAt?: Date | string
801
- updatedAt?: Date | string
802
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
803
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
804
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
805
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
806
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
807
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
808
- }
809
-
810
- export type DesignUncheckedCreateWithoutPagesInput = {
811
- id?: string
812
- icon?: string
813
- name: string
814
- description?: string | null
815
- kind?: string
816
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
817
- userId: string
818
- isDeleted?: boolean
819
- deletedAt?: Date | string | null
820
- createdAt?: Date | string
821
- updatedAt?: Date | string
822
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
823
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
824
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
825
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
826
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
827
- }
828
-
829
- export type DesignCreateOrConnectWithoutPagesInput = {
830
- where: Prisma.DesignWhereUniqueInput
831
- create: Prisma.XOR<Prisma.DesignCreateWithoutPagesInput, Prisma.DesignUncheckedCreateWithoutPagesInput>
832
- }
833
-
834
- export type DesignUpsertWithoutPagesInput = {
835
- update: Prisma.XOR<Prisma.DesignUpdateWithoutPagesInput, Prisma.DesignUncheckedUpdateWithoutPagesInput>
836
- create: Prisma.XOR<Prisma.DesignCreateWithoutPagesInput, Prisma.DesignUncheckedCreateWithoutPagesInput>
837
- where?: Prisma.DesignWhereInput
838
- }
839
-
840
- export type DesignUpdateToOneWithWhereWithoutPagesInput = {
841
- where?: Prisma.DesignWhereInput
842
- data: Prisma.XOR<Prisma.DesignUpdateWithoutPagesInput, Prisma.DesignUncheckedUpdateWithoutPagesInput>
843
- }
844
-
845
- export type DesignUpdateWithoutPagesInput = {
846
- id?: Prisma.StringFieldUpdateOperationsInput | string
847
- icon?: Prisma.StringFieldUpdateOperationsInput | string
848
- name?: Prisma.StringFieldUpdateOperationsInput | string
849
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
850
- kind?: Prisma.StringFieldUpdateOperationsInput | string
851
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
852
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
853
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
854
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
855
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
856
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
857
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
858
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
859
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
860
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
861
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
862
- }
863
-
864
- export type DesignUncheckedUpdateWithoutPagesInput = {
865
- id?: Prisma.StringFieldUpdateOperationsInput | string
866
- icon?: Prisma.StringFieldUpdateOperationsInput | string
867
- name?: Prisma.StringFieldUpdateOperationsInput | string
868
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
869
- kind?: Prisma.StringFieldUpdateOperationsInput | string
870
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
871
- userId?: Prisma.StringFieldUpdateOperationsInput | string
872
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
873
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
874
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
875
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
876
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
877
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
878
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
879
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
880
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
881
- }
882
-
883
- export type DesignCreateWithoutVersionsInput = {
884
- id?: string
885
- icon?: string
886
- name: string
887
- description?: string | null
888
- kind?: string
889
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
890
- isDeleted?: boolean
891
- deletedAt?: Date | string | null
892
- createdAt?: Date | string
893
- updatedAt?: Date | string
894
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
895
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
896
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
897
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
898
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
899
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
900
- }
901
-
902
- export type DesignUncheckedCreateWithoutVersionsInput = {
903
- id?: string
904
- icon?: string
905
- name: string
906
- description?: string | null
907
- kind?: string
908
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
909
- userId: string
910
- isDeleted?: boolean
911
- deletedAt?: Date | string | null
912
- createdAt?: Date | string
913
- updatedAt?: Date | string
914
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
915
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
916
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
917
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
918
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
919
- }
920
-
921
- export type DesignCreateOrConnectWithoutVersionsInput = {
922
- where: Prisma.DesignWhereUniqueInput
923
- create: Prisma.XOR<Prisma.DesignCreateWithoutVersionsInput, Prisma.DesignUncheckedCreateWithoutVersionsInput>
924
- }
925
-
926
- export type DesignUpsertWithoutVersionsInput = {
927
- update: Prisma.XOR<Prisma.DesignUpdateWithoutVersionsInput, Prisma.DesignUncheckedUpdateWithoutVersionsInput>
928
- create: Prisma.XOR<Prisma.DesignCreateWithoutVersionsInput, Prisma.DesignUncheckedCreateWithoutVersionsInput>
929
- where?: Prisma.DesignWhereInput
930
- }
931
-
932
- export type DesignUpdateToOneWithWhereWithoutVersionsInput = {
933
- where?: Prisma.DesignWhereInput
934
- data: Prisma.XOR<Prisma.DesignUpdateWithoutVersionsInput, Prisma.DesignUncheckedUpdateWithoutVersionsInput>
935
- }
936
-
937
- export type DesignUpdateWithoutVersionsInput = {
938
- id?: Prisma.StringFieldUpdateOperationsInput | string
939
- icon?: Prisma.StringFieldUpdateOperationsInput | string
940
- name?: Prisma.StringFieldUpdateOperationsInput | string
941
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
942
- kind?: Prisma.StringFieldUpdateOperationsInput | string
943
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
944
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
945
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
946
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
947
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
948
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
949
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
950
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
951
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
952
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
953
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
954
- }
955
-
956
- export type DesignUncheckedUpdateWithoutVersionsInput = {
957
- id?: Prisma.StringFieldUpdateOperationsInput | string
958
- icon?: Prisma.StringFieldUpdateOperationsInput | string
959
- name?: Prisma.StringFieldUpdateOperationsInput | string
960
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
961
- kind?: Prisma.StringFieldUpdateOperationsInput | string
962
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
963
- userId?: Prisma.StringFieldUpdateOperationsInput | string
964
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
965
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
966
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
967
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
968
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
969
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
970
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
971
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
972
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
973
- }
974
-
975
- export type DesignCreateWithoutReviewsInput = {
976
- id?: string
977
- icon?: string
978
- name: string
979
- description?: string | null
980
- kind?: string
981
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
982
- isDeleted?: boolean
983
- deletedAt?: Date | string | null
984
- createdAt?: Date | string
985
- updatedAt?: Date | string
986
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
987
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
988
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
989
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
990
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
991
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
992
- }
993
-
994
- export type DesignUncheckedCreateWithoutReviewsInput = {
995
- id?: string
996
- icon?: string
997
- name: string
998
- description?: string | null
999
- kind?: string
1000
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1001
- userId: string
1002
- isDeleted?: boolean
1003
- deletedAt?: Date | string | null
1004
- createdAt?: Date | string
1005
- updatedAt?: Date | string
1006
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
1007
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
1008
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
1009
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
1010
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
1011
- }
1012
-
1013
- export type DesignCreateOrConnectWithoutReviewsInput = {
1014
- where: Prisma.DesignWhereUniqueInput
1015
- create: Prisma.XOR<Prisma.DesignCreateWithoutReviewsInput, Prisma.DesignUncheckedCreateWithoutReviewsInput>
1016
- }
1017
-
1018
- export type DesignUpsertWithoutReviewsInput = {
1019
- update: Prisma.XOR<Prisma.DesignUpdateWithoutReviewsInput, Prisma.DesignUncheckedUpdateWithoutReviewsInput>
1020
- create: Prisma.XOR<Prisma.DesignCreateWithoutReviewsInput, Prisma.DesignUncheckedCreateWithoutReviewsInput>
1021
- where?: Prisma.DesignWhereInput
1022
- }
1023
-
1024
- export type DesignUpdateToOneWithWhereWithoutReviewsInput = {
1025
- where?: Prisma.DesignWhereInput
1026
- data: Prisma.XOR<Prisma.DesignUpdateWithoutReviewsInput, Prisma.DesignUncheckedUpdateWithoutReviewsInput>
1027
- }
1028
-
1029
- export type DesignUpdateWithoutReviewsInput = {
1030
- id?: Prisma.StringFieldUpdateOperationsInput | string
1031
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1032
- name?: Prisma.StringFieldUpdateOperationsInput | string
1033
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1034
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1035
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1036
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1037
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1038
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1039
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1040
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
1041
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
1042
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
1043
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
1044
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
1045
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
1046
- }
1047
-
1048
- export type DesignUncheckedUpdateWithoutReviewsInput = {
1049
- id?: Prisma.StringFieldUpdateOperationsInput | string
1050
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1051
- name?: Prisma.StringFieldUpdateOperationsInput | string
1052
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1054
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1055
- userId?: Prisma.StringFieldUpdateOperationsInput | string
1056
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1057
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1058
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1059
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1060
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
1061
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
1062
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
1063
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
1064
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
1065
- }
1066
-
1067
- export type DesignCreateWithoutCommentsInput = {
1068
- id?: string
1069
- icon?: string
1070
- name: string
1071
- description?: string | null
1072
- kind?: string
1073
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1074
- isDeleted?: boolean
1075
- deletedAt?: Date | string | null
1076
- createdAt?: Date | string
1077
- updatedAt?: Date | string
1078
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
1079
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
1080
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
1081
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
1082
- shares?: Prisma.ShareCreateNestedManyWithoutDesignInput
1083
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
1084
- }
1085
-
1086
- export type DesignUncheckedCreateWithoutCommentsInput = {
1087
- id?: string
1088
- icon?: string
1089
- name: string
1090
- description?: string | null
1091
- kind?: string
1092
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1093
- userId: string
1094
- isDeleted?: boolean
1095
- deletedAt?: Date | string | null
1096
- createdAt?: Date | string
1097
- updatedAt?: Date | string
1098
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
1099
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
1100
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
1101
- shares?: Prisma.ShareUncheckedCreateNestedManyWithoutDesignInput
1102
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
1103
- }
1104
-
1105
- export type DesignCreateOrConnectWithoutCommentsInput = {
1106
- where: Prisma.DesignWhereUniqueInput
1107
- create: Prisma.XOR<Prisma.DesignCreateWithoutCommentsInput, Prisma.DesignUncheckedCreateWithoutCommentsInput>
1108
- }
1109
-
1110
- export type DesignUpsertWithoutCommentsInput = {
1111
- update: Prisma.XOR<Prisma.DesignUpdateWithoutCommentsInput, Prisma.DesignUncheckedUpdateWithoutCommentsInput>
1112
- create: Prisma.XOR<Prisma.DesignCreateWithoutCommentsInput, Prisma.DesignUncheckedCreateWithoutCommentsInput>
1113
- where?: Prisma.DesignWhereInput
1114
- }
1115
-
1116
- export type DesignUpdateToOneWithWhereWithoutCommentsInput = {
1117
- where?: Prisma.DesignWhereInput
1118
- data: Prisma.XOR<Prisma.DesignUpdateWithoutCommentsInput, Prisma.DesignUncheckedUpdateWithoutCommentsInput>
1119
- }
1120
-
1121
- export type DesignUpdateWithoutCommentsInput = {
1122
- id?: Prisma.StringFieldUpdateOperationsInput | string
1123
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1124
- name?: Prisma.StringFieldUpdateOperationsInput | string
1125
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1126
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1127
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1128
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1129
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1130
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1131
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1132
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
1133
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
1134
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
1135
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
1136
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
1137
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
1138
- }
1139
-
1140
- export type DesignUncheckedUpdateWithoutCommentsInput = {
1141
- id?: Prisma.StringFieldUpdateOperationsInput | string
1142
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1143
- name?: Prisma.StringFieldUpdateOperationsInput | string
1144
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1145
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1146
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1147
- userId?: Prisma.StringFieldUpdateOperationsInput | string
1148
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1149
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1150
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1151
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1152
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
1153
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
1154
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
1155
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
1156
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
1157
- }
1158
-
1159
- export type DesignCreateWithoutSharesInput = {
1160
- id?: string
1161
- icon?: string
1162
- name: string
1163
- description?: string | null
1164
- kind?: string
1165
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1166
- isDeleted?: boolean
1167
- deletedAt?: Date | string | null
1168
- createdAt?: Date | string
1169
- updatedAt?: Date | string
1170
- user: Prisma.UserCreateNestedOneWithoutDesignsInput
1171
- pages?: Prisma.DesignPageCreateNestedManyWithoutDesignInput
1172
- versions?: Prisma.DesignVersionCreateNestedManyWithoutDesignInput
1173
- reviews?: Prisma.ReviewCreateNestedManyWithoutDesignInput
1174
- comments?: Prisma.CommentCreateNestedManyWithoutDesignInput
1175
- agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutDesignInput
1176
- }
1177
-
1178
- export type DesignUncheckedCreateWithoutSharesInput = {
1179
- id?: string
1180
- icon?: string
1181
- name: string
1182
- description?: string | null
1183
- kind?: string
1184
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1185
- userId: string
1186
- isDeleted?: boolean
1187
- deletedAt?: Date | string | null
1188
- createdAt?: Date | string
1189
- updatedAt?: Date | string
1190
- pages?: Prisma.DesignPageUncheckedCreateNestedManyWithoutDesignInput
1191
- versions?: Prisma.DesignVersionUncheckedCreateNestedManyWithoutDesignInput
1192
- reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutDesignInput
1193
- comments?: Prisma.CommentUncheckedCreateNestedManyWithoutDesignInput
1194
- agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutDesignInput
1195
- }
1196
-
1197
- export type DesignCreateOrConnectWithoutSharesInput = {
1198
- where: Prisma.DesignWhereUniqueInput
1199
- create: Prisma.XOR<Prisma.DesignCreateWithoutSharesInput, Prisma.DesignUncheckedCreateWithoutSharesInput>
1200
- }
1201
-
1202
- export type DesignUpsertWithoutSharesInput = {
1203
- update: Prisma.XOR<Prisma.DesignUpdateWithoutSharesInput, Prisma.DesignUncheckedUpdateWithoutSharesInput>
1204
- create: Prisma.XOR<Prisma.DesignCreateWithoutSharesInput, Prisma.DesignUncheckedCreateWithoutSharesInput>
1205
- where?: Prisma.DesignWhereInput
1206
- }
1207
-
1208
- export type DesignUpdateToOneWithWhereWithoutSharesInput = {
1209
- where?: Prisma.DesignWhereInput
1210
- data: Prisma.XOR<Prisma.DesignUpdateWithoutSharesInput, Prisma.DesignUncheckedUpdateWithoutSharesInput>
1211
- }
1212
-
1213
- export type DesignUpdateWithoutSharesInput = {
1214
- id?: Prisma.StringFieldUpdateOperationsInput | string
1215
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1216
- name?: Prisma.StringFieldUpdateOperationsInput | string
1217
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1218
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1219
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1220
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1221
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1222
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1223
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1224
- user?: Prisma.UserUpdateOneRequiredWithoutDesignsNestedInput
1225
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
1226
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
1227
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
1228
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
1229
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
1230
- }
1231
-
1232
- export type DesignUncheckedUpdateWithoutSharesInput = {
1233
- id?: Prisma.StringFieldUpdateOperationsInput | string
1234
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1235
- name?: Prisma.StringFieldUpdateOperationsInput | string
1236
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1237
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1238
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1239
- userId?: Prisma.StringFieldUpdateOperationsInput | string
1240
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1241
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1242
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1243
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1244
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
1245
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
1246
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
1247
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
1248
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
1249
- }
1250
-
1251
- export type DesignCreateManyUserInput = {
1252
- id?: string
1253
- icon?: string
1254
- name: string
1255
- description?: string | null
1256
- kind?: string
1257
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1258
- isDeleted?: boolean
1259
- deletedAt?: Date | string | null
1260
- createdAt?: Date | string
1261
- updatedAt?: Date | string
1262
- }
1263
-
1264
- export type DesignUpdateWithoutUserInput = {
1265
- id?: Prisma.StringFieldUpdateOperationsInput | string
1266
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1267
- name?: Prisma.StringFieldUpdateOperationsInput | string
1268
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1269
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1270
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1271
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1272
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1273
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1274
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1275
- pages?: Prisma.DesignPageUpdateManyWithoutDesignNestedInput
1276
- versions?: Prisma.DesignVersionUpdateManyWithoutDesignNestedInput
1277
- reviews?: Prisma.ReviewUpdateManyWithoutDesignNestedInput
1278
- comments?: Prisma.CommentUpdateManyWithoutDesignNestedInput
1279
- shares?: Prisma.ShareUpdateManyWithoutDesignNestedInput
1280
- agentConversations?: Prisma.AgentConversationUpdateManyWithoutDesignNestedInput
1281
- }
1282
-
1283
- export type DesignUncheckedUpdateWithoutUserInput = {
1284
- id?: Prisma.StringFieldUpdateOperationsInput | string
1285
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1286
- name?: Prisma.StringFieldUpdateOperationsInput | string
1287
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1288
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1289
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1290
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1291
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1292
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1293
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1294
- pages?: Prisma.DesignPageUncheckedUpdateManyWithoutDesignNestedInput
1295
- versions?: Prisma.DesignVersionUncheckedUpdateManyWithoutDesignNestedInput
1296
- reviews?: Prisma.ReviewUncheckedUpdateManyWithoutDesignNestedInput
1297
- comments?: Prisma.CommentUncheckedUpdateManyWithoutDesignNestedInput
1298
- shares?: Prisma.ShareUncheckedUpdateManyWithoutDesignNestedInput
1299
- agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutDesignNestedInput
1300
- }
1301
-
1302
- export type DesignUncheckedUpdateManyWithoutUserInput = {
1303
- id?: Prisma.StringFieldUpdateOperationsInput | string
1304
- icon?: Prisma.StringFieldUpdateOperationsInput | string
1305
- name?: Prisma.StringFieldUpdateOperationsInput | string
1306
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1307
- kind?: Prisma.StringFieldUpdateOperationsInput | string
1308
- settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1309
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1310
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1311
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1312
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1313
- }
1314
-
1315
-
1316
- /**
1317
- * Count Type DesignCountOutputType
1318
- */
1319
-
1320
- export type DesignCountOutputType = {
1321
- pages: number
1322
- versions: number
1323
- reviews: number
1324
- comments: number
1325
- shares: number
1326
- agentConversations: number
1327
- }
1328
-
1329
- export type DesignCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1330
- pages?: boolean | DesignCountOutputTypeCountPagesArgs
1331
- versions?: boolean | DesignCountOutputTypeCountVersionsArgs
1332
- reviews?: boolean | DesignCountOutputTypeCountReviewsArgs
1333
- comments?: boolean | DesignCountOutputTypeCountCommentsArgs
1334
- shares?: boolean | DesignCountOutputTypeCountSharesArgs
1335
- agentConversations?: boolean | DesignCountOutputTypeCountAgentConversationsArgs
1336
- }
1337
-
1338
- /**
1339
- * DesignCountOutputType without action
1340
- */
1341
- export type DesignCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1342
- /**
1343
- * Select specific fields to fetch from the DesignCountOutputType
1344
- */
1345
- select?: Prisma.DesignCountOutputTypeSelect<ExtArgs> | null
1346
- }
1347
-
1348
- /**
1349
- * DesignCountOutputType without action
1350
- */
1351
- export type DesignCountOutputTypeCountPagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1352
- where?: Prisma.DesignPageWhereInput
1353
- }
1354
-
1355
- /**
1356
- * DesignCountOutputType without action
1357
- */
1358
- export type DesignCountOutputTypeCountVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
- where?: Prisma.DesignVersionWhereInput
1360
- }
1361
-
1362
- /**
1363
- * DesignCountOutputType without action
1364
- */
1365
- export type DesignCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
- where?: Prisma.ReviewWhereInput
1367
- }
1368
-
1369
- /**
1370
- * DesignCountOutputType without action
1371
- */
1372
- export type DesignCountOutputTypeCountCommentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1373
- where?: Prisma.CommentWhereInput
1374
- }
1375
-
1376
- /**
1377
- * DesignCountOutputType without action
1378
- */
1379
- export type DesignCountOutputTypeCountSharesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1380
- where?: Prisma.ShareWhereInput
1381
- }
1382
-
1383
- /**
1384
- * DesignCountOutputType without action
1385
- */
1386
- export type DesignCountOutputTypeCountAgentConversationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1387
- where?: Prisma.AgentConversationWhereInput
1388
- }
1389
-
1390
-
1391
- export type DesignSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1392
- id?: boolean
1393
- icon?: boolean
1394
- name?: boolean
1395
- description?: boolean
1396
- kind?: boolean
1397
- settings?: boolean
1398
- userId?: boolean
1399
- isDeleted?: boolean
1400
- deletedAt?: boolean
1401
- createdAt?: boolean
1402
- updatedAt?: boolean
1403
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1404
- pages?: boolean | Prisma.Design$pagesArgs<ExtArgs>
1405
- versions?: boolean | Prisma.Design$versionsArgs<ExtArgs>
1406
- reviews?: boolean | Prisma.Design$reviewsArgs<ExtArgs>
1407
- comments?: boolean | Prisma.Design$commentsArgs<ExtArgs>
1408
- shares?: boolean | Prisma.Design$sharesArgs<ExtArgs>
1409
- agentConversations?: boolean | Prisma.Design$agentConversationsArgs<ExtArgs>
1410
- _count?: boolean | Prisma.DesignCountOutputTypeDefaultArgs<ExtArgs>
1411
- }, ExtArgs["result"]["design"]>
1412
-
1413
- export type DesignSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1414
- id?: boolean
1415
- icon?: boolean
1416
- name?: boolean
1417
- description?: boolean
1418
- kind?: boolean
1419
- settings?: boolean
1420
- userId?: boolean
1421
- isDeleted?: boolean
1422
- deletedAt?: boolean
1423
- createdAt?: boolean
1424
- updatedAt?: boolean
1425
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1426
- }, ExtArgs["result"]["design"]>
1427
-
1428
- export type DesignSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1429
- id?: boolean
1430
- icon?: boolean
1431
- name?: boolean
1432
- description?: boolean
1433
- kind?: boolean
1434
- settings?: boolean
1435
- userId?: boolean
1436
- isDeleted?: boolean
1437
- deletedAt?: boolean
1438
- createdAt?: boolean
1439
- updatedAt?: boolean
1440
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1441
- }, ExtArgs["result"]["design"]>
1442
-
1443
- export type DesignSelectScalar = {
1444
- id?: boolean
1445
- icon?: boolean
1446
- name?: boolean
1447
- description?: boolean
1448
- kind?: boolean
1449
- settings?: boolean
1450
- userId?: boolean
1451
- isDeleted?: boolean
1452
- deletedAt?: boolean
1453
- createdAt?: boolean
1454
- updatedAt?: boolean
1455
- }
1456
-
1457
- export type DesignOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "icon" | "name" | "description" | "kind" | "settings" | "userId" | "isDeleted" | "deletedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["design"]>
1458
- export type DesignInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1459
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1460
- pages?: boolean | Prisma.Design$pagesArgs<ExtArgs>
1461
- versions?: boolean | Prisma.Design$versionsArgs<ExtArgs>
1462
- reviews?: boolean | Prisma.Design$reviewsArgs<ExtArgs>
1463
- comments?: boolean | Prisma.Design$commentsArgs<ExtArgs>
1464
- shares?: boolean | Prisma.Design$sharesArgs<ExtArgs>
1465
- agentConversations?: boolean | Prisma.Design$agentConversationsArgs<ExtArgs>
1466
- _count?: boolean | Prisma.DesignCountOutputTypeDefaultArgs<ExtArgs>
1467
- }
1468
- export type DesignIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1469
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1470
- }
1471
- export type DesignIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1472
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1473
- }
1474
-
1475
- export type $DesignPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1476
- name: "Design"
1477
- objects: {
1478
- user: Prisma.$UserPayload<ExtArgs>
1479
- pages: Prisma.$DesignPagePayload<ExtArgs>[]
1480
- versions: Prisma.$DesignVersionPayload<ExtArgs>[]
1481
- reviews: Prisma.$ReviewPayload<ExtArgs>[]
1482
- comments: Prisma.$CommentPayload<ExtArgs>[]
1483
- shares: Prisma.$SharePayload<ExtArgs>[]
1484
- agentConversations: Prisma.$AgentConversationPayload<ExtArgs>[]
1485
- }
1486
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1487
- id: string
1488
- icon: string
1489
- name: string
1490
- description: string | null
1491
- kind: string
1492
- settings: runtime.JsonValue | null
1493
- userId: string
1494
- isDeleted: boolean
1495
- deletedAt: Date | null
1496
- createdAt: Date
1497
- updatedAt: Date
1498
- }, ExtArgs["result"]["design"]>
1499
- composites: {}
1500
- }
1501
-
1502
- export type DesignGetPayload<S extends boolean | null | undefined | DesignDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DesignPayload, S>
1503
-
1504
- export type DesignCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1505
- Omit<DesignFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1506
- select?: DesignCountAggregateInputType | true
1507
- }
1508
-
1509
- export interface DesignDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1510
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Design'], meta: { name: 'Design' } }
1511
- /**
1512
- * Find zero or one Design that matches the filter.
1513
- * @param {DesignFindUniqueArgs} args - Arguments to find a Design
1514
- * @example
1515
- * // Get one Design
1516
- * const design = await prisma.design.findUnique({
1517
- * where: {
1518
- * // ... provide filter here
1519
- * }
1520
- * })
1521
- */
1522
- findUnique<T extends DesignFindUniqueArgs>(args: Prisma.SelectSubset<T, DesignFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1523
-
1524
- /**
1525
- * Find one Design that matches the filter or throw an error with `error.code='P2025'`
1526
- * if no matches were found.
1527
- * @param {DesignFindUniqueOrThrowArgs} args - Arguments to find a Design
1528
- * @example
1529
- * // Get one Design
1530
- * const design = await prisma.design.findUniqueOrThrow({
1531
- * where: {
1532
- * // ... provide filter here
1533
- * }
1534
- * })
1535
- */
1536
- findUniqueOrThrow<T extends DesignFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DesignFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1537
-
1538
- /**
1539
- * Find the first Design that matches the filter.
1540
- * Note, that providing `undefined` is treated as the value not being there.
1541
- * Read more here: https://pris.ly/d/null-undefined
1542
- * @param {DesignFindFirstArgs} args - Arguments to find a Design
1543
- * @example
1544
- * // Get one Design
1545
- * const design = await prisma.design.findFirst({
1546
- * where: {
1547
- * // ... provide filter here
1548
- * }
1549
- * })
1550
- */
1551
- findFirst<T extends DesignFindFirstArgs>(args?: Prisma.SelectSubset<T, DesignFindFirstArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1552
-
1553
- /**
1554
- * Find the first Design that matches the filter or
1555
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1556
- * Note, that providing `undefined` is treated as the value not being there.
1557
- * Read more here: https://pris.ly/d/null-undefined
1558
- * @param {DesignFindFirstOrThrowArgs} args - Arguments to find a Design
1559
- * @example
1560
- * // Get one Design
1561
- * const design = await prisma.design.findFirstOrThrow({
1562
- * where: {
1563
- * // ... provide filter here
1564
- * }
1565
- * })
1566
- */
1567
- findFirstOrThrow<T extends DesignFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DesignFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1568
-
1569
- /**
1570
- * Find zero or more Designs that matches the filter.
1571
- * Note, that providing `undefined` is treated as the value not being there.
1572
- * Read more here: https://pris.ly/d/null-undefined
1573
- * @param {DesignFindManyArgs} args - Arguments to filter and select certain fields only.
1574
- * @example
1575
- * // Get all Designs
1576
- * const designs = await prisma.design.findMany()
1577
- *
1578
- * // Get first 10 Designs
1579
- * const designs = await prisma.design.findMany({ take: 10 })
1580
- *
1581
- * // Only select the `id`
1582
- * const designWithIdOnly = await prisma.design.findMany({ select: { id: true } })
1583
- *
1584
- */
1585
- findMany<T extends DesignFindManyArgs>(args?: Prisma.SelectSubset<T, DesignFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1586
-
1587
- /**
1588
- * Create a Design.
1589
- * @param {DesignCreateArgs} args - Arguments to create a Design.
1590
- * @example
1591
- * // Create one Design
1592
- * const Design = await prisma.design.create({
1593
- * data: {
1594
- * // ... data to create a Design
1595
- * }
1596
- * })
1597
- *
1598
- */
1599
- create<T extends DesignCreateArgs>(args: Prisma.SelectSubset<T, DesignCreateArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1600
-
1601
- /**
1602
- * Create many Designs.
1603
- * @param {DesignCreateManyArgs} args - Arguments to create many Designs.
1604
- * @example
1605
- * // Create many Designs
1606
- * const design = await prisma.design.createMany({
1607
- * data: [
1608
- * // ... provide data here
1609
- * ]
1610
- * })
1611
- *
1612
- */
1613
- createMany<T extends DesignCreateManyArgs>(args?: Prisma.SelectSubset<T, DesignCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1614
-
1615
- /**
1616
- * Create many Designs and returns the data saved in the database.
1617
- * @param {DesignCreateManyAndReturnArgs} args - Arguments to create many Designs.
1618
- * @example
1619
- * // Create many Designs
1620
- * const design = await prisma.design.createManyAndReturn({
1621
- * data: [
1622
- * // ... provide data here
1623
- * ]
1624
- * })
1625
- *
1626
- * // Create many Designs and only return the `id`
1627
- * const designWithIdOnly = await prisma.design.createManyAndReturn({
1628
- * select: { id: true },
1629
- * data: [
1630
- * // ... provide data here
1631
- * ]
1632
- * })
1633
- * Note, that providing `undefined` is treated as the value not being there.
1634
- * Read more here: https://pris.ly/d/null-undefined
1635
- *
1636
- */
1637
- createManyAndReturn<T extends DesignCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DesignCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1638
-
1639
- /**
1640
- * Delete a Design.
1641
- * @param {DesignDeleteArgs} args - Arguments to delete one Design.
1642
- * @example
1643
- * // Delete one Design
1644
- * const Design = await prisma.design.delete({
1645
- * where: {
1646
- * // ... filter to delete one Design
1647
- * }
1648
- * })
1649
- *
1650
- */
1651
- delete<T extends DesignDeleteArgs>(args: Prisma.SelectSubset<T, DesignDeleteArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1652
-
1653
- /**
1654
- * Update one Design.
1655
- * @param {DesignUpdateArgs} args - Arguments to update one Design.
1656
- * @example
1657
- * // Update one Design
1658
- * const design = await prisma.design.update({
1659
- * where: {
1660
- * // ... provide filter here
1661
- * },
1662
- * data: {
1663
- * // ... provide data here
1664
- * }
1665
- * })
1666
- *
1667
- */
1668
- update<T extends DesignUpdateArgs>(args: Prisma.SelectSubset<T, DesignUpdateArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1669
-
1670
- /**
1671
- * Delete zero or more Designs.
1672
- * @param {DesignDeleteManyArgs} args - Arguments to filter Designs to delete.
1673
- * @example
1674
- * // Delete a few Designs
1675
- * const { count } = await prisma.design.deleteMany({
1676
- * where: {
1677
- * // ... provide filter here
1678
- * }
1679
- * })
1680
- *
1681
- */
1682
- deleteMany<T extends DesignDeleteManyArgs>(args?: Prisma.SelectSubset<T, DesignDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1683
-
1684
- /**
1685
- * Update zero or more Designs.
1686
- * Note, that providing `undefined` is treated as the value not being there.
1687
- * Read more here: https://pris.ly/d/null-undefined
1688
- * @param {DesignUpdateManyArgs} args - Arguments to update one or more rows.
1689
- * @example
1690
- * // Update many Designs
1691
- * const design = await prisma.design.updateMany({
1692
- * where: {
1693
- * // ... provide filter here
1694
- * },
1695
- * data: {
1696
- * // ... provide data here
1697
- * }
1698
- * })
1699
- *
1700
- */
1701
- updateMany<T extends DesignUpdateManyArgs>(args: Prisma.SelectSubset<T, DesignUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1702
-
1703
- /**
1704
- * Update zero or more Designs and returns the data updated in the database.
1705
- * @param {DesignUpdateManyAndReturnArgs} args - Arguments to update many Designs.
1706
- * @example
1707
- * // Update many Designs
1708
- * const design = await prisma.design.updateManyAndReturn({
1709
- * where: {
1710
- * // ... provide filter here
1711
- * },
1712
- * data: [
1713
- * // ... provide data here
1714
- * ]
1715
- * })
1716
- *
1717
- * // Update zero or more Designs and only return the `id`
1718
- * const designWithIdOnly = await prisma.design.updateManyAndReturn({
1719
- * select: { id: true },
1720
- * where: {
1721
- * // ... provide filter here
1722
- * },
1723
- * data: [
1724
- * // ... provide data here
1725
- * ]
1726
- * })
1727
- * Note, that providing `undefined` is treated as the value not being there.
1728
- * Read more here: https://pris.ly/d/null-undefined
1729
- *
1730
- */
1731
- updateManyAndReturn<T extends DesignUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DesignUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1732
-
1733
- /**
1734
- * Create or update one Design.
1735
- * @param {DesignUpsertArgs} args - Arguments to update or create a Design.
1736
- * @example
1737
- * // Update or create a Design
1738
- * const design = await prisma.design.upsert({
1739
- * create: {
1740
- * // ... data to create a Design
1741
- * },
1742
- * update: {
1743
- * // ... in case it already exists, update
1744
- * },
1745
- * where: {
1746
- * // ... the filter for the Design we want to update
1747
- * }
1748
- * })
1749
- */
1750
- upsert<T extends DesignUpsertArgs>(args: Prisma.SelectSubset<T, DesignUpsertArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1751
-
1752
-
1753
- /**
1754
- * Count the number of Designs.
1755
- * Note, that providing `undefined` is treated as the value not being there.
1756
- * Read more here: https://pris.ly/d/null-undefined
1757
- * @param {DesignCountArgs} args - Arguments to filter Designs to count.
1758
- * @example
1759
- * // Count the number of Designs
1760
- * const count = await prisma.design.count({
1761
- * where: {
1762
- * // ... the filter for the Designs we want to count
1763
- * }
1764
- * })
1765
- **/
1766
- count<T extends DesignCountArgs>(
1767
- args?: Prisma.Subset<T, DesignCountArgs>,
1768
- ): Prisma.PrismaPromise<
1769
- T extends runtime.Types.Utils.Record<'select', any>
1770
- ? T['select'] extends true
1771
- ? number
1772
- : Prisma.GetScalarType<T['select'], DesignCountAggregateOutputType>
1773
- : number
1774
- >
1775
-
1776
- /**
1777
- * Allows you to perform aggregations operations on a Design.
1778
- * Note, that providing `undefined` is treated as the value not being there.
1779
- * Read more here: https://pris.ly/d/null-undefined
1780
- * @param {DesignAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1781
- * @example
1782
- * // Ordered by age ascending
1783
- * // Where email contains prisma.io
1784
- * // Limited to the 10 users
1785
- * const aggregations = await prisma.user.aggregate({
1786
- * _avg: {
1787
- * age: true,
1788
- * },
1789
- * where: {
1790
- * email: {
1791
- * contains: "prisma.io",
1792
- * },
1793
- * },
1794
- * orderBy: {
1795
- * age: "asc",
1796
- * },
1797
- * take: 10,
1798
- * })
1799
- **/
1800
- aggregate<T extends DesignAggregateArgs>(args: Prisma.Subset<T, DesignAggregateArgs>): Prisma.PrismaPromise<GetDesignAggregateType<T>>
1801
-
1802
- /**
1803
- * Group by Design.
1804
- * Note, that providing `undefined` is treated as the value not being there.
1805
- * Read more here: https://pris.ly/d/null-undefined
1806
- * @param {DesignGroupByArgs} args - Group by arguments.
1807
- * @example
1808
- * // Group by city, order by createdAt, get count
1809
- * const result = await prisma.user.groupBy({
1810
- * by: ['city', 'createdAt'],
1811
- * orderBy: {
1812
- * createdAt: true
1813
- * },
1814
- * _count: {
1815
- * _all: true
1816
- * },
1817
- * })
1818
- *
1819
- **/
1820
- groupBy<
1821
- T extends DesignGroupByArgs,
1822
- HasSelectOrTake extends Prisma.Or<
1823
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1824
- Prisma.Extends<'take', Prisma.Keys<T>>
1825
- >,
1826
- OrderByArg extends Prisma.True extends HasSelectOrTake
1827
- ? { orderBy: DesignGroupByArgs['orderBy'] }
1828
- : { orderBy?: DesignGroupByArgs['orderBy'] },
1829
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1830
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1831
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1832
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1833
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1834
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1835
- InputErrors extends ByEmpty extends Prisma.True
1836
- ? `Error: "by" must not be empty.`
1837
- : HavingValid extends Prisma.False
1838
- ? {
1839
- [P in HavingFields]: P extends ByFields
1840
- ? never
1841
- : P extends string
1842
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1843
- : [
1844
- Error,
1845
- 'Field ',
1846
- P,
1847
- ` in "having" needs to be provided in "by"`,
1848
- ]
1849
- }[HavingFields]
1850
- : 'take' extends Prisma.Keys<T>
1851
- ? 'orderBy' extends Prisma.Keys<T>
1852
- ? ByValid extends Prisma.True
1853
- ? {}
1854
- : {
1855
- [P in OrderFields]: P extends ByFields
1856
- ? never
1857
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1858
- }[OrderFields]
1859
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1860
- : 'skip' extends Prisma.Keys<T>
1861
- ? 'orderBy' extends Prisma.Keys<T>
1862
- ? ByValid extends Prisma.True
1863
- ? {}
1864
- : {
1865
- [P in OrderFields]: P extends ByFields
1866
- ? never
1867
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1868
- }[OrderFields]
1869
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1870
- : ByValid extends Prisma.True
1871
- ? {}
1872
- : {
1873
- [P in OrderFields]: P extends ByFields
1874
- ? never
1875
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1876
- }[OrderFields]
1877
- >(args: Prisma.SubsetIntersection<T, DesignGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDesignGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1878
- /**
1879
- * Fields of the Design model
1880
- */
1881
- readonly fields: DesignFieldRefs;
1882
- }
1883
-
1884
- /**
1885
- * The delegate class that acts as a "Promise-like" for Design.
1886
- * Why is this prefixed with `Prisma__`?
1887
- * Because we want to prevent naming conflicts as mentioned in
1888
- * https://github.com/prisma/prisma-client-js/issues/707
1889
- */
1890
- export interface Prisma__DesignClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1891
- readonly [Symbol.toStringTag]: "PrismaPromise"
1892
- user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1893
- pages<T extends Prisma.Design$pagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$pagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1894
- versions<T extends Prisma.Design$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1895
- reviews<T extends Prisma.Design$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1896
- comments<T extends Prisma.Design$commentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1897
- shares<T extends Prisma.Design$sharesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$sharesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SharePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1898
- agentConversations<T extends Prisma.Design$agentConversationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Design$agentConversationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentConversationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1899
- /**
1900
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1901
- * @param onfulfilled The callback to execute when the Promise is resolved.
1902
- * @param onrejected The callback to execute when the Promise is rejected.
1903
- * @returns A Promise for the completion of which ever callback is executed.
1904
- */
1905
- 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>
1906
- /**
1907
- * Attaches a callback for only the rejection of the Promise.
1908
- * @param onrejected The callback to execute when the Promise is rejected.
1909
- * @returns A Promise for the completion of the callback.
1910
- */
1911
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1912
- /**
1913
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1914
- * resolved value cannot be modified from the callback.
1915
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1916
- * @returns A Promise for the completion of the callback.
1917
- */
1918
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1919
- }
1920
-
1921
-
1922
-
1923
-
1924
- /**
1925
- * Fields of the Design model
1926
- */
1927
- export interface DesignFieldRefs {
1928
- readonly id: Prisma.FieldRef<"Design", 'String'>
1929
- readonly icon: Prisma.FieldRef<"Design", 'String'>
1930
- readonly name: Prisma.FieldRef<"Design", 'String'>
1931
- readonly description: Prisma.FieldRef<"Design", 'String'>
1932
- readonly kind: Prisma.FieldRef<"Design", 'String'>
1933
- readonly settings: Prisma.FieldRef<"Design", 'Json'>
1934
- readonly userId: Prisma.FieldRef<"Design", 'String'>
1935
- readonly isDeleted: Prisma.FieldRef<"Design", 'Boolean'>
1936
- readonly deletedAt: Prisma.FieldRef<"Design", 'DateTime'>
1937
- readonly createdAt: Prisma.FieldRef<"Design", 'DateTime'>
1938
- readonly updatedAt: Prisma.FieldRef<"Design", 'DateTime'>
1939
- }
1940
-
1941
-
1942
- // Custom InputTypes
1943
- /**
1944
- * Design findUnique
1945
- */
1946
- export type DesignFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1947
- /**
1948
- * Select specific fields to fetch from the Design
1949
- */
1950
- select?: Prisma.DesignSelect<ExtArgs> | null
1951
- /**
1952
- * Omit specific fields from the Design
1953
- */
1954
- omit?: Prisma.DesignOmit<ExtArgs> | null
1955
- /**
1956
- * Choose, which related nodes to fetch as well
1957
- */
1958
- include?: Prisma.DesignInclude<ExtArgs> | null
1959
- /**
1960
- * Filter, which Design to fetch.
1961
- */
1962
- where: Prisma.DesignWhereUniqueInput
1963
- }
1964
-
1965
- /**
1966
- * Design findUniqueOrThrow
1967
- */
1968
- export type DesignFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1969
- /**
1970
- * Select specific fields to fetch from the Design
1971
- */
1972
- select?: Prisma.DesignSelect<ExtArgs> | null
1973
- /**
1974
- * Omit specific fields from the Design
1975
- */
1976
- omit?: Prisma.DesignOmit<ExtArgs> | null
1977
- /**
1978
- * Choose, which related nodes to fetch as well
1979
- */
1980
- include?: Prisma.DesignInclude<ExtArgs> | null
1981
- /**
1982
- * Filter, which Design to fetch.
1983
- */
1984
- where: Prisma.DesignWhereUniqueInput
1985
- }
1986
-
1987
- /**
1988
- * Design findFirst
1989
- */
1990
- export type DesignFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1991
- /**
1992
- * Select specific fields to fetch from the Design
1993
- */
1994
- select?: Prisma.DesignSelect<ExtArgs> | null
1995
- /**
1996
- * Omit specific fields from the Design
1997
- */
1998
- omit?: Prisma.DesignOmit<ExtArgs> | null
1999
- /**
2000
- * Choose, which related nodes to fetch as well
2001
- */
2002
- include?: Prisma.DesignInclude<ExtArgs> | null
2003
- /**
2004
- * Filter, which Design to fetch.
2005
- */
2006
- where?: Prisma.DesignWhereInput
2007
- /**
2008
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2009
- *
2010
- * Determine the order of Designs to fetch.
2011
- */
2012
- orderBy?: Prisma.DesignOrderByWithRelationInput | Prisma.DesignOrderByWithRelationInput[]
2013
- /**
2014
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2015
- *
2016
- * Sets the position for searching for Designs.
2017
- */
2018
- cursor?: Prisma.DesignWhereUniqueInput
2019
- /**
2020
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2021
- *
2022
- * Take `±n` Designs from the position of the cursor.
2023
- */
2024
- take?: number
2025
- /**
2026
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2027
- *
2028
- * Skip the first `n` Designs.
2029
- */
2030
- skip?: number
2031
- /**
2032
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2033
- *
2034
- * Filter by unique combinations of Designs.
2035
- */
2036
- distinct?: Prisma.DesignScalarFieldEnum | Prisma.DesignScalarFieldEnum[]
2037
- }
2038
-
2039
- /**
2040
- * Design findFirstOrThrow
2041
- */
2042
- export type DesignFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2043
- /**
2044
- * Select specific fields to fetch from the Design
2045
- */
2046
- select?: Prisma.DesignSelect<ExtArgs> | null
2047
- /**
2048
- * Omit specific fields from the Design
2049
- */
2050
- omit?: Prisma.DesignOmit<ExtArgs> | null
2051
- /**
2052
- * Choose, which related nodes to fetch as well
2053
- */
2054
- include?: Prisma.DesignInclude<ExtArgs> | null
2055
- /**
2056
- * Filter, which Design to fetch.
2057
- */
2058
- where?: Prisma.DesignWhereInput
2059
- /**
2060
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2061
- *
2062
- * Determine the order of Designs to fetch.
2063
- */
2064
- orderBy?: Prisma.DesignOrderByWithRelationInput | Prisma.DesignOrderByWithRelationInput[]
2065
- /**
2066
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2067
- *
2068
- * Sets the position for searching for Designs.
2069
- */
2070
- cursor?: Prisma.DesignWhereUniqueInput
2071
- /**
2072
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2073
- *
2074
- * Take `±n` Designs from the position of the cursor.
2075
- */
2076
- take?: number
2077
- /**
2078
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2079
- *
2080
- * Skip the first `n` Designs.
2081
- */
2082
- skip?: number
2083
- /**
2084
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2085
- *
2086
- * Filter by unique combinations of Designs.
2087
- */
2088
- distinct?: Prisma.DesignScalarFieldEnum | Prisma.DesignScalarFieldEnum[]
2089
- }
2090
-
2091
- /**
2092
- * Design findMany
2093
- */
2094
- export type DesignFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2095
- /**
2096
- * Select specific fields to fetch from the Design
2097
- */
2098
- select?: Prisma.DesignSelect<ExtArgs> | null
2099
- /**
2100
- * Omit specific fields from the Design
2101
- */
2102
- omit?: Prisma.DesignOmit<ExtArgs> | null
2103
- /**
2104
- * Choose, which related nodes to fetch as well
2105
- */
2106
- include?: Prisma.DesignInclude<ExtArgs> | null
2107
- /**
2108
- * Filter, which Designs to fetch.
2109
- */
2110
- where?: Prisma.DesignWhereInput
2111
- /**
2112
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2113
- *
2114
- * Determine the order of Designs to fetch.
2115
- */
2116
- orderBy?: Prisma.DesignOrderByWithRelationInput | Prisma.DesignOrderByWithRelationInput[]
2117
- /**
2118
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2119
- *
2120
- * Sets the position for listing Designs.
2121
- */
2122
- cursor?: Prisma.DesignWhereUniqueInput
2123
- /**
2124
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2125
- *
2126
- * Take `±n` Designs from the position of the cursor.
2127
- */
2128
- take?: number
2129
- /**
2130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2131
- *
2132
- * Skip the first `n` Designs.
2133
- */
2134
- skip?: number
2135
- /**
2136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2137
- *
2138
- * Filter by unique combinations of Designs.
2139
- */
2140
- distinct?: Prisma.DesignScalarFieldEnum | Prisma.DesignScalarFieldEnum[]
2141
- }
2142
-
2143
- /**
2144
- * Design create
2145
- */
2146
- export type DesignCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2147
- /**
2148
- * Select specific fields to fetch from the Design
2149
- */
2150
- select?: Prisma.DesignSelect<ExtArgs> | null
2151
- /**
2152
- * Omit specific fields from the Design
2153
- */
2154
- omit?: Prisma.DesignOmit<ExtArgs> | null
2155
- /**
2156
- * Choose, which related nodes to fetch as well
2157
- */
2158
- include?: Prisma.DesignInclude<ExtArgs> | null
2159
- /**
2160
- * The data needed to create a Design.
2161
- */
2162
- data: Prisma.XOR<Prisma.DesignCreateInput, Prisma.DesignUncheckedCreateInput>
2163
- }
2164
-
2165
- /**
2166
- * Design createMany
2167
- */
2168
- export type DesignCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2169
- /**
2170
- * The data used to create many Designs.
2171
- */
2172
- data: Prisma.DesignCreateManyInput | Prisma.DesignCreateManyInput[]
2173
- }
2174
-
2175
- /**
2176
- * Design createManyAndReturn
2177
- */
2178
- export type DesignCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2179
- /**
2180
- * Select specific fields to fetch from the Design
2181
- */
2182
- select?: Prisma.DesignSelectCreateManyAndReturn<ExtArgs> | null
2183
- /**
2184
- * Omit specific fields from the Design
2185
- */
2186
- omit?: Prisma.DesignOmit<ExtArgs> | null
2187
- /**
2188
- * The data used to create many Designs.
2189
- */
2190
- data: Prisma.DesignCreateManyInput | Prisma.DesignCreateManyInput[]
2191
- /**
2192
- * Choose, which related nodes to fetch as well
2193
- */
2194
- include?: Prisma.DesignIncludeCreateManyAndReturn<ExtArgs> | null
2195
- }
2196
-
2197
- /**
2198
- * Design update
2199
- */
2200
- export type DesignUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2201
- /**
2202
- * Select specific fields to fetch from the Design
2203
- */
2204
- select?: Prisma.DesignSelect<ExtArgs> | null
2205
- /**
2206
- * Omit specific fields from the Design
2207
- */
2208
- omit?: Prisma.DesignOmit<ExtArgs> | null
2209
- /**
2210
- * Choose, which related nodes to fetch as well
2211
- */
2212
- include?: Prisma.DesignInclude<ExtArgs> | null
2213
- /**
2214
- * The data needed to update a Design.
2215
- */
2216
- data: Prisma.XOR<Prisma.DesignUpdateInput, Prisma.DesignUncheckedUpdateInput>
2217
- /**
2218
- * Choose, which Design to update.
2219
- */
2220
- where: Prisma.DesignWhereUniqueInput
2221
- }
2222
-
2223
- /**
2224
- * Design updateMany
2225
- */
2226
- export type DesignUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2227
- /**
2228
- * The data used to update Designs.
2229
- */
2230
- data: Prisma.XOR<Prisma.DesignUpdateManyMutationInput, Prisma.DesignUncheckedUpdateManyInput>
2231
- /**
2232
- * Filter which Designs to update
2233
- */
2234
- where?: Prisma.DesignWhereInput
2235
- /**
2236
- * Limit how many Designs to update.
2237
- */
2238
- limit?: number
2239
- }
2240
-
2241
- /**
2242
- * Design updateManyAndReturn
2243
- */
2244
- export type DesignUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2245
- /**
2246
- * Select specific fields to fetch from the Design
2247
- */
2248
- select?: Prisma.DesignSelectUpdateManyAndReturn<ExtArgs> | null
2249
- /**
2250
- * Omit specific fields from the Design
2251
- */
2252
- omit?: Prisma.DesignOmit<ExtArgs> | null
2253
- /**
2254
- * The data used to update Designs.
2255
- */
2256
- data: Prisma.XOR<Prisma.DesignUpdateManyMutationInput, Prisma.DesignUncheckedUpdateManyInput>
2257
- /**
2258
- * Filter which Designs to update
2259
- */
2260
- where?: Prisma.DesignWhereInput
2261
- /**
2262
- * Limit how many Designs to update.
2263
- */
2264
- limit?: number
2265
- /**
2266
- * Choose, which related nodes to fetch as well
2267
- */
2268
- include?: Prisma.DesignIncludeUpdateManyAndReturn<ExtArgs> | null
2269
- }
2270
-
2271
- /**
2272
- * Design upsert
2273
- */
2274
- export type DesignUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2275
- /**
2276
- * Select specific fields to fetch from the Design
2277
- */
2278
- select?: Prisma.DesignSelect<ExtArgs> | null
2279
- /**
2280
- * Omit specific fields from the Design
2281
- */
2282
- omit?: Prisma.DesignOmit<ExtArgs> | null
2283
- /**
2284
- * Choose, which related nodes to fetch as well
2285
- */
2286
- include?: Prisma.DesignInclude<ExtArgs> | null
2287
- /**
2288
- * The filter to search for the Design to update in case it exists.
2289
- */
2290
- where: Prisma.DesignWhereUniqueInput
2291
- /**
2292
- * In case the Design found by the `where` argument doesn't exist, create a new Design with this data.
2293
- */
2294
- create: Prisma.XOR<Prisma.DesignCreateInput, Prisma.DesignUncheckedCreateInput>
2295
- /**
2296
- * In case the Design was found with the provided `where` argument, update it with this data.
2297
- */
2298
- update: Prisma.XOR<Prisma.DesignUpdateInput, Prisma.DesignUncheckedUpdateInput>
2299
- }
2300
-
2301
- /**
2302
- * Design delete
2303
- */
2304
- export type DesignDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2305
- /**
2306
- * Select specific fields to fetch from the Design
2307
- */
2308
- select?: Prisma.DesignSelect<ExtArgs> | null
2309
- /**
2310
- * Omit specific fields from the Design
2311
- */
2312
- omit?: Prisma.DesignOmit<ExtArgs> | null
2313
- /**
2314
- * Choose, which related nodes to fetch as well
2315
- */
2316
- include?: Prisma.DesignInclude<ExtArgs> | null
2317
- /**
2318
- * Filter which Design to delete.
2319
- */
2320
- where: Prisma.DesignWhereUniqueInput
2321
- }
2322
-
2323
- /**
2324
- * Design deleteMany
2325
- */
2326
- export type DesignDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2327
- /**
2328
- * Filter which Designs to delete
2329
- */
2330
- where?: Prisma.DesignWhereInput
2331
- /**
2332
- * Limit how many Designs to delete.
2333
- */
2334
- limit?: number
2335
- }
2336
-
2337
- /**
2338
- * Design.pages
2339
- */
2340
- export type Design$pagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2341
- /**
2342
- * Select specific fields to fetch from the DesignPage
2343
- */
2344
- select?: Prisma.DesignPageSelect<ExtArgs> | null
2345
- /**
2346
- * Omit specific fields from the DesignPage
2347
- */
2348
- omit?: Prisma.DesignPageOmit<ExtArgs> | null
2349
- /**
2350
- * Choose, which related nodes to fetch as well
2351
- */
2352
- include?: Prisma.DesignPageInclude<ExtArgs> | null
2353
- where?: Prisma.DesignPageWhereInput
2354
- orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
2355
- cursor?: Prisma.DesignPageWhereUniqueInput
2356
- take?: number
2357
- skip?: number
2358
- distinct?: Prisma.DesignPageScalarFieldEnum | Prisma.DesignPageScalarFieldEnum[]
2359
- }
2360
-
2361
- /**
2362
- * Design.versions
2363
- */
2364
- export type Design$versionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2365
- /**
2366
- * Select specific fields to fetch from the DesignVersion
2367
- */
2368
- select?: Prisma.DesignVersionSelect<ExtArgs> | null
2369
- /**
2370
- * Omit specific fields from the DesignVersion
2371
- */
2372
- omit?: Prisma.DesignVersionOmit<ExtArgs> | null
2373
- /**
2374
- * Choose, which related nodes to fetch as well
2375
- */
2376
- include?: Prisma.DesignVersionInclude<ExtArgs> | null
2377
- where?: Prisma.DesignVersionWhereInput
2378
- orderBy?: Prisma.DesignVersionOrderByWithRelationInput | Prisma.DesignVersionOrderByWithRelationInput[]
2379
- cursor?: Prisma.DesignVersionWhereUniqueInput
2380
- take?: number
2381
- skip?: number
2382
- distinct?: Prisma.DesignVersionScalarFieldEnum | Prisma.DesignVersionScalarFieldEnum[]
2383
- }
2384
-
2385
- /**
2386
- * Design.reviews
2387
- */
2388
- export type Design$reviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2389
- /**
2390
- * Select specific fields to fetch from the Review
2391
- */
2392
- select?: Prisma.ReviewSelect<ExtArgs> | null
2393
- /**
2394
- * Omit specific fields from the Review
2395
- */
2396
- omit?: Prisma.ReviewOmit<ExtArgs> | null
2397
- /**
2398
- * Choose, which related nodes to fetch as well
2399
- */
2400
- include?: Prisma.ReviewInclude<ExtArgs> | null
2401
- where?: Prisma.ReviewWhereInput
2402
- orderBy?: Prisma.ReviewOrderByWithRelationInput | Prisma.ReviewOrderByWithRelationInput[]
2403
- cursor?: Prisma.ReviewWhereUniqueInput
2404
- take?: number
2405
- skip?: number
2406
- distinct?: Prisma.ReviewScalarFieldEnum | Prisma.ReviewScalarFieldEnum[]
2407
- }
2408
-
2409
- /**
2410
- * Design.comments
2411
- */
2412
- export type Design$commentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2413
- /**
2414
- * Select specific fields to fetch from the Comment
2415
- */
2416
- select?: Prisma.CommentSelect<ExtArgs> | null
2417
- /**
2418
- * Omit specific fields from the Comment
2419
- */
2420
- omit?: Prisma.CommentOmit<ExtArgs> | null
2421
- /**
2422
- * Choose, which related nodes to fetch as well
2423
- */
2424
- include?: Prisma.CommentInclude<ExtArgs> | null
2425
- where?: Prisma.CommentWhereInput
2426
- orderBy?: Prisma.CommentOrderByWithRelationInput | Prisma.CommentOrderByWithRelationInput[]
2427
- cursor?: Prisma.CommentWhereUniqueInput
2428
- take?: number
2429
- skip?: number
2430
- distinct?: Prisma.CommentScalarFieldEnum | Prisma.CommentScalarFieldEnum[]
2431
- }
2432
-
2433
- /**
2434
- * Design.shares
2435
- */
2436
- export type Design$sharesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2437
- /**
2438
- * Select specific fields to fetch from the Share
2439
- */
2440
- select?: Prisma.ShareSelect<ExtArgs> | null
2441
- /**
2442
- * Omit specific fields from the Share
2443
- */
2444
- omit?: Prisma.ShareOmit<ExtArgs> | null
2445
- /**
2446
- * Choose, which related nodes to fetch as well
2447
- */
2448
- include?: Prisma.ShareInclude<ExtArgs> | null
2449
- where?: Prisma.ShareWhereInput
2450
- orderBy?: Prisma.ShareOrderByWithRelationInput | Prisma.ShareOrderByWithRelationInput[]
2451
- cursor?: Prisma.ShareWhereUniqueInput
2452
- take?: number
2453
- skip?: number
2454
- distinct?: Prisma.ShareScalarFieldEnum | Prisma.ShareScalarFieldEnum[]
2455
- }
2456
-
2457
- /**
2458
- * Design.agentConversations
2459
- */
2460
- export type Design$agentConversationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2461
- /**
2462
- * Select specific fields to fetch from the AgentConversation
2463
- */
2464
- select?: Prisma.AgentConversationSelect<ExtArgs> | null
2465
- /**
2466
- * Omit specific fields from the AgentConversation
2467
- */
2468
- omit?: Prisma.AgentConversationOmit<ExtArgs> | null
2469
- /**
2470
- * Choose, which related nodes to fetch as well
2471
- */
2472
- include?: Prisma.AgentConversationInclude<ExtArgs> | null
2473
- where?: Prisma.AgentConversationWhereInput
2474
- orderBy?: Prisma.AgentConversationOrderByWithRelationInput | Prisma.AgentConversationOrderByWithRelationInput[]
2475
- cursor?: Prisma.AgentConversationWhereUniqueInput
2476
- take?: number
2477
- skip?: number
2478
- distinct?: Prisma.AgentConversationScalarFieldEnum | Prisma.AgentConversationScalarFieldEnum[]
2479
- }
2480
-
2481
- /**
2482
- * Design without action
2483
- */
2484
- export type DesignDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2485
- /**
2486
- * Select specific fields to fetch from the Design
2487
- */
2488
- select?: Prisma.DesignSelect<ExtArgs> | null
2489
- /**
2490
- * Omit specific fields from the Design
2491
- */
2492
- omit?: Prisma.DesignOmit<ExtArgs> | null
2493
- /**
2494
- * Choose, which related nodes to fetch as well
2495
- */
2496
- include?: Prisma.DesignInclude<ExtArgs> | null
2497
- }