@allbluecn/database 0.4.15 → 0.4.16

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 (29) hide show
  1. package/generated/browser.ts +10 -0
  2. package/generated/client.ts +10 -0
  3. package/generated/commonInputTypes.ts +34 -0
  4. package/generated/internal/class.ts +24 -4
  5. package/generated/internal/prismaNamespace.ts +191 -1
  6. package/generated/internal/prismaNamespaceBrowser.ts +26 -0
  7. package/generated/models/KnowledgeBase.ts +138 -0
  8. package/generated/models/Project.ts +158 -0
  9. package/generated/models/ProjectKnowledgeBase.ts +1430 -0
  10. package/generated/models/Story.ts +270 -0
  11. package/generated/models/StoryAttachment.ts +110 -1
  12. package/generated/models/StoryExternalLink.ts +1352 -0
  13. package/generated/models.ts +2 -0
  14. package/generated-sqlite/browser.ts +5 -0
  15. package/generated-sqlite/client.ts +5 -0
  16. package/generated-sqlite/internal/class.ts +14 -4
  17. package/generated-sqlite/internal/prismaNamespace.ts +87 -1
  18. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +11 -0
  19. package/generated-sqlite/models/KnowledgeBase.ts +138 -0
  20. package/generated-sqlite/models/Project.ts +150 -0
  21. package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
  22. package/generated-sqlite/models.ts +1 -0
  23. package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
  24. package/migrations/20260831123150_story_external_link/migration.sql +19 -0
  25. package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
  26. package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
  27. package/package.json +2 -2
  28. package/schema.prisma +51 -13
  29. package/schema.sqlite.prisma +25 -7
@@ -348,6 +348,7 @@ export type StoryWhereInput = {
348
348
  attachments?: Prisma.StoryAttachmentListRelationFilter
349
349
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
350
350
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
351
+ linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
351
352
  }
352
353
 
353
354
  export type StoryOrderByWithRelationInput = {
@@ -386,6 +387,7 @@ export type StoryOrderByWithRelationInput = {
386
387
  attachments?: Prisma.StoryAttachmentOrderByRelationAggregateInput
387
388
  linkedPrds?: Prisma.StoryPrdLinkOrderByRelationAggregateInput
388
389
  linkedDocs?: Prisma.StoryDocLinkOrderByRelationAggregateInput
390
+ linkedExternalDocs?: Prisma.StoryExternalLinkOrderByRelationAggregateInput
389
391
  }
390
392
 
391
393
  export type StoryWhereUniqueInput = Prisma.AtLeast<{
@@ -427,6 +429,7 @@ export type StoryWhereUniqueInput = Prisma.AtLeast<{
427
429
  attachments?: Prisma.StoryAttachmentListRelationFilter
428
430
  linkedPrds?: Prisma.StoryPrdLinkListRelationFilter
429
431
  linkedDocs?: Prisma.StoryDocLinkListRelationFilter
432
+ linkedExternalDocs?: Prisma.StoryExternalLinkListRelationFilter
430
433
  }, "id" | "identifier">
431
434
 
432
435
  export type StoryOrderByWithAggregationInput = {
@@ -512,6 +515,7 @@ export type StoryCreateInput = {
512
515
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
513
516
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
514
517
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
518
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
515
519
  }
516
520
 
517
521
  export type StoryUncheckedCreateInput = {
@@ -545,6 +549,7 @@ export type StoryUncheckedCreateInput = {
545
549
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
546
550
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
547
551
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
552
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
548
553
  }
549
554
 
550
555
  export type StoryUpdateInput = {
@@ -578,6 +583,7 @@ export type StoryUpdateInput = {
578
583
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
579
584
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
580
585
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
586
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
581
587
  }
582
588
 
583
589
  export type StoryUncheckedUpdateInput = {
@@ -611,6 +617,7 @@ export type StoryUncheckedUpdateInput = {
611
617
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
612
618
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
613
619
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
620
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
614
621
  }
615
622
 
616
623
  export type StoryCreateManyInput = {
@@ -1136,6 +1143,20 @@ export type StoryUpdateOneRequiredWithoutLinkedDocsNestedInput = {
1136
1143
  update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutLinkedDocsInput, Prisma.StoryUpdateWithoutLinkedDocsInput>, Prisma.StoryUncheckedUpdateWithoutLinkedDocsInput>
1137
1144
  }
1138
1145
 
1146
+ export type StoryCreateNestedOneWithoutLinkedExternalDocsInput = {
1147
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
1148
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutLinkedExternalDocsInput
1149
+ connect?: Prisma.StoryWhereUniqueInput
1150
+ }
1151
+
1152
+ export type StoryUpdateOneRequiredWithoutLinkedExternalDocsNestedInput = {
1153
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
1154
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutLinkedExternalDocsInput
1155
+ upsert?: Prisma.StoryUpsertWithoutLinkedExternalDocsInput
1156
+ connect?: Prisma.StoryWhereUniqueInput
1157
+ update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutLinkedExternalDocsInput, Prisma.StoryUpdateWithoutLinkedExternalDocsInput>, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
1158
+ }
1159
+
1139
1160
  export type StoryCreateWithoutCreatedByInput = {
1140
1161
  id?: string
1141
1162
  sequenceId: number
@@ -1166,6 +1187,7 @@ export type StoryCreateWithoutCreatedByInput = {
1166
1187
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1167
1188
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1168
1189
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1190
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1169
1191
  }
1170
1192
 
1171
1193
  export type StoryUncheckedCreateWithoutCreatedByInput = {
@@ -1198,6 +1220,7 @@ export type StoryUncheckedCreateWithoutCreatedByInput = {
1198
1220
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1199
1221
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1200
1222
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1223
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1201
1224
  }
1202
1225
 
1203
1226
  export type StoryCreateOrConnectWithoutCreatedByInput = {
@@ -1240,6 +1263,7 @@ export type StoryCreateWithoutAssigneeInput = {
1240
1263
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1241
1264
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1242
1265
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1266
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1243
1267
  }
1244
1268
 
1245
1269
  export type StoryUncheckedCreateWithoutAssigneeInput = {
@@ -1272,6 +1296,7 @@ export type StoryUncheckedCreateWithoutAssigneeInput = {
1272
1296
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1273
1297
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1274
1298
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1299
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1275
1300
  }
1276
1301
 
1277
1302
  export type StoryCreateOrConnectWithoutAssigneeInput = {
@@ -1314,6 +1339,7 @@ export type StoryCreateWithoutUpdatedByInput = {
1314
1339
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1315
1340
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1316
1341
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1342
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1317
1343
  }
1318
1344
 
1319
1345
  export type StoryUncheckedCreateWithoutUpdatedByInput = {
@@ -1346,6 +1372,7 @@ export type StoryUncheckedCreateWithoutUpdatedByInput = {
1346
1372
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1347
1373
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1348
1374
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1375
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1349
1376
  }
1350
1377
 
1351
1378
  export type StoryCreateOrConnectWithoutUpdatedByInput = {
@@ -1461,6 +1488,7 @@ export type StoryCreateWithoutProjectInput = {
1461
1488
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1462
1489
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1463
1490
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1491
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1464
1492
  }
1465
1493
 
1466
1494
  export type StoryUncheckedCreateWithoutProjectInput = {
@@ -1493,6 +1521,7 @@ export type StoryUncheckedCreateWithoutProjectInput = {
1493
1521
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1494
1522
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1495
1523
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1524
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1496
1525
  }
1497
1526
 
1498
1527
  export type StoryCreateOrConnectWithoutProjectInput = {
@@ -1551,6 +1580,7 @@ export type StoryCreateWithoutChildrenInput = {
1551
1580
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1552
1581
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1553
1582
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1583
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1554
1584
  }
1555
1585
 
1556
1586
  export type StoryUncheckedCreateWithoutChildrenInput = {
@@ -1583,6 +1613,7 @@ export type StoryUncheckedCreateWithoutChildrenInput = {
1583
1613
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1584
1614
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1585
1615
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1616
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1586
1617
  }
1587
1618
 
1588
1619
  export type StoryCreateOrConnectWithoutChildrenInput = {
@@ -1620,6 +1651,7 @@ export type StoryCreateWithoutParentInput = {
1620
1651
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1621
1652
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1622
1653
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1654
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1623
1655
  }
1624
1656
 
1625
1657
  export type StoryUncheckedCreateWithoutParentInput = {
@@ -1652,6 +1684,7 @@ export type StoryUncheckedCreateWithoutParentInput = {
1652
1684
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1653
1685
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1654
1686
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1687
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1655
1688
  }
1656
1689
 
1657
1690
  export type StoryCreateOrConnectWithoutParentInput = {
@@ -1705,6 +1738,7 @@ export type StoryUpdateWithoutChildrenInput = {
1705
1738
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
1706
1739
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1707
1740
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1741
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1708
1742
  }
1709
1743
 
1710
1744
  export type StoryUncheckedUpdateWithoutChildrenInput = {
@@ -1737,6 +1771,7 @@ export type StoryUncheckedUpdateWithoutChildrenInput = {
1737
1771
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
1738
1772
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
1739
1773
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
1774
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
1740
1775
  }
1741
1776
 
1742
1777
  export type StoryUpsertWithWhereUniqueWithoutParentInput = {
@@ -1785,6 +1820,7 @@ export type StoryCreateWithoutLabelsInput = {
1785
1820
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1786
1821
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1787
1822
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1823
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1788
1824
  }
1789
1825
 
1790
1826
  export type StoryUncheckedCreateWithoutLabelsInput = {
@@ -1817,6 +1853,7 @@ export type StoryUncheckedCreateWithoutLabelsInput = {
1817
1853
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1818
1854
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1819
1855
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
1856
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1820
1857
  }
1821
1858
 
1822
1859
  export type StoryCreateOrConnectWithoutLabelsInput = {
@@ -1865,6 +1902,7 @@ export type StoryUpdateWithoutLabelsInput = {
1865
1902
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
1866
1903
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
1867
1904
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
1905
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
1868
1906
  }
1869
1907
 
1870
1908
  export type StoryUncheckedUpdateWithoutLabelsInput = {
@@ -1897,6 +1935,7 @@ export type StoryUncheckedUpdateWithoutLabelsInput = {
1897
1935
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
1898
1936
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
1899
1937
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
1938
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
1900
1939
  }
1901
1940
 
1902
1941
  export type StoryCreateWithoutActivitiesInput = {
@@ -1929,6 +1968,7 @@ export type StoryCreateWithoutActivitiesInput = {
1929
1968
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
1930
1969
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
1931
1970
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
1971
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
1932
1972
  }
1933
1973
 
1934
1974
  export type StoryUncheckedCreateWithoutActivitiesInput = {
@@ -1961,6 +2001,7 @@ export type StoryUncheckedCreateWithoutActivitiesInput = {
1961
2001
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
1962
2002
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
1963
2003
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2004
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
1964
2005
  }
1965
2006
 
1966
2007
  export type StoryCreateOrConnectWithoutActivitiesInput = {
@@ -2009,6 +2050,7 @@ export type StoryUpdateWithoutActivitiesInput = {
2009
2050
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2010
2051
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2011
2052
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2053
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2012
2054
  }
2013
2055
 
2014
2056
  export type StoryUncheckedUpdateWithoutActivitiesInput = {
@@ -2041,6 +2083,7 @@ export type StoryUncheckedUpdateWithoutActivitiesInput = {
2041
2083
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2042
2084
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2043
2085
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2086
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2044
2087
  }
2045
2088
 
2046
2089
  export type StoryCreateWithoutCommentsInput = {
@@ -2073,6 +2116,7 @@ export type StoryCreateWithoutCommentsInput = {
2073
2116
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2074
2117
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2075
2118
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2119
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2076
2120
  }
2077
2121
 
2078
2122
  export type StoryUncheckedCreateWithoutCommentsInput = {
@@ -2105,6 +2149,7 @@ export type StoryUncheckedCreateWithoutCommentsInput = {
2105
2149
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2106
2150
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2107
2151
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2152
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2108
2153
  }
2109
2154
 
2110
2155
  export type StoryCreateOrConnectWithoutCommentsInput = {
@@ -2153,6 +2198,7 @@ export type StoryUpdateWithoutCommentsInput = {
2153
2198
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2154
2199
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2155
2200
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2201
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2156
2202
  }
2157
2203
 
2158
2204
  export type StoryUncheckedUpdateWithoutCommentsInput = {
@@ -2185,6 +2231,7 @@ export type StoryUncheckedUpdateWithoutCommentsInput = {
2185
2231
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2186
2232
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2187
2233
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2234
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2188
2235
  }
2189
2236
 
2190
2237
  export type StoryCreateWithoutReactionsInput = {
@@ -2217,6 +2264,7 @@ export type StoryCreateWithoutReactionsInput = {
2217
2264
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2218
2265
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2219
2266
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2267
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2220
2268
  }
2221
2269
 
2222
2270
  export type StoryUncheckedCreateWithoutReactionsInput = {
@@ -2249,6 +2297,7 @@ export type StoryUncheckedCreateWithoutReactionsInput = {
2249
2297
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2250
2298
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2251
2299
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2300
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2252
2301
  }
2253
2302
 
2254
2303
  export type StoryCreateOrConnectWithoutReactionsInput = {
@@ -2297,6 +2346,7 @@ export type StoryUpdateWithoutReactionsInput = {
2297
2346
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2298
2347
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2299
2348
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2349
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2300
2350
  }
2301
2351
 
2302
2352
  export type StoryUncheckedUpdateWithoutReactionsInput = {
@@ -2329,6 +2379,7 @@ export type StoryUncheckedUpdateWithoutReactionsInput = {
2329
2379
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2330
2380
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2331
2381
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2382
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2332
2383
  }
2333
2384
 
2334
2385
  export type StoryCreateWithoutDependenciesAsSourceInput = {
@@ -2361,6 +2412,7 @@ export type StoryCreateWithoutDependenciesAsSourceInput = {
2361
2412
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2362
2413
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2363
2414
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2415
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2364
2416
  }
2365
2417
 
2366
2418
  export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
@@ -2393,6 +2445,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsSourceInput = {
2393
2445
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2394
2446
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2395
2447
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2448
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2396
2449
  }
2397
2450
 
2398
2451
  export type StoryCreateOrConnectWithoutDependenciesAsSourceInput = {
@@ -2430,6 +2483,7 @@ export type StoryCreateWithoutDependenciesAsTargetInput = {
2430
2483
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2431
2484
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2432
2485
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2486
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2433
2487
  }
2434
2488
 
2435
2489
  export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
@@ -2462,6 +2516,7 @@ export type StoryUncheckedCreateWithoutDependenciesAsTargetInput = {
2462
2516
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2463
2517
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2464
2518
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2519
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2465
2520
  }
2466
2521
 
2467
2522
  export type StoryCreateOrConnectWithoutDependenciesAsTargetInput = {
@@ -2510,6 +2565,7 @@ export type StoryUpdateWithoutDependenciesAsSourceInput = {
2510
2565
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2511
2566
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2512
2567
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2568
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2513
2569
  }
2514
2570
 
2515
2571
  export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
@@ -2542,6 +2598,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsSourceInput = {
2542
2598
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2543
2599
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2544
2600
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2601
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2545
2602
  }
2546
2603
 
2547
2604
  export type StoryUpsertWithoutDependenciesAsTargetInput = {
@@ -2585,6 +2642,7 @@ export type StoryUpdateWithoutDependenciesAsTargetInput = {
2585
2642
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2586
2643
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2587
2644
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2645
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2588
2646
  }
2589
2647
 
2590
2648
  export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
@@ -2617,6 +2675,7 @@ export type StoryUncheckedUpdateWithoutDependenciesAsTargetInput = {
2617
2675
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2618
2676
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2619
2677
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2678
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2620
2679
  }
2621
2680
 
2622
2681
  export type StoryCreateWithoutLinksInput = {
@@ -2649,6 +2708,7 @@ export type StoryCreateWithoutLinksInput = {
2649
2708
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2650
2709
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2651
2710
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2711
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2652
2712
  }
2653
2713
 
2654
2714
  export type StoryUncheckedCreateWithoutLinksInput = {
@@ -2681,6 +2741,7 @@ export type StoryUncheckedCreateWithoutLinksInput = {
2681
2741
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2682
2742
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2683
2743
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2744
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2684
2745
  }
2685
2746
 
2686
2747
  export type StoryCreateOrConnectWithoutLinksInput = {
@@ -2729,6 +2790,7 @@ export type StoryUpdateWithoutLinksInput = {
2729
2790
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
2730
2791
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2731
2792
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2793
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2732
2794
  }
2733
2795
 
2734
2796
  export type StoryUncheckedUpdateWithoutLinksInput = {
@@ -2761,6 +2823,7 @@ export type StoryUncheckedUpdateWithoutLinksInput = {
2761
2823
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
2762
2824
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2763
2825
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2826
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2764
2827
  }
2765
2828
 
2766
2829
  export type StoryCreateWithoutAttachmentsInput = {
@@ -2793,6 +2856,7 @@ export type StoryCreateWithoutAttachmentsInput = {
2793
2856
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
2794
2857
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
2795
2858
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
2859
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2796
2860
  }
2797
2861
 
2798
2862
  export type StoryUncheckedCreateWithoutAttachmentsInput = {
@@ -2825,6 +2889,7 @@ export type StoryUncheckedCreateWithoutAttachmentsInput = {
2825
2889
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
2826
2890
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
2827
2891
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
2892
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2828
2893
  }
2829
2894
 
2830
2895
  export type StoryCreateOrConnectWithoutAttachmentsInput = {
@@ -2873,6 +2938,7 @@ export type StoryUpdateWithoutAttachmentsInput = {
2873
2938
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
2874
2939
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
2875
2940
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
2941
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
2876
2942
  }
2877
2943
 
2878
2944
  export type StoryUncheckedUpdateWithoutAttachmentsInput = {
@@ -2905,6 +2971,7 @@ export type StoryUncheckedUpdateWithoutAttachmentsInput = {
2905
2971
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
2906
2972
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
2907
2973
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
2974
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
2908
2975
  }
2909
2976
 
2910
2977
  export type StoryCreateWithoutLinkedPrdsInput = {
@@ -2937,6 +3004,7 @@ export type StoryCreateWithoutLinkedPrdsInput = {
2937
3004
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
2938
3005
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
2939
3006
  linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3007
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
2940
3008
  }
2941
3009
 
2942
3010
  export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
@@ -2969,6 +3037,7 @@ export type StoryUncheckedCreateWithoutLinkedPrdsInput = {
2969
3037
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
2970
3038
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
2971
3039
  linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3040
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
2972
3041
  }
2973
3042
 
2974
3043
  export type StoryCreateOrConnectWithoutLinkedPrdsInput = {
@@ -3017,6 +3086,7 @@ export type StoryUpdateWithoutLinkedPrdsInput = {
3017
3086
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3018
3087
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3019
3088
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3089
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3020
3090
  }
3021
3091
 
3022
3092
  export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
@@ -3049,6 +3119,7 @@ export type StoryUncheckedUpdateWithoutLinkedPrdsInput = {
3049
3119
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3050
3120
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3051
3121
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3122
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3052
3123
  }
3053
3124
 
3054
3125
  export type StoryCreateWithoutLinkedDocsInput = {
@@ -3081,6 +3152,7 @@ export type StoryCreateWithoutLinkedDocsInput = {
3081
3152
  links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
3082
3153
  attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3083
3154
  linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3155
+ linkedExternalDocs?: Prisma.StoryExternalLinkCreateNestedManyWithoutStoryInput
3084
3156
  }
3085
3157
 
3086
3158
  export type StoryUncheckedCreateWithoutLinkedDocsInput = {
@@ -3113,6 +3185,7 @@ export type StoryUncheckedCreateWithoutLinkedDocsInput = {
3113
3185
  links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
3114
3186
  attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
3115
3187
  linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
3188
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedCreateNestedManyWithoutStoryInput
3116
3189
  }
3117
3190
 
3118
3191
  export type StoryCreateOrConnectWithoutLinkedDocsInput = {
@@ -3161,6 +3234,7 @@ export type StoryUpdateWithoutLinkedDocsInput = {
3161
3234
  links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3162
3235
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3163
3236
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3237
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3164
3238
  }
3165
3239
 
3166
3240
  export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
@@ -3193,6 +3267,155 @@ export type StoryUncheckedUpdateWithoutLinkedDocsInput = {
3193
3267
  links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3194
3268
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3195
3269
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3270
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3271
+ }
3272
+
3273
+ export type StoryCreateWithoutLinkedExternalDocsInput = {
3274
+ id?: string
3275
+ sequenceId: number
3276
+ boardOrder?: number
3277
+ identifier: string
3278
+ name: string
3279
+ description?: string | null
3280
+ state?: string
3281
+ priority?: string
3282
+ archived?: boolean
3283
+ archivedAt?: Date | string | null
3284
+ startDate?: Date | string | null
3285
+ targetDate?: Date | string | null
3286
+ createdAt?: Date | string
3287
+ updatedAt?: Date | string
3288
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
3289
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
3290
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
3291
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
3292
+ labels?: Prisma.StoryLabelCreateNestedManyWithoutStoryInput
3293
+ activities?: Prisma.StoryActivityCreateNestedManyWithoutStoryInput
3294
+ comments?: Prisma.StoryCommentCreateNestedManyWithoutStoryInput
3295
+ reactions?: Prisma.StoryReactionCreateNestedManyWithoutStoryInput
3296
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
3297
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
3298
+ dependenciesAsSource?: Prisma.StoryDependencyCreateNestedManyWithoutSourceInput
3299
+ dependenciesAsTarget?: Prisma.StoryDependencyCreateNestedManyWithoutTargetInput
3300
+ links?: Prisma.StoryLinkCreateNestedManyWithoutStoryInput
3301
+ attachments?: Prisma.StoryAttachmentCreateNestedManyWithoutStoryInput
3302
+ linkedPrds?: Prisma.StoryPrdLinkCreateNestedManyWithoutStoryInput
3303
+ linkedDocs?: Prisma.StoryDocLinkCreateNestedManyWithoutStoryInput
3304
+ }
3305
+
3306
+ export type StoryUncheckedCreateWithoutLinkedExternalDocsInput = {
3307
+ id?: string
3308
+ sequenceId: number
3309
+ boardOrder?: number
3310
+ identifier: string
3311
+ projectId: string
3312
+ name: string
3313
+ description?: string | null
3314
+ state?: string
3315
+ priority?: string
3316
+ archived?: boolean
3317
+ archivedAt?: Date | string | null
3318
+ assigneeId?: string | null
3319
+ startDate?: Date | string | null
3320
+ targetDate?: Date | string | null
3321
+ createdById: string
3322
+ updatedById?: string | null
3323
+ createdAt?: Date | string
3324
+ updatedAt?: Date | string
3325
+ parentId?: string | null
3326
+ labels?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutStoryInput
3327
+ activities?: Prisma.StoryActivityUncheckedCreateNestedManyWithoutStoryInput
3328
+ comments?: Prisma.StoryCommentUncheckedCreateNestedManyWithoutStoryInput
3329
+ reactions?: Prisma.StoryReactionUncheckedCreateNestedManyWithoutStoryInput
3330
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
3331
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutSourceInput
3332
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedCreateNestedManyWithoutTargetInput
3333
+ links?: Prisma.StoryLinkUncheckedCreateNestedManyWithoutStoryInput
3334
+ attachments?: Prisma.StoryAttachmentUncheckedCreateNestedManyWithoutStoryInput
3335
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutStoryInput
3336
+ linkedDocs?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutStoryInput
3337
+ }
3338
+
3339
+ export type StoryCreateOrConnectWithoutLinkedExternalDocsInput = {
3340
+ where: Prisma.StoryWhereUniqueInput
3341
+ create: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
3342
+ }
3343
+
3344
+ export type StoryUpsertWithoutLinkedExternalDocsInput = {
3345
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
3346
+ create: Prisma.XOR<Prisma.StoryCreateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedCreateWithoutLinkedExternalDocsInput>
3347
+ where?: Prisma.StoryWhereInput
3348
+ }
3349
+
3350
+ export type StoryUpdateToOneWithWhereWithoutLinkedExternalDocsInput = {
3351
+ where?: Prisma.StoryWhereInput
3352
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutLinkedExternalDocsInput, Prisma.StoryUncheckedUpdateWithoutLinkedExternalDocsInput>
3353
+ }
3354
+
3355
+ export type StoryUpdateWithoutLinkedExternalDocsInput = {
3356
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3357
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
3358
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
3359
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
3360
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3361
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3362
+ state?: Prisma.StringFieldUpdateOperationsInput | string
3363
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
3364
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
3365
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3366
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3367
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3368
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3369
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3370
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
3371
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
3372
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
3373
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
3374
+ labels?: Prisma.StoryLabelUpdateManyWithoutStoryNestedInput
3375
+ activities?: Prisma.StoryActivityUpdateManyWithoutStoryNestedInput
3376
+ comments?: Prisma.StoryCommentUpdateManyWithoutStoryNestedInput
3377
+ reactions?: Prisma.StoryReactionUpdateManyWithoutStoryNestedInput
3378
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
3379
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
3380
+ dependenciesAsSource?: Prisma.StoryDependencyUpdateManyWithoutSourceNestedInput
3381
+ dependenciesAsTarget?: Prisma.StoryDependencyUpdateManyWithoutTargetNestedInput
3382
+ links?: Prisma.StoryLinkUpdateManyWithoutStoryNestedInput
3383
+ attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3384
+ linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3385
+ linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3386
+ }
3387
+
3388
+ export type StoryUncheckedUpdateWithoutLinkedExternalDocsInput = {
3389
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3390
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
3391
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
3392
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
3393
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
3394
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3395
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3396
+ state?: Prisma.StringFieldUpdateOperationsInput | string
3397
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
3398
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
3399
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3400
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3401
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3402
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3403
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
3404
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3405
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3406
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3407
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3408
+ labels?: Prisma.StoryLabelUncheckedUpdateManyWithoutStoryNestedInput
3409
+ activities?: Prisma.StoryActivityUncheckedUpdateManyWithoutStoryNestedInput
3410
+ comments?: Prisma.StoryCommentUncheckedUpdateManyWithoutStoryNestedInput
3411
+ reactions?: Prisma.StoryReactionUncheckedUpdateManyWithoutStoryNestedInput
3412
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
3413
+ dependenciesAsSource?: Prisma.StoryDependencyUncheckedUpdateManyWithoutSourceNestedInput
3414
+ dependenciesAsTarget?: Prisma.StoryDependencyUncheckedUpdateManyWithoutTargetNestedInput
3415
+ links?: Prisma.StoryLinkUncheckedUpdateManyWithoutStoryNestedInput
3416
+ attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3417
+ linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3418
+ linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3196
3419
  }
3197
3420
 
3198
3421
  export type StoryCreateManyCreatedByInput = {
@@ -3288,6 +3511,7 @@ export type StoryUpdateWithoutCreatedByInput = {
3288
3511
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3289
3512
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3290
3513
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3514
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3291
3515
  }
3292
3516
 
3293
3517
  export type StoryUncheckedUpdateWithoutCreatedByInput = {
@@ -3320,6 +3544,7 @@ export type StoryUncheckedUpdateWithoutCreatedByInput = {
3320
3544
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3321
3545
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3322
3546
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3547
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3323
3548
  }
3324
3549
 
3325
3550
  export type StoryUncheckedUpdateManyWithoutCreatedByInput = {
@@ -3373,6 +3598,7 @@ export type StoryUpdateWithoutAssigneeInput = {
3373
3598
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3374
3599
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3375
3600
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3601
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3376
3602
  }
3377
3603
 
3378
3604
  export type StoryUncheckedUpdateWithoutAssigneeInput = {
@@ -3405,6 +3631,7 @@ export type StoryUncheckedUpdateWithoutAssigneeInput = {
3405
3631
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3406
3632
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3407
3633
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3634
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3408
3635
  }
3409
3636
 
3410
3637
  export type StoryUncheckedUpdateManyWithoutAssigneeInput = {
@@ -3458,6 +3685,7 @@ export type StoryUpdateWithoutUpdatedByInput = {
3458
3685
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3459
3686
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3460
3687
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3688
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3461
3689
  }
3462
3690
 
3463
3691
  export type StoryUncheckedUpdateWithoutUpdatedByInput = {
@@ -3490,6 +3718,7 @@ export type StoryUncheckedUpdateWithoutUpdatedByInput = {
3490
3718
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3491
3719
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3492
3720
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3721
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3493
3722
  }
3494
3723
 
3495
3724
  export type StoryUncheckedUpdateManyWithoutUpdatedByInput = {
@@ -3564,6 +3793,7 @@ export type StoryUpdateWithoutProjectInput = {
3564
3793
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3565
3794
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3566
3795
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3796
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3567
3797
  }
3568
3798
 
3569
3799
  export type StoryUncheckedUpdateWithoutProjectInput = {
@@ -3596,6 +3826,7 @@ export type StoryUncheckedUpdateWithoutProjectInput = {
3596
3826
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3597
3827
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3598
3828
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3829
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3599
3830
  }
3600
3831
 
3601
3832
  export type StoryUncheckedUpdateManyWithoutProjectInput = {
@@ -3670,6 +3901,7 @@ export type StoryUpdateWithoutParentInput = {
3670
3901
  attachments?: Prisma.StoryAttachmentUpdateManyWithoutStoryNestedInput
3671
3902
  linkedPrds?: Prisma.StoryPrdLinkUpdateManyWithoutStoryNestedInput
3672
3903
  linkedDocs?: Prisma.StoryDocLinkUpdateManyWithoutStoryNestedInput
3904
+ linkedExternalDocs?: Prisma.StoryExternalLinkUpdateManyWithoutStoryNestedInput
3673
3905
  }
3674
3906
 
3675
3907
  export type StoryUncheckedUpdateWithoutParentInput = {
@@ -3702,6 +3934,7 @@ export type StoryUncheckedUpdateWithoutParentInput = {
3702
3934
  attachments?: Prisma.StoryAttachmentUncheckedUpdateManyWithoutStoryNestedInput
3703
3935
  linkedPrds?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutStoryNestedInput
3704
3936
  linkedDocs?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutStoryNestedInput
3937
+ linkedExternalDocs?: Prisma.StoryExternalLinkUncheckedUpdateManyWithoutStoryNestedInput
3705
3938
  }
3706
3939
 
3707
3940
  export type StoryUncheckedUpdateManyWithoutParentInput = {
@@ -3742,6 +3975,7 @@ export type StoryCountOutputType = {
3742
3975
  attachments: number
3743
3976
  linkedPrds: number
3744
3977
  linkedDocs: number
3978
+ linkedExternalDocs: number
3745
3979
  }
3746
3980
 
3747
3981
  export type StoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -3756,6 +3990,7 @@ export type StoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
3756
3990
  attachments?: boolean | StoryCountOutputTypeCountAttachmentsArgs
3757
3991
  linkedPrds?: boolean | StoryCountOutputTypeCountLinkedPrdsArgs
3758
3992
  linkedDocs?: boolean | StoryCountOutputTypeCountLinkedDocsArgs
3993
+ linkedExternalDocs?: boolean | StoryCountOutputTypeCountLinkedExternalDocsArgs
3759
3994
  }
3760
3995
 
3761
3996
  /**
@@ -3845,6 +4080,13 @@ export type StoryCountOutputTypeCountLinkedDocsArgs<ExtArgs extends runtime.Type
3845
4080
  where?: Prisma.StoryDocLinkWhereInput
3846
4081
  }
3847
4082
 
4083
+ /**
4084
+ * StoryCountOutputType without action
4085
+ */
4086
+ export type StoryCountOutputTypeCountLinkedExternalDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4087
+ where?: Prisma.StoryExternalLinkWhereInput
4088
+ }
4089
+
3848
4090
 
3849
4091
  export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3850
4092
  id?: boolean
@@ -3882,6 +4124,7 @@ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3882
4124
  attachments?: boolean | Prisma.Story$attachmentsArgs<ExtArgs>
3883
4125
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
3884
4126
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4127
+ linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
3885
4128
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
3886
4129
  }, ExtArgs["result"]["story"]>
3887
4130
 
@@ -3979,6 +4222,7 @@ export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3979
4222
  attachments?: boolean | Prisma.Story$attachmentsArgs<ExtArgs>
3980
4223
  linkedPrds?: boolean | Prisma.Story$linkedPrdsArgs<ExtArgs>
3981
4224
  linkedDocs?: boolean | Prisma.Story$linkedDocsArgs<ExtArgs>
4225
+ linkedExternalDocs?: boolean | Prisma.Story$linkedExternalDocsArgs<ExtArgs>
3982
4226
  _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
3983
4227
  }
3984
4228
  export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -4015,6 +4259,7 @@ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4015
4259
  attachments: Prisma.$StoryAttachmentPayload<ExtArgs>[]
4016
4260
  linkedPrds: Prisma.$StoryPrdLinkPayload<ExtArgs>[]
4017
4261
  linkedDocs: Prisma.$StoryDocLinkPayload<ExtArgs>[]
4262
+ linkedExternalDocs: Prisma.$StoryExternalLinkPayload<ExtArgs>[]
4018
4263
  }
4019
4264
  scalars: runtime.Types.Extensions.GetPayloadResult<{
4020
4265
  id: string
@@ -4446,6 +4691,7 @@ export interface Prisma__StoryClient<T, Null = never, ExtArgs extends runtime.Ty
4446
4691
  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
4692
  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
4693
  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
+ 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>
4449
4695
  /**
4450
4696
  * Attaches callbacks for the resolution and/or rejection of the Promise.
4451
4697
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -5215,6 +5461,30 @@ export type Story$linkedDocsArgs<ExtArgs extends runtime.Types.Extensions.Intern
5215
5461
  distinct?: Prisma.StoryDocLinkScalarFieldEnum | Prisma.StoryDocLinkScalarFieldEnum[]
5216
5462
  }
5217
5463
 
5464
+ /**
5465
+ * Story.linkedExternalDocs
5466
+ */
5467
+ export type Story$linkedExternalDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5468
+ /**
5469
+ * Select specific fields to fetch from the StoryExternalLink
5470
+ */
5471
+ select?: Prisma.StoryExternalLinkSelect<ExtArgs> | null
5472
+ /**
5473
+ * Omit specific fields from the StoryExternalLink
5474
+ */
5475
+ omit?: Prisma.StoryExternalLinkOmit<ExtArgs> | null
5476
+ /**
5477
+ * Choose, which related nodes to fetch as well
5478
+ */
5479
+ include?: Prisma.StoryExternalLinkInclude<ExtArgs> | null
5480
+ where?: Prisma.StoryExternalLinkWhereInput
5481
+ orderBy?: Prisma.StoryExternalLinkOrderByWithRelationInput | Prisma.StoryExternalLinkOrderByWithRelationInput[]
5482
+ cursor?: Prisma.StoryExternalLinkWhereUniqueInput
5483
+ take?: number
5484
+ skip?: number
5485
+ distinct?: Prisma.StoryExternalLinkScalarFieldEnum | Prisma.StoryExternalLinkScalarFieldEnum[]
5486
+ }
5487
+
5218
5488
  /**
5219
5489
  * Story without action
5220
5490
  */