@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
@@ -372,6 +372,11 @@ export type CommentReaction = Prisma.CommentReactionModel
372
372
  *
373
373
  */
374
374
  export type StoryDependency = Prisma.StoryDependencyModel
375
+ /**
376
+ * Model ProjectKnowledgeBase
377
+ *
378
+ */
379
+ export type ProjectKnowledgeBase = Prisma.ProjectKnowledgeBaseModel
375
380
  /**
376
381
  * Model StoryLink
377
382
  *
@@ -392,6 +397,11 @@ export type StoryPrdLink = Prisma.StoryPrdLinkModel
392
397
  *
393
398
  */
394
399
  export type StoryDocLink = Prisma.StoryDocLinkModel
400
+ /**
401
+ * Model StoryExternalLink
402
+ *
403
+ */
404
+ export type StoryExternalLink = Prisma.StoryExternalLinkModel
395
405
  /**
396
406
  * Model StoryFilterView
397
407
  *
@@ -396,6 +396,11 @@ export type CommentReaction = Prisma.CommentReactionModel
396
396
  *
397
397
  */
398
398
  export type StoryDependency = Prisma.StoryDependencyModel
399
+ /**
400
+ * Model ProjectKnowledgeBase
401
+ *
402
+ */
403
+ export type ProjectKnowledgeBase = Prisma.ProjectKnowledgeBaseModel
399
404
  /**
400
405
  * Model StoryLink
401
406
  *
@@ -416,6 +421,11 @@ export type StoryPrdLink = Prisma.StoryPrdLinkModel
416
421
  *
417
422
  */
418
423
  export type StoryDocLink = Prisma.StoryDocLinkModel
424
+ /**
425
+ * Model StoryExternalLink
426
+ *
427
+ */
428
+ export type StoryExternalLink = Prisma.StoryExternalLinkModel
419
429
  /**
420
430
  * Model StoryFilterView
421
431
  *
@@ -488,6 +488,13 @@ export type BigIntFilter<$PrismaModel = never> = {
488
488
  not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number
489
489
  }
490
490
 
491
+ export type BytesNullableFilter<$PrismaModel = never> = {
492
+ equals?: runtime.Bytes | Prisma.BytesFieldRefInput<$PrismaModel> | null
493
+ in?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
494
+ notIn?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
495
+ not?: Prisma.NestedBytesNullableFilter<$PrismaModel> | runtime.Bytes | null
496
+ }
497
+
491
498
  export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
492
499
  equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
493
500
  in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>
@@ -504,6 +511,16 @@ export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
504
511
  _max?: Prisma.NestedBigIntFilter<$PrismaModel>
505
512
  }
506
513
 
514
+ export type BytesNullableWithAggregatesFilter<$PrismaModel = never> = {
515
+ equals?: runtime.Bytes | Prisma.BytesFieldRefInput<$PrismaModel> | null
516
+ in?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
517
+ notIn?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
518
+ not?: Prisma.NestedBytesNullableWithAggregatesFilter<$PrismaModel> | runtime.Bytes | null
519
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
520
+ _min?: Prisma.NestedBytesNullableFilter<$PrismaModel>
521
+ _max?: Prisma.NestedBytesNullableFilter<$PrismaModel>
522
+ }
523
+
507
524
  export type EnumSubscriptionStatusFilter<$PrismaModel = never> = {
508
525
  equals?: $Enums.SubscriptionStatus | Prisma.EnumSubscriptionStatusFieldRefInput<$PrismaModel>
509
526
  in?: $Enums.SubscriptionStatus[] | Prisma.ListEnumSubscriptionStatusFieldRefInput<$PrismaModel>
@@ -976,6 +993,13 @@ export type NestedBigIntFilter<$PrismaModel = never> = {
976
993
  not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number
977
994
  }
978
995
 
996
+ export type NestedBytesNullableFilter<$PrismaModel = never> = {
997
+ equals?: runtime.Bytes | Prisma.BytesFieldRefInput<$PrismaModel> | null
998
+ in?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
999
+ notIn?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
1000
+ not?: Prisma.NestedBytesNullableFilter<$PrismaModel> | runtime.Bytes | null
1001
+ }
1002
+
979
1003
  export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
980
1004
  equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
981
1005
  in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>
@@ -992,6 +1016,16 @@ export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
992
1016
  _max?: Prisma.NestedBigIntFilter<$PrismaModel>
993
1017
  }
994
1018
 
1019
+ export type NestedBytesNullableWithAggregatesFilter<$PrismaModel = never> = {
1020
+ equals?: runtime.Bytes | Prisma.BytesFieldRefInput<$PrismaModel> | null
1021
+ in?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
1022
+ notIn?: runtime.Bytes[] | Prisma.ListBytesFieldRefInput<$PrismaModel> | null
1023
+ not?: Prisma.NestedBytesNullableWithAggregatesFilter<$PrismaModel> | runtime.Bytes | null
1024
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
1025
+ _min?: Prisma.NestedBytesNullableFilter<$PrismaModel>
1026
+ _max?: Prisma.NestedBytesNullableFilter<$PrismaModel>
1027
+ }
1028
+
995
1029
  export type NestedEnumSubscriptionStatusFilter<$PrismaModel = never> = {
996
1030
  equals?: $Enums.SubscriptionStatus | Prisma.EnumSubscriptionStatusFieldRefInput<$PrismaModel>
997
1031
  in?: $Enums.SubscriptionStatus[] | Prisma.ListEnumSubscriptionStatusFieldRefInput<$PrismaModel>