@allbluecn/database 0.4.16 → 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 (31) hide show
  1. package/generated/browser.ts +10 -0
  2. package/generated/client.ts +10 -0
  3. package/generated/internal/class.ts +24 -4
  4. package/generated/internal/prismaNamespace.ts +188 -3
  5. package/generated/internal/prismaNamespaceBrowser.ts +37 -2
  6. package/generated/models/Iteration.ts +1878 -0
  7. package/generated/models/IterationAutoSchedule.ts +1485 -0
  8. package/generated/models/Project.ts +326 -0
  9. package/generated/models/Story.ts +393 -3
  10. package/generated/models/User.ts +618 -0
  11. package/generated/models.ts +2 -0
  12. package/generated-sqlite/browser.ts +15 -0
  13. package/generated-sqlite/client.ts +15 -0
  14. package/generated-sqlite/internal/class.ts +34 -4
  15. package/generated-sqlite/internal/prismaNamespace.ts +288 -2
  16. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +62 -1
  17. package/generated-sqlite/models/Iteration.ts +1874 -0
  18. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  19. package/generated-sqlite/models/Project.ts +484 -0
  20. package/generated-sqlite/models/Story.ts +3263 -0
  21. package/generated-sqlite/models/User.ts +2103 -107
  22. package/generated-sqlite/models.ts +3 -0
  23. package/index.ts +2 -2
  24. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  25. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  26. package/migrations/20260901134601_iterations/migration.sql +52 -0
  27. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  28. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  29. package/package.json +12 -5
  30. package/schema.prisma +47 -4
  31. package/schema.sqlite.prisma +89 -4
@@ -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>
@@ -349,6 +357,7 @@ export type StoryWhereInput = {
349
357
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
350
358
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
351
359
  linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
360
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
352
361
  }
353
362
 
354
363
  export type StoryOrderByWithRelationInput = {
@@ -371,6 +380,7 @@ export type StoryOrderByWithRelationInput = {
371
380
  createdAt?: Prisma.SortOrder
372
381
  updatedAt?: Prisma.SortOrder
373
382
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
383
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
374
384
  project?: Prisma.ProjectOrderByWithRelationInput
375
385
  assignee?: Prisma.UserOrderByWithRelationInput
376
386
  createdBy?: Prisma.UserOrderByWithRelationInput
@@ -388,16 +398,18 @@ export type StoryOrderByWithRelationInput = {
388
398
  linkedPrds?: Prisma.StoryPrdLinkOrderByRelationAggregateInput
389
399
  linkedDocs?: Prisma.StoryDocLinkOrderByRelationAggregateInput
390
400
  linkedExternalDocs?: Prisma.StoryExternalLinkOrderByRelationAggregateInput
401
+ iteration?: Prisma.IterationOrderByWithRelationInput
391
402
  }
392
403
 
393
404
  export type StoryWhereUniqueInput = Prisma.AtLeast<{
394
405
  id?: string
395
- identifier?: string
406
+ projectId_identifier?: Prisma.StoryProjectIdIdentifierCompoundUniqueInput
396
407
  AND?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
397
408
  OR?: Prisma.StoryWhereInput[]
398
409
  NOT?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
399
410
  sequenceId?: Prisma.IntFilter<"Story"> | number
400
411
  boardOrder?: Prisma.IntFilter<"Story"> | number
412
+ identifier?: Prisma.StringFilter<"Story"> | string
401
413
  projectId?: Prisma.StringFilter<"Story"> | string
402
414
  name?: Prisma.StringFilter<"Story"> | string
403
415
  description?: Prisma.StringNullableFilter<"Story"> | string | null
@@ -413,6 +425,7 @@ export type StoryWhereUniqueInput = Prisma.AtLeast<{
413
425
  createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
414
426
  updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
415
427
  parentId?: Prisma.StringNullableFilter<"Story"> | string | null
428
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
416
429
  project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
417
430
  assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
418
431
  createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
@@ -430,7 +443,8 @@ export type StoryWhereUniqueInput = Prisma.AtLeast<{
430
443
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
431
444
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
432
445
  linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
433
- }, "id" | "identifier">
446
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
447
+ }, "id" | "projectId_identifier">
434
448
 
435
449
  export type StoryOrderByWithAggregationInput = {
436
450
  id?: Prisma.SortOrder
@@ -452,6 +466,7 @@ export type StoryOrderByWithAggregationInput = {
452
466
  createdAt?: Prisma.SortOrder
453
467
  updatedAt?: Prisma.SortOrder
454
468
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
469
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
455
470
  _count?: Prisma.StoryCountOrderByAggregateInput
456
471
  _avg?: Prisma.StoryAvgOrderByAggregateInput
457
472
  _max?: Prisma.StoryMaxOrderByAggregateInput
@@ -482,6 +497,7 @@ export type StoryScalarWhereWithAggregatesInput = {
482
497
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
483
498
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
484
499
  parentId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
500
+ iterationId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
485
501
  }
486
502
 
487
503
  export type StoryCreateInput = {
@@ -516,6 +532,7 @@ export type StoryCreateInput = {
516
532
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
517
533
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
518
534
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
535
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
519
536
  }
520
537
 
521
538
  export type StoryUncheckedCreateInput = {
@@ -538,6 +555,7 @@ export type StoryUncheckedCreateInput = {
538
555
  createdAt?: Date | string
539
556
  updatedAt?: Date | string
540
557
  parentId?: string | null
558
+ iterationId?: string | null
541
559
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
542
560
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
543
561
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -584,6 +602,7 @@ export type StoryUpdateInput = {
584
602
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
585
603
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
586
604
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
605
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
587
606
  }
588
607
 
589
608
  export type StoryUncheckedUpdateInput = {
@@ -606,6 +625,7 @@ export type StoryUncheckedUpdateInput = {
606
625
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
607
626
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
608
627
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
609
629
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
610
630
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
611
631
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -640,6 +660,7 @@ export type StoryCreateManyInput = {
640
660
  createdAt?: Date | string
641
661
  updatedAt?: Date | string
642
662
  parentId?: string | null
663
+ iterationId?: string | null
643
664
  }
644
665
 
645
666
  export type StoryUpdateManyMutationInput = {
@@ -679,6 +700,7 @@ export type StoryUncheckedUpdateManyInput = {
679
700
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
680
701
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
681
702
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
703
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
682
704
  }
683
705
 
684
706
  export type StoryListRelationFilter = {
@@ -696,6 +718,11 @@ export type StoryNullableScalarRelationFilter = {
696
718
  isNot?: Prisma.StoryWhereInput | null
697
719
  }
698
720
 
721
+ export type StoryProjectIdIdentifierCompoundUniqueInput = {
722
+ projectId: string
723
+ identifier: string
724
+ }
725
+
699
726
  export type StoryCountOrderByAggregateInput = {
700
727
  id?: Prisma.SortOrder
701
728
  sequenceId?: Prisma.SortOrder
@@ -716,6 +743,7 @@ export type StoryCountOrderByAggregateInput = {
716
743
  createdAt?: Prisma.SortOrder
717
744
  updatedAt?: Prisma.SortOrder
718
745
  parentId?: Prisma.SortOrder
746
+ iterationId?: Prisma.SortOrder
719
747
  }
720
748
 
721
749
  export type StoryAvgOrderByAggregateInput = {
@@ -743,6 +771,7 @@ export type StoryMaxOrderByAggregateInput = {
743
771
  createdAt?: Prisma.SortOrder
744
772
  updatedAt?: Prisma.SortOrder
745
773
  parentId?: Prisma.SortOrder
774
+ iterationId?: Prisma.SortOrder
746
775
  }
747
776
 
748
777
  export type StoryMinOrderByAggregateInput = {
@@ -765,6 +794,7 @@ export type StoryMinOrderByAggregateInput = {
765
794
  createdAt?: Prisma.SortOrder
766
795
  updatedAt?: Prisma.SortOrder
767
796
  parentId?: Prisma.SortOrder
797
+ iterationId?: Prisma.SortOrder
768
798
  }
769
799
 
770
800
  export type StorySumOrderByAggregateInput = {
@@ -1157,6 +1187,48 @@ export type StoryUpdateOneRequiredWithoutLinkedExternalDocsNestedInput = {
1157
1187
  update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutLinkedExternalDocsInput, Prisma.StoryUpdateWithoutLinkedExternalDocsInput>, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
1158
1188
  }
1159
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
+
1160
1232
  export type StoryCreateWithoutCreatedByInput = {
1161
1233
  id?: string
1162
1234
  sequenceId: number
@@ -1188,6 +1260,7 @@ export type StoryCreateWithoutCreatedByInput = {
1188
1260
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1189
1261
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1190
1262
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1263
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1191
1264
  }
1192
1265
 
1193
1266
  export type StoryUncheckedCreateWithoutCreatedByInput = {
@@ -1209,6 +1282,7 @@ export type StoryUncheckedCreateWithoutCreatedByInput = {
1209
1282
  createdAt?: Date | string
1210
1283
  updatedAt?: Date | string
1211
1284
  parentId?: string | null
1285
+ iterationId?: string | null
1212
1286
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1213
1287
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1214
1288
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1264,6 +1338,7 @@ export type StoryCreateWithoutAssigneeInput = {
1264
1338
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1265
1339
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1266
1340
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1341
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1267
1342
  }
1268
1343
 
1269
1344
  export type StoryUncheckedCreateWithoutAssigneeInput = {
@@ -1285,6 +1360,7 @@ export type StoryUncheckedCreateWithoutAssigneeInput = {
1285
1360
  createdAt?: Date | string
1286
1361
  updatedAt?: Date | string
1287
1362
  parentId?: string | null
1363
+ iterationId?: string | null
1288
1364
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1289
1365
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1290
1366
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1340,6 +1416,7 @@ export type StoryCreateWithoutUpdatedByInput = {
1340
1416
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1341
1417
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1342
1418
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1419
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1343
1420
  }
1344
1421
 
1345
1422
  export type StoryUncheckedCreateWithoutUpdatedByInput = {
@@ -1361,6 +1438,7 @@ export type StoryUncheckedCreateWithoutUpdatedByInput = {
1361
1438
  createdAt?: Date | string
1362
1439
  updatedAt?: Date | string
1363
1440
  parentId?: string | null
1441
+ iterationId?: string | null
1364
1442
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1365
1443
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1366
1444
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1424,6 +1502,7 @@ export type StoryScalarWhereInput = {
1424
1502
  createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1425
1503
  updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1426
1504
  parentId?: Prisma.StringNullableFilter<"Story"> | string | null
1505
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
1427
1506
  }
1428
1507
 
1429
1508
  export type StoryUpsertWithWhereUniqueWithoutAssigneeInput = {
@@ -1489,6 +1568,7 @@ export type StoryCreateWithoutProjectInput = {
1489
1568
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1490
1569
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1491
1570
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1571
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1492
1572
  }
1493
1573
 
1494
1574
  export type StoryUncheckedCreateWithoutProjectInput = {
@@ -1510,6 +1590,7 @@ export type StoryUncheckedCreateWithoutProjectInput = {
1510
1590
  createdAt?: Date | string
1511
1591
  updatedAt?: Date | string
1512
1592
  parentId?: string | null
1593
+ iterationId?: string | null
1513
1594
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1514
1595
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1515
1596
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1581,6 +1662,7 @@ export type StoryCreateWithoutChildrenInput = {
1581
1662
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1582
1663
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1583
1664
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1665
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1584
1666
  }
1585
1667
 
1586
1668
  export type StoryUncheckedCreateWithoutChildrenInput = {
@@ -1603,6 +1685,7 @@ export type StoryUncheckedCreateWithoutChildrenInput = {
1603
1685
  createdAt?: Date | string
1604
1686
  updatedAt?: Date | string
1605
1687
  parentId?: string | null
1688
+ iterationId?: string | null
1606
1689
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1607
1690
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1608
1691
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1652,6 +1735,7 @@ export type StoryCreateWithoutParentInput = {
1652
1735
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1653
1736
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1654
1737
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1738
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1655
1739
  }
1656
1740
 
1657
1741
  export type StoryUncheckedCreateWithoutParentInput = {
@@ -1673,6 +1757,7 @@ export type StoryUncheckedCreateWithoutParentInput = {
1673
1757
  updatedById?: string | null
1674
1758
  createdAt?: Date | string
1675
1759
  updatedAt?: Date | string
1760
+ iterationId?: string | null
1676
1761
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1677
1762
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1678
1763
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -1739,6 +1824,7 @@ export type StoryUpdateWithoutChildrenInput = {
1739
1824
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1740
1825
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1741
1826
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1827
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1742
1828
  }
1743
1829
 
1744
1830
  export type StoryUncheckedUpdateWithoutChildrenInput = {
@@ -1761,6 +1847,7 @@ export type StoryUncheckedUpdateWithoutChildrenInput = {
1761
1847
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1762
1848
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1763
1849
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1850
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1764
1851
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
1765
1852
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
1766
1853
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -1821,6 +1908,7 @@ export type StoryCreateWithoutLabelsInput = {
1821
1908
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1822
1909
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1823
1910
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1911
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1824
1912
  }
1825
1913
 
1826
1914
  export type StoryUncheckedCreateWithoutLabelsInput = {
@@ -1843,6 +1931,7 @@ export type StoryUncheckedCreateWithoutLabelsInput = {
1843
1931
  createdAt?: Date | string
1844
1932
  updatedAt?: Date | string
1845
1933
  parentId?: string | null
1934
+ iterationId?: string | null
1846
1935
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
1847
1936
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
1848
1937
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -1903,6 +1992,7 @@ export type StoryUpdateWithoutLabelsInput = {
1903
1992
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1904
1993
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1905
1994
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1995
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1906
1996
  }
1907
1997
 
1908
1998
  export type StoryUncheckedUpdateWithoutLabelsInput = {
@@ -1925,6 +2015,7 @@ export type StoryUncheckedUpdateWithoutLabelsInput = {
1925
2015
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1926
2016
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1927
2017
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2018
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1928
2019
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
1929
2020
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
1930
2021
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -1969,6 +2060,7 @@ export type StoryCreateWithoutActivitiesInput = {
1969
2060
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1970
2061
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1971
2062
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2063
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1972
2064
  }
1973
2065
 
1974
2066
  export type StoryUncheckedCreateWithoutActivitiesInput = {
@@ -1991,6 +2083,7 @@ export type StoryUncheckedCreateWithoutActivitiesInput = {
1991
2083
  createdAt?: Date | string
1992
2084
  updatedAt?: Date | string
1993
2085
  parentId?: string | null
2086
+ iterationId?: string | null
1994
2087
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
1995
2088
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
1996
2089
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -2051,6 +2144,7 @@ export type StoryUpdateWithoutActivitiesInput = {
2051
2144
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2052
2145
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2053
2146
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2147
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2054
2148
  }
2055
2149
 
2056
2150
  export type StoryUncheckedUpdateWithoutActivitiesInput = {
@@ -2073,6 +2167,7 @@ export type StoryUncheckedUpdateWithoutActivitiesInput = {
2073
2167
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2074
2168
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2075
2169
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2170
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2076
2171
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2077
2172
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
2078
2173
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -2117,6 +2212,7 @@ export type StoryCreateWithoutCommentsInput = {
2117
2212
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2118
2213
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2119
2214
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2215
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2120
2216
  }
2121
2217
 
2122
2218
  export type StoryUncheckedCreateWithoutCommentsInput = {
@@ -2139,6 +2235,7 @@ export type StoryUncheckedCreateWithoutCommentsInput = {
2139
2235
  createdAt?: Date | string
2140
2236
  updatedAt?: Date | string
2141
2237
  parentId?: string | null
2238
+ iterationId?: string | null
2142
2239
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2143
2240
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2144
2241
  reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
@@ -2199,6 +2296,7 @@ export type StoryUpdateWithoutCommentsInput = {
2199
2296
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2200
2297
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2201
2298
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2299
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2202
2300
  }
2203
2301
 
2204
2302
  export type StoryUncheckedUpdateWithoutCommentsInput = {
@@ -2221,6 +2319,7 @@ export type StoryUncheckedUpdateWithoutCommentsInput = {
2221
2319
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2222
2320
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2223
2321
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2322
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2224
2323
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2225
2324
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2226
2325
  reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
@@ -2265,6 +2364,7 @@ export type StoryCreateWithoutReactionsInput = {
2265
2364
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2266
2365
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2267
2366
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2367
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2268
2368
  }
2269
2369
 
2270
2370
  export type StoryUncheckedCreateWithoutReactionsInput = {
@@ -2287,6 +2387,7 @@ export type StoryUncheckedCreateWithoutReactionsInput = {
2287
2387
  createdAt?: Date | string
2288
2388
  updatedAt?: Date | string
2289
2389
  parentId?: string | null
2390
+ iterationId?: string | null
2290
2391
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2291
2392
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2292
2393
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2347,6 +2448,7 @@ export type StoryUpdateWithoutReactionsInput = {
2347
2448
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2348
2449
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2349
2450
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2451
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2350
2452
  }
2351
2453
 
2352
2454
  export type StoryUncheckedUpdateWithoutReactionsInput = {
@@ -2369,6 +2471,7 @@ export type StoryUncheckedUpdateWithoutReactionsInput = {
2369
2471
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2370
2472
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2371
2473
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2474
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2372
2475
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2373
2476
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2374
2477
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2413,6 +2516,7 @@ export type StoryCreateWithoutDependenciesAsSourceInput = {
2413
2516
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2414
2517
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2415
2518
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2519
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2416
2520
  }
2417
2521
 
2418
2522
  export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
@@ -2435,6 +2539,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
2435
2539
  createdAt?: Date | string
2436
2540
  updatedAt?: Date | string
2437
2541
  parentId?: string | null
2542
+ iterationId?: string | null
2438
2543
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2439
2544
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2440
2545
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2484,6 +2589,7 @@ export type StoryCreateWithoutDependenciesAsTargetInput = {
2484
2589
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2485
2590
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2486
2591
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2592
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2487
2593
  }
2488
2594
 
2489
2595
  export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
@@ -2506,6 +2612,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
2506
2612
  createdAt?: Date | string
2507
2613
  updatedAt?: Date | string
2508
2614
  parentId?: string | null
2615
+ iterationId?: string | null
2509
2616
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2510
2617
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2511
2618
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2566,6 +2673,7 @@ export type StoryUpdateWithoutDependenciesAsSourceInput = {
2566
2673
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2567
2674
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2568
2675
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2676
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2569
2677
  }
2570
2678
 
2571
2679
  export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
@@ -2588,6 +2696,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
2588
2696
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2589
2697
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2590
2698
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2699
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2591
2700
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2592
2701
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2593
2702
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2643,6 +2752,7 @@ export type StoryUpdateWithoutDependenciesAsTargetInput = {
2643
2752
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2644
2753
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2645
2754
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2755
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2646
2756
  }
2647
2757
 
2648
2758
  export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
@@ -2665,6 +2775,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
2665
2775
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2666
2776
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2667
2777
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2778
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2668
2779
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2669
2780
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2670
2781
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2709,6 +2820,7 @@ export type StoryCreateWithoutLinksInput = {
2709
2820
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2710
2821
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2711
2822
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2823
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2712
2824
  }
2713
2825
 
2714
2826
  export type StoryUncheckedCreateWithoutLinksInput = {
@@ -2731,6 +2843,7 @@ export type StoryUncheckedCreateWithoutLinksInput = {
2731
2843
  createdAt?: Date | string
2732
2844
  updatedAt?: Date | string
2733
2845
  parentId?: string | null
2846
+ iterationId?: string | null
2734
2847
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2735
2848
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2736
2849
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2791,6 +2904,7 @@ export type StoryUpdateWithoutLinksInput = {
2791
2904
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2792
2905
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2793
2906
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2907
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2794
2908
  }
2795
2909
 
2796
2910
  export type StoryUncheckedUpdateWithoutLinksInput = {
@@ -2813,6 +2927,7 @@ export type StoryUncheckedUpdateWithoutLinksInput = {
2813
2927
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2814
2928
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2815
2929
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2930
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2816
2931
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2817
2932
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2818
2933
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -2857,6 +2972,7 @@ export type StoryCreateWithoutAttachmentsInput = {
2857
2972
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2858
2973
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2859
2974
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2975
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
2860
2976
  }
2861
2977
 
2862
2978
  export type StoryUncheckedCreateWithoutAttachmentsInput = {
@@ -2879,6 +2995,7 @@ export type StoryUncheckedCreateWithoutAttachmentsInput = {
2879
2995
  createdAt?: Date | string
2880
2996
  updatedAt?: Date | string
2881
2997
  parentId?: string | null
2998
+ iterationId?: string | null
2882
2999
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
2883
3000
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
2884
3001
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -2939,6 +3056,7 @@ export type StoryUpdateWithoutAttachmentsInput = {
2939
3056
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2940
3057
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2941
3058
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3059
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
2942
3060
  }
2943
3061
 
2944
3062
  export type StoryUncheckedUpdateWithoutAttachmentsInput = {
@@ -2961,6 +3079,7 @@ export type StoryUncheckedUpdateWithoutAttachmentsInput = {
2961
3079
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2962
3080
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2963
3081
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3082
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2964
3083
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
2965
3084
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
2966
3085
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3005,6 +3124,7 @@ export type StoryCreateWithoutLinkedPrdsInput = {
3005
3124
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3006
3125
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3007
3126
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3127
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
3008
3128
  }
3009
3129
 
3010
3130
  export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
@@ -3027,6 +3147,7 @@ export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
3027
3147
  createdAt?: Date | string
3028
3148
  updatedAt?: Date | string
3029
3149
  parentId?: string | null
3150
+ iterationId?: string | null
3030
3151
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3031
3152
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3032
3153
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -3087,6 +3208,7 @@ export type StoryUpdateWithoutLinkedPrdsInput = {
3087
3208
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3088
3209
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3089
3210
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3211
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3090
3212
  }
3091
3213
 
3092
3214
  export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
@@ -3109,6 +3231,7 @@ export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
3109
3231
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3110
3232
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3111
3233
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3234
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3112
3235
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3113
3236
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3114
3237
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3153,6 +3276,7 @@ export type StoryCreateWithoutLinkedDocsInput = {
3153
3276
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3154
3277
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3155
3278
  linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3279
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
3156
3280
  }
3157
3281
 
3158
3282
  export type StoryUncheckedCreateWithoutLinkedDocsInput = {
@@ -3175,6 +3299,7 @@ export type StoryUncheckedCreateWithoutLinkedDocsInput = {
3175
3299
  createdAt?: Date | string
3176
3300
  updatedAt?: Date | string
3177
3301
  parentId?: string | null
3302
+ iterationId?: string | null
3178
3303
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3179
3304
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3180
3305
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -3235,6 +3360,7 @@ export type StoryUpdateWithoutLinkedDocsInput = {
3235
3360
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3236
3361
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3237
3362
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3363
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3238
3364
  }
3239
3365
 
3240
3366
  export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
@@ -3257,6 +3383,7 @@ export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
3257
3383
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3258
3384
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3259
3385
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3386
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3260
3387
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3261
3388
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3262
3389
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3301,6 +3428,7 @@ export type StoryCreateWithoutLinkedExternalDocsInput = {
3301
3428
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3302
3429
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3303
3430
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3431
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
3304
3432
  }
3305
3433
 
3306
3434
  export type StoryUncheckedCreateWithoutLinkedExternalDocsInput = {
@@ -3323,6 +3451,7 @@ export type StoryUncheckedCreateWithoutLinkedExternalDocsInput = {
3323
3451
  createdAt?: Date | string
3324
3452
  updatedAt?: Date | string
3325
3453
  parentId?: string | null
3454
+ iterationId?: string | null
3326
3455
  labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3327
3456
  activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3328
3457
  comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
@@ -3383,6 +3512,7 @@ export type StoryUpdateWithoutLinkedExternalDocsInput = {
3383
3512
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3384
3513
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3385
3514
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3515
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3386
3516
  }
3387
3517
 
3388
3518
  export type StoryUncheckedUpdateWithoutLinkedExternalDocsInput = {
@@ -3405,6 +3535,7 @@ export type StoryUncheckedUpdateWithoutLinkedExternalDocsInput = {
3405
3535
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3406
3536
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3407
3537
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3538
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3408
3539
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3409
3540
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3410
3541
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3418,6 +3549,100 @@ export type StoryUncheckedUpdateWithoutLinkedExternalDocsInput = {
3418
3549
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3419
3550
  }
3420
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>
3644
+ }
3645
+
3421
3646
  export type StoryCreateManyCreatedByInput = {
3422
3647
  id?: string
3423
3648
  sequenceId: number
@@ -3437,6 +3662,7 @@ export type StoryCreateManyCreatedByInput = {
3437
3662
  createdAt?: Date | string
3438
3663
  updatedAt?: Date | string
3439
3664
  parentId?: string | null
3665
+ iterationId?: string | null
3440
3666
  }
3441
3667
 
3442
3668
  export type StoryCreateManyAssigneeInput = {
@@ -3458,6 +3684,7 @@ export type StoryCreateManyAssigneeInput = {
3458
3684
  createdAt?: Date | string
3459
3685
  updatedAt?: Date | string
3460
3686
  parentId?: string | null
3687
+ iterationId?: string | null
3461
3688
  }
3462
3689
 
3463
3690
  export type StoryCreateManyUpdatedByInput = {
@@ -3479,6 +3706,7 @@ export type StoryCreateManyUpdatedByInput = {
3479
3706
  createdAt?: Date | string
3480
3707
  updatedAt?: Date | string
3481
3708
  parentId?: string | null
3709
+ iterationId?: string | null
3482
3710
  }
3483
3711
 
3484
3712
  export type StoryUpdateWithoutCreatedByInput = {
@@ -3512,6 +3740,7 @@ export type StoryUpdateWithoutCreatedByInput = {
3512
3740
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3513
3741
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3514
3742
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3743
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3515
3744
  }
3516
3745
 
3517
3746
  export type StoryUncheckedUpdateWithoutCreatedByInput = {
@@ -3533,6 +3762,7 @@ export type StoryUncheckedUpdateWithoutCreatedByInput = {
3533
3762
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3534
3763
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3535
3764
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3765
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3536
3766
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3537
3767
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3538
3768
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3566,6 +3796,7 @@ export type StoryUncheckedUpdateManyWithoutCreatedByInput = {
3566
3796
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3567
3797
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3568
3798
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3799
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3569
3800
  }
3570
3801
 
3571
3802
  export type StoryUpdateWithoutAssigneeInput = {
@@ -3599,6 +3830,7 @@ export type StoryUpdateWithoutAssigneeInput = {
3599
3830
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3600
3831
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3601
3832
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3833
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3602
3834
  }
3603
3835
 
3604
3836
  export type StoryUncheckedUpdateWithoutAssigneeInput = {
@@ -3620,6 +3852,7 @@ export type StoryUncheckedUpdateWithoutAssigneeInput = {
3620
3852
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3621
3853
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3622
3854
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3855
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3623
3856
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3624
3857
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3625
3858
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3653,6 +3886,7 @@ export type StoryUncheckedUpdateManyWithoutAssigneeInput = {
3653
3886
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3654
3887
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3655
3888
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3889
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3656
3890
  }
3657
3891
 
3658
3892
  export type StoryUpdateWithoutUpdatedByInput = {
@@ -3686,6 +3920,7 @@ export type StoryUpdateWithoutUpdatedByInput = {
3686
3920
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3687
3921
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3688
3922
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3923
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3689
3924
  }
3690
3925
 
3691
3926
  export type StoryUncheckedUpdateWithoutUpdatedByInput = {
@@ -3707,6 +3942,7 @@ export type StoryUncheckedUpdateWithoutUpdatedByInput = {
3707
3942
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3708
3943
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3709
3944
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3945
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3710
3946
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3711
3947
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3712
3948
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3740,6 +3976,7 @@ export type StoryUncheckedUpdateManyWithoutUpdatedByInput = {
3740
3976
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3741
3977
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3742
3978
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3979
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3743
3980
  }
3744
3981
 
3745
3982
  export type StoryCreateManyProjectInput = {
@@ -3761,6 +3998,7 @@ export type StoryCreateManyProjectInput = {
3761
3998
  createdAt?: Date | string
3762
3999
  updatedAt?: Date | string
3763
4000
  parentId?: string | null
4001
+ iterationId?: string | null
3764
4002
  }
3765
4003
 
3766
4004
  export type StoryUpdateWithoutProjectInput = {
@@ -3794,6 +4032,7 @@ export type StoryUpdateWithoutProjectInput = {
3794
4032
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3795
4033
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3796
4034
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
4035
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3797
4036
  }
3798
4037
 
3799
4038
  export type StoryUncheckedUpdateWithoutProjectInput = {
@@ -3815,6 +4054,7 @@ export type StoryUncheckedUpdateWithoutProjectInput = {
3815
4054
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3816
4055
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3817
4056
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4057
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3818
4058
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3819
4059
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3820
4060
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3848,6 +4088,7 @@ export type StoryUncheckedUpdateManyWithoutProjectInput = {
3848
4088
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3849
4089
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3850
4090
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
4091
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3851
4092
  }
3852
4093
 
3853
4094
  export type StoryCreateManyParentInput = {
@@ -3869,6 +4110,7 @@ export type StoryCreateManyParentInput = {
3869
4110
  updatedById?: string | null
3870
4111
  createdAt?: Date | string
3871
4112
  updatedAt?: Date | string
4113
+ iterationId?: string | null
3872
4114
  }
3873
4115
 
3874
4116
  export type StoryUpdateWithoutParentInput = {
@@ -3902,6 +4144,7 @@ export type StoryUpdateWithoutParentInput = {
3902
4144
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3903
4145
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3904
4146
  linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
4147
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
3905
4148
  }
3906
4149
 
3907
4150
  export type StoryUncheckedUpdateWithoutParentInput = {
@@ -3923,6 +4166,7 @@ export type StoryUncheckedUpdateWithoutParentInput = {
3923
4166
  updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3924
4167
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3925
4168
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
4169
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3926
4170
  labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3927
4171
  activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3928
4172
  comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
@@ -3956,6 +4200,119 @@ export type StoryUncheckedUpdateManyWithoutParentInput = {
3956
4200
  updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3957
4201
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3958
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
3959
4316
  }
3960
4317
 
3961
4318
 
@@ -4108,6 +4465,7 @@ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4108
4465
  createdAt?: boolean
4109
4466
  updatedAt?: boolean
4110
4467
  parentId?: boolean
4468
+ iterationId?: boolean
4111
4469
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
4112
4470
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
4113
4471
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
@@ -4125,6 +4483,7 @@ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4125
4483
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
4126
4484
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4127
4485
  linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
4486
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4128
4487
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
4129
4488
  }, ExtArgs["result"]["story"]>
4130
4489
 
@@ -4148,11 +4507,13 @@ export type StorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
4148
4507
  createdAt?: boolean
4149
4508
  updatedAt?: boolean
4150
4509
  parentId?: boolean
4510
+ iterationId?: boolean
4151
4511
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
4152
4512
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
4153
4513
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
4154
4514
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
4155
4515
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4516
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4156
4517
  }, ExtArgs["result"]["story"]>
4157
4518
 
4158
4519
  export type StorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -4175,11 +4536,13 @@ export type StorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
4175
4536
  createdAt?: boolean
4176
4537
  updatedAt?: boolean
4177
4538
  parentId?: boolean
4539
+ iterationId?: boolean
4178
4540
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
4179
4541
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
4180
4542
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
4181
4543
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
4182
4544
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4545
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4183
4546
  }, ExtArgs["result"]["story"]>
4184
4547
 
4185
4548
  export type StorySelectScalar = {
@@ -4202,9 +4565,10 @@ export type StorySelectScalar = {
4202
4565
  createdAt?: boolean
4203
4566
  updatedAt?: boolean
4204
4567
  parentId?: boolean
4568
+ iterationId?: boolean
4205
4569
  }
4206
4570
 
4207
- 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"]>
4208
4572
  export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4209
4573
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
4210
4574
  assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
@@ -4223,6 +4587,7 @@ export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4223
4587
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
4224
4588
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4225
4589
  linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
4590
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4226
4591
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
4227
4592
  }
4228
4593
  export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -4231,6 +4596,7 @@ export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extens
4231
4596
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
4232
4597
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
4233
4598
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4599
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4234
4600
  }
4235
4601
  export type StoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4236
4602
  project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
@@ -4238,6 +4604,7 @@ export type StoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extens
4238
4604
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
4239
4605
  updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
4240
4606
  parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
4607
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
4241
4608
  }
4242
4609
 
4243
4610
  export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -4260,6 +4627,7 @@ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4260
4627
  linkedPrds: Prisma.$StoryPrdLinkPayload<ExtArgs>[]
4261
4628
  linkedDocs: Prisma.$StoryDocLinkPayload<ExtArgs>[]
4262
4629
  linkedExternalDocs: Prisma.$StoryExternalLinkPayload<ExtArgs>[]
4630
+ iteration: Prisma.$IterationPayload<ExtArgs> | null
4263
4631
  }
4264
4632
  scalars: runtime.Types.Extensions.GetPayloadResult<{
4265
4633
  id: string
@@ -4281,6 +4649,7 @@ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4281
4649
  createdAt: Date
4282
4650
  updatedAt: Date
4283
4651
  parentId: string | null
4652
+ iterationId: string | null
4284
4653
  }, ExtArgs["result"]["story"]>
4285
4654
  composites: {}
4286
4655
  }
@@ -4692,6 +5061,7 @@ export interface Prisma__StoryClient<T, Null = never, ExtArgs extends runtime.Ty
4692
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>
4693
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>
4694
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>
4695
5065
  /**
4696
5066
  * Attaches callbacks for the resolution and/or rejection of the Promise.
4697
5067
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4740,6 +5110,7 @@ export interface StoryFieldRefs {
4740
5110
  readonly createdAt: Prisma.FieldRef<"Story", 'DateTime'>
4741
5111
  readonly updatedAt: Prisma.FieldRef<"Story", 'DateTime'>
4742
5112
  readonly parentId: Prisma.FieldRef<"Story", 'String'>
5113
+ readonly iterationId: Prisma.FieldRef<"Story", 'String'>
4743
5114
  }
4744
5115
 
4745
5116
 
@@ -5485,6 +5856,25 @@ export type Story$linkedExternalDocsArgs<ExtArgs extends runtime.Types.Extension
5485
5856
  distinct?: Prisma.StoryExternalLinkScalarFieldEnum | Prisma.StoryExternalLinkScalarFieldEnum[]
5486
5857
  }
5487
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
+
5488
5878
  /**
5489
5879
  * Story without action
5490
5880
  */