@allbluecn/database 0.4.15 → 0.4.17

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 (42) hide show
  1. package/generated/browser.ts +20 -0
  2. package/generated/client.ts +20 -0
  3. package/generated/commonInputTypes.ts +34 -0
  4. package/generated/internal/class.ts +44 -4
  5. package/generated/internal/prismaNamespace.ts +378 -3
  6. package/generated/internal/prismaNamespaceBrowser.ts +63 -2
  7. package/generated/models/Iteration.ts +1878 -0
  8. package/generated/models/IterationAutoSchedule.ts +1485 -0
  9. package/generated/models/KnowledgeBase.ts +138 -0
  10. package/generated/models/Project.ts +484 -0
  11. package/generated/models/ProjectKnowledgeBase.ts +1430 -0
  12. package/generated/models/Story.ts +663 -3
  13. package/generated/models/StoryAttachment.ts +110 -1
  14. package/generated/models/StoryExternalLink.ts +1352 -0
  15. package/generated/models/User.ts +618 -0
  16. package/generated/models.ts +4 -0
  17. package/generated-sqlite/browser.ts +20 -0
  18. package/generated-sqlite/client.ts +20 -0
  19. package/generated-sqlite/internal/class.ts +44 -4
  20. package/generated-sqlite/internal/prismaNamespace.ts +374 -2
  21. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +73 -1
  22. package/generated-sqlite/models/Iteration.ts +1874 -0
  23. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  24. package/generated-sqlite/models/KnowledgeBase.ts +138 -0
  25. package/generated-sqlite/models/Project.ts +634 -0
  26. package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
  27. package/generated-sqlite/models/Story.ts +3263 -0
  28. package/generated-sqlite/models/User.ts +2103 -107
  29. package/generated-sqlite/models.ts +4 -0
  30. package/index.ts +2 -2
  31. package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
  32. package/migrations/20260831123150_story_external_link/migration.sql +19 -0
  33. package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
  34. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  35. package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
  36. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  37. package/migrations/20260901134601_iterations/migration.sql +52 -0
  38. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  39. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  40. package/package.json +12 -5
  41. package/schema.prisma +98 -17
  42. package/schema.sqlite.prisma +112 -9
@@ -56,6 +56,7 @@ export type StoryMinAggregateOutputType = {
56
56
  createdAt: Date | null
57
57
  updatedAt: Date | null
58
58
  parentId: string | null
59
+ iterationId: string | null
59
60
  }
60
61
 
61
62
  export type StoryMaxAggregateOutputType = {
@@ -78,6 +79,7 @@ export type StoryMaxAggregateOutputType = {
78
79
  createdAt: Date | null
79
80
  updatedAt: Date | null
80
81
  parentId: string | null
82
+ iterationId: string | null
81
83
  }
82
84
 
83
85
  export type StoryCountAggregateOutputType = {
@@ -100,6 +102,7 @@ export type StoryCountAggregateOutputType = {
100
102
  createdAt: number
101
103
  updatedAt: number
102
104
  parentId: number
105
+ iterationId: number
103
106
  _all: number
104
107
  }
105
108
 
@@ -134,6 +137,7 @@ export type StoryMinAggregateInputType = {
134
137
  createdAt?: true
135
138
  updatedAt?: true
136
139
  parentId?: true
140
+ iterationId?: true
137
141
  }
138
142
 
139
143
  export type StoryMaxAggregateInputType = {
@@ -156,6 +160,7 @@ export type StoryMaxAggregateInputType = {
156
160
  createdAt?: true
157
161
  updatedAt?: true
158
162
  parentId?: true
163
+ iterationId?: true
159
164
  }
160
165
 
161
166
  export type StoryCountAggregateInputType = {
@@ -178,6 +183,7 @@ export type StoryCountAggregateInputType = {
178
183
  createdAt?: true
179
184
  updatedAt?: true
180
185
  parentId?: true
186
+ iterationId?: true
181
187
  _all?: true
182
188
  }
183
189
 
@@ -287,6 +293,7 @@ export type StoryGroupByOutputType = {
287
293
  createdAt: Date
288
294
  updatedAt: Date
289
295
  parentId: string | null
296
+ iterationId: string | null
290
297
  _count: StoryCountAggregateOutputType | null
291
298
  _avg: StoryAvgAggregateOutputType | null
292
299
  _sum: StorySumAggregateOutputType | null
@@ -332,6 +339,7 @@ export type StoryWhereInput = {
332
339
  createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
333
340
  updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
334
341
  parentId?: Prisma.StringNullableFilter<"Story"> | string | null
342
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
335
343
  project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
336
344
  assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
337
345
  createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
@@ -348,6 +356,8 @@ export type StoryWhereInput = {
348
356
  attachments?: Prisma.StoryAttachmentListRelationFilter
349
357
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
350
358
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
359
+ linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
360
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
351
361
  }
352
362
 
353
363
  export type StoryOrderByWithRelationInput = {
@@ -370,6 +380,7 @@ export type StoryOrderByWithRelationInput = {
370
380
  createdAt?: Prisma.SortOrder
371
381
  updatedAt?: Prisma.SortOrder
372
382
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
383
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
373
384
  project?: Prisma.ProjectOrderByWithRelationInput
374
385
  assignee?: Prisma.UserOrderByWithRelationInput
375
386
  createdBy?: Prisma.UserOrderByWithRelationInput
@@ -386,16 +397,19 @@ export type StoryOrderByWithRelationInput = {
386
397
  attachments?: Prisma.StoryAttachmentOrderByRelationAggregateInput
387
398
  linkedPrds?: Prisma.StoryPrdLinkOrderByRelationAggregateInput
388
399
  linkedDocs?: Prisma.StoryDocLinkOrderByRelationAggregateInput
400
+ linkedExternalDocs?: Prisma.StoryExternalLinkOrderByRelationAggregateInput
401
+ iteration?: Prisma.IterationOrderByWithRelationInput
389
402
  }
390
403
 
391
404
  export type StoryWhereUniqueInput = Prisma.AtLeast<{
392
405
  id?: string
393
- identifier?: string
406
+ projectId_identifier?: Prisma.StoryProjectIdIdentifierCompoundUniqueInput
394
407
  AND?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
395
408
  OR?: Prisma.StoryWhereInput[]
396
409
  NOT?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
397
410
  sequenceId?: Prisma.IntFilter<"Story"> | number
398
411
  boardOrder?: Prisma.IntFilter<"Story"> | number
412
+ identifier?: Prisma.StringFilter<"Story"> | string
399
413
  projectId?: Prisma.StringFilter<"Story"> | string
400
414
  name?: Prisma.StringFilter<"Story"> | string
401
415
  description?: Prisma.StringNullableFilter<"Story"> | string | null
@@ -411,6 +425,7 @@ export type StoryWhereUniqueInput = Prisma.AtLeast<{
411
425
  createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
412
426
  updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
413
427
  parentId?: Prisma.StringNullableFilter<"Story"> | string | null
428
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
414
429
  project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
415
430
  assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
416
431
  createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
@@ -427,7 +442,9 @@ export type StoryWhereUniqueInput = Prisma.AtLeast<{
427
442
  attachments?: Prisma.StoryAttachmentListRelationFilter
428
443
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
429
444
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
430
- }, "id" | "identifier">
445
+ linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
446
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
447
+ }, "id" | "projectId_identifier">
431
448
 
432
449
  export type StoryOrderByWithAggregationInput = {
433
450
  id?: Prisma.SortOrder
@@ -449,6 +466,7 @@ export type StoryOrderByWithAggregationInput = {
449
466
  createdAt?: Prisma.SortOrder
450
467
  updatedAt?: Prisma.SortOrder
451
468
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
469
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
452
470
  _count?: Prisma.StoryCountOrderByAggregateInput
453
471
  _avg?: Prisma.StoryAvgOrderByAggregateInput
454
472
  _max?: Prisma.StoryMaxOrderByAggregateInput
@@ -479,6 +497,7 @@ export type StoryScalarWhereWithAggregatesInput = {
479
497
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
480
498
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
481
499
  parentId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
500
+ iterationId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
482
501
  }
483
502
 
484
503
  export type StoryCreateInput = {
@@ -512,6 +531,8 @@ export type StoryCreateInput = {
512
531
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
513
532
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
514
533
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
534
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
535
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
515
536
  }
516
537
 
517
538
  export type StoryUncheckedCreateInput = {
@@ -534,6 +555,7 @@ export type StoryUncheckedCreateInput = {
534
555
  createdAt?: Date | string
535
556
  updatedAt?: Date | string
536
557
  parentId?: string | null
558
+ iterationId?: string | null
537
559
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
538
560
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
539
561
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -545,6 +567,7 @@ export type StoryUncheckedCreateInput = {
545
567
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
546
568
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
547
569
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
570
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
548
571
  }
549
572
 
550
573
  export type StoryUpdateInput = {
@@ -578,6 +601,8 @@ export type StoryUpdateInput = {
578
601
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
579
602
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
580
603
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
604
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
605
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
581
606
  }
582
607
 
583
608
  export type StoryUncheckedUpdateInput = {
@@ -600,6 +625,7 @@ export type StoryUncheckedUpdateInput = {
600
625
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
601
626
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
602
627
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
603
629
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
604
630
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
605
631
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -611,6 +637,7 @@ export type StoryUncheckedUpdateInput = {
611
637
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
612
638
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
613
639
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
640
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
614
641
  }
615
642
 
616
643
  export type StoryCreateManyInput = {
@@ -633,6 +660,7 @@ export type StoryCreateManyInput = {
633
660
  createdAt?: Date | string
634
661
  updatedAt?: Date | string
635
662
  parentId?: string | null
663
+ iterationId?: string | null
636
664
  }
637
665
 
638
666
  export type StoryUpdateManyMutationInput = {
@@ -672,6 +700,7 @@ export type StoryUncheckedUpdateManyInput = {
672
700
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
673
701
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
674
702
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
703
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
675
704
  }
676
705
 
677
706
  export type StoryListRelationFilter = {
@@ -689,6 +718,11 @@ export type StoryNullableScalarRelationFilter = {
689
718
  isNot?: Prisma.StoryWhereInput | null
690
719
  }
691
720
 
721
+ export type StoryProjectIdIdentifierCompoundUniqueInput = {
722
+ projectId: string
723
+ identifier: string
724
+ }
725
+
692
726
  export type StoryCountOrderByAggregateInput = {
693
727
  id?: Prisma.SortOrder
694
728
  sequenceId?: Prisma.SortOrder
@@ -709,6 +743,7 @@ export type StoryCountOrderByAggregateInput = {
709
743
  createdAt?: Prisma.SortOrder
710
744
  updatedAt?: Prisma.SortOrder
711
745
  parentId?: Prisma.SortOrder
746
+ iterationId?: Prisma.SortOrder
712
747
  }
713
748
 
714
749
  export type StoryAvgOrderByAggregateInput = {
@@ -736,6 +771,7 @@ export type StoryMaxOrderByAggregateInput = {
736
771
  createdAt?: Prisma.SortOrder
737
772
  updatedAt?: Prisma.SortOrder
738
773
  parentId?: Prisma.SortOrder
774
+ iterationId?: Prisma.SortOrder
739
775
  }
740
776
 
741
777
  export type StoryMinOrderByAggregateInput = {
@@ -758,6 +794,7 @@ export type StoryMinOrderByAggregateInput = {
758
794
  createdAt?: Prisma.SortOrder
759
795
  updatedAt?: Prisma.SortOrder
760
796
  parentId?: Prisma.SortOrder
797
+ iterationId?: Prisma.SortOrder
761
798
  }
762
799
 
763
800
  export type StorySumOrderByAggregateInput = {
@@ -1136,6 +1173,62 @@ export type StoryUpdateOneRequiredWithoutLinkedDocsNestedInput = {
1136
1173
  update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutLinkedDocsInput, Prisma.StoryUpdateWithoutLinkedDocsInput>, Prisma.StoryUncheckedUpdateWithoutLinkedDocsInput>
1137
1174
  }
1138
1175
 
1176
+ export type StoryCreateNestedOneWithoutLinkedExternalDocsInput = {
1177
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
1178
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutLinkedExternalDocsInput
1179
+ connect?: Prisma.StoryWhereUniqueInput
1180
+ }
1181
+
1182
+ export type StoryUpdateOneRequiredWithoutLinkedExternalDocsNestedInput = {
1183
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
1184
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutLinkedExternalDocsInput
1185
+ upsert?: Prisma.StoryUpsertWithoutLinkedExternalDocsInput
1186
+ connect?: Prisma.StoryWhereUniqueInput
1187
+ update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutLinkedExternalDocsInput, Prisma.StoryUpdateWithoutLinkedExternalDocsInput>, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
1188
+ }
1189
+
1190
+ export type StoryCreateNestedManyWithoutIterationInput = {
1191
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
1192
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
1193
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
1194
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1195
+ }
1196
+
1197
+ export type StoryUncheckedCreateNestedManyWithoutIterationInput = {
1198
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
1199
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
1200
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
1201
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1202
+ }
1203
+
1204
+ export type StoryUpdateManyWithoutIterationNestedInput = {
1205
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
1206
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
1207
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput | Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput[]
1208
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
1209
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1210
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1211
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1212
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1213
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput | Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput[]
1214
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutIterationInput | Prisma.StoryUpdateManyWithWhereWithoutIterationInput[]
1215
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
1216
+ }
1217
+
1218
+ export type StoryUncheckedUpdateManyWithoutIterationNestedInput = {
1219
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
1220
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
1221
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput | Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput[]
1222
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
1223
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1224
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1225
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1226
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
1227
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput | Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput[]
1228
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutIterationInput | Prisma.StoryUpdateManyWithWhereWithoutIterationInput[]
1229
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
1230
+ }
1231
+
1139
1232
  export type StoryCreateWithoutCreatedByInput = {
1140
1233
  id?: string
1141
1234
  sequenceId: number
@@ -1166,6 +1259,8 @@ export type StoryCreateWithoutCreatedByInput = {
1166
1259
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1167
1260
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1168
1261
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1262
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1263
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1169
1264
  }
1170
1265
 
1171
1266
  export type StoryUncheckedCreateWithoutCreatedByInput = {
@@ -1187,6 +1282,7 @@ export type StoryUncheckedCreateWithoutCreatedByInput = {
1187
1282
  createdAt?: Date | string
1188
1283
  updatedAt?: Date | string
1189
1284
  parentId?: string | null
1285
+ iterationId?: string | null
1190
1286
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1191
1287
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1192
1288
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1198,6 +1294,7 @@ export type StoryUncheckedCreateWithoutCreatedByInput = {
1198
1294
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1199
1295
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1200
1296
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1297
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1201
1298
  }
1202
1299
 
1203
1300
  export type StoryCreateOrConnectWithoutCreatedByInput = {
@@ -1240,6 +1337,8 @@ export type StoryCreateWithoutAssigneeInput = {
1240
1337
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1241
1338
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1242
1339
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1340
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1341
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1243
1342
  }
1244
1343
 
1245
1344
  export type StoryUncheckedCreateWithoutAssigneeInput = {
@@ -1261,6 +1360,7 @@ export type StoryUncheckedCreateWithoutAssigneeInput = {
1261
1360
  createdAt?: Date | string
1262
1361
  updatedAt?: Date | string
1263
1362
  parentId?: string | null
1363
+ iterationId?: string | null
1264
1364
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1265
1365
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1266
1366
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1272,6 +1372,7 @@ export type StoryUncheckedCreateWithoutAssigneeInput = {
1272
1372
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1273
1373
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1274
1374
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1375
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1275
1376
  }
1276
1377
 
1277
1378
  export type StoryCreateOrConnectWithoutAssigneeInput = {
@@ -1314,6 +1415,8 @@ export type StoryCreateWithoutUpdatedByInput = {
1314
1415
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1315
1416
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1316
1417
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1418
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1419
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1317
1420
  }
1318
1421
 
1319
1422
  export type StoryUncheckedCreateWithoutUpdatedByInput = {
@@ -1335,6 +1438,7 @@ export type StoryUncheckedCreateWithoutUpdatedByInput = {
1335
1438
  createdAt?: Date | string
1336
1439
  updatedAt?: Date | string
1337
1440
  parentId?: string | null
1441
+ iterationId?: string | null
1338
1442
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1339
1443
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1340
1444
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1346,6 +1450,7 @@ export type StoryUncheckedCreateWithoutUpdatedByInput = {
1346
1450
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1347
1451
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1348
1452
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1453
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1349
1454
  }
1350
1455
 
1351
1456
  export type StoryCreateOrConnectWithoutUpdatedByInput = {
@@ -1397,6 +1502,7 @@ export type StoryScalarWhereInput = {
1397
1502
  createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1398
1503
  updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1399
1504
  parentId?: Prisma.StringNullableFilter<"Story"> | string | null
1505
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
1400
1506
  }
1401
1507
 
1402
1508
  export type StoryUpsertWithWhereUniqueWithoutAssigneeInput = {
@@ -1461,6 +1567,8 @@ export type StoryCreateWithoutProjectInput = {
1461
1567
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1462
1568
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1463
1569
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1570
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1571
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1464
1572
  }
1465
1573
 
1466
1574
  export type StoryUncheckedCreateWithoutProjectInput = {
@@ -1482,6 +1590,7 @@ export type StoryUncheckedCreateWithoutProjectInput = {
1482
1590
  createdAt?: Date | string
1483
1591
  updatedAt?: Date | string
1484
1592
  parentId?: string | null
1593
+ iterationId?: string | null
1485
1594
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1486
1595
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1487
1596
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1493,6 +1602,7 @@ export type StoryUncheckedCreateWithoutProjectInput = {
1493
1602
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1494
1603
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1495
1604
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1605
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1496
1606
  }
1497
1607
 
1498
1608
  export type StoryCreateOrConnectWithoutProjectInput = {
@@ -1551,6 +1661,8 @@ export type StoryCreateWithoutChildrenInput = {
1551
1661
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1552
1662
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1553
1663
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1664
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1665
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1554
1666
  }
1555
1667
 
1556
1668
  export type StoryUncheckedCreateWithoutChildrenInput = {
@@ -1573,6 +1685,7 @@ export type StoryUncheckedCreateWithoutChildrenInput = {
1573
1685
  createdAt?: Date | string
1574
1686
  updatedAt?: Date | string
1575
1687
  parentId?: string | null
1688
+ iterationId?: string | null
1576
1689
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1577
1690
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1578
1691
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1583,6 +1696,7 @@ export type StoryUncheckedCreateWithoutChildrenInput = {
1583
1696
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1584
1697
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1585
1698
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1699
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1586
1700
  }
1587
1701
 
1588
1702
  export type StoryCreateOrConnectWithoutChildrenInput = {
@@ -1620,6 +1734,8 @@ export type StoryCreateWithoutParentInput = {
1620
1734
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1621
1735
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1622
1736
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1737
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1738
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1623
1739
  }
1624
1740
 
1625
1741
  export type StoryUncheckedCreateWithoutParentInput = {
@@ -1641,6 +1757,7 @@ export type StoryUncheckedCreateWithoutParentInput = {
1641
1757
  updatedById?: string | null
1642
1758
  createdAt?: Date | string
1643
1759
  updatedAt?: Date | string
1760
+ iterationId?: string | null
1644
1761
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1645
1762
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1646
1763
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1652,6 +1769,7 @@ export type StoryUncheckedCreateWithoutParentInput = {
1652
1769
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1653
1770
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1654
1771
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1772
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1655
1773
  }
1656
1774
 
1657
1775
  export type StoryCreateOrConnectWithoutParentInput = {
@@ -1705,6 +1823,8 @@ export type StoryUpdateWithoutChildrenInput = {
1705
1823
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
1706
1824
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1707
1825
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1826
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1827
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1708
1828
  }
1709
1829
 
1710
1830
  export type StoryUncheckedUpdateWithoutChildrenInput = {
@@ -1727,6 +1847,7 @@ export type StoryUncheckedUpdateWithoutChildrenInput = {
1727
1847
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1728
1848
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1729
1849
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1850
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1730
1851
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
1731
1852
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
1732
1853
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -1737,6 +1858,7 @@ export type StoryUncheckedUpdateWithoutChildrenInput = {
1737
1858
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
1738
1859
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
1739
1860
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
1861
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
1740
1862
  }
1741
1863
 
1742
1864
  export type StoryUpsertWithWhereUniqueWithoutParentInput = {
@@ -1785,6 +1907,8 @@ export type StoryCreateWithoutLabelsInput = {
1785
1907
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1786
1908
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1787
1909
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1910
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1911
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1788
1912
  }
1789
1913
 
1790
1914
  export type StoryUncheckedCreateWithoutLabelsInput = {
@@ -1807,6 +1931,7 @@ export type StoryUncheckedCreateWithoutLabelsInput = {
1807
1931
  createdAt?: Date | string
1808
1932
  updatedAt?: Date | string
1809
1933
  parentId?: string | null
1934
+ iterationId?: string | null
1810
1935
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1811
1936
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
1812
1937
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -1817,6 +1942,7 @@ export type StoryUncheckedCreateWithoutLabelsInput = {
1817
1942
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1818
1943
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1819
1944
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1945
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1820
1946
  }
1821
1947
 
1822
1948
  export type StoryCreateOrConnectWithoutLabelsInput = {
@@ -1865,6 +1991,8 @@ export type StoryUpdateWithoutLabelsInput = {
1865
1991
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
1866
1992
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1867
1993
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1994
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1995
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1868
1996
  }
1869
1997
 
1870
1998
  export type StoryUncheckedUpdateWithoutLabelsInput = {
@@ -1887,6 +2015,7 @@ export type StoryUncheckedUpdateWithoutLabelsInput = {
1887
2015
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1888
2016
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1889
2017
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2018
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1890
2019
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
1891
2020
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
1892
2021
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -1897,6 +2026,7 @@ export type StoryUncheckedUpdateWithoutLabelsInput = {
1897
2026
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
1898
2027
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
1899
2028
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2029
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
1900
2030
  }
1901
2031
 
1902
2032
  export type StoryCreateWithoutActivitiesInput = {
@@ -1929,6 +2059,8 @@ export type StoryCreateWithoutActivitiesInput = {
1929
2059
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1930
2060
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1931
2061
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2062
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2063
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1932
2064
  }
1933
2065
 
1934
2066
  export type StoryUncheckedCreateWithoutActivitiesInput = {
@@ -1951,6 +2083,7 @@ export type StoryUncheckedCreateWithoutActivitiesInput = {
1951
2083
  createdAt?: Date | string
1952
2084
  updatedAt?: Date | string
1953
2085
  parentId?: string | null
2086
+ iterationId?: string | null
1954
2087
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1955
2088
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
1956
2089
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -1961,6 +2094,7 @@ export type StoryUncheckedCreateWithoutActivitiesInput = {
1961
2094
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1962
2095
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1963
2096
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2097
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1964
2098
  }
1965
2099
 
1966
2100
  export type StoryCreateOrConnectWithoutActivitiesInput = {
@@ -2009,6 +2143,8 @@ export type StoryUpdateWithoutActivitiesInput = {
2009
2143
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2010
2144
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2011
2145
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2146
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2147
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2012
2148
  }
2013
2149
 
2014
2150
  export type StoryUncheckedUpdateWithoutActivitiesInput = {
@@ -2031,6 +2167,7 @@ export type StoryUncheckedUpdateWithoutActivitiesInput = {
2031
2167
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2032
2168
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2033
2169
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2170
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2034
2171
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2035
2172
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
2036
2173
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -2041,6 +2178,7 @@ export type StoryUncheckedUpdateWithoutActivitiesInput = {
2041
2178
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2042
2179
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2043
2180
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2181
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2044
2182
  }
2045
2183
 
2046
2184
  export type StoryCreateWithoutCommentsInput = {
@@ -2073,6 +2211,8 @@ export type StoryCreateWithoutCommentsInput = {
2073
2211
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2074
2212
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2075
2213
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2214
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2215
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2076
2216
  }
2077
2217
 
2078
2218
  export type StoryUncheckedCreateWithoutCommentsInput = {
@@ -2095,6 +2235,7 @@ export type StoryUncheckedCreateWithoutCommentsInput = {
2095
2235
  createdAt?: Date | string
2096
2236
  updatedAt?: Date | string
2097
2237
  parentId?: string | null
2238
+ iterationId?: string | null
2098
2239
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2099
2240
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2100
2241
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -2105,6 +2246,7 @@ export type StoryUncheckedCreateWithoutCommentsInput = {
2105
2246
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2106
2247
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2107
2248
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2249
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2108
2250
  }
2109
2251
 
2110
2252
  export type StoryCreateOrConnectWithoutCommentsInput = {
@@ -2153,6 +2295,8 @@ export type StoryUpdateWithoutCommentsInput = {
2153
2295
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2154
2296
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2155
2297
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2298
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2299
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2156
2300
  }
2157
2301
 
2158
2302
  export type StoryUncheckedUpdateWithoutCommentsInput = {
@@ -2175,6 +2319,7 @@ export type StoryUncheckedUpdateWithoutCommentsInput = {
2175
2319
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2176
2320
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2177
2321
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2322
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2178
2323
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2179
2324
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2180
2325
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -2185,6 +2330,7 @@ export type StoryUncheckedUpdateWithoutCommentsInput = {
2185
2330
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2186
2331
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2187
2332
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2333
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2188
2334
  }
2189
2335
 
2190
2336
  export type StoryCreateWithoutReactionsInput = {
@@ -2217,6 +2363,8 @@ export type StoryCreateWithoutReactionsInput = {
2217
2363
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2218
2364
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2219
2365
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2366
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2367
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2220
2368
  }
2221
2369
 
2222
2370
  export type StoryUncheckedCreateWithoutReactionsInput = {
@@ -2239,6 +2387,7 @@ export type StoryUncheckedCreateWithoutReactionsInput = {
2239
2387
  createdAt?: Date | string
2240
2388
  updatedAt?: Date | string
2241
2389
  parentId?: string | null
2390
+ iterationId?: string | null
2242
2391
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2243
2392
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2244
2393
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2249,6 +2398,7 @@ export type StoryUncheckedCreateWithoutReactionsInput = {
2249
2398
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2250
2399
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2251
2400
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2401
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2252
2402
  }
2253
2403
 
2254
2404
  export type StoryCreateOrConnectWithoutReactionsInput = {
@@ -2297,6 +2447,8 @@ export type StoryUpdateWithoutReactionsInput = {
2297
2447
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2298
2448
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2299
2449
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2450
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2451
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2300
2452
  }
2301
2453
 
2302
2454
  export type StoryUncheckedUpdateWithoutReactionsInput = {
@@ -2319,6 +2471,7 @@ export type StoryUncheckedUpdateWithoutReactionsInput = {
2319
2471
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2320
2472
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2321
2473
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2474
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2322
2475
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2323
2476
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2324
2477
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2329,6 +2482,7 @@ export type StoryUncheckedUpdateWithoutReactionsInput = {
2329
2482
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2330
2483
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2331
2484
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2485
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2332
2486
  }
2333
2487
 
2334
2488
  export type StoryCreateWithoutDependenciesAsSourceInput = {
@@ -2361,6 +2515,8 @@ export type StoryCreateWithoutDependenciesAsSourceInput = {
2361
2515
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2362
2516
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2363
2517
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2518
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2519
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2364
2520
  }
2365
2521
 
2366
2522
  export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
@@ -2383,6 +2539,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
2383
2539
  createdAt?: Date | string
2384
2540
  updatedAt?: Date | string
2385
2541
  parentId?: string | null
2542
+ iterationId?: string | null
2386
2543
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2387
2544
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2388
2545
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2393,6 +2550,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
2393
2550
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2394
2551
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2395
2552
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2553
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2396
2554
  }
2397
2555
 
2398
2556
  export type StoryCreateOrConnectWithoutDependenciesAsSourceInput = {
@@ -2430,6 +2588,8 @@ export type StoryCreateWithoutDependenciesAsTargetInput = {
2430
2588
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2431
2589
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2432
2590
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2591
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2592
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2433
2593
  }
2434
2594
 
2435
2595
  export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
@@ -2452,6 +2612,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
2452
2612
  createdAt?: Date | string
2453
2613
  updatedAt?: Date | string
2454
2614
  parentId?: string | null
2615
+ iterationId?: string | null
2455
2616
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2456
2617
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2457
2618
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2462,6 +2623,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
2462
2623
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2463
2624
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2464
2625
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2626
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2465
2627
  }
2466
2628
 
2467
2629
  export type StoryCreateOrConnectWithoutDependenciesAsTargetInput = {
@@ -2510,6 +2672,8 @@ export type StoryUpdateWithoutDependenciesAsSourceInput = {
2510
2672
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2511
2673
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2512
2674
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2675
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2676
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2513
2677
  }
2514
2678
 
2515
2679
  export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
@@ -2532,6 +2696,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
2532
2696
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2533
2697
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2534
2698
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2699
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2535
2700
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2536
2701
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2537
2702
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2542,6 +2707,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
2542
2707
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2543
2708
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2544
2709
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2710
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2545
2711
  }
2546
2712
 
2547
2713
  export type StoryUpsertWithoutDependenciesAsTargetInput = {
@@ -2585,6 +2751,8 @@ export type StoryUpdateWithoutDependenciesAsTargetInput = {
2585
2751
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2586
2752
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2587
2753
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2754
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2755
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2588
2756
  }
2589
2757
 
2590
2758
  export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
@@ -2607,6 +2775,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
2607
2775
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2608
2776
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2609
2777
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2778
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2610
2779
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2611
2780
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2612
2781
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2617,6 +2786,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
2617
2786
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2618
2787
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2619
2788
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2789
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2620
2790
  }
2621
2791
 
2622
2792
  export type StoryCreateWithoutLinksInput = {
@@ -2649,6 +2819,8 @@ export type StoryCreateWithoutLinksInput = {
2649
2819
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2650
2820
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2651
2821
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2822
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2823
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2652
2824
  }
2653
2825
 
2654
2826
  export type StoryUncheckedCreateWithoutLinksInput = {
@@ -2671,6 +2843,7 @@ export type StoryUncheckedCreateWithoutLinksInput = {
2671
2843
  createdAt?: Date | string
2672
2844
  updatedAt?: Date | string
2673
2845
  parentId?: string | null
2846
+ iterationId?: string | null
2674
2847
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2675
2848
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2676
2849
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2681,6 +2854,7 @@ export type StoryUncheckedCreateWithoutLinksInput = {
2681
2854
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2682
2855
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2683
2856
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2857
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2684
2858
  }
2685
2859
 
2686
2860
  export type StoryCreateOrConnectWithoutLinksInput = {
@@ -2729,6 +2903,8 @@ export type StoryUpdateWithoutLinksInput = {
2729
2903
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2730
2904
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2731
2905
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2906
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2907
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2732
2908
  }
2733
2909
 
2734
2910
  export type StoryUncheckedUpdateWithoutLinksInput = {
@@ -2751,6 +2927,7 @@ export type StoryUncheckedUpdateWithoutLinksInput = {
2751
2927
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2752
2928
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2753
2929
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2930
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2754
2931
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2755
2932
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2756
2933
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2761,6 +2938,7 @@ export type StoryUncheckedUpdateWithoutLinksInput = {
2761
2938
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2762
2939
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2763
2940
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2941
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2764
2942
  }
2765
2943
 
2766
2944
  export type StoryCreateWithoutAttachmentsInput = {
@@ -2793,6 +2971,8 @@ export type StoryCreateWithoutAttachmentsInput = {
2793
2971
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
2794
2972
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2795
2973
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2974
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2975
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2796
2976
  }
2797
2977
 
2798
2978
  export type StoryUncheckedCreateWithoutAttachmentsInput = {
@@ -2815,6 +2995,7 @@ export type StoryUncheckedCreateWithoutAttachmentsInput = {
2815
2995
  createdAt?: Date | string
2816
2996
  updatedAt?: Date | string
2817
2997
  parentId?: string | null
2998
+ iterationId?: string | null
2818
2999
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2819
3000
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2820
3001
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2825,6 +3006,7 @@ export type StoryUncheckedCreateWithoutAttachmentsInput = {
2825
3006
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
2826
3007
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2827
3008
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3009
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2828
3010
  }
2829
3011
 
2830
3012
  export type StoryCreateOrConnectWithoutAttachmentsInput = {
@@ -2873,6 +3055,8 @@ export type StoryUpdateWithoutAttachmentsInput = {
2873
3055
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
2874
3056
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2875
3057
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3058
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3059
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2876
3060
  }
2877
3061
 
2878
3062
  export type StoryUncheckedUpdateWithoutAttachmentsInput = {
@@ -2895,6 +3079,7 @@ export type StoryUncheckedUpdateWithoutAttachmentsInput = {
2895
3079
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2896
3080
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2897
3081
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3082
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2898
3083
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2899
3084
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2900
3085
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2905,6 +3090,7 @@ export type StoryUncheckedUpdateWithoutAttachmentsInput = {
2905
3090
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
2906
3091
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2907
3092
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3093
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2908
3094
  }
2909
3095
 
2910
3096
  export type StoryCreateWithoutLinkedPrdsInput = {
@@ -2937,6 +3123,8 @@ export type StoryCreateWithoutLinkedPrdsInput = {
2937
3123
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
2938
3124
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2939
3125
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3126
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3127
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2940
3128
  }
2941
3129
 
2942
3130
  export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
@@ -2959,6 +3147,7 @@ export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
2959
3147
  createdAt?: Date | string
2960
3148
  updatedAt?: Date | string
2961
3149
  parentId?: string | null
3150
+ iterationId?: string | null
2962
3151
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2963
3152
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2964
3153
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2969,6 +3158,7 @@ export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
2969
3158
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
2970
3159
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2971
3160
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3161
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2972
3162
  }
2973
3163
 
2974
3164
  export type StoryCreateOrConnectWithoutLinkedPrdsInput = {
@@ -3017,6 +3207,8 @@ export type StoryUpdateWithoutLinkedPrdsInput = {
3017
3207
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3018
3208
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3019
3209
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3210
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3211
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3020
3212
  }
3021
3213
 
3022
3214
  export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
@@ -3039,6 +3231,7 @@ export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
3039
3231
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3040
3232
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3041
3233
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3234
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3042
3235
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3043
3236
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3044
3237
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3049,6 +3242,7 @@ export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
3049
3242
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3050
3243
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3051
3244
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3245
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3052
3246
  }
3053
3247
 
3054
3248
  export type StoryCreateWithoutLinkedDocsInput = {
@@ -3081,6 +3275,8 @@ export type StoryCreateWithoutLinkedDocsInput = {
3081
3275
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
3082
3276
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3083
3277
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3278
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3279
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
3084
3280
  }
3085
3281
 
3086
3282
  export type StoryUncheckedCreateWithoutLinkedDocsInput = {
@@ -3103,6 +3299,7 @@ export type StoryUncheckedCreateWithoutLinkedDocsInput = {
3103
3299
  createdAt?: Date | string
3104
3300
  updatedAt?: Date | string
3105
3301
  parentId?: string | null
3302
+ iterationId?: string | null
3106
3303
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3107
3304
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3108
3305
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -3113,6 +3310,7 @@ export type StoryUncheckedCreateWithoutLinkedDocsInput = {
3113
3310
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
3114
3311
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
3115
3312
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
3313
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
3116
3314
  }
3117
3315
 
3118
3316
  export type StoryCreateOrConnectWithoutLinkedDocsInput = {
@@ -3161,6 +3359,8 @@ export type StoryUpdateWithoutLinkedDocsInput = {
3161
3359
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3162
3360
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3163
3361
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3362
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3363
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3164
3364
  }
3165
3365
 
3166
3366
  export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
@@ -3183,6 +3383,7 @@ export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
3183
3383
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3184
3384
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3185
3385
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3386
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3186
3387
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3187
3388
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3188
3389
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3193,6 +3394,253 @@ export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
3193
3394
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3194
3395
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3195
3396
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3397
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3398
+ }
3399
+
3400
+ export type StoryCreateWithoutLinkedExternalDocsInput = {
3401
+ id?: string
3402
+ sequenceId: number
3403
+ boardOrder?: number
3404
+ identifier: string
3405
+ name: string
3406
+ description?: string | null
3407
+ state?: string
3408
+ priority?: string
3409
+ archived?: boolean
3410
+ archivedAt?: Date | string | null
3411
+ startDate?: Date | string | null
3412
+ targetDate?: Date | string | null
3413
+ createdAt?: Date | string
3414
+ updatedAt?: Date | string
3415
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
3416
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
3417
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
3418
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
3419
+ labels?: Prisma.StoryLabelCreateNestedManyWithoutStoryInput
3420
+ activities?: Prisma.StoryActivityCreateNestedManyWithoutStoryInput
3421
+ comments?: Prisma.StoryCommentCreateNestedManyWithoutStoryInput
3422
+ reactions?: Prisma.StoryReactionCreateNestedManyWithoutStoryInput
3423
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
3424
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
3425
+ dependenciesAsSource?: Prisma.StoryDependencyCreateNestedManyWithoutSourceInput
3426
+ dependenciesAsTarget?: Prisma.StoryDependencyCreateNestedManyWithoutTargetInput
3427
+ links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
3428
+ attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3429
+ linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3430
+ linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3431
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
3432
+ }
3433
+
3434
+ export type StoryUncheckedCreateWithoutLinkedExternalDocsInput = {
3435
+ id?: string
3436
+ sequenceId: number
3437
+ boardOrder?: number
3438
+ identifier: string
3439
+ projectId: string
3440
+ name: string
3441
+ description?: string | null
3442
+ state?: string
3443
+ priority?: string
3444
+ archived?: boolean
3445
+ archivedAt?: Date | string | null
3446
+ assigneeId?: string | null
3447
+ startDate?: Date | string | null
3448
+ targetDate?: Date | string | null
3449
+ createdById: string
3450
+ updatedById?: string | null
3451
+ createdAt?: Date | string
3452
+ updatedAt?: Date | string
3453
+ parentId?: string | null
3454
+ iterationId?: string | null
3455
+ labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3456
+ activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3457
+ comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
3458
+ reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
3459
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
3460
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutSourceInput
3461
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutTargetInput
3462
+ links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
3463
+ attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
3464
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
3465
+ linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3466
+ }
3467
+
3468
+ export type StoryCreateOrConnectWithoutLinkedExternalDocsInput = {
3469
+ where: Prisma.StoryWhereUniqueInput
3470
+ create: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
3471
+ }
3472
+
3473
+ export type StoryUpsertWithoutLinkedExternalDocsInput = {
3474
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
3475
+ create: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
3476
+ where?: Prisma.StoryWhereInput
3477
+ }
3478
+
3479
+ export type StoryUpdateToOneWithWhereWithoutLinkedExternalDocsInput = {
3480
+ where?: Prisma.StoryWhereInput
3481
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
3482
+ }
3483
+
3484
+ export type StoryUpdateWithoutLinkedExternalDocsInput = {
3485
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3486
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
3487
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
3488
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
3489
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3490
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3491
+ state?: Prisma.StringFieldUpdateOperationsInput | string
3492
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
3493
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
3494
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3495
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3496
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3497
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3498
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3499
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
3500
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
3501
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
3502
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
3503
+ labels?: Prisma.StoryLabelUpdateManyWithoutStoryNestedInput
3504
+ activities?: Prisma.StoryActivityUpdateManyWithoutStoryNestedInput
3505
+ comments?: Prisma.StoryCommentUpdateManyWithoutStoryNestedInput
3506
+ reactions?: Prisma.StoryReactionUpdateManyWithoutStoryNestedInput
3507
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
3508
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
3509
+ dependenciesAsSource?: Prisma.StoryDependencyUpdateManyWithoutSourceNestedInput
3510
+ dependenciesAsTarget?: Prisma.StoryDependencyUpdateManyWithoutTargetNestedInput
3511
+ links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3512
+ attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3513
+ linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3514
+ linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3515
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3516
+ }
3517
+
3518
+ export type StoryUncheckedUpdateWithoutLinkedExternalDocsInput = {
3519
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3520
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
3521
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
3522
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
3523
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
3524
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3525
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3526
+ state?: Prisma.StringFieldUpdateOperationsInput | string
3527
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
3528
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
3529
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3530
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3531
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3532
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3533
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
3534
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3535
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3536
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3537
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3538
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3539
+ labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3540
+ activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3541
+ comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
3542
+ reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
3543
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
3544
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedUpdateManyWithoutSourceNestedInput
3545
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedUpdateManyWithoutTargetNestedInput
3546
+ links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3547
+ attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3548
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3549
+ linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3550
+ }
3551
+
3552
+ export type StoryCreateWithoutIterationInput = {
3553
+ id?: string
3554
+ sequenceId: number
3555
+ boardOrder?: number
3556
+ identifier: string
3557
+ name: string
3558
+ description?: string | null
3559
+ state?: string
3560
+ priority?: string
3561
+ archived?: boolean
3562
+ archivedAt?: Date | string | null
3563
+ startDate?: Date | string | null
3564
+ targetDate?: Date | string | null
3565
+ createdAt?: Date | string
3566
+ updatedAt?: Date | string
3567
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
3568
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
3569
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
3570
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
3571
+ labels?: Prisma.StoryLabelCreateNestedManyWithoutStoryInput
3572
+ activities?: Prisma.StoryActivityCreateNestedManyWithoutStoryInput
3573
+ comments?: Prisma.StoryCommentCreateNestedManyWithoutStoryInput
3574
+ reactions?: Prisma.StoryReactionCreateNestedManyWithoutStoryInput
3575
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
3576
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
3577
+ dependenciesAsSource?: Prisma.StoryDependencyCreateNestedManyWithoutSourceInput
3578
+ dependenciesAsTarget?: Prisma.StoryDependencyCreateNestedManyWithoutTargetInput
3579
+ links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
3580
+ attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3581
+ linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3582
+ linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3583
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3584
+ }
3585
+
3586
+ export type StoryUncheckedCreateWithoutIterationInput = {
3587
+ id?: string
3588
+ sequenceId: number
3589
+ boardOrder?: number
3590
+ identifier: string
3591
+ projectId: string
3592
+ name: string
3593
+ description?: string | null
3594
+ state?: string
3595
+ priority?: string
3596
+ archived?: boolean
3597
+ archivedAt?: Date | string | null
3598
+ assigneeId?: string | null
3599
+ startDate?: Date | string | null
3600
+ targetDate?: Date | string | null
3601
+ createdById: string
3602
+ updatedById?: string | null
3603
+ createdAt?: Date | string
3604
+ updatedAt?: Date | string
3605
+ parentId?: string | null
3606
+ labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3607
+ activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3608
+ comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
3609
+ reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
3610
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
3611
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutSourceInput
3612
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutTargetInput
3613
+ links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
3614
+ attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
3615
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
3616
+ linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3617
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
3618
+ }
3619
+
3620
+ export type StoryCreateOrConnectWithoutIterationInput = {
3621
+ where: Prisma.StoryWhereUniqueInput
3622
+ create: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput>
3623
+ }
3624
+
3625
+ export type StoryCreateManyIterationInputEnvelope = {
3626
+ data: Prisma.StoryCreateManyIterationInput | Prisma.StoryCreateManyIterationInput[]
3627
+ skipDuplicates?: boolean
3628
+ }
3629
+
3630
+ export type StoryUpsertWithWhereUniqueWithoutIterationInput = {
3631
+ where: Prisma.StoryWhereUniqueInput
3632
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutIterationInput, Prisma.StoryUncheckedUpdateWithoutIterationInput>
3633
+ create: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput>
3634
+ }
3635
+
3636
+ export type StoryUpdateWithWhereUniqueWithoutIterationInput = {
3637
+ where: Prisma.StoryWhereUniqueInput
3638
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutIterationInput, Prisma.StoryUncheckedUpdateWithoutIterationInput>
3639
+ }
3640
+
3641
+ export type StoryUpdateManyWithWhereWithoutIterationInput = {
3642
+ where: Prisma.StoryScalarWhereInput
3643
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutIterationInput>
3196
3644
  }
3197
3645
 
3198
3646
  export type StoryCreateManyCreatedByInput = {
@@ -3214,6 +3662,7 @@ export type StoryCreateManyCreatedByInput = {
3214
3662
  createdAt?: Date | string
3215
3663
  updatedAt?: Date | string
3216
3664
  parentId?: string | null
3665
+ iterationId?: string | null
3217
3666
  }
3218
3667
 
3219
3668
  export type StoryCreateManyAssigneeInput = {
@@ -3235,6 +3684,7 @@ export type StoryCreateManyAssigneeInput = {
3235
3684
  createdAt?: Date | string
3236
3685
  updatedAt?: Date | string
3237
3686
  parentId?: string | null
3687
+ iterationId?: string | null
3238
3688
  }
3239
3689
 
3240
3690
  export type StoryCreateManyUpdatedByInput = {
@@ -3256,6 +3706,7 @@ export type StoryCreateManyUpdatedByInput = {
3256
3706
  createdAt?: Date | string
3257
3707
  updatedAt?: Date | string
3258
3708
  parentId?: string | null
3709
+ iterationId?: string | null
3259
3710
  }
3260
3711
 
3261
3712
  export type StoryUpdateWithoutCreatedByInput = {
@@ -3288,6 +3739,8 @@ export type StoryUpdateWithoutCreatedByInput = {
3288
3739
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3289
3740
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3290
3741
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3742
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3743
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3291
3744
  }
3292
3745
 
3293
3746
  export type StoryUncheckedUpdateWithoutCreatedByInput = {
@@ -3309,6 +3762,7 @@ export type StoryUncheckedUpdateWithoutCreatedByInput = {
3309
3762
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3310
3763
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3311
3764
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3765
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3312
3766
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3313
3767
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3314
3768
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3320,6 +3774,7 @@ export type StoryUncheckedUpdateWithoutCreatedByInput = {
3320
3774
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3321
3775
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3322
3776
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3777
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3323
3778
  }
3324
3779
 
3325
3780
  export type StoryUncheckedUpdateManyWithoutCreatedByInput = {
@@ -3341,6 +3796,7 @@ export type StoryUncheckedUpdateManyWithoutCreatedByInput = {
3341
3796
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3342
3797
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3343
3798
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3799
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3344
3800
  }
3345
3801
 
3346
3802
  export type StoryUpdateWithoutAssigneeInput = {
@@ -3373,6 +3829,8 @@ export type StoryUpdateWithoutAssigneeInput = {
3373
3829
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3374
3830
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3375
3831
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3832
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3833
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3376
3834
  }
3377
3835
 
3378
3836
  export type StoryUncheckedUpdateWithoutAssigneeInput = {
@@ -3394,6 +3852,7 @@ export type StoryUncheckedUpdateWithoutAssigneeInput = {
3394
3852
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3395
3853
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3396
3854
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3855
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3397
3856
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3398
3857
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3399
3858
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3405,6 +3864,7 @@ export type StoryUncheckedUpdateWithoutAssigneeInput = {
3405
3864
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3406
3865
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3407
3866
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3867
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3408
3868
  }
3409
3869
 
3410
3870
  export type StoryUncheckedUpdateManyWithoutAssigneeInput = {
@@ -3426,6 +3886,7 @@ export type StoryUncheckedUpdateManyWithoutAssigneeInput = {
3426
3886
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3427
3887
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3428
3888
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3889
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3429
3890
  }
3430
3891
 
3431
3892
  export type StoryUpdateWithoutUpdatedByInput = {
@@ -3458,6 +3919,8 @@ export type StoryUpdateWithoutUpdatedByInput = {
3458
3919
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3459
3920
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3460
3921
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3922
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3923
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3461
3924
  }
3462
3925
 
3463
3926
  export type StoryUncheckedUpdateWithoutUpdatedByInput = {
@@ -3479,6 +3942,7 @@ export type StoryUncheckedUpdateWithoutUpdatedByInput = {
3479
3942
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3480
3943
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3481
3944
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3945
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3482
3946
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3483
3947
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3484
3948
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3490,6 +3954,7 @@ export type StoryUncheckedUpdateWithoutUpdatedByInput = {
3490
3954
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3491
3955
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3492
3956
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3957
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3493
3958
  }
3494
3959
 
3495
3960
  export type StoryUncheckedUpdateManyWithoutUpdatedByInput = {
@@ -3511,6 +3976,7 @@ export type StoryUncheckedUpdateManyWithoutUpdatedByInput = {
3511
3976
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3512
3977
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3513
3978
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3979
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3514
3980
  }
3515
3981
 
3516
3982
  export type StoryCreateManyProjectInput = {
@@ -3532,6 +3998,7 @@ export type StoryCreateManyProjectInput = {
3532
3998
  createdAt?: Date | string
3533
3999
  updatedAt?: Date | string
3534
4000
  parentId?: string | null
4001
+ iterationId?: string | null
3535
4002
  }
3536
4003
 
3537
4004
  export type StoryUpdateWithoutProjectInput = {
@@ -3564,6 +4031,8 @@ export type StoryUpdateWithoutProjectInput = {
3564
4031
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3565
4032
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3566
4033
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
4034
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
4035
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3567
4036
  }
3568
4037
 
3569
4038
  export type StoryUncheckedUpdateWithoutProjectInput = {
@@ -3585,6 +4054,7 @@ export type StoryUncheckedUpdateWithoutProjectInput = {
3585
4054
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3586
4055
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3587
4056
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4057
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3588
4058
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3589
4059
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3590
4060
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3596,6 +4066,7 @@ export type StoryUncheckedUpdateWithoutProjectInput = {
3596
4066
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3597
4067
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3598
4068
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
4069
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3599
4070
  }
3600
4071
 
3601
4072
  export type StoryUncheckedUpdateManyWithoutProjectInput = {
@@ -3617,6 +4088,7 @@ export type StoryUncheckedUpdateManyWithoutProjectInput = {
3617
4088
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3618
4089
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3619
4090
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4091
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3620
4092
  }
3621
4093
 
3622
4094
  export type StoryCreateManyParentInput = {
@@ -3638,6 +4110,7 @@ export type StoryCreateManyParentInput = {
3638
4110
  updatedById?: string | null
3639
4111
  createdAt?: Date | string
3640
4112
  updatedAt?: Date | string
4113
+ iterationId?: string | null
3641
4114
  }
3642
4115
 
3643
4116
  export type StoryUpdateWithoutParentInput = {
@@ -3670,6 +4143,8 @@ export type StoryUpdateWithoutParentInput = {
3670
4143
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3671
4144
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3672
4145
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
4146
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
4147
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3673
4148
  }
3674
4149
 
3675
4150
  export type StoryUncheckedUpdateWithoutParentInput = {
@@ -3691,6 +4166,7 @@ export type StoryUncheckedUpdateWithoutParentInput = {
3691
4166
  updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3692
4167
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3693
4168
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4169
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3694
4170
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3695
4171
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3696
4172
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3702,6 +4178,7 @@ export type StoryUncheckedUpdateWithoutParentInput = {
3702
4178
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3703
4179
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3704
4180
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
4181
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3705
4182
  }
3706
4183
 
3707
4184
  export type StoryUncheckedUpdateManyWithoutParentInput = {
@@ -3723,6 +4200,119 @@ export type StoryUncheckedUpdateManyWithoutParentInput = {
3723
4200
  updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3724
4201
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3725
4202
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4203
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4204
+ }
4205
+
4206
+ export type StoryCreateManyIterationInput = {
4207
+ id?: string
4208
+ sequenceId: number
4209
+ boardOrder?: number
4210
+ identifier: string
4211
+ projectId: string
4212
+ name: string
4213
+ description?: string | null
4214
+ state?: string
4215
+ priority?: string
4216
+ archived?: boolean
4217
+ archivedAt?: Date | string | null
4218
+ assigneeId?: string | null
4219
+ startDate?: Date | string | null
4220
+ targetDate?: Date | string | null
4221
+ createdById: string
4222
+ updatedById?: string | null
4223
+ createdAt?: Date | string
4224
+ updatedAt?: Date | string
4225
+ parentId?: string | null
4226
+ }
4227
+
4228
+ export type StoryUpdateWithoutIterationInput = {
4229
+ id?: Prisma.StringFieldUpdateOperationsInput | string
4230
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
4231
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
4232
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
4233
+ name?: Prisma.StringFieldUpdateOperationsInput | string
4234
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4235
+ state?: Prisma.StringFieldUpdateOperationsInput | string
4236
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
4237
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
4238
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4239
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4240
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4241
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4242
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4243
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
4244
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
4245
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
4246
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
4247
+ labels?: Prisma.StoryLabelUpdateManyWithoutStoryNestedInput
4248
+ activities?: Prisma.StoryActivityUpdateManyWithoutStoryNestedInput
4249
+ comments?: Prisma.StoryCommentUpdateManyWithoutStoryNestedInput
4250
+ reactions?: Prisma.StoryReactionUpdateManyWithoutStoryNestedInput
4251
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
4252
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
4253
+ dependenciesAsSource?: Prisma.StoryDependencyUpdateManyWithoutSourceNestedInput
4254
+ dependenciesAsTarget?: Prisma.StoryDependencyUpdateManyWithoutTargetNestedInput
4255
+ links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
4256
+ attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
4257
+ linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
4258
+ linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
4259
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
4260
+ }
4261
+
4262
+ export type StoryUncheckedUpdateWithoutIterationInput = {
4263
+ id?: Prisma.StringFieldUpdateOperationsInput | string
4264
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
4265
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
4266
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
4267
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
4268
+ name?: Prisma.StringFieldUpdateOperationsInput | string
4269
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4270
+ state?: Prisma.StringFieldUpdateOperationsInput | string
4271
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
4272
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
4273
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4274
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4275
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4276
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4277
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
4278
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4279
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4280
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4281
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4282
+ labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
4283
+ activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
4284
+ comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
4285
+ reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
4286
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
4287
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedUpdateManyWithoutSourceNestedInput
4288
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedUpdateManyWithoutTargetNestedInput
4289
+ links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
4290
+ attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
4291
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
4292
+ linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
4293
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
4294
+ }
4295
+
4296
+ export type StoryUncheckedUpdateManyWithoutIterationInput = {
4297
+ id?: Prisma.StringFieldUpdateOperationsInput | string
4298
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
4299
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
4300
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
4301
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
4302
+ name?: Prisma.StringFieldUpdateOperationsInput | string
4303
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4304
+ state?: Prisma.StringFieldUpdateOperationsInput | string
4305
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
4306
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
4307
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4308
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4309
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4310
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
4311
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
4312
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4313
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4314
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4315
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3726
4316
  }
3727
4317
 
3728
4318
 
@@ -3742,6 +4332,7 @@ export type StoryCountOutputType = {
3742
4332
  attachments: number
3743
4333
  linkedPrds: number
3744
4334
  linkedDocs: number
4335
+ linkedExternalDocs: number
3745
4336
  }
3746
4337
 
3747
4338
  export type StoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -3756,6 +4347,7 @@ export type StoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
3756
4347
  attachments?: boolean | StoryCountOutputTypeCountAttachmentsArgs
3757
4348
  linkedPrds?: boolean | StoryCountOutputTypeCountLinkedPrdsArgs
3758
4349
  linkedDocs?: boolean | StoryCountOutputTypeCountLinkedDocsArgs
4350
+ linkedExternalDocs?: boolean | StoryCountOutputTypeCountLinkedExternalDocsArgs
3759
4351
  }
3760
4352
 
3761
4353
  /**
@@ -3845,6 +4437,13 @@ export type StoryCountOutputTypeCountLinkedDocsArgs<ExtArgs extends runtime.Type
3845
4437
  where?: Prisma.StoryDocLinkWhereInput
3846
4438
  }
3847
4439
 
4440
+ /**
4441
+ * StoryCountOutputType without action
4442
+ */
4443
+ export type StoryCountOutputTypeCountLinkedExternalDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4444
+ where?: Prisma.StoryExternalLinkWhereInput
4445
+ }
4446
+
3848
4447
 
3849
4448
  export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3850
4449
  id?: boolean
@@ -3866,6 +4465,7 @@ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3866
4465
  createdAt?: boolean
3867
4466
  updatedAt?: boolean
3868
4467
  parentId?: boolean
4468
+ iterationId?: boolean
3869
4469
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
3870
4470
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
3871
4471
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
@@ -3882,6 +4482,8 @@ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3882
4482
  attachments?: boolean | Prisma.Story$attachmentsArgs<ExtArgs>
3883
4483
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
3884
4484
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4485
+ linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
4486
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3885
4487
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
3886
4488
  }, ExtArgs["result"]["story"]>
3887
4489
 
@@ -3905,11 +4507,13 @@ export type StorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3905
4507
  createdAt?: boolean
3906
4508
  updatedAt?: boolean
3907
4509
  parentId?: boolean
4510
+ iterationId?: boolean
3908
4511
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
3909
4512
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
3910
4513
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
3911
4514
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
3912
4515
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4516
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3913
4517
  }, ExtArgs["result"]["story"]>
3914
4518
 
3915
4519
  export type StorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -3932,11 +4536,13 @@ export type StorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3932
4536
  createdAt?: boolean
3933
4537
  updatedAt?: boolean
3934
4538
  parentId?: boolean
4539
+ iterationId?: boolean
3935
4540
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
3936
4541
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
3937
4542
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
3938
4543
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
3939
4544
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4545
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3940
4546
  }, ExtArgs["result"]["story"]>
3941
4547
 
3942
4548
  export type StorySelectScalar = {
@@ -3959,9 +4565,10 @@ export type StorySelectScalar = {
3959
4565
  createdAt?: boolean
3960
4566
  updatedAt?: boolean
3961
4567
  parentId?: boolean
4568
+ iterationId?: boolean
3962
4569
  }
3963
4570
 
3964
- export type StoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sequenceId" | "boardOrder" | "identifier" | "projectId" | "name" | "description" | "state" | "priority" | "archived" | "archivedAt" | "assigneeId" | "startDate" | "targetDate" | "createdById" | "updatedById" | "createdAt" | "updatedAt" | "parentId", ExtArgs["result"]["story"]>
4571
+ export type StoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sequenceId" | "boardOrder" | "identifier" | "projectId" | "name" | "description" | "state" | "priority" | "archived" | "archivedAt" | "assigneeId" | "startDate" | "targetDate" | "createdById" | "updatedById" | "createdAt" | "updatedAt" | "parentId" | "iterationId", ExtArgs["result"]["story"]>
3965
4572
  export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3966
4573
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
3967
4574
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
@@ -3979,6 +4586,8 @@ export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3979
4586
  attachments?: boolean | Prisma.Story$attachmentsArgs<ExtArgs>
3980
4587
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
3981
4588
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4589
+ linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
4590
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3982
4591
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
3983
4592
  }
3984
4593
  export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -3987,6 +4596,7 @@ export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extens
3987
4596
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
3988
4597
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
3989
4598
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4599
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3990
4600
  }
3991
4601
  export type StoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3992
4602
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
@@ -3994,6 +4604,7 @@ export type StoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extens
3994
4604
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
3995
4605
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
3996
4606
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4607
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
3997
4608
  }
3998
4609
 
3999
4610
  export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -4015,6 +4626,8 @@ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4015
4626
  attachments: Prisma.$StoryAttachmentPayload<ExtArgs>[]
4016
4627
  linkedPrds: Prisma.$StoryPrdLinkPayload<ExtArgs>[]
4017
4628
  linkedDocs: Prisma.$StoryDocLinkPayload<ExtArgs>[]
4629
+ linkedExternalDocs: Prisma.$StoryExternalLinkPayload<ExtArgs>[]
4630
+ iteration: Prisma.$IterationPayload<ExtArgs> | null
4018
4631
  }
4019
4632
  scalars: runtime.Types.Extensions.GetPayloadResult<{
4020
4633
  id: string
@@ -4036,6 +4649,7 @@ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4036
4649
  createdAt: Date
4037
4650
  updatedAt: Date
4038
4651
  parentId: string | null
4652
+ iterationId: string | null
4039
4653
  }, ExtArgs["result"]["story"]>
4040
4654
  composites: {}
4041
4655
  }
@@ -4446,6 +5060,8 @@ export interface Prisma__StoryClient<T, Null = never, ExtArgs extends runtime.Ty
4446
5060
  attachments<T extends Prisma.Story$attachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$attachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4447
5061
  linkedPrds<T extends Prisma.Story$linkedPrdsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$linkedPrdsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPrdLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4448
5062
  linkedDocs<T extends Prisma.Story$linkedDocsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$linkedDocsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryDocLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
5063
+ linkedExternalDocs<T extends Prisma.Story$linkedExternalDocsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$linkedExternalDocsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryExternalLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
5064
+ iteration<T extends Prisma.Story$iterationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$iterationArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
4449
5065
  /**
4450
5066
  * Attaches callbacks for the resolution and/or rejection of the Promise.
4451
5067
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4494,6 +5110,7 @@ export interface StoryFieldRefs {
4494
5110
  readonly createdAt: Prisma.FieldRef<"Story", 'DateTime'>
4495
5111
  readonly updatedAt: Prisma.FieldRef<"Story", 'DateTime'>
4496
5112
  readonly parentId: Prisma.FieldRef<"Story", 'String'>
5113
+ readonly iterationId: Prisma.FieldRef<"Story", 'String'>
4497
5114
  }
4498
5115
 
4499
5116
 
@@ -5215,6 +5832,49 @@ export type Story$linkedDocsArgs<ExtArgs extends runtime.Types.Extensions.Intern
5215
5832
  distinct?: Prisma.StoryDocLinkScalarFieldEnum | Prisma.StoryDocLinkScalarFieldEnum[]
5216
5833
  }
5217
5834
 
5835
+ /**
5836
+ * Story.linkedExternalDocs
5837
+ */
5838
+ export type Story$linkedExternalDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5839
+ /**
5840
+ * Select specific fields to fetch from the StoryExternalLink
5841
+ */
5842
+ select?: Prisma.StoryExternalLinkSelect<ExtArgs> | null
5843
+ /**
5844
+ * Omit specific fields from the StoryExternalLink
5845
+ */
5846
+ omit?: Prisma.StoryExternalLinkOmit<ExtArgs> | null
5847
+ /**
5848
+ * Choose, which related nodes to fetch as well
5849
+ */
5850
+ include?: Prisma.StoryExternalLinkInclude<ExtArgs> | null
5851
+ where?: Prisma.StoryExternalLinkWhereInput
5852
+ orderBy?: Prisma.StoryExternalLinkOrderByWithRelationInput | Prisma.StoryExternalLinkOrderByWithRelationInput[]
5853
+ cursor?: Prisma.StoryExternalLinkWhereUniqueInput
5854
+ take?: number
5855
+ skip?: number
5856
+ distinct?: Prisma.StoryExternalLinkScalarFieldEnum | Prisma.StoryExternalLinkScalarFieldEnum[]
5857
+ }
5858
+
5859
+ /**
5860
+ * Story.iteration
5861
+ */
5862
+ export type Story$iterationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5863
+ /**
5864
+ * Select specific fields to fetch from the Iteration
5865
+ */
5866
+ select?: Prisma.IterationSelect<ExtArgs> | null
5867
+ /**
5868
+ * Omit specific fields from the Iteration
5869
+ */
5870
+ omit?: Prisma.IterationOmit<ExtArgs> | null
5871
+ /**
5872
+ * Choose, which related nodes to fetch as well
5873
+ */
5874
+ include?: Prisma.IterationInclude<ExtArgs> | null
5875
+ where?: Prisma.IterationWhereInput
5876
+ }
5877
+
5218
5878
  /**
5219
5879
  * Story without action
5220
5880
  */