@allbluecn/database 0.4.14 → 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.
- package/generated/browser.ts +10 -0
- package/generated/client.ts +10 -0
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +2 -2
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +191 -1
- package/generated/internal/prismaNamespaceBrowser.ts +26 -0
- package/generated/models/KnowledgeBase.ts +138 -0
- package/generated/models/Project.ts +158 -0
- package/generated/models/ProjectKnowledgeBase.ts +1430 -0
- package/generated/models/Story.ts +270 -0
- package/generated/models/StoryAttachment.ts +110 -1
- package/generated/models/StoryExternalLink.ts +1352 -0
- package/generated/models.ts +2 -0
- package/generated-sqlite/browser.ts +5 -10
- package/generated-sqlite/client.ts +5 -10
- package/generated-sqlite/internal/class.ts +14 -24
- package/generated-sqlite/internal/prismaNamespace.ts +88 -180
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +12 -29
- package/generated-sqlite/models/KnowledgeBase.ts +138 -0
- package/generated-sqlite/models/Project.ts +150 -0
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/User.ts +101 -1067
- package/generated-sqlite/models.ts +1 -2
- package/migrations/20260830000000_story_dependency_plane_align/migration.sql +37 -0
- package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
- package/migrations/20260831123150_story_external_link/migration.sql +19 -0
- package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
- package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +53 -15
- package/schema.sqlite.prisma +25 -7
- package/generated-sqlite/models/Notification.ts +0 -1482
- package/generated-sqlite/models/NotificationPreference.ts +0 -1287
package/generated/browser.ts
CHANGED
|
@@ -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
|
*
|
package/generated/client.ts
CHANGED
|
@@ -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>
|
package/generated/enums.ts
CHANGED
|
@@ -65,8 +65,8 @@ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus]
|
|
|
65
65
|
|
|
66
66
|
export const DependencyType = {
|
|
67
67
|
BLOCKS: 'BLOCKS',
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
STARTS_BEFORE: 'STARTS_BEFORE',
|
|
69
|
+
FINISHES_BEFORE: 'FINISHES_BEFORE'
|
|
70
70
|
} as const
|
|
71
71
|
|
|
72
72
|
export type DependencyType = (typeof DependencyType)[keyof typeof DependencyType]
|