@allbluecn/database 0.4.15 → 0.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/generated/browser.ts +20 -0
  2. package/generated/client.ts +20 -0
  3. package/generated/commonInputTypes.ts +34 -0
  4. package/generated/internal/class.ts +44 -4
  5. package/generated/internal/prismaNamespace.ts +378 -3
  6. package/generated/internal/prismaNamespaceBrowser.ts +63 -2
  7. package/generated/models/Iteration.ts +1878 -0
  8. package/generated/models/IterationAutoSchedule.ts +1485 -0
  9. package/generated/models/KnowledgeBase.ts +138 -0
  10. package/generated/models/Project.ts +484 -0
  11. package/generated/models/ProjectKnowledgeBase.ts +1430 -0
  12. package/generated/models/Story.ts +663 -3
  13. package/generated/models/StoryAttachment.ts +110 -1
  14. package/generated/models/StoryExternalLink.ts +1352 -0
  15. package/generated/models/User.ts +618 -0
  16. package/generated/models.ts +4 -0
  17. package/generated-sqlite/browser.ts +20 -0
  18. package/generated-sqlite/client.ts +20 -0
  19. package/generated-sqlite/internal/class.ts +44 -4
  20. package/generated-sqlite/internal/prismaNamespace.ts +374 -2
  21. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +73 -1
  22. package/generated-sqlite/models/Iteration.ts +1874 -0
  23. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  24. package/generated-sqlite/models/KnowledgeBase.ts +138 -0
  25. package/generated-sqlite/models/Project.ts +634 -0
  26. package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
  27. package/generated-sqlite/models/Story.ts +3263 -0
  28. package/generated-sqlite/models/User.ts +2103 -107
  29. package/generated-sqlite/models.ts +4 -0
  30. package/index.ts +2 -2
  31. package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
  32. package/migrations/20260831123150_story_external_link/migration.sql +19 -0
  33. package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
  34. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  35. package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
  36. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  37. package/migrations/20260901134601_iterations/migration.sql +52 -0
  38. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  39. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  40. package/package.json +12 -5
  41. package/schema.prisma +98 -17
  42. package/schema.sqlite.prisma +112 -9
@@ -455,10 +455,12 @@ export const ModelName = {
455
455
  StoryReaction: 'StoryReaction',
456
456
  CommentReaction: 'CommentReaction',
457
457
  StoryDependency: 'StoryDependency',
458
+ ProjectKnowledgeBase: 'ProjectKnowledgeBase',
458
459
  StoryLink: 'StoryLink',
459
460
  StoryAttachment: 'StoryAttachment',
460
461
  StoryPrdLink: 'StoryPrdLink',
461
462
  StoryDocLink: 'StoryDocLink',
463
+ StoryExternalLink: 'StoryExternalLink',
462
464
  StoryFilterView: 'StoryFilterView',
463
465
  MonitoringRequestLog: 'MonitoringRequestLog',
464
466
  MonitoringErrorReport: 'MonitoringErrorReport',
@@ -482,7 +484,9 @@ export const ModelName = {
482
484
  UserSkill: 'UserSkill',
483
485
  DeveloperLog: 'DeveloperLog',
484
486
  Notification: 'Notification',
485
- NotificationPreference: 'NotificationPreference'
487
+ NotificationPreference: 'NotificationPreference',
488
+ Iteration: 'Iteration',
489
+ IterationAutoSchedule: 'IterationAutoSchedule'
486
490
  } as const
487
491
 
488
492
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -498,7 +502,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
498
502
  omit: GlobalOmitOptions
499
503
  }
500
504
  meta: {
501
- modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "knowledgeBase" | "knowledgeDocument" | "pRD" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "pRDPage" | "componentInstance" | "blockInstance" | "pRDVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "tag" | "pRDTag" | "componentTag" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "designProject" | "artboard" | "artboardExport" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "storyLink" | "storyAttachment" | "storyPrdLink" | "storyDocLink" | "storyFilterView" | "monitoringRequestLog" | "monitoringErrorReport" | "monitoringMetricsSnapshot" | "monitoringHealthSnapshot" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog" | "notification" | "notificationPreference"
505
+ modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "knowledgeBase" | "knowledgeDocument" | "pRD" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "pRDPage" | "componentInstance" | "blockInstance" | "pRDVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "tag" | "pRDTag" | "componentTag" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "designProject" | "artboard" | "artboardExport" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "projectKnowledgeBase" | "storyLink" | "storyAttachment" | "storyPrdLink" | "storyDocLink" | "storyExternalLink" | "storyFilterView" | "monitoringRequestLog" | "monitoringErrorReport" | "monitoringMetricsSnapshot" | "monitoringHealthSnapshot" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog" | "notification" | "notificationPreference" | "iteration" | "iterationAutoSchedule"
502
506
  txIsolationLevel: TransactionIsolationLevel
503
507
  }
504
508
  model: {
@@ -5756,6 +5760,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
5756
5760
  }
5757
5761
  }
5758
5762
  }
5763
+ ProjectKnowledgeBase: {
5764
+ payload: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>
5765
+ fields: Prisma.ProjectKnowledgeBaseFieldRefs
5766
+ operations: {
5767
+ findUnique: {
5768
+ args: Prisma.ProjectKnowledgeBaseFindUniqueArgs<ExtArgs>
5769
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
5770
+ }
5771
+ findUniqueOrThrow: {
5772
+ args: Prisma.ProjectKnowledgeBaseFindUniqueOrThrowArgs<ExtArgs>
5773
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5774
+ }
5775
+ findFirst: {
5776
+ args: Prisma.ProjectKnowledgeBaseFindFirstArgs<ExtArgs>
5777
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
5778
+ }
5779
+ findFirstOrThrow: {
5780
+ args: Prisma.ProjectKnowledgeBaseFindFirstOrThrowArgs<ExtArgs>
5781
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5782
+ }
5783
+ findMany: {
5784
+ args: Prisma.ProjectKnowledgeBaseFindManyArgs<ExtArgs>
5785
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
5786
+ }
5787
+ create: {
5788
+ args: Prisma.ProjectKnowledgeBaseCreateArgs<ExtArgs>
5789
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5790
+ }
5791
+ createMany: {
5792
+ args: Prisma.ProjectKnowledgeBaseCreateManyArgs<ExtArgs>
5793
+ result: BatchPayload
5794
+ }
5795
+ createManyAndReturn: {
5796
+ args: Prisma.ProjectKnowledgeBaseCreateManyAndReturnArgs<ExtArgs>
5797
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
5798
+ }
5799
+ delete: {
5800
+ args: Prisma.ProjectKnowledgeBaseDeleteArgs<ExtArgs>
5801
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5802
+ }
5803
+ update: {
5804
+ args: Prisma.ProjectKnowledgeBaseUpdateArgs<ExtArgs>
5805
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5806
+ }
5807
+ deleteMany: {
5808
+ args: Prisma.ProjectKnowledgeBaseDeleteManyArgs<ExtArgs>
5809
+ result: BatchPayload
5810
+ }
5811
+ updateMany: {
5812
+ args: Prisma.ProjectKnowledgeBaseUpdateManyArgs<ExtArgs>
5813
+ result: BatchPayload
5814
+ }
5815
+ updateManyAndReturn: {
5816
+ args: Prisma.ProjectKnowledgeBaseUpdateManyAndReturnArgs<ExtArgs>
5817
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
5818
+ }
5819
+ upsert: {
5820
+ args: Prisma.ProjectKnowledgeBaseUpsertArgs<ExtArgs>
5821
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
5822
+ }
5823
+ aggregate: {
5824
+ args: Prisma.ProjectKnowledgeBaseAggregateArgs<ExtArgs>
5825
+ result: runtime.Types.Utils.Optional<Prisma.AggregateProjectKnowledgeBase>
5826
+ }
5827
+ groupBy: {
5828
+ args: Prisma.ProjectKnowledgeBaseGroupByArgs<ExtArgs>
5829
+ result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseGroupByOutputType>[]
5830
+ }
5831
+ count: {
5832
+ args: Prisma.ProjectKnowledgeBaseCountArgs<ExtArgs>
5833
+ result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseCountAggregateOutputType> | number
5834
+ }
5835
+ }
5836
+ }
5759
5837
  StoryLink: {
5760
5838
  payload: Prisma.$StoryLinkPayload<ExtArgs>
5761
5839
  fields: Prisma.StoryLinkFieldRefs
@@ -6052,6 +6130,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
6052
6130
  }
6053
6131
  }
6054
6132
  }
6133
+ StoryExternalLink: {
6134
+ payload: Prisma.$StoryExternalLinkPayload<ExtArgs>
6135
+ fields: Prisma.StoryExternalLinkFieldRefs
6136
+ operations: {
6137
+ findUnique: {
6138
+ args: Prisma.StoryExternalLinkFindUniqueArgs<ExtArgs>
6139
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload> | null
6140
+ }
6141
+ findUniqueOrThrow: {
6142
+ args: Prisma.StoryExternalLinkFindUniqueOrThrowArgs<ExtArgs>
6143
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6144
+ }
6145
+ findFirst: {
6146
+ args: Prisma.StoryExternalLinkFindFirstArgs<ExtArgs>
6147
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload> | null
6148
+ }
6149
+ findFirstOrThrow: {
6150
+ args: Prisma.StoryExternalLinkFindFirstOrThrowArgs<ExtArgs>
6151
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6152
+ }
6153
+ findMany: {
6154
+ args: Prisma.StoryExternalLinkFindManyArgs<ExtArgs>
6155
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
6156
+ }
6157
+ create: {
6158
+ args: Prisma.StoryExternalLinkCreateArgs<ExtArgs>
6159
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6160
+ }
6161
+ createMany: {
6162
+ args: Prisma.StoryExternalLinkCreateManyArgs<ExtArgs>
6163
+ result: BatchPayload
6164
+ }
6165
+ createManyAndReturn: {
6166
+ args: Prisma.StoryExternalLinkCreateManyAndReturnArgs<ExtArgs>
6167
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
6168
+ }
6169
+ delete: {
6170
+ args: Prisma.StoryExternalLinkDeleteArgs<ExtArgs>
6171
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6172
+ }
6173
+ update: {
6174
+ args: Prisma.StoryExternalLinkUpdateArgs<ExtArgs>
6175
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6176
+ }
6177
+ deleteMany: {
6178
+ args: Prisma.StoryExternalLinkDeleteManyArgs<ExtArgs>
6179
+ result: BatchPayload
6180
+ }
6181
+ updateMany: {
6182
+ args: Prisma.StoryExternalLinkUpdateManyArgs<ExtArgs>
6183
+ result: BatchPayload
6184
+ }
6185
+ updateManyAndReturn: {
6186
+ args: Prisma.StoryExternalLinkUpdateManyAndReturnArgs<ExtArgs>
6187
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
6188
+ }
6189
+ upsert: {
6190
+ args: Prisma.StoryExternalLinkUpsertArgs<ExtArgs>
6191
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
6192
+ }
6193
+ aggregate: {
6194
+ args: Prisma.StoryExternalLinkAggregateArgs<ExtArgs>
6195
+ result: runtime.Types.Utils.Optional<Prisma.AggregateStoryExternalLink>
6196
+ }
6197
+ groupBy: {
6198
+ args: Prisma.StoryExternalLinkGroupByArgs<ExtArgs>
6199
+ result: runtime.Types.Utils.Optional<Prisma.StoryExternalLinkGroupByOutputType>[]
6200
+ }
6201
+ count: {
6202
+ args: Prisma.StoryExternalLinkCountArgs<ExtArgs>
6203
+ result: runtime.Types.Utils.Optional<Prisma.StoryExternalLinkCountAggregateOutputType> | number
6204
+ }
6205
+ }
6206
+ }
6055
6207
  StoryFilterView: {
6056
6208
  payload: Prisma.$StoryFilterViewPayload<ExtArgs>
6057
6209
  fields: Prisma.StoryFilterViewFieldRefs
@@ -7828,6 +7980,154 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
7828
7980
  }
7829
7981
  }
7830
7982
  }
7983
+ Iteration: {
7984
+ payload: Prisma.$IterationPayload<ExtArgs>
7985
+ fields: Prisma.IterationFieldRefs
7986
+ operations: {
7987
+ findUnique: {
7988
+ args: Prisma.IterationFindUniqueArgs<ExtArgs>
7989
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload> | null
7990
+ }
7991
+ findUniqueOrThrow: {
7992
+ args: Prisma.IterationFindUniqueOrThrowArgs<ExtArgs>
7993
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
7994
+ }
7995
+ findFirst: {
7996
+ args: Prisma.IterationFindFirstArgs<ExtArgs>
7997
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload> | null
7998
+ }
7999
+ findFirstOrThrow: {
8000
+ args: Prisma.IterationFindFirstOrThrowArgs<ExtArgs>
8001
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
8002
+ }
8003
+ findMany: {
8004
+ args: Prisma.IterationFindManyArgs<ExtArgs>
8005
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
8006
+ }
8007
+ create: {
8008
+ args: Prisma.IterationCreateArgs<ExtArgs>
8009
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
8010
+ }
8011
+ createMany: {
8012
+ args: Prisma.IterationCreateManyArgs<ExtArgs>
8013
+ result: BatchPayload
8014
+ }
8015
+ createManyAndReturn: {
8016
+ args: Prisma.IterationCreateManyAndReturnArgs<ExtArgs>
8017
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
8018
+ }
8019
+ delete: {
8020
+ args: Prisma.IterationDeleteArgs<ExtArgs>
8021
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
8022
+ }
8023
+ update: {
8024
+ args: Prisma.IterationUpdateArgs<ExtArgs>
8025
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
8026
+ }
8027
+ deleteMany: {
8028
+ args: Prisma.IterationDeleteManyArgs<ExtArgs>
8029
+ result: BatchPayload
8030
+ }
8031
+ updateMany: {
8032
+ args: Prisma.IterationUpdateManyArgs<ExtArgs>
8033
+ result: BatchPayload
8034
+ }
8035
+ updateManyAndReturn: {
8036
+ args: Prisma.IterationUpdateManyAndReturnArgs<ExtArgs>
8037
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
8038
+ }
8039
+ upsert: {
8040
+ args: Prisma.IterationUpsertArgs<ExtArgs>
8041
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
8042
+ }
8043
+ aggregate: {
8044
+ args: Prisma.IterationAggregateArgs<ExtArgs>
8045
+ result: runtime.Types.Utils.Optional<Prisma.AggregateIteration>
8046
+ }
8047
+ groupBy: {
8048
+ args: Prisma.IterationGroupByArgs<ExtArgs>
8049
+ result: runtime.Types.Utils.Optional<Prisma.IterationGroupByOutputType>[]
8050
+ }
8051
+ count: {
8052
+ args: Prisma.IterationCountArgs<ExtArgs>
8053
+ result: runtime.Types.Utils.Optional<Prisma.IterationCountAggregateOutputType> | number
8054
+ }
8055
+ }
8056
+ }
8057
+ IterationAutoSchedule: {
8058
+ payload: Prisma.$IterationAutoSchedulePayload<ExtArgs>
8059
+ fields: Prisma.IterationAutoScheduleFieldRefs
8060
+ operations: {
8061
+ findUnique: {
8062
+ args: Prisma.IterationAutoScheduleFindUniqueArgs<ExtArgs>
8063
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload> | null
8064
+ }
8065
+ findUniqueOrThrow: {
8066
+ args: Prisma.IterationAutoScheduleFindUniqueOrThrowArgs<ExtArgs>
8067
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8068
+ }
8069
+ findFirst: {
8070
+ args: Prisma.IterationAutoScheduleFindFirstArgs<ExtArgs>
8071
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload> | null
8072
+ }
8073
+ findFirstOrThrow: {
8074
+ args: Prisma.IterationAutoScheduleFindFirstOrThrowArgs<ExtArgs>
8075
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8076
+ }
8077
+ findMany: {
8078
+ args: Prisma.IterationAutoScheduleFindManyArgs<ExtArgs>
8079
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
8080
+ }
8081
+ create: {
8082
+ args: Prisma.IterationAutoScheduleCreateArgs<ExtArgs>
8083
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8084
+ }
8085
+ createMany: {
8086
+ args: Prisma.IterationAutoScheduleCreateManyArgs<ExtArgs>
8087
+ result: BatchPayload
8088
+ }
8089
+ createManyAndReturn: {
8090
+ args: Prisma.IterationAutoScheduleCreateManyAndReturnArgs<ExtArgs>
8091
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
8092
+ }
8093
+ delete: {
8094
+ args: Prisma.IterationAutoScheduleDeleteArgs<ExtArgs>
8095
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8096
+ }
8097
+ update: {
8098
+ args: Prisma.IterationAutoScheduleUpdateArgs<ExtArgs>
8099
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8100
+ }
8101
+ deleteMany: {
8102
+ args: Prisma.IterationAutoScheduleDeleteManyArgs<ExtArgs>
8103
+ result: BatchPayload
8104
+ }
8105
+ updateMany: {
8106
+ args: Prisma.IterationAutoScheduleUpdateManyArgs<ExtArgs>
8107
+ result: BatchPayload
8108
+ }
8109
+ updateManyAndReturn: {
8110
+ args: Prisma.IterationAutoScheduleUpdateManyAndReturnArgs<ExtArgs>
8111
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
8112
+ }
8113
+ upsert: {
8114
+ args: Prisma.IterationAutoScheduleUpsertArgs<ExtArgs>
8115
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
8116
+ }
8117
+ aggregate: {
8118
+ args: Prisma.IterationAutoScheduleAggregateArgs<ExtArgs>
8119
+ result: runtime.Types.Utils.Optional<Prisma.AggregateIterationAutoSchedule>
8120
+ }
8121
+ groupBy: {
8122
+ args: Prisma.IterationAutoScheduleGroupByArgs<ExtArgs>
8123
+ result: runtime.Types.Utils.Optional<Prisma.IterationAutoScheduleGroupByOutputType>[]
8124
+ }
8125
+ count: {
8126
+ args: Prisma.IterationAutoScheduleCountArgs<ExtArgs>
8127
+ result: runtime.Types.Utils.Optional<Prisma.IterationAutoScheduleCountAggregateOutputType> | number
8128
+ }
8129
+ }
8130
+ }
7831
8131
  }
7832
8132
  } & {
7833
8133
  other: {
@@ -8875,7 +9175,8 @@ export const StoryScalarFieldEnum = {
8875
9175
  updatedById: 'updatedById',
8876
9176
  createdAt: 'createdAt',
8877
9177
  updatedAt: 'updatedAt',
8878
- parentId: 'parentId'
9178
+ parentId: 'parentId',
9179
+ iterationId: 'iterationId'
8879
9180
  } as const
8880
9181
 
8881
9182
  export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
@@ -8972,6 +9273,16 @@ export const StoryDependencyScalarFieldEnum = {
8972
9273
  export type StoryDependencyScalarFieldEnum = (typeof StoryDependencyScalarFieldEnum)[keyof typeof StoryDependencyScalarFieldEnum]
8973
9274
 
8974
9275
 
9276
+ export const ProjectKnowledgeBaseScalarFieldEnum = {
9277
+ id: 'id',
9278
+ projectId: 'projectId',
9279
+ kbId: 'kbId',
9280
+ createdAt: 'createdAt'
9281
+ } as const
9282
+
9283
+ export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
9284
+
9285
+
8975
9286
  export const StoryLinkScalarFieldEnum = {
8976
9287
  id: 'id',
8977
9288
  storyId: 'storyId',
@@ -8991,7 +9302,10 @@ export const StoryAttachmentScalarFieldEnum = {
8991
9302
  fileName: 'fileName',
8992
9303
  fileSize: 'fileSize',
8993
9304
  mimeType: 'mimeType',
9305
+ description: 'description',
8994
9306
  storageUrl: 'storageUrl',
9307
+ bytes: 'bytes',
9308
+ fileHash: 'fileHash',
8995
9309
  createdAt: 'createdAt'
8996
9310
  } as const
8997
9311
 
@@ -9018,6 +9332,17 @@ export const StoryDocLinkScalarFieldEnum = {
9018
9332
  export type StoryDocLinkScalarFieldEnum = (typeof StoryDocLinkScalarFieldEnum)[keyof typeof StoryDocLinkScalarFieldEnum]
9019
9333
 
9020
9334
 
9335
+ export const StoryExternalLinkScalarFieldEnum = {
9336
+ id: 'id',
9337
+ storyId: 'storyId',
9338
+ group: 'group',
9339
+ externalId: 'externalId',
9340
+ createdAt: 'createdAt'
9341
+ } as const
9342
+
9343
+ export type StoryExternalLinkScalarFieldEnum = (typeof StoryExternalLinkScalarFieldEnum)[keyof typeof StoryExternalLinkScalarFieldEnum]
9344
+
9345
+
9021
9346
  export const StoryFilterViewScalarFieldEnum = {
9022
9347
  id: 'id',
9023
9348
  userId: 'userId',
@@ -9408,6 +9733,38 @@ export const NotificationPreferenceScalarFieldEnum = {
9408
9733
  export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
9409
9734
 
9410
9735
 
9736
+ export const IterationScalarFieldEnum = {
9737
+ id: 'id',
9738
+ projectId: 'projectId',
9739
+ name: 'name',
9740
+ description: 'description',
9741
+ startDate: 'startDate',
9742
+ endDate: 'endDate',
9743
+ archived: 'archived',
9744
+ archivedAt: 'archivedAt',
9745
+ createdById: 'createdById',
9746
+ createdAt: 'createdAt',
9747
+ updatedAt: 'updatedAt'
9748
+ } as const
9749
+
9750
+ export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
9751
+
9752
+
9753
+ export const IterationAutoScheduleScalarFieldEnum = {
9754
+ projectId: 'projectId',
9755
+ enabled: 'enabled',
9756
+ title: 'title',
9757
+ durationDays: 'durationDays',
9758
+ cooldownDays: 'cooldownDays',
9759
+ startsOn: 'startsOn',
9760
+ futureCount: 'futureCount',
9761
+ autoRollover: 'autoRollover',
9762
+ lastSeq: 'lastSeq'
9763
+ } as const
9764
+
9765
+ export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
9766
+
9767
+
9411
9768
  export const SortOrder = {
9412
9769
  asc: 'asc',
9413
9770
  desc: 'desc'
@@ -9651,6 +10008,20 @@ export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaMod
9651
10008
 
9652
10009
 
9653
10010
 
10011
+ /**
10012
+ * Reference to a field of type 'Bytes'
10013
+ */
10014
+ export type BytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes'>
10015
+
10016
+
10017
+
10018
+ /**
10019
+ * Reference to a field of type 'Bytes[]'
10020
+ */
10021
+ export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes[]'>
10022
+
10023
+
10024
+
9654
10025
  /**
9655
10026
  * Reference to a field of type 'SubscriptionStatus'
9656
10027
  */
@@ -9873,10 +10244,12 @@ export type GlobalOmitConfig = {
9873
10244
  storyReaction?: Prisma.StoryReactionOmit
9874
10245
  commentReaction?: Prisma.CommentReactionOmit
9875
10246
  storyDependency?: Prisma.StoryDependencyOmit
10247
+ projectKnowledgeBase?: Prisma.ProjectKnowledgeBaseOmit
9876
10248
  storyLink?: Prisma.StoryLinkOmit
9877
10249
  storyAttachment?: Prisma.StoryAttachmentOmit
9878
10250
  storyPrdLink?: Prisma.StoryPrdLinkOmit
9879
10251
  storyDocLink?: Prisma.StoryDocLinkOmit
10252
+ storyExternalLink?: Prisma.StoryExternalLinkOmit
9880
10253
  storyFilterView?: Prisma.StoryFilterViewOmit
9881
10254
  monitoringRequestLog?: Prisma.MonitoringRequestLogOmit
9882
10255
  monitoringErrorReport?: Prisma.MonitoringErrorReportOmit
@@ -9901,6 +10274,8 @@ export type GlobalOmitConfig = {
9901
10274
  developerLog?: Prisma.DeveloperLogOmit
9902
10275
  notification?: Prisma.NotificationOmit
9903
10276
  notificationPreference?: Prisma.NotificationPreferenceOmit
10277
+ iteration?: Prisma.IterationOmit
10278
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleOmit
9904
10279
  }
9905
10280
 
9906
10281
  /* Types for Logging */
@@ -122,10 +122,12 @@ export const ModelName = {
122
122
  StoryReaction: 'StoryReaction',
123
123
  CommentReaction: 'CommentReaction',
124
124
  StoryDependency: 'StoryDependency',
125
+ ProjectKnowledgeBase: 'ProjectKnowledgeBase',
125
126
  StoryLink: 'StoryLink',
126
127
  StoryAttachment: 'StoryAttachment',
127
128
  StoryPrdLink: 'StoryPrdLink',
128
129
  StoryDocLink: 'StoryDocLink',
130
+ StoryExternalLink: 'StoryExternalLink',
129
131
  StoryFilterView: 'StoryFilterView',
130
132
  MonitoringRequestLog: 'MonitoringRequestLog',
131
133
  MonitoringErrorReport: 'MonitoringErrorReport',
@@ -149,7 +151,9 @@ export const ModelName = {
149
151
  UserSkill: 'UserSkill',
150
152
  DeveloperLog: 'DeveloperLog',
151
153
  Notification: 'Notification',
152
- NotificationPreference: 'NotificationPreference'
154
+ NotificationPreference: 'NotificationPreference',
155
+ Iteration: 'Iteration',
156
+ IterationAutoSchedule: 'IterationAutoSchedule'
153
157
  } as const
154
158
 
155
159
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -1176,7 +1180,8 @@ export const StoryScalarFieldEnum = {
1176
1180
  updatedById: 'updatedById',
1177
1181
  createdAt: 'createdAt',
1178
1182
  updatedAt: 'updatedAt',
1179
- parentId: 'parentId'
1183
+ parentId: 'parentId',
1184
+ iterationId: 'iterationId'
1180
1185
  } as const
1181
1186
 
1182
1187
  export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
@@ -1273,6 +1278,16 @@ export const StoryDependencyScalarFieldEnum = {
1273
1278
  export type StoryDependencyScalarFieldEnum = (typeof StoryDependencyScalarFieldEnum)[keyof typeof StoryDependencyScalarFieldEnum]
1274
1279
 
1275
1280
 
1281
+ export const ProjectKnowledgeBaseScalarFieldEnum = {
1282
+ id: 'id',
1283
+ projectId: 'projectId',
1284
+ kbId: 'kbId',
1285
+ createdAt: 'createdAt'
1286
+ } as const
1287
+
1288
+ export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
1289
+
1290
+
1276
1291
  export const StoryLinkScalarFieldEnum = {
1277
1292
  id: 'id',
1278
1293
  storyId: 'storyId',
@@ -1292,7 +1307,10 @@ export const StoryAttachmentScalarFieldEnum = {
1292
1307
  fileName: 'fileName',
1293
1308
  fileSize: 'fileSize',
1294
1309
  mimeType: 'mimeType',
1310
+ description: 'description',
1295
1311
  storageUrl: 'storageUrl',
1312
+ bytes: 'bytes',
1313
+ fileHash: 'fileHash',
1296
1314
  createdAt: 'createdAt'
1297
1315
  } as const
1298
1316
 
@@ -1319,6 +1337,17 @@ export const StoryDocLinkScalarFieldEnum = {
1319
1337
  export type StoryDocLinkScalarFieldEnum = (typeof StoryDocLinkScalarFieldEnum)[keyof typeof StoryDocLinkScalarFieldEnum]
1320
1338
 
1321
1339
 
1340
+ export const StoryExternalLinkScalarFieldEnum = {
1341
+ id: 'id',
1342
+ storyId: 'storyId',
1343
+ group: 'group',
1344
+ externalId: 'externalId',
1345
+ createdAt: 'createdAt'
1346
+ } as const
1347
+
1348
+ export type StoryExternalLinkScalarFieldEnum = (typeof StoryExternalLinkScalarFieldEnum)[keyof typeof StoryExternalLinkScalarFieldEnum]
1349
+
1350
+
1322
1351
  export const StoryFilterViewScalarFieldEnum = {
1323
1352
  id: 'id',
1324
1353
  userId: 'userId',
@@ -1709,6 +1738,38 @@ export const NotificationPreferenceScalarFieldEnum = {
1709
1738
  export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
1710
1739
 
1711
1740
 
1741
+ export const IterationScalarFieldEnum = {
1742
+ id: 'id',
1743
+ projectId: 'projectId',
1744
+ name: 'name',
1745
+ description: 'description',
1746
+ startDate: 'startDate',
1747
+ endDate: 'endDate',
1748
+ archived: 'archived',
1749
+ archivedAt: 'archivedAt',
1750
+ createdById: 'createdById',
1751
+ createdAt: 'createdAt',
1752
+ updatedAt: 'updatedAt'
1753
+ } as const
1754
+
1755
+ export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
1756
+
1757
+
1758
+ export const IterationAutoScheduleScalarFieldEnum = {
1759
+ projectId: 'projectId',
1760
+ enabled: 'enabled',
1761
+ title: 'title',
1762
+ durationDays: 'durationDays',
1763
+ cooldownDays: 'cooldownDays',
1764
+ startsOn: 'startsOn',
1765
+ futureCount: 'futureCount',
1766
+ autoRollover: 'autoRollover',
1767
+ lastSeq: 'lastSeq'
1768
+ } as const
1769
+
1770
+ export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
1771
+
1772
+
1712
1773
  export const SortOrder = {
1713
1774
  asc: 'asc',
1714
1775
  desc: 'desc'