@allbluecn/database 0.9.1 → 0.9.3

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 (150) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/desktop-init.ts +2 -2
  5. package/dist/cf-env-stub.d.ts +1 -0
  6. package/dist/cf-env-stub.js +4 -0
  7. package/dist/cf-env.d.ts +1 -0
  8. package/dist/cf-env.js +8 -0
  9. package/dist/lib/share-utils.js +3 -3
  10. package/generated/browser.ts +143 -38
  11. package/generated/client.ts +143 -38
  12. package/generated/commonInputTypes.ts +34 -0
  13. package/generated/enums.ts +14 -0
  14. package/generated/internal/class.ts +290 -80
  15. package/generated/internal/prismaNamespace.ts +3756 -1797
  16. package/generated/internal/prismaNamespaceBrowser.ts +478 -108
  17. package/generated/models/AgentConversation.ts +89 -89
  18. package/generated/models/AiProvider.ts +3 -3
  19. package/generated/models/AiStreamChunk.ts +3 -3
  20. package/generated/models/AiTask.ts +2481 -0
  21. package/generated/models/AiTaskRun.ts +1564 -0
  22. package/generated/models/AnyHubMarketApp.ts +8 -8
  23. package/generated/models/AuditLog.ts +6 -6
  24. package/generated/models/BlockInstance.ts +17 -17
  25. package/generated/models/Bug.ts +5116 -0
  26. package/generated/models/BugActivity.ts +1765 -0
  27. package/generated/models/BugComment.ts +1992 -0
  28. package/generated/models/BugCommentReaction.ts +1472 -0
  29. package/generated/models/BugEvent.ts +1339 -0
  30. package/generated/models/BugFilterView.ts +1438 -0
  31. package/generated/models/BugFixRun.ts +1479 -0
  32. package/generated/models/BugLabel.ts +1349 -0
  33. package/generated/models/BugProjectSettings.ts +1403 -0
  34. package/generated/models/BugReproRun.ts +1582 -0
  35. package/generated/models/ChatPersistenceMeta.ts +3 -3
  36. package/generated/models/CollabClient.ts +1199 -0
  37. package/generated/models/CollabDocument.ts +1121 -0
  38. package/generated/models/CollabUpdate.ts +1149 -0
  39. package/generated/models/Comment.ts +99 -99
  40. package/generated/models/Component.ts +7 -201
  41. package/generated/models/ComponentInstance.ts +17 -17
  42. package/generated/models/CustomRole.ts +8 -8
  43. package/generated/models/Design.ts +2682 -0
  44. package/generated/models/DesignPage.ts +2402 -0
  45. package/generated/models/DesignVersion.ts +2121 -0
  46. package/generated/models/DesktopSetting.ts +3 -3
  47. package/generated/models/Iteration.ts +148 -0
  48. package/generated/models/Label.ts +118 -0
  49. package/generated/models/LicenseKey.ts +16 -16
  50. package/generated/models/NotificationPreference.ts +5 -5
  51. package/generated/models/PageVersion.ts +49 -49
  52. package/generated/models/Plan.ts +5 -5
  53. package/generated/models/Project.ts +2240 -67
  54. package/generated/models/ProjectAccessToken.ts +1705 -0
  55. package/generated/models/ProjectWebhook.ts +1409 -0
  56. package/generated/models/Review.ts +118 -118
  57. package/generated/models/Share.ts +83 -83
  58. package/generated/models/ShareVersion.ts +15 -15
  59. package/generated/models/SsoProvider.ts +8 -8
  60. package/generated/models/Story.ts +973 -87
  61. package/generated/models/StoryDesignLink.ts +1430 -0
  62. package/generated/models/StoryFilterView.ts +12 -12
  63. package/generated/models/SystemPromptVersion.ts +6 -6
  64. package/generated/models/TestAutomationArtifact.ts +1790 -0
  65. package/generated/models/TestCase.ts +3645 -0
  66. package/generated/models/TestCaseFilterView.ts +1587 -0
  67. package/generated/models/TestCaseFolder.ts +1795 -0
  68. package/generated/models/TestExecRun.ts +1673 -0
  69. package/generated/models/TestGenerationRun.ts +1952 -0
  70. package/generated/models/TestPlan.ts +1950 -0
  71. package/generated/models/TestPlanCase.ts +1430 -0
  72. package/generated/models/TestRun.ts +1979 -0
  73. package/generated/models/TestRunCase.ts +2772 -0
  74. package/generated/models/ThirdPartyDependency.ts +19 -15
  75. package/generated/models/User.ts +13573 -3351
  76. package/generated/models/Workspace.ts +204 -0
  77. package/generated/models.ts +31 -10
  78. package/generated-sqlite/browser.ts +6 -36
  79. package/generated-sqlite/client.ts +6 -36
  80. package/generated-sqlite/internal/class.ts +16 -76
  81. package/generated-sqlite/internal/prismaNamespace.ts +127 -659
  82. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
  83. package/generated-sqlite/models/AgentConversation.ts +89 -89
  84. package/generated-sqlite/models/AiProvider.ts +3 -3
  85. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  86. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  87. package/generated-sqlite/models/BlockInstance.ts +17 -17
  88. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  89. package/generated-sqlite/models/Comment.ts +99 -99
  90. package/generated-sqlite/models/Component.ts +7 -201
  91. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  92. package/generated-sqlite/models/Design.ts +2497 -0
  93. package/generated-sqlite/models/DesignPage.ts +2398 -0
  94. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  95. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  96. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  97. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  98. package/generated-sqlite/models/PageVersion.ts +49 -49
  99. package/generated-sqlite/models/Review.ts +118 -118
  100. package/generated-sqlite/models/Share.ts +83 -83
  101. package/generated-sqlite/models/ShareVersion.ts +15 -15
  102. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  103. package/generated-sqlite/models/User.ts +1310 -2016
  104. package/generated-sqlite/models/Workspace.ts +164 -0
  105. package/generated-sqlite/models.ts +3 -9
  106. package/index.ts +31 -3
  107. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  108. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  109. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  110. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  111. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  112. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  113. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  114. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  115. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  116. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  117. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  118. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  119. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  120. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  121. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  122. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  123. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  124. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  125. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  126. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  127. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  128. package/package.json +17 -6
  129. package/schema.prisma +777 -222
  130. package/schema.sqlite.prisma +140 -196
  131. package/src/lib/share-utils.ts +2 -2
  132. package/generated/models/Artboard.ts +0 -1811
  133. package/generated/models/ArtboardExport.ts +0 -1548
  134. package/generated/models/ComponentTag.ts +0 -1281
  135. package/generated/models/DesignProject.ts +0 -1643
  136. package/generated/models/PRD.ts +0 -2805
  137. package/generated/models/PRDPage.ts +0 -2402
  138. package/generated/models/PRDTag.ts +0 -1430
  139. package/generated/models/PRDVersion.ts +0 -2121
  140. package/generated/models/StoryPrdLink.ts +0 -1430
  141. package/generated/models/Tag.ts +0 -1655
  142. package/generated-sqlite/models/Artboard.ts +0 -1808
  143. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  144. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  145. package/generated-sqlite/models/DesignProject.ts +0 -1640
  146. package/generated-sqlite/models/PRD.ts +0 -2616
  147. package/generated-sqlite/models/PRDPage.ts +0 -2398
  148. package/generated-sqlite/models/PRDTag.ts +0 -1426
  149. package/generated-sqlite/models/PRDVersion.ts +0 -2117
  150. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -26,7 +26,7 @@ export type AggregateComment = {
26
26
 
27
27
  export type CommentMinAggregateOutputType = {
28
28
  id: string | null
29
- prdId: string | null
29
+ designId: string | null
30
30
  pageId: string | null
31
31
  elementId: string | null
32
32
  userId: string | null
@@ -39,7 +39,7 @@ export type CommentMinAggregateOutputType = {
39
39
 
40
40
  export type CommentMaxAggregateOutputType = {
41
41
  id: string | null
42
- prdId: string | null
42
+ designId: string | null
43
43
  pageId: string | null
44
44
  elementId: string | null
45
45
  userId: string | null
@@ -52,7 +52,7 @@ export type CommentMaxAggregateOutputType = {
52
52
 
53
53
  export type CommentCountAggregateOutputType = {
54
54
  id: number
55
- prdId: number
55
+ designId: number
56
56
  pageId: number
57
57
  elementId: number
58
58
  userId: number
@@ -68,7 +68,7 @@ export type CommentCountAggregateOutputType = {
68
68
 
69
69
  export type CommentMinAggregateInputType = {
70
70
  id?: true
71
- prdId?: true
71
+ designId?: true
72
72
  pageId?: true
73
73
  elementId?: true
74
74
  userId?: true
@@ -81,7 +81,7 @@ export type CommentMinAggregateInputType = {
81
81
 
82
82
  export type CommentMaxAggregateInputType = {
83
83
  id?: true
84
- prdId?: true
84
+ designId?: true
85
85
  pageId?: true
86
86
  elementId?: true
87
87
  userId?: true
@@ -94,7 +94,7 @@ export type CommentMaxAggregateInputType = {
94
94
 
95
95
  export type CommentCountAggregateInputType = {
96
96
  id?: true
97
- prdId?: true
97
+ designId?: true
98
98
  pageId?: true
99
99
  elementId?: true
100
100
  userId?: true
@@ -181,7 +181,7 @@ export type CommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
181
181
 
182
182
  export type CommentGroupByOutputType = {
183
183
  id: string
184
- prdId: string
184
+ designId: string
185
185
  pageId: string | null
186
186
  elementId: string | null
187
187
  userId: string
@@ -216,7 +216,7 @@ export type CommentWhereInput = {
216
216
  OR?: Prisma.CommentWhereInput[]
217
217
  NOT?: Prisma.CommentWhereInput | Prisma.CommentWhereInput[]
218
218
  id?: Prisma.StringFilter<"Comment"> | string
219
- prdId?: Prisma.StringFilter<"Comment"> | string
219
+ designId?: Prisma.StringFilter<"Comment"> | string
220
220
  pageId?: Prisma.StringNullableFilter<"Comment"> | string | null
221
221
  elementId?: Prisma.StringNullableFilter<"Comment"> | string | null
222
222
  userId?: Prisma.StringFilter<"Comment"> | string
@@ -226,7 +226,7 @@ export type CommentWhereInput = {
226
226
  resolved?: Prisma.BoolFilter<"Comment"> | boolean
227
227
  createdAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
228
228
  updatedAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
229
- prd?: Prisma.XOR<Prisma.PRDScalarRelationFilter, Prisma.PRDWhereInput>
229
+ design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
230
230
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
231
231
  parent?: Prisma.XOR<Prisma.CommentNullableScalarRelationFilter, Prisma.CommentWhereInput> | null
232
232
  replies?: Prisma.CommentListRelationFilter
@@ -235,7 +235,7 @@ export type CommentWhereInput = {
235
235
 
236
236
  export type CommentOrderByWithRelationInput = {
237
237
  id?: Prisma.SortOrder
238
- prdId?: Prisma.SortOrder
238
+ designId?: Prisma.SortOrder
239
239
  pageId?: Prisma.SortOrderInput | Prisma.SortOrder
240
240
  elementId?: Prisma.SortOrderInput | Prisma.SortOrder
241
241
  userId?: Prisma.SortOrder
@@ -245,7 +245,7 @@ export type CommentOrderByWithRelationInput = {
245
245
  resolved?: Prisma.SortOrder
246
246
  createdAt?: Prisma.SortOrder
247
247
  updatedAt?: Prisma.SortOrder
248
- prd?: Prisma.PRDOrderByWithRelationInput
248
+ design?: Prisma.DesignOrderByWithRelationInput
249
249
  user?: Prisma.UserOrderByWithRelationInput
250
250
  parent?: Prisma.CommentOrderByWithRelationInput
251
251
  replies?: Prisma.CommentOrderByRelationAggregateInput
@@ -257,7 +257,7 @@ export type CommentWhereUniqueInput = Prisma.AtLeast<{
257
257
  AND?: Prisma.CommentWhereInput | Prisma.CommentWhereInput[]
258
258
  OR?: Prisma.CommentWhereInput[]
259
259
  NOT?: Prisma.CommentWhereInput | Prisma.CommentWhereInput[]
260
- prdId?: Prisma.StringFilter<"Comment"> | string
260
+ designId?: Prisma.StringFilter<"Comment"> | string
261
261
  pageId?: Prisma.StringNullableFilter<"Comment"> | string | null
262
262
  elementId?: Prisma.StringNullableFilter<"Comment"> | string | null
263
263
  userId?: Prisma.StringFilter<"Comment"> | string
@@ -267,7 +267,7 @@ export type CommentWhereUniqueInput = Prisma.AtLeast<{
267
267
  resolved?: Prisma.BoolFilter<"Comment"> | boolean
268
268
  createdAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
269
269
  updatedAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
270
- prd?: Prisma.XOR<Prisma.PRDScalarRelationFilter, Prisma.PRDWhereInput>
270
+ design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
271
271
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
272
272
  parent?: Prisma.XOR<Prisma.CommentNullableScalarRelationFilter, Prisma.CommentWhereInput> | null
273
273
  replies?: Prisma.CommentListRelationFilter
@@ -276,7 +276,7 @@ export type CommentWhereUniqueInput = Prisma.AtLeast<{
276
276
 
277
277
  export type CommentOrderByWithAggregationInput = {
278
278
  id?: Prisma.SortOrder
279
- prdId?: Prisma.SortOrder
279
+ designId?: Prisma.SortOrder
280
280
  pageId?: Prisma.SortOrderInput | Prisma.SortOrder
281
281
  elementId?: Prisma.SortOrderInput | Prisma.SortOrder
282
282
  userId?: Prisma.SortOrder
@@ -296,7 +296,7 @@ export type CommentScalarWhereWithAggregatesInput = {
296
296
  OR?: Prisma.CommentScalarWhereWithAggregatesInput[]
297
297
  NOT?: Prisma.CommentScalarWhereWithAggregatesInput | Prisma.CommentScalarWhereWithAggregatesInput[]
298
298
  id?: Prisma.StringWithAggregatesFilter<"Comment"> | string
299
- prdId?: Prisma.StringWithAggregatesFilter<"Comment"> | string
299
+ designId?: Prisma.StringWithAggregatesFilter<"Comment"> | string
300
300
  pageId?: Prisma.StringNullableWithAggregatesFilter<"Comment"> | string | null
301
301
  elementId?: Prisma.StringNullableWithAggregatesFilter<"Comment"> | string | null
302
302
  userId?: Prisma.StringWithAggregatesFilter<"Comment"> | string
@@ -317,7 +317,7 @@ export type CommentCreateInput = {
317
317
  resolved?: boolean
318
318
  createdAt?: Date | string
319
319
  updatedAt?: Date | string
320
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
320
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
321
321
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
322
322
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
323
323
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
@@ -326,7 +326,7 @@ export type CommentCreateInput = {
326
326
 
327
327
  export type CommentUncheckedCreateInput = {
328
328
  id?: string
329
- prdId: string
329
+ designId: string
330
330
  pageId?: string | null
331
331
  elementId?: string | null
332
332
  userId: string
@@ -349,7 +349,7 @@ export type CommentUpdateInput = {
349
349
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
350
350
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
351
351
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
352
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
352
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
353
353
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
354
354
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
355
355
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
@@ -358,7 +358,7 @@ export type CommentUpdateInput = {
358
358
 
359
359
  export type CommentUncheckedUpdateInput = {
360
360
  id?: Prisma.StringFieldUpdateOperationsInput | string
361
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
361
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
362
362
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
363
363
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
364
364
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -374,7 +374,7 @@ export type CommentUncheckedUpdateInput = {
374
374
 
375
375
  export type CommentCreateManyInput = {
376
376
  id?: string
377
- prdId: string
377
+ designId: string
378
378
  pageId?: string | null
379
379
  elementId?: string | null
380
380
  userId: string
@@ -399,7 +399,7 @@ export type CommentUpdateManyMutationInput = {
399
399
 
400
400
  export type CommentUncheckedUpdateManyInput = {
401
401
  id?: Prisma.StringFieldUpdateOperationsInput | string
402
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
402
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
403
403
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
404
404
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
405
405
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -428,7 +428,7 @@ export type CommentNullableScalarRelationFilter = {
428
428
 
429
429
  export type CommentCountOrderByAggregateInput = {
430
430
  id?: Prisma.SortOrder
431
- prdId?: Prisma.SortOrder
431
+ designId?: Prisma.SortOrder
432
432
  pageId?: Prisma.SortOrder
433
433
  elementId?: Prisma.SortOrder
434
434
  userId?: Prisma.SortOrder
@@ -442,7 +442,7 @@ export type CommentCountOrderByAggregateInput = {
442
442
 
443
443
  export type CommentMaxOrderByAggregateInput = {
444
444
  id?: Prisma.SortOrder
445
- prdId?: Prisma.SortOrder
445
+ designId?: Prisma.SortOrder
446
446
  pageId?: Prisma.SortOrder
447
447
  elementId?: Prisma.SortOrder
448
448
  userId?: Prisma.SortOrder
@@ -455,7 +455,7 @@ export type CommentMaxOrderByAggregateInput = {
455
455
 
456
456
  export type CommentMinOrderByAggregateInput = {
457
457
  id?: Prisma.SortOrder
458
- prdId?: Prisma.SortOrder
458
+ designId?: Prisma.SortOrder
459
459
  pageId?: Prisma.SortOrder
460
460
  elementId?: Prisma.SortOrder
461
461
  userId?: Prisma.SortOrder
@@ -513,45 +513,45 @@ export type CommentUncheckedUpdateManyWithoutUserNestedInput = {
513
513
  deleteMany?: Prisma.CommentScalarWhereInput | Prisma.CommentScalarWhereInput[]
514
514
  }
515
515
 
516
- export type CommentCreateNestedManyWithoutPrdInput = {
517
- create?: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput> | Prisma.CommentCreateWithoutPrdInput[] | Prisma.CommentUncheckedCreateWithoutPrdInput[]
518
- connectOrCreate?: Prisma.CommentCreateOrConnectWithoutPrdInput | Prisma.CommentCreateOrConnectWithoutPrdInput[]
519
- createMany?: Prisma.CommentCreateManyPrdInputEnvelope
516
+ export type CommentCreateNestedManyWithoutDesignInput = {
517
+ create?: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput> | Prisma.CommentCreateWithoutDesignInput[] | Prisma.CommentUncheckedCreateWithoutDesignInput[]
518
+ connectOrCreate?: Prisma.CommentCreateOrConnectWithoutDesignInput | Prisma.CommentCreateOrConnectWithoutDesignInput[]
519
+ createMany?: Prisma.CommentCreateManyDesignInputEnvelope
520
520
  connect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
521
521
  }
522
522
 
523
- export type CommentUncheckedCreateNestedManyWithoutPrdInput = {
524
- create?: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput> | Prisma.CommentCreateWithoutPrdInput[] | Prisma.CommentUncheckedCreateWithoutPrdInput[]
525
- connectOrCreate?: Prisma.CommentCreateOrConnectWithoutPrdInput | Prisma.CommentCreateOrConnectWithoutPrdInput[]
526
- createMany?: Prisma.CommentCreateManyPrdInputEnvelope
523
+ export type CommentUncheckedCreateNestedManyWithoutDesignInput = {
524
+ create?: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput> | Prisma.CommentCreateWithoutDesignInput[] | Prisma.CommentUncheckedCreateWithoutDesignInput[]
525
+ connectOrCreate?: Prisma.CommentCreateOrConnectWithoutDesignInput | Prisma.CommentCreateOrConnectWithoutDesignInput[]
526
+ createMany?: Prisma.CommentCreateManyDesignInputEnvelope
527
527
  connect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
528
528
  }
529
529
 
530
- export type CommentUpdateManyWithoutPrdNestedInput = {
531
- create?: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput> | Prisma.CommentCreateWithoutPrdInput[] | Prisma.CommentUncheckedCreateWithoutPrdInput[]
532
- connectOrCreate?: Prisma.CommentCreateOrConnectWithoutPrdInput | Prisma.CommentCreateOrConnectWithoutPrdInput[]
533
- upsert?: Prisma.CommentUpsertWithWhereUniqueWithoutPrdInput | Prisma.CommentUpsertWithWhereUniqueWithoutPrdInput[]
534
- createMany?: Prisma.CommentCreateManyPrdInputEnvelope
530
+ export type CommentUpdateManyWithoutDesignNestedInput = {
531
+ create?: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput> | Prisma.CommentCreateWithoutDesignInput[] | Prisma.CommentUncheckedCreateWithoutDesignInput[]
532
+ connectOrCreate?: Prisma.CommentCreateOrConnectWithoutDesignInput | Prisma.CommentCreateOrConnectWithoutDesignInput[]
533
+ upsert?: Prisma.CommentUpsertWithWhereUniqueWithoutDesignInput | Prisma.CommentUpsertWithWhereUniqueWithoutDesignInput[]
534
+ createMany?: Prisma.CommentCreateManyDesignInputEnvelope
535
535
  set?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
536
536
  disconnect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
537
537
  delete?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
538
538
  connect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
539
- update?: Prisma.CommentUpdateWithWhereUniqueWithoutPrdInput | Prisma.CommentUpdateWithWhereUniqueWithoutPrdInput[]
540
- updateMany?: Prisma.CommentUpdateManyWithWhereWithoutPrdInput | Prisma.CommentUpdateManyWithWhereWithoutPrdInput[]
539
+ update?: Prisma.CommentUpdateWithWhereUniqueWithoutDesignInput | Prisma.CommentUpdateWithWhereUniqueWithoutDesignInput[]
540
+ updateMany?: Prisma.CommentUpdateManyWithWhereWithoutDesignInput | Prisma.CommentUpdateManyWithWhereWithoutDesignInput[]
541
541
  deleteMany?: Prisma.CommentScalarWhereInput | Prisma.CommentScalarWhereInput[]
542
542
  }
543
543
 
544
- export type CommentUncheckedUpdateManyWithoutPrdNestedInput = {
545
- create?: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput> | Prisma.CommentCreateWithoutPrdInput[] | Prisma.CommentUncheckedCreateWithoutPrdInput[]
546
- connectOrCreate?: Prisma.CommentCreateOrConnectWithoutPrdInput | Prisma.CommentCreateOrConnectWithoutPrdInput[]
547
- upsert?: Prisma.CommentUpsertWithWhereUniqueWithoutPrdInput | Prisma.CommentUpsertWithWhereUniqueWithoutPrdInput[]
548
- createMany?: Prisma.CommentCreateManyPrdInputEnvelope
544
+ export type CommentUncheckedUpdateManyWithoutDesignNestedInput = {
545
+ create?: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput> | Prisma.CommentCreateWithoutDesignInput[] | Prisma.CommentUncheckedCreateWithoutDesignInput[]
546
+ connectOrCreate?: Prisma.CommentCreateOrConnectWithoutDesignInput | Prisma.CommentCreateOrConnectWithoutDesignInput[]
547
+ upsert?: Prisma.CommentUpsertWithWhereUniqueWithoutDesignInput | Prisma.CommentUpsertWithWhereUniqueWithoutDesignInput[]
548
+ createMany?: Prisma.CommentCreateManyDesignInputEnvelope
549
549
  set?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
550
550
  disconnect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
551
551
  delete?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
552
552
  connect?: Prisma.CommentWhereUniqueInput | Prisma.CommentWhereUniqueInput[]
553
- update?: Prisma.CommentUpdateWithWhereUniqueWithoutPrdInput | Prisma.CommentUpdateWithWhereUniqueWithoutPrdInput[]
554
- updateMany?: Prisma.CommentUpdateManyWithWhereWithoutPrdInput | Prisma.CommentUpdateManyWithWhereWithoutPrdInput[]
553
+ update?: Prisma.CommentUpdateWithWhereUniqueWithoutDesignInput | Prisma.CommentUpdateWithWhereUniqueWithoutDesignInput[]
554
+ updateMany?: Prisma.CommentUpdateManyWithWhereWithoutDesignInput | Prisma.CommentUpdateManyWithWhereWithoutDesignInput[]
555
555
  deleteMany?: Prisma.CommentScalarWhereInput | Prisma.CommentScalarWhereInput[]
556
556
  }
557
557
 
@@ -636,7 +636,7 @@ export type CommentCreateWithoutUserInput = {
636
636
  resolved?: boolean
637
637
  createdAt?: Date | string
638
638
  updatedAt?: Date | string
639
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
639
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
640
640
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
641
641
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
642
642
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
@@ -644,7 +644,7 @@ export type CommentCreateWithoutUserInput = {
644
644
 
645
645
  export type CommentUncheckedCreateWithoutUserInput = {
646
646
  id?: string
647
- prdId: string
647
+ designId: string
648
648
  pageId?: string | null
649
649
  elementId?: string | null
650
650
  content: string
@@ -688,7 +688,7 @@ export type CommentScalarWhereInput = {
688
688
  OR?: Prisma.CommentScalarWhereInput[]
689
689
  NOT?: Prisma.CommentScalarWhereInput | Prisma.CommentScalarWhereInput[]
690
690
  id?: Prisma.StringFilter<"Comment"> | string
691
- prdId?: Prisma.StringFilter<"Comment"> | string
691
+ designId?: Prisma.StringFilter<"Comment"> | string
692
692
  pageId?: Prisma.StringNullableFilter<"Comment"> | string | null
693
693
  elementId?: Prisma.StringNullableFilter<"Comment"> | string | null
694
694
  userId?: Prisma.StringFilter<"Comment"> | string
@@ -700,7 +700,7 @@ export type CommentScalarWhereInput = {
700
700
  updatedAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
701
701
  }
702
702
 
703
- export type CommentCreateWithoutPrdInput = {
703
+ export type CommentCreateWithoutDesignInput = {
704
704
  id?: string
705
705
  pageId?: string | null
706
706
  elementId?: string | null
@@ -715,7 +715,7 @@ export type CommentCreateWithoutPrdInput = {
715
715
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
716
716
  }
717
717
 
718
- export type CommentUncheckedCreateWithoutPrdInput = {
718
+ export type CommentUncheckedCreateWithoutDesignInput = {
719
719
  id?: string
720
720
  pageId?: string | null
721
721
  elementId?: string | null
@@ -730,30 +730,30 @@ export type CommentUncheckedCreateWithoutPrdInput = {
730
730
  ignores?: Prisma.CommentIgnoreUncheckedCreateNestedManyWithoutCommentInput
731
731
  }
732
732
 
733
- export type CommentCreateOrConnectWithoutPrdInput = {
733
+ export type CommentCreateOrConnectWithoutDesignInput = {
734
734
  where: Prisma.CommentWhereUniqueInput
735
- create: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput>
735
+ create: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput>
736
736
  }
737
737
 
738
- export type CommentCreateManyPrdInputEnvelope = {
739
- data: Prisma.CommentCreateManyPrdInput | Prisma.CommentCreateManyPrdInput[]
738
+ export type CommentCreateManyDesignInputEnvelope = {
739
+ data: Prisma.CommentCreateManyDesignInput | Prisma.CommentCreateManyDesignInput[]
740
740
  skipDuplicates?: boolean
741
741
  }
742
742
 
743
- export type CommentUpsertWithWhereUniqueWithoutPrdInput = {
743
+ export type CommentUpsertWithWhereUniqueWithoutDesignInput = {
744
744
  where: Prisma.CommentWhereUniqueInput
745
- update: Prisma.XOR<Prisma.CommentUpdateWithoutPrdInput, Prisma.CommentUncheckedUpdateWithoutPrdInput>
746
- create: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput>
745
+ update: Prisma.XOR<Prisma.CommentUpdateWithoutDesignInput, Prisma.CommentUncheckedUpdateWithoutDesignInput>
746
+ create: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput>
747
747
  }
748
748
 
749
- export type CommentUpdateWithWhereUniqueWithoutPrdInput = {
749
+ export type CommentUpdateWithWhereUniqueWithoutDesignInput = {
750
750
  where: Prisma.CommentWhereUniqueInput
751
- data: Prisma.XOR<Prisma.CommentUpdateWithoutPrdInput, Prisma.CommentUncheckedUpdateWithoutPrdInput>
751
+ data: Prisma.XOR<Prisma.CommentUpdateWithoutDesignInput, Prisma.CommentUncheckedUpdateWithoutDesignInput>
752
752
  }
753
753
 
754
- export type CommentUpdateManyWithWhereWithoutPrdInput = {
754
+ export type CommentUpdateManyWithWhereWithoutDesignInput = {
755
755
  where: Prisma.CommentScalarWhereInput
756
- data: Prisma.XOR<Prisma.CommentUpdateManyMutationInput, Prisma.CommentUncheckedUpdateManyWithoutPrdInput>
756
+ data: Prisma.XOR<Prisma.CommentUpdateManyMutationInput, Prisma.CommentUncheckedUpdateManyWithoutDesignInput>
757
757
  }
758
758
 
759
759
  export type CommentCreateWithoutRepliesInput = {
@@ -765,7 +765,7 @@ export type CommentCreateWithoutRepliesInput = {
765
765
  resolved?: boolean
766
766
  createdAt?: Date | string
767
767
  updatedAt?: Date | string
768
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
768
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
769
769
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
770
770
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
771
771
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
@@ -773,7 +773,7 @@ export type CommentCreateWithoutRepliesInput = {
773
773
 
774
774
  export type CommentUncheckedCreateWithoutRepliesInput = {
775
775
  id?: string
776
- prdId: string
776
+ designId: string
777
777
  pageId?: string | null
778
778
  elementId?: string | null
779
779
  userId: string
@@ -800,7 +800,7 @@ export type CommentCreateWithoutParentInput = {
800
800
  resolved?: boolean
801
801
  createdAt?: Date | string
802
802
  updatedAt?: Date | string
803
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
803
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
804
804
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
805
805
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
806
806
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
@@ -808,7 +808,7 @@ export type CommentCreateWithoutParentInput = {
808
808
 
809
809
  export type CommentUncheckedCreateWithoutParentInput = {
810
810
  id?: string
811
- prdId: string
811
+ designId: string
812
812
  pageId?: string | null
813
813
  elementId?: string | null
814
814
  userId: string
@@ -851,7 +851,7 @@ export type CommentUpdateWithoutRepliesInput = {
851
851
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
852
852
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
853
853
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
854
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
854
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
855
855
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
856
856
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
857
857
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -859,7 +859,7 @@ export type CommentUpdateWithoutRepliesInput = {
859
859
 
860
860
  export type CommentUncheckedUpdateWithoutRepliesInput = {
861
861
  id?: Prisma.StringFieldUpdateOperationsInput | string
862
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
862
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
863
863
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
864
864
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
865
865
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -897,7 +897,7 @@ export type CommentCreateWithoutIgnoresInput = {
897
897
  resolved?: boolean
898
898
  createdAt?: Date | string
899
899
  updatedAt?: Date | string
900
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
900
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
901
901
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
902
902
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
903
903
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
@@ -905,7 +905,7 @@ export type CommentCreateWithoutIgnoresInput = {
905
905
 
906
906
  export type CommentUncheckedCreateWithoutIgnoresInput = {
907
907
  id?: string
908
- prdId: string
908
+ designId: string
909
909
  pageId?: string | null
910
910
  elementId?: string | null
911
911
  userId: string
@@ -943,7 +943,7 @@ export type CommentUpdateWithoutIgnoresInput = {
943
943
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
944
944
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
945
945
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
946
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
946
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
947
947
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
948
948
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
949
949
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
@@ -951,7 +951,7 @@ export type CommentUpdateWithoutIgnoresInput = {
951
951
 
952
952
  export type CommentUncheckedUpdateWithoutIgnoresInput = {
953
953
  id?: Prisma.StringFieldUpdateOperationsInput | string
954
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
954
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
955
955
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
956
956
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
957
957
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -966,7 +966,7 @@ export type CommentUncheckedUpdateWithoutIgnoresInput = {
966
966
 
967
967
  export type CommentCreateManyUserInput = {
968
968
  id?: string
969
- prdId: string
969
+ designId: string
970
970
  pageId?: string | null
971
971
  elementId?: string | null
972
972
  content: string
@@ -986,7 +986,7 @@ export type CommentUpdateWithoutUserInput = {
986
986
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
987
987
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
988
988
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
989
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
989
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
990
990
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
991
991
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
992
992
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -994,7 +994,7 @@ export type CommentUpdateWithoutUserInput = {
994
994
 
995
995
  export type CommentUncheckedUpdateWithoutUserInput = {
996
996
  id?: Prisma.StringFieldUpdateOperationsInput | string
997
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
997
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
998
998
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
999
999
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1000
1000
  content?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1009,7 +1009,7 @@ export type CommentUncheckedUpdateWithoutUserInput = {
1009
1009
 
1010
1010
  export type CommentUncheckedUpdateManyWithoutUserInput = {
1011
1011
  id?: Prisma.StringFieldUpdateOperationsInput | string
1012
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1012
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1013
1013
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1014
1014
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1015
1015
  content?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1020,7 +1020,7 @@ export type CommentUncheckedUpdateManyWithoutUserInput = {
1020
1020
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1021
1021
  }
1022
1022
 
1023
- export type CommentCreateManyPrdInput = {
1023
+ export type CommentCreateManyDesignInput = {
1024
1024
  id?: string
1025
1025
  pageId?: string | null
1026
1026
  elementId?: string | null
@@ -1033,7 +1033,7 @@ export type CommentCreateManyPrdInput = {
1033
1033
  updatedAt?: Date | string
1034
1034
  }
1035
1035
 
1036
- export type CommentUpdateWithoutPrdInput = {
1036
+ export type CommentUpdateWithoutDesignInput = {
1037
1037
  id?: Prisma.StringFieldUpdateOperationsInput | string
1038
1038
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1039
1039
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1048,7 +1048,7 @@ export type CommentUpdateWithoutPrdInput = {
1048
1048
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
1049
1049
  }
1050
1050
 
1051
- export type CommentUncheckedUpdateWithoutPrdInput = {
1051
+ export type CommentUncheckedUpdateWithoutDesignInput = {
1052
1052
  id?: Prisma.StringFieldUpdateOperationsInput | string
1053
1053
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1054
1054
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1063,7 +1063,7 @@ export type CommentUncheckedUpdateWithoutPrdInput = {
1063
1063
  ignores?: Prisma.CommentIgnoreUncheckedUpdateManyWithoutCommentNestedInput
1064
1064
  }
1065
1065
 
1066
- export type CommentUncheckedUpdateManyWithoutPrdInput = {
1066
+ export type CommentUncheckedUpdateManyWithoutDesignInput = {
1067
1067
  id?: Prisma.StringFieldUpdateOperationsInput | string
1068
1068
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1069
1069
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1078,7 +1078,7 @@ export type CommentUncheckedUpdateManyWithoutPrdInput = {
1078
1078
 
1079
1079
  export type CommentCreateManyParentInput = {
1080
1080
  id?: string
1081
- prdId: string
1081
+ designId: string
1082
1082
  pageId?: string | null
1083
1083
  elementId?: string | null
1084
1084
  userId: string
@@ -1098,7 +1098,7 @@ export type CommentUpdateWithoutParentInput = {
1098
1098
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
1099
1099
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1100
1100
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1101
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
1101
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
1102
1102
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
1103
1103
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
1104
1104
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -1106,7 +1106,7 @@ export type CommentUpdateWithoutParentInput = {
1106
1106
 
1107
1107
  export type CommentUncheckedUpdateWithoutParentInput = {
1108
1108
  id?: Prisma.StringFieldUpdateOperationsInput | string
1109
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1109
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1110
1110
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
1111
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1112
1112
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1121,7 +1121,7 @@ export type CommentUncheckedUpdateWithoutParentInput = {
1121
1121
 
1122
1122
  export type CommentUncheckedUpdateManyWithoutParentInput = {
1123
1123
  id?: Prisma.StringFieldUpdateOperationsInput | string
1124
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1124
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1125
1125
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1126
1126
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
1127
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1174,7 +1174,7 @@ export type CommentCountOutputTypeCountIgnoresArgs<ExtArgs extends runtime.Types
1174
1174
 
1175
1175
  export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1176
1176
  id?: boolean
1177
- prdId?: boolean
1177
+ designId?: boolean
1178
1178
  pageId?: boolean
1179
1179
  elementId?: boolean
1180
1180
  userId?: boolean
@@ -1184,7 +1184,7 @@ export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1184
1184
  resolved?: boolean
1185
1185
  createdAt?: boolean
1186
1186
  updatedAt?: boolean
1187
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1187
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1188
1188
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1189
1189
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1190
1190
  replies?: boolean | Prisma.Comment$repliesArgs<ExtArgs>
@@ -1194,7 +1194,7 @@ export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1194
1194
 
1195
1195
  export type CommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1196
1196
  id?: boolean
1197
- prdId?: boolean
1197
+ designId?: boolean
1198
1198
  pageId?: boolean
1199
1199
  elementId?: boolean
1200
1200
  userId?: boolean
@@ -1204,14 +1204,14 @@ export type CommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
1204
1204
  resolved?: boolean
1205
1205
  createdAt?: boolean
1206
1206
  updatedAt?: boolean
1207
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1207
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1208
1208
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1209
1209
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1210
1210
  }, ExtArgs["result"]["comment"]>
1211
1211
 
1212
1212
  export type CommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1213
1213
  id?: boolean
1214
- prdId?: boolean
1214
+ designId?: boolean
1215
1215
  pageId?: boolean
1216
1216
  elementId?: boolean
1217
1217
  userId?: boolean
@@ -1221,14 +1221,14 @@ export type CommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
1221
1221
  resolved?: boolean
1222
1222
  createdAt?: boolean
1223
1223
  updatedAt?: boolean
1224
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1224
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1225
1225
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1226
1226
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1227
1227
  }, ExtArgs["result"]["comment"]>
1228
1228
 
1229
1229
  export type CommentSelectScalar = {
1230
1230
  id?: boolean
1231
- prdId?: boolean
1231
+ designId?: boolean
1232
1232
  pageId?: boolean
1233
1233
  elementId?: boolean
1234
1234
  userId?: boolean
@@ -1240,9 +1240,9 @@ export type CommentSelectScalar = {
1240
1240
  updatedAt?: boolean
1241
1241
  }
1242
1242
 
1243
- export type CommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "prdId" | "pageId" | "elementId" | "userId" | "content" | "parentId" | "position" | "resolved" | "createdAt" | "updatedAt", ExtArgs["result"]["comment"]>
1243
+ export type CommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "designId" | "pageId" | "elementId" | "userId" | "content" | "parentId" | "position" | "resolved" | "createdAt" | "updatedAt", ExtArgs["result"]["comment"]>
1244
1244
  export type CommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1245
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1245
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1246
1246
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1247
1247
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1248
1248
  replies?: boolean | Prisma.Comment$repliesArgs<ExtArgs>
@@ -1250,12 +1250,12 @@ export type CommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1250
1250
  _count?: boolean | Prisma.CommentCountOutputTypeDefaultArgs<ExtArgs>
1251
1251
  }
1252
1252
  export type CommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1253
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1253
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1254
1254
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1255
1255
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1256
1256
  }
1257
1257
  export type CommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1258
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1258
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1259
1259
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1260
1260
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1261
1261
  }
@@ -1263,7 +1263,7 @@ export type CommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Exte
1263
1263
  export type $CommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1264
1264
  name: "Comment"
1265
1265
  objects: {
1266
- prd: Prisma.$PRDPayload<ExtArgs>
1266
+ design: Prisma.$DesignPayload<ExtArgs>
1267
1267
  user: Prisma.$UserPayload<ExtArgs>
1268
1268
  parent: Prisma.$CommentPayload<ExtArgs> | null
1269
1269
  replies: Prisma.$CommentPayload<ExtArgs>[]
@@ -1271,7 +1271,7 @@ export type $CommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1271
1271
  }
1272
1272
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1273
1273
  id: string
1274
- prdId: string
1274
+ designId: string
1275
1275
  pageId: string | null
1276
1276
  elementId: string | null
1277
1277
  userId: string
@@ -1675,7 +1675,7 @@ readonly fields: CommentFieldRefs;
1675
1675
  */
1676
1676
  export interface Prisma__CommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1677
1677
  readonly [Symbol.toStringTag]: "PrismaPromise"
1678
- prd<T extends Prisma.PRDDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDDefaultArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1678
+ design<T extends Prisma.DesignDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1679
1679
  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>
1680
1680
  parent<T extends Prisma.Comment$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Comment$parentArgs<ExtArgs>>): Prisma.Prisma__CommentClient<runtime.Types.Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1681
1681
  replies<T extends Prisma.Comment$repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Comment$repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
@@ -1710,7 +1710,7 @@ export interface Prisma__CommentClient<T, Null = never, ExtArgs extends runtime.
1710
1710
  */
1711
1711
  export interface CommentFieldRefs {
1712
1712
  readonly id: Prisma.FieldRef<"Comment", 'String'>
1713
- readonly prdId: Prisma.FieldRef<"Comment", 'String'>
1713
+ readonly designId: Prisma.FieldRef<"Comment", 'String'>
1714
1714
  readonly pageId: Prisma.FieldRef<"Comment", 'String'>
1715
1715
  readonly elementId: Prisma.FieldRef<"Comment", 'String'>
1716
1716
  readonly userId: Prisma.FieldRef<"Comment", 'String'>