@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
@@ -403,6 +403,7 @@ export const ModelName = {
403
403
  InvitationUse: 'InvitationUse',
404
404
  PasswordResetToken: 'PasswordResetToken',
405
405
  KnowledgeBase: 'KnowledgeBase',
406
+ ProjectKnowledgeBase: 'ProjectKnowledgeBase',
406
407
  KnowledgeDocument: 'KnowledgeDocument',
407
408
  PRD: 'PRD',
408
409
  AgentConversation: 'AgentConversation',
@@ -461,7 +462,10 @@ export const ModelName = {
461
462
  ComplianceExport: 'ComplianceExport',
462
463
  UserAgent: 'UserAgent',
463
464
  UserSkill: 'UserSkill',
464
- DeveloperLog: 'DeveloperLog'
465
+ DeveloperLog: 'DeveloperLog',
466
+ Story: 'Story',
467
+ Iteration: 'Iteration',
468
+ IterationAutoSchedule: 'IterationAutoSchedule'
465
469
  } as const
466
470
 
467
471
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -477,7 +481,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
477
481
  omit: GlobalOmitOptions
478
482
  }
479
483
  meta: {
480
- modelProps: "systemSetting" | "user" | "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" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog"
484
+ modelProps: "systemSetting" | "user" | "project" | "projectMember" | "workspace" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "knowledgeBase" | "projectKnowledgeBase" | "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" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog" | "story" | "iteration" | "iterationAutoSchedule"
481
485
  txIsolationLevel: TransactionIsolationLevel
482
486
  }
483
487
  model: {
@@ -1887,6 +1891,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
1887
1891
  }
1888
1892
  }
1889
1893
  }
1894
+ ProjectKnowledgeBase: {
1895
+ payload: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>
1896
+ fields: Prisma.ProjectKnowledgeBaseFieldRefs
1897
+ operations: {
1898
+ findUnique: {
1899
+ args: Prisma.ProjectKnowledgeBaseFindUniqueArgs<ExtArgs>
1900
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
1901
+ }
1902
+ findUniqueOrThrow: {
1903
+ args: Prisma.ProjectKnowledgeBaseFindUniqueOrThrowArgs<ExtArgs>
1904
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1905
+ }
1906
+ findFirst: {
1907
+ args: Prisma.ProjectKnowledgeBaseFindFirstArgs<ExtArgs>
1908
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
1909
+ }
1910
+ findFirstOrThrow: {
1911
+ args: Prisma.ProjectKnowledgeBaseFindFirstOrThrowArgs<ExtArgs>
1912
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1913
+ }
1914
+ findMany: {
1915
+ args: Prisma.ProjectKnowledgeBaseFindManyArgs<ExtArgs>
1916
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
1917
+ }
1918
+ create: {
1919
+ args: Prisma.ProjectKnowledgeBaseCreateArgs<ExtArgs>
1920
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1921
+ }
1922
+ createMany: {
1923
+ args: Prisma.ProjectKnowledgeBaseCreateManyArgs<ExtArgs>
1924
+ result: BatchPayload
1925
+ }
1926
+ createManyAndReturn: {
1927
+ args: Prisma.ProjectKnowledgeBaseCreateManyAndReturnArgs<ExtArgs>
1928
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
1929
+ }
1930
+ delete: {
1931
+ args: Prisma.ProjectKnowledgeBaseDeleteArgs<ExtArgs>
1932
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1933
+ }
1934
+ update: {
1935
+ args: Prisma.ProjectKnowledgeBaseUpdateArgs<ExtArgs>
1936
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1937
+ }
1938
+ deleteMany: {
1939
+ args: Prisma.ProjectKnowledgeBaseDeleteManyArgs<ExtArgs>
1940
+ result: BatchPayload
1941
+ }
1942
+ updateMany: {
1943
+ args: Prisma.ProjectKnowledgeBaseUpdateManyArgs<ExtArgs>
1944
+ result: BatchPayload
1945
+ }
1946
+ updateManyAndReturn: {
1947
+ args: Prisma.ProjectKnowledgeBaseUpdateManyAndReturnArgs<ExtArgs>
1948
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
1949
+ }
1950
+ upsert: {
1951
+ args: Prisma.ProjectKnowledgeBaseUpsertArgs<ExtArgs>
1952
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
1953
+ }
1954
+ aggregate: {
1955
+ args: Prisma.ProjectKnowledgeBaseAggregateArgs<ExtArgs>
1956
+ result: runtime.Types.Utils.Optional<Prisma.AggregateProjectKnowledgeBase>
1957
+ }
1958
+ groupBy: {
1959
+ args: Prisma.ProjectKnowledgeBaseGroupByArgs<ExtArgs>
1960
+ result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseGroupByOutputType>[]
1961
+ }
1962
+ count: {
1963
+ args: Prisma.ProjectKnowledgeBaseCountArgs<ExtArgs>
1964
+ result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseCountAggregateOutputType> | number
1965
+ }
1966
+ }
1967
+ }
1890
1968
  KnowledgeDocument: {
1891
1969
  payload: Prisma.$KnowledgeDocumentPayload<ExtArgs>
1892
1970
  fields: Prisma.KnowledgeDocumentFieldRefs
@@ -6253,6 +6331,228 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
6253
6331
  }
6254
6332
  }
6255
6333
  }
6334
+ Story: {
6335
+ payload: Prisma.$StoryPayload<ExtArgs>
6336
+ fields: Prisma.StoryFieldRefs
6337
+ operations: {
6338
+ findUnique: {
6339
+ args: Prisma.StoryFindUniqueArgs<ExtArgs>
6340
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload> | null
6341
+ }
6342
+ findUniqueOrThrow: {
6343
+ args: Prisma.StoryFindUniqueOrThrowArgs<ExtArgs>
6344
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6345
+ }
6346
+ findFirst: {
6347
+ args: Prisma.StoryFindFirstArgs<ExtArgs>
6348
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload> | null
6349
+ }
6350
+ findFirstOrThrow: {
6351
+ args: Prisma.StoryFindFirstOrThrowArgs<ExtArgs>
6352
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6353
+ }
6354
+ findMany: {
6355
+ args: Prisma.StoryFindManyArgs<ExtArgs>
6356
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>[]
6357
+ }
6358
+ create: {
6359
+ args: Prisma.StoryCreateArgs<ExtArgs>
6360
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6361
+ }
6362
+ createMany: {
6363
+ args: Prisma.StoryCreateManyArgs<ExtArgs>
6364
+ result: BatchPayload
6365
+ }
6366
+ createManyAndReturn: {
6367
+ args: Prisma.StoryCreateManyAndReturnArgs<ExtArgs>
6368
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>[]
6369
+ }
6370
+ delete: {
6371
+ args: Prisma.StoryDeleteArgs<ExtArgs>
6372
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6373
+ }
6374
+ update: {
6375
+ args: Prisma.StoryUpdateArgs<ExtArgs>
6376
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6377
+ }
6378
+ deleteMany: {
6379
+ args: Prisma.StoryDeleteManyArgs<ExtArgs>
6380
+ result: BatchPayload
6381
+ }
6382
+ updateMany: {
6383
+ args: Prisma.StoryUpdateManyArgs<ExtArgs>
6384
+ result: BatchPayload
6385
+ }
6386
+ updateManyAndReturn: {
6387
+ args: Prisma.StoryUpdateManyAndReturnArgs<ExtArgs>
6388
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>[]
6389
+ }
6390
+ upsert: {
6391
+ args: Prisma.StoryUpsertArgs<ExtArgs>
6392
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryPayload>
6393
+ }
6394
+ aggregate: {
6395
+ args: Prisma.StoryAggregateArgs<ExtArgs>
6396
+ result: runtime.Types.Utils.Optional<Prisma.AggregateStory>
6397
+ }
6398
+ groupBy: {
6399
+ args: Prisma.StoryGroupByArgs<ExtArgs>
6400
+ result: runtime.Types.Utils.Optional<Prisma.StoryGroupByOutputType>[]
6401
+ }
6402
+ count: {
6403
+ args: Prisma.StoryCountArgs<ExtArgs>
6404
+ result: runtime.Types.Utils.Optional<Prisma.StoryCountAggregateOutputType> | number
6405
+ }
6406
+ }
6407
+ }
6408
+ Iteration: {
6409
+ payload: Prisma.$IterationPayload<ExtArgs>
6410
+ fields: Prisma.IterationFieldRefs
6411
+ operations: {
6412
+ findUnique: {
6413
+ args: Prisma.IterationFindUniqueArgs<ExtArgs>
6414
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload> | null
6415
+ }
6416
+ findUniqueOrThrow: {
6417
+ args: Prisma.IterationFindUniqueOrThrowArgs<ExtArgs>
6418
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6419
+ }
6420
+ findFirst: {
6421
+ args: Prisma.IterationFindFirstArgs<ExtArgs>
6422
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload> | null
6423
+ }
6424
+ findFirstOrThrow: {
6425
+ args: Prisma.IterationFindFirstOrThrowArgs<ExtArgs>
6426
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6427
+ }
6428
+ findMany: {
6429
+ args: Prisma.IterationFindManyArgs<ExtArgs>
6430
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
6431
+ }
6432
+ create: {
6433
+ args: Prisma.IterationCreateArgs<ExtArgs>
6434
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6435
+ }
6436
+ createMany: {
6437
+ args: Prisma.IterationCreateManyArgs<ExtArgs>
6438
+ result: BatchPayload
6439
+ }
6440
+ createManyAndReturn: {
6441
+ args: Prisma.IterationCreateManyAndReturnArgs<ExtArgs>
6442
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
6443
+ }
6444
+ delete: {
6445
+ args: Prisma.IterationDeleteArgs<ExtArgs>
6446
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6447
+ }
6448
+ update: {
6449
+ args: Prisma.IterationUpdateArgs<ExtArgs>
6450
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6451
+ }
6452
+ deleteMany: {
6453
+ args: Prisma.IterationDeleteManyArgs<ExtArgs>
6454
+ result: BatchPayload
6455
+ }
6456
+ updateMany: {
6457
+ args: Prisma.IterationUpdateManyArgs<ExtArgs>
6458
+ result: BatchPayload
6459
+ }
6460
+ updateManyAndReturn: {
6461
+ args: Prisma.IterationUpdateManyAndReturnArgs<ExtArgs>
6462
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>[]
6463
+ }
6464
+ upsert: {
6465
+ args: Prisma.IterationUpsertArgs<ExtArgs>
6466
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationPayload>
6467
+ }
6468
+ aggregate: {
6469
+ args: Prisma.IterationAggregateArgs<ExtArgs>
6470
+ result: runtime.Types.Utils.Optional<Prisma.AggregateIteration>
6471
+ }
6472
+ groupBy: {
6473
+ args: Prisma.IterationGroupByArgs<ExtArgs>
6474
+ result: runtime.Types.Utils.Optional<Prisma.IterationGroupByOutputType>[]
6475
+ }
6476
+ count: {
6477
+ args: Prisma.IterationCountArgs<ExtArgs>
6478
+ result: runtime.Types.Utils.Optional<Prisma.IterationCountAggregateOutputType> | number
6479
+ }
6480
+ }
6481
+ }
6482
+ IterationAutoSchedule: {
6483
+ payload: Prisma.$IterationAutoSchedulePayload<ExtArgs>
6484
+ fields: Prisma.IterationAutoScheduleFieldRefs
6485
+ operations: {
6486
+ findUnique: {
6487
+ args: Prisma.IterationAutoScheduleFindUniqueArgs<ExtArgs>
6488
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload> | null
6489
+ }
6490
+ findUniqueOrThrow: {
6491
+ args: Prisma.IterationAutoScheduleFindUniqueOrThrowArgs<ExtArgs>
6492
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6493
+ }
6494
+ findFirst: {
6495
+ args: Prisma.IterationAutoScheduleFindFirstArgs<ExtArgs>
6496
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload> | null
6497
+ }
6498
+ findFirstOrThrow: {
6499
+ args: Prisma.IterationAutoScheduleFindFirstOrThrowArgs<ExtArgs>
6500
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6501
+ }
6502
+ findMany: {
6503
+ args: Prisma.IterationAutoScheduleFindManyArgs<ExtArgs>
6504
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
6505
+ }
6506
+ create: {
6507
+ args: Prisma.IterationAutoScheduleCreateArgs<ExtArgs>
6508
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6509
+ }
6510
+ createMany: {
6511
+ args: Prisma.IterationAutoScheduleCreateManyArgs<ExtArgs>
6512
+ result: BatchPayload
6513
+ }
6514
+ createManyAndReturn: {
6515
+ args: Prisma.IterationAutoScheduleCreateManyAndReturnArgs<ExtArgs>
6516
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
6517
+ }
6518
+ delete: {
6519
+ args: Prisma.IterationAutoScheduleDeleteArgs<ExtArgs>
6520
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6521
+ }
6522
+ update: {
6523
+ args: Prisma.IterationAutoScheduleUpdateArgs<ExtArgs>
6524
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6525
+ }
6526
+ deleteMany: {
6527
+ args: Prisma.IterationAutoScheduleDeleteManyArgs<ExtArgs>
6528
+ result: BatchPayload
6529
+ }
6530
+ updateMany: {
6531
+ args: Prisma.IterationAutoScheduleUpdateManyArgs<ExtArgs>
6532
+ result: BatchPayload
6533
+ }
6534
+ updateManyAndReturn: {
6535
+ args: Prisma.IterationAutoScheduleUpdateManyAndReturnArgs<ExtArgs>
6536
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>[]
6537
+ }
6538
+ upsert: {
6539
+ args: Prisma.IterationAutoScheduleUpsertArgs<ExtArgs>
6540
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$IterationAutoSchedulePayload>
6541
+ }
6542
+ aggregate: {
6543
+ args: Prisma.IterationAutoScheduleAggregateArgs<ExtArgs>
6544
+ result: runtime.Types.Utils.Optional<Prisma.AggregateIterationAutoSchedule>
6545
+ }
6546
+ groupBy: {
6547
+ args: Prisma.IterationAutoScheduleGroupByArgs<ExtArgs>
6548
+ result: runtime.Types.Utils.Optional<Prisma.IterationAutoScheduleGroupByOutputType>[]
6549
+ }
6550
+ count: {
6551
+ args: Prisma.IterationAutoScheduleCountArgs<ExtArgs>
6552
+ result: runtime.Types.Utils.Optional<Prisma.IterationAutoScheduleCountAggregateOutputType> | number
6553
+ }
6554
+ }
6555
+ }
6256
6556
  }
6257
6557
  } & {
6258
6558
  other: {
@@ -6567,6 +6867,16 @@ export const KnowledgeBaseScalarFieldEnum = {
6567
6867
  export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
6568
6868
 
6569
6869
 
6870
+ export const ProjectKnowledgeBaseScalarFieldEnum = {
6871
+ id: 'id',
6872
+ projectId: 'projectId',
6873
+ kbId: 'kbId',
6874
+ createdAt: 'createdAt'
6875
+ } as const
6876
+
6877
+ export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
6878
+
6879
+
6570
6880
  export const KnowledgeDocumentScalarFieldEnum = {
6571
6881
  id: 'id',
6572
6882
  kbId: 'kbId',
@@ -7546,6 +7856,64 @@ export const DeveloperLogScalarFieldEnum = {
7546
7856
  export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
7547
7857
 
7548
7858
 
7859
+ export const StoryScalarFieldEnum = {
7860
+ id: 'id',
7861
+ sequenceId: 'sequenceId',
7862
+ boardOrder: 'boardOrder',
7863
+ identifier: 'identifier',
7864
+ projectId: 'projectId',
7865
+ name: 'name',
7866
+ description: 'description',
7867
+ state: 'state',
7868
+ priority: 'priority',
7869
+ archived: 'archived',
7870
+ archivedAt: 'archivedAt',
7871
+ assigneeId: 'assigneeId',
7872
+ startDate: 'startDate',
7873
+ targetDate: 'targetDate',
7874
+ createdById: 'createdById',
7875
+ updatedById: 'updatedById',
7876
+ parentId: 'parentId',
7877
+ iterationId: 'iterationId',
7878
+ createdAt: 'createdAt',
7879
+ updatedAt: 'updatedAt'
7880
+ } as const
7881
+
7882
+ export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
7883
+
7884
+
7885
+ export const IterationScalarFieldEnum = {
7886
+ id: 'id',
7887
+ projectId: 'projectId',
7888
+ name: 'name',
7889
+ description: 'description',
7890
+ startDate: 'startDate',
7891
+ endDate: 'endDate',
7892
+ archived: 'archived',
7893
+ archivedAt: 'archivedAt',
7894
+ createdById: 'createdById',
7895
+ createdAt: 'createdAt',
7896
+ updatedAt: 'updatedAt'
7897
+ } as const
7898
+
7899
+ export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
7900
+
7901
+
7902
+ export const IterationAutoScheduleScalarFieldEnum = {
7903
+ projectId: 'projectId',
7904
+ enabled: 'enabled',
7905
+ title: 'title',
7906
+ durationDays: 'durationDays',
7907
+ cooldownDays: 'cooldownDays',
7908
+ startsOn: 'startsOn',
7909
+ futureCount: 'futureCount',
7910
+ autoRollover: 'autoRollover',
7911
+ lastSeq: 'lastSeq'
7912
+ } as const
7913
+
7914
+ export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
7915
+
7916
+
7549
7917
  export const SortOrder = {
7550
7918
  asc: 'asc',
7551
7919
  desc: 'desc'
@@ -7777,6 +8145,7 @@ export type GlobalOmitConfig = {
7777
8145
  invitationUse?: Prisma.InvitationUseOmit
7778
8146
  passwordResetToken?: Prisma.PasswordResetTokenOmit
7779
8147
  knowledgeBase?: Prisma.KnowledgeBaseOmit
8148
+ projectKnowledgeBase?: Prisma.ProjectKnowledgeBaseOmit
7780
8149
  knowledgeDocument?: Prisma.KnowledgeDocumentOmit
7781
8150
  pRD?: Prisma.PRDOmit
7782
8151
  agentConversation?: Prisma.AgentConversationOmit
@@ -7836,6 +8205,9 @@ export type GlobalOmitConfig = {
7836
8205
  userAgent?: Prisma.UserAgentOmit
7837
8206
  userSkill?: Prisma.UserSkillOmit
7838
8207
  developerLog?: Prisma.DeveloperLogOmit
8208
+ story?: Prisma.StoryOmit
8209
+ iteration?: Prisma.IterationOmit
8210
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleOmit
7839
8211
  }
7840
8212
 
7841
8213
  /* Types for Logging */
@@ -70,6 +70,7 @@ export const ModelName = {
70
70
  InvitationUse: 'InvitationUse',
71
71
  PasswordResetToken: 'PasswordResetToken',
72
72
  KnowledgeBase: 'KnowledgeBase',
73
+ ProjectKnowledgeBase: 'ProjectKnowledgeBase',
73
74
  KnowledgeDocument: 'KnowledgeDocument',
74
75
  PRD: 'PRD',
75
76
  AgentConversation: 'AgentConversation',
@@ -128,7 +129,10 @@ export const ModelName = {
128
129
  ComplianceExport: 'ComplianceExport',
129
130
  UserAgent: 'UserAgent',
130
131
  UserSkill: 'UserSkill',
131
- DeveloperLog: 'DeveloperLog'
132
+ DeveloperLog: 'DeveloperLog',
133
+ Story: 'Story',
134
+ Iteration: 'Iteration',
135
+ IterationAutoSchedule: 'IterationAutoSchedule'
132
136
  } as const
133
137
 
134
138
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -422,6 +426,16 @@ export const KnowledgeBaseScalarFieldEnum = {
422
426
  export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
423
427
 
424
428
 
429
+ export const ProjectKnowledgeBaseScalarFieldEnum = {
430
+ id: 'id',
431
+ projectId: 'projectId',
432
+ kbId: 'kbId',
433
+ createdAt: 'createdAt'
434
+ } as const
435
+
436
+ export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
437
+
438
+
425
439
  export const KnowledgeDocumentScalarFieldEnum = {
426
440
  id: 'id',
427
441
  kbId: 'kbId',
@@ -1401,6 +1415,64 @@ export const DeveloperLogScalarFieldEnum = {
1401
1415
  export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
1402
1416
 
1403
1417
 
1418
+ export const StoryScalarFieldEnum = {
1419
+ id: 'id',
1420
+ sequenceId: 'sequenceId',
1421
+ boardOrder: 'boardOrder',
1422
+ identifier: 'identifier',
1423
+ projectId: 'projectId',
1424
+ name: 'name',
1425
+ description: 'description',
1426
+ state: 'state',
1427
+ priority: 'priority',
1428
+ archived: 'archived',
1429
+ archivedAt: 'archivedAt',
1430
+ assigneeId: 'assigneeId',
1431
+ startDate: 'startDate',
1432
+ targetDate: 'targetDate',
1433
+ createdById: 'createdById',
1434
+ updatedById: 'updatedById',
1435
+ parentId: 'parentId',
1436
+ iterationId: 'iterationId',
1437
+ createdAt: 'createdAt',
1438
+ updatedAt: 'updatedAt'
1439
+ } as const
1440
+
1441
+ export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
1442
+
1443
+
1444
+ export const IterationScalarFieldEnum = {
1445
+ id: 'id',
1446
+ projectId: 'projectId',
1447
+ name: 'name',
1448
+ description: 'description',
1449
+ startDate: 'startDate',
1450
+ endDate: 'endDate',
1451
+ archived: 'archived',
1452
+ archivedAt: 'archivedAt',
1453
+ createdById: 'createdById',
1454
+ createdAt: 'createdAt',
1455
+ updatedAt: 'updatedAt'
1456
+ } as const
1457
+
1458
+ export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
1459
+
1460
+
1461
+ export const IterationAutoScheduleScalarFieldEnum = {
1462
+ projectId: 'projectId',
1463
+ enabled: 'enabled',
1464
+ title: 'title',
1465
+ durationDays: 'durationDays',
1466
+ cooldownDays: 'cooldownDays',
1467
+ startsOn: 'startsOn',
1468
+ futureCount: 'futureCount',
1469
+ autoRollover: 'autoRollover',
1470
+ lastSeq: 'lastSeq'
1471
+ } as const
1472
+
1473
+ export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
1474
+
1475
+
1404
1476
  export const SortOrder = {
1405
1477
  asc: 'asc',
1406
1478
  desc: 'desc'