@allbluecn/database 0.9.0 → 0.9.2

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 (132) hide show
  1. package/desktop-init.ts +2 -2
  2. package/dist/get-prisma.js +1 -1
  3. package/dist/lib/share-utils.js +3 -3
  4. package/generated/browser.ts +115 -25
  5. package/generated/client.ts +115 -25
  6. package/generated/commonInputTypes.ts +34 -0
  7. package/generated/enums.ts +14 -0
  8. package/generated/internal/class.ts +234 -54
  9. package/generated/internal/prismaNamespace.ts +2190 -511
  10. package/generated/internal/prismaNamespaceBrowser.ts +391 -76
  11. package/generated/models/AgentConversation.ts +89 -89
  12. package/generated/models/AiProvider.ts +3 -3
  13. package/generated/models/AiStreamChunk.ts +3 -3
  14. package/generated/models/AnyHubMarketApp.ts +8 -8
  15. package/generated/models/AuditLog.ts +6 -6
  16. package/generated/models/BlockInstance.ts +17 -17
  17. package/generated/models/Bug.ts +5023 -0
  18. package/generated/models/BugActivity.ts +1765 -0
  19. package/generated/models/BugComment.ts +1853 -0
  20. package/generated/models/BugEvent.ts +1339 -0
  21. package/generated/models/BugFilterView.ts +1438 -0
  22. package/generated/models/BugFixRun.ts +1479 -0
  23. package/generated/models/BugLabel.ts +1349 -0
  24. package/generated/models/BugProjectSettings.ts +1403 -0
  25. package/generated/models/BugReproRun.ts +1582 -0
  26. package/generated/models/ChatPersistenceMeta.ts +3 -3
  27. package/generated/models/Comment.ts +99 -99
  28. package/generated/models/Component.ts +9 -9
  29. package/generated/models/ComponentInstance.ts +17 -17
  30. package/generated/models/CustomRole.ts +8 -8
  31. package/generated/models/Design.ts +2872 -0
  32. package/generated/models/DesignPage.ts +2402 -0
  33. package/generated/models/DesignTag.ts +1430 -0
  34. package/generated/models/DesignVersion.ts +2121 -0
  35. package/generated/models/DesktopSetting.ts +3 -3
  36. package/generated/models/Iteration.ts +148 -0
  37. package/generated/models/Label.ts +118 -0
  38. package/generated/models/LicenseKey.ts +16 -16
  39. package/generated/models/NotificationPreference.ts +5 -5
  40. package/generated/models/PageVersion.ts +49 -49
  41. package/generated/models/Plan.ts +5 -5
  42. package/generated/models/Project.ts +1970 -58
  43. package/generated/models/ProjectAccessToken.ts +1705 -0
  44. package/generated/models/ProjectWebhook.ts +1409 -0
  45. package/generated/models/Review.ts +118 -118
  46. package/generated/models/Share.ts +83 -83
  47. package/generated/models/ShareVersion.ts +15 -15
  48. package/generated/models/SsoProvider.ts +8 -8
  49. package/generated/models/Story.ts +973 -87
  50. package/generated/models/StoryDesignLink.ts +1430 -0
  51. package/generated/models/StoryFilterView.ts +12 -12
  52. package/generated/models/SystemPromptVersion.ts +6 -6
  53. package/generated/models/Tag.ts +49 -49
  54. package/generated/models/TestAutomationArtifact.ts +1790 -0
  55. package/generated/models/TestCase.ts +3568 -0
  56. package/generated/models/TestCaseFilterView.ts +1587 -0
  57. package/generated/models/TestCaseFolder.ts +1795 -0
  58. package/generated/models/TestExecRun.ts +1673 -0
  59. package/generated/models/TestGenerationRun.ts +1952 -0
  60. package/generated/models/TestPlan.ts +1950 -0
  61. package/generated/models/TestPlanCase.ts +1430 -0
  62. package/generated/models/TestRun.ts +1979 -0
  63. package/generated/models/TestRunCase.ts +2772 -0
  64. package/generated/models/ThirdPartyDependency.ts +19 -15
  65. package/generated/models/User.ts +12141 -2721
  66. package/generated/models.ts +26 -8
  67. package/generated-sqlite/browser.ts +8 -23
  68. package/generated-sqlite/client.ts +8 -23
  69. package/generated-sqlite/internal/class.ts +20 -50
  70. package/generated-sqlite/internal/prismaNamespace.ts +166 -437
  71. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
  72. package/generated-sqlite/models/AgentConversation.ts +89 -89
  73. package/generated-sqlite/models/AiProvider.ts +3 -3
  74. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  75. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  76. package/generated-sqlite/models/BlockInstance.ts +17 -17
  77. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  78. package/generated-sqlite/models/Comment.ts +99 -99
  79. package/generated-sqlite/models/Component.ts +9 -9
  80. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  81. package/generated-sqlite/models/Design.ts +2679 -0
  82. package/generated-sqlite/models/DesignPage.ts +2398 -0
  83. package/generated-sqlite/models/DesignTag.ts +1426 -0
  84. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  85. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  86. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  87. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  88. package/generated-sqlite/models/PageVersion.ts +49 -49
  89. package/generated-sqlite/models/Review.ts +118 -118
  90. package/generated-sqlite/models/Share.ts +83 -83
  91. package/generated-sqlite/models/ShareVersion.ts +15 -15
  92. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  93. package/generated-sqlite/models/Tag.ts +49 -49
  94. package/generated-sqlite/models/User.ts +1201 -1321
  95. package/generated-sqlite/models/Workspace.ts +164 -0
  96. package/generated-sqlite/models.ts +4 -7
  97. package/index.ts +17 -3
  98. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  99. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  100. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  101. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  102. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  103. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  104. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  105. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  106. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  107. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  108. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  109. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  110. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  111. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  112. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  113. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  114. package/package.json +4 -4
  115. package/schema.prisma +687 -177
  116. package/schema.sqlite.prisma +149 -151
  117. package/src/lib/share-utils.ts +2 -2
  118. package/generated/models/Artboard.ts +0 -1811
  119. package/generated/models/ArtboardExport.ts +0 -1548
  120. package/generated/models/DesignProject.ts +0 -1643
  121. package/generated/models/PRD.ts +0 -2805
  122. package/generated/models/PRDPage.ts +0 -2402
  123. package/generated/models/PRDTag.ts +0 -1430
  124. package/generated/models/PRDVersion.ts +0 -2121
  125. package/generated/models/StoryPrdLink.ts +0 -1430
  126. package/generated-sqlite/models/Artboard.ts +0 -1808
  127. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  128. package/generated-sqlite/models/DesignProject.ts +0 -1640
  129. package/generated-sqlite/models/PRD.ts +0 -2616
  130. package/generated-sqlite/models/PRDPage.ts +0 -2398
  131. package/generated-sqlite/models/PRDTag.ts +0 -1426
  132. package/generated-sqlite/models/PRDVersion.ts +0 -2117
@@ -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
@@ -687,7 +687,7 @@ export type CommentScalarWhereInput = {
687
687
  OR?: Prisma.CommentScalarWhereInput[]
688
688
  NOT?: Prisma.CommentScalarWhereInput | Prisma.CommentScalarWhereInput[]
689
689
  id?: Prisma.StringFilter<"Comment"> | string
690
- prdId?: Prisma.StringFilter<"Comment"> | string
690
+ designId?: Prisma.StringFilter<"Comment"> | string
691
691
  pageId?: Prisma.StringNullableFilter<"Comment"> | string | null
692
692
  elementId?: Prisma.StringNullableFilter<"Comment"> | string | null
693
693
  userId?: Prisma.StringFilter<"Comment"> | string
@@ -699,7 +699,7 @@ export type CommentScalarWhereInput = {
699
699
  updatedAt?: Prisma.DateTimeFilter<"Comment"> | Date | string
700
700
  }
701
701
 
702
- export type CommentCreateWithoutPrdInput = {
702
+ export type CommentCreateWithoutDesignInput = {
703
703
  id?: string
704
704
  pageId?: string | null
705
705
  elementId?: string | null
@@ -714,7 +714,7 @@ export type CommentCreateWithoutPrdInput = {
714
714
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
715
715
  }
716
716
 
717
- export type CommentUncheckedCreateWithoutPrdInput = {
717
+ export type CommentUncheckedCreateWithoutDesignInput = {
718
718
  id?: string
719
719
  pageId?: string | null
720
720
  elementId?: string | null
@@ -729,29 +729,29 @@ export type CommentUncheckedCreateWithoutPrdInput = {
729
729
  ignores?: Prisma.CommentIgnoreUncheckedCreateNestedManyWithoutCommentInput
730
730
  }
731
731
 
732
- export type CommentCreateOrConnectWithoutPrdInput = {
732
+ export type CommentCreateOrConnectWithoutDesignInput = {
733
733
  where: Prisma.CommentWhereUniqueInput
734
- create: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput>
734
+ create: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput>
735
735
  }
736
736
 
737
- export type CommentCreateManyPrdInputEnvelope = {
738
- data: Prisma.CommentCreateManyPrdInput | Prisma.CommentCreateManyPrdInput[]
737
+ export type CommentCreateManyDesignInputEnvelope = {
738
+ data: Prisma.CommentCreateManyDesignInput | Prisma.CommentCreateManyDesignInput[]
739
739
  }
740
740
 
741
- export type CommentUpsertWithWhereUniqueWithoutPrdInput = {
741
+ export type CommentUpsertWithWhereUniqueWithoutDesignInput = {
742
742
  where: Prisma.CommentWhereUniqueInput
743
- update: Prisma.XOR<Prisma.CommentUpdateWithoutPrdInput, Prisma.CommentUncheckedUpdateWithoutPrdInput>
744
- create: Prisma.XOR<Prisma.CommentCreateWithoutPrdInput, Prisma.CommentUncheckedCreateWithoutPrdInput>
743
+ update: Prisma.XOR<Prisma.CommentUpdateWithoutDesignInput, Prisma.CommentUncheckedUpdateWithoutDesignInput>
744
+ create: Prisma.XOR<Prisma.CommentCreateWithoutDesignInput, Prisma.CommentUncheckedCreateWithoutDesignInput>
745
745
  }
746
746
 
747
- export type CommentUpdateWithWhereUniqueWithoutPrdInput = {
747
+ export type CommentUpdateWithWhereUniqueWithoutDesignInput = {
748
748
  where: Prisma.CommentWhereUniqueInput
749
- data: Prisma.XOR<Prisma.CommentUpdateWithoutPrdInput, Prisma.CommentUncheckedUpdateWithoutPrdInput>
749
+ data: Prisma.XOR<Prisma.CommentUpdateWithoutDesignInput, Prisma.CommentUncheckedUpdateWithoutDesignInput>
750
750
  }
751
751
 
752
- export type CommentUpdateManyWithWhereWithoutPrdInput = {
752
+ export type CommentUpdateManyWithWhereWithoutDesignInput = {
753
753
  where: Prisma.CommentScalarWhereInput
754
- data: Prisma.XOR<Prisma.CommentUpdateManyMutationInput, Prisma.CommentUncheckedUpdateManyWithoutPrdInput>
754
+ data: Prisma.XOR<Prisma.CommentUpdateManyMutationInput, Prisma.CommentUncheckedUpdateManyWithoutDesignInput>
755
755
  }
756
756
 
757
757
  export type CommentCreateWithoutRepliesInput = {
@@ -763,7 +763,7 @@ export type CommentCreateWithoutRepliesInput = {
763
763
  resolved?: boolean
764
764
  createdAt?: Date | string
765
765
  updatedAt?: Date | string
766
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
766
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
767
767
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
768
768
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
769
769
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
@@ -771,7 +771,7 @@ export type CommentCreateWithoutRepliesInput = {
771
771
 
772
772
  export type CommentUncheckedCreateWithoutRepliesInput = {
773
773
  id?: string
774
- prdId: string
774
+ designId: string
775
775
  pageId?: string | null
776
776
  elementId?: string | null
777
777
  userId: string
@@ -798,7 +798,7 @@ export type CommentCreateWithoutParentInput = {
798
798
  resolved?: boolean
799
799
  createdAt?: Date | string
800
800
  updatedAt?: Date | string
801
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
801
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
802
802
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
803
803
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
804
804
  ignores?: Prisma.CommentIgnoreCreateNestedManyWithoutCommentInput
@@ -806,7 +806,7 @@ export type CommentCreateWithoutParentInput = {
806
806
 
807
807
  export type CommentUncheckedCreateWithoutParentInput = {
808
808
  id?: string
809
- prdId: string
809
+ designId: string
810
810
  pageId?: string | null
811
811
  elementId?: string | null
812
812
  userId: string
@@ -848,7 +848,7 @@ export type CommentUpdateWithoutRepliesInput = {
848
848
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
849
849
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
850
850
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
851
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
851
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
852
852
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
853
853
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
854
854
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -856,7 +856,7 @@ export type CommentUpdateWithoutRepliesInput = {
856
856
 
857
857
  export type CommentUncheckedUpdateWithoutRepliesInput = {
858
858
  id?: Prisma.StringFieldUpdateOperationsInput | string
859
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
859
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
860
860
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
861
861
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
862
862
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -894,7 +894,7 @@ export type CommentCreateWithoutIgnoresInput = {
894
894
  resolved?: boolean
895
895
  createdAt?: Date | string
896
896
  updatedAt?: Date | string
897
- prd: Prisma.PRDCreateNestedOneWithoutCommentsInput
897
+ design: Prisma.DesignCreateNestedOneWithoutCommentsInput
898
898
  user: Prisma.UserCreateNestedOneWithoutCommentsInput
899
899
  parent?: Prisma.CommentCreateNestedOneWithoutRepliesInput
900
900
  replies?: Prisma.CommentCreateNestedManyWithoutParentInput
@@ -902,7 +902,7 @@ export type CommentCreateWithoutIgnoresInput = {
902
902
 
903
903
  export type CommentUncheckedCreateWithoutIgnoresInput = {
904
904
  id?: string
905
- prdId: string
905
+ designId: string
906
906
  pageId?: string | null
907
907
  elementId?: string | null
908
908
  userId: string
@@ -940,7 +940,7 @@ export type CommentUpdateWithoutIgnoresInput = {
940
940
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
941
941
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
942
942
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
943
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
943
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
944
944
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
945
945
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
946
946
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
@@ -948,7 +948,7 @@ export type CommentUpdateWithoutIgnoresInput = {
948
948
 
949
949
  export type CommentUncheckedUpdateWithoutIgnoresInput = {
950
950
  id?: Prisma.StringFieldUpdateOperationsInput | string
951
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
951
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
952
952
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
953
953
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
954
954
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -963,7 +963,7 @@ export type CommentUncheckedUpdateWithoutIgnoresInput = {
963
963
 
964
964
  export type CommentCreateManyUserInput = {
965
965
  id?: string
966
- prdId: string
966
+ designId: string
967
967
  pageId?: string | null
968
968
  elementId?: string | null
969
969
  content: string
@@ -983,7 +983,7 @@ export type CommentUpdateWithoutUserInput = {
983
983
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
984
984
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
985
985
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
986
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
986
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
987
987
  parent?: Prisma.CommentUpdateOneWithoutRepliesNestedInput
988
988
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
989
989
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -991,7 +991,7 @@ export type CommentUpdateWithoutUserInput = {
991
991
 
992
992
  export type CommentUncheckedUpdateWithoutUserInput = {
993
993
  id?: Prisma.StringFieldUpdateOperationsInput | string
994
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
994
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
995
995
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
996
996
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
997
997
  content?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1006,7 +1006,7 @@ export type CommentUncheckedUpdateWithoutUserInput = {
1006
1006
 
1007
1007
  export type CommentUncheckedUpdateManyWithoutUserInput = {
1008
1008
  id?: Prisma.StringFieldUpdateOperationsInput | string
1009
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1009
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1010
1010
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1011
1011
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1012
1012
  content?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1017,7 +1017,7 @@ export type CommentUncheckedUpdateManyWithoutUserInput = {
1017
1017
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1018
1018
  }
1019
1019
 
1020
- export type CommentCreateManyPrdInput = {
1020
+ export type CommentCreateManyDesignInput = {
1021
1021
  id?: string
1022
1022
  pageId?: string | null
1023
1023
  elementId?: string | null
@@ -1030,7 +1030,7 @@ export type CommentCreateManyPrdInput = {
1030
1030
  updatedAt?: Date | string
1031
1031
  }
1032
1032
 
1033
- export type CommentUpdateWithoutPrdInput = {
1033
+ export type CommentUpdateWithoutDesignInput = {
1034
1034
  id?: Prisma.StringFieldUpdateOperationsInput | string
1035
1035
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1036
1036
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1045,7 +1045,7 @@ export type CommentUpdateWithoutPrdInput = {
1045
1045
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
1046
1046
  }
1047
1047
 
1048
- export type CommentUncheckedUpdateWithoutPrdInput = {
1048
+ export type CommentUncheckedUpdateWithoutDesignInput = {
1049
1049
  id?: Prisma.StringFieldUpdateOperationsInput | string
1050
1050
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1051
1051
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1060,7 +1060,7 @@ export type CommentUncheckedUpdateWithoutPrdInput = {
1060
1060
  ignores?: Prisma.CommentIgnoreUncheckedUpdateManyWithoutCommentNestedInput
1061
1061
  }
1062
1062
 
1063
- export type CommentUncheckedUpdateManyWithoutPrdInput = {
1063
+ export type CommentUncheckedUpdateManyWithoutDesignInput = {
1064
1064
  id?: Prisma.StringFieldUpdateOperationsInput | string
1065
1065
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1066
1066
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1075,7 +1075,7 @@ export type CommentUncheckedUpdateManyWithoutPrdInput = {
1075
1075
 
1076
1076
  export type CommentCreateManyParentInput = {
1077
1077
  id?: string
1078
- prdId: string
1078
+ designId: string
1079
1079
  pageId?: string | null
1080
1080
  elementId?: string | null
1081
1081
  userId: string
@@ -1095,7 +1095,7 @@ export type CommentUpdateWithoutParentInput = {
1095
1095
  resolved?: Prisma.BoolFieldUpdateOperationsInput | boolean
1096
1096
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1097
1097
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1098
- prd?: Prisma.PRDUpdateOneRequiredWithoutCommentsNestedInput
1098
+ design?: Prisma.DesignUpdateOneRequiredWithoutCommentsNestedInput
1099
1099
  user?: Prisma.UserUpdateOneRequiredWithoutCommentsNestedInput
1100
1100
  replies?: Prisma.CommentUpdateManyWithoutParentNestedInput
1101
1101
  ignores?: Prisma.CommentIgnoreUpdateManyWithoutCommentNestedInput
@@ -1103,7 +1103,7 @@ export type CommentUpdateWithoutParentInput = {
1103
1103
 
1104
1104
  export type CommentUncheckedUpdateWithoutParentInput = {
1105
1105
  id?: Prisma.StringFieldUpdateOperationsInput | string
1106
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1106
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1107
1107
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
1108
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1109
1109
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1118,7 +1118,7 @@ export type CommentUncheckedUpdateWithoutParentInput = {
1118
1118
 
1119
1119
  export type CommentUncheckedUpdateManyWithoutParentInput = {
1120
1120
  id?: Prisma.StringFieldUpdateOperationsInput | string
1121
- prdId?: Prisma.StringFieldUpdateOperationsInput | string
1121
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1122
1122
  pageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1123
1123
  elementId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1124
1124
  userId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1171,7 +1171,7 @@ export type CommentCountOutputTypeCountIgnoresArgs<ExtArgs extends runtime.Types
1171
1171
 
1172
1172
  export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1173
1173
  id?: boolean
1174
- prdId?: boolean
1174
+ designId?: boolean
1175
1175
  pageId?: boolean
1176
1176
  elementId?: boolean
1177
1177
  userId?: boolean
@@ -1181,7 +1181,7 @@ export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1181
1181
  resolved?: boolean
1182
1182
  createdAt?: boolean
1183
1183
  updatedAt?: boolean
1184
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1184
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1185
1185
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1186
1186
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1187
1187
  replies?: boolean | Prisma.Comment$repliesArgs<ExtArgs>
@@ -1191,7 +1191,7 @@ export type CommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1191
1191
 
1192
1192
  export type CommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1193
1193
  id?: boolean
1194
- prdId?: boolean
1194
+ designId?: boolean
1195
1195
  pageId?: boolean
1196
1196
  elementId?: boolean
1197
1197
  userId?: boolean
@@ -1201,14 +1201,14 @@ export type CommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
1201
1201
  resolved?: boolean
1202
1202
  createdAt?: boolean
1203
1203
  updatedAt?: boolean
1204
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1204
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1205
1205
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1206
1206
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1207
1207
  }, ExtArgs["result"]["comment"]>
1208
1208
 
1209
1209
  export type CommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1210
1210
  id?: boolean
1211
- prdId?: boolean
1211
+ designId?: boolean
1212
1212
  pageId?: boolean
1213
1213
  elementId?: boolean
1214
1214
  userId?: boolean
@@ -1218,14 +1218,14 @@ export type CommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
1218
1218
  resolved?: boolean
1219
1219
  createdAt?: boolean
1220
1220
  updatedAt?: boolean
1221
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1221
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1222
1222
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1223
1223
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1224
1224
  }, ExtArgs["result"]["comment"]>
1225
1225
 
1226
1226
  export type CommentSelectScalar = {
1227
1227
  id?: boolean
1228
- prdId?: boolean
1228
+ designId?: boolean
1229
1229
  pageId?: boolean
1230
1230
  elementId?: boolean
1231
1231
  userId?: boolean
@@ -1237,9 +1237,9 @@ export type CommentSelectScalar = {
1237
1237
  updatedAt?: boolean
1238
1238
  }
1239
1239
 
1240
- 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"]>
1240
+ 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"]>
1241
1241
  export type CommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1242
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1242
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1243
1243
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1244
1244
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1245
1245
  replies?: boolean | Prisma.Comment$repliesArgs<ExtArgs>
@@ -1247,12 +1247,12 @@ export type CommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1247
1247
  _count?: boolean | Prisma.CommentCountOutputTypeDefaultArgs<ExtArgs>
1248
1248
  }
1249
1249
  export type CommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1250
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1250
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1251
1251
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1252
1252
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1253
1253
  }
1254
1254
  export type CommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1255
- prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1255
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1256
1256
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1257
1257
  parent?: boolean | Prisma.Comment$parentArgs<ExtArgs>
1258
1258
  }
@@ -1260,7 +1260,7 @@ export type CommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Exte
1260
1260
  export type $CommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1261
1261
  name: "Comment"
1262
1262
  objects: {
1263
- prd: Prisma.$PRDPayload<ExtArgs>
1263
+ design: Prisma.$DesignPayload<ExtArgs>
1264
1264
  user: Prisma.$UserPayload<ExtArgs>
1265
1265
  parent: Prisma.$CommentPayload<ExtArgs> | null
1266
1266
  replies: Prisma.$CommentPayload<ExtArgs>[]
@@ -1268,7 +1268,7 @@ export type $CommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1268
1268
  }
1269
1269
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1270
1270
  id: string
1271
- prdId: string
1271
+ designId: string
1272
1272
  pageId: string | null
1273
1273
  elementId: string | null
1274
1274
  userId: string
@@ -1672,7 +1672,7 @@ readonly fields: CommentFieldRefs;
1672
1672
  */
1673
1673
  export interface Prisma__CommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1674
1674
  readonly [Symbol.toStringTag]: "PrismaPromise"
1675
- 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>
1675
+ 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>
1676
1676
  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>
1677
1677
  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>
1678
1678
  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>
@@ -1707,7 +1707,7 @@ export interface Prisma__CommentClient<T, Null = never, ExtArgs extends runtime.
1707
1707
  */
1708
1708
  export interface CommentFieldRefs {
1709
1709
  readonly id: Prisma.FieldRef<"Comment", 'String'>
1710
- readonly prdId: Prisma.FieldRef<"Comment", 'String'>
1710
+ readonly designId: Prisma.FieldRef<"Comment", 'String'>
1711
1711
  readonly pageId: Prisma.FieldRef<"Comment", 'String'>
1712
1712
  readonly elementId: Prisma.FieldRef<"Comment", 'String'>
1713
1713
  readonly userId: Prisma.FieldRef<"Comment", 'String'>