@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
|
@@ -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',
|
|
@@ -498,7 +500,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
498
500
|
omit: GlobalOmitOptions
|
|
499
501
|
}
|
|
500
502
|
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"
|
|
503
|
+
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"
|
|
502
504
|
txIsolationLevel: TransactionIsolationLevel
|
|
503
505
|
}
|
|
504
506
|
model: {
|
|
@@ -5756,6 +5758,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
5756
5758
|
}
|
|
5757
5759
|
}
|
|
5758
5760
|
}
|
|
5761
|
+
ProjectKnowledgeBase: {
|
|
5762
|
+
payload: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>
|
|
5763
|
+
fields: Prisma.ProjectKnowledgeBaseFieldRefs
|
|
5764
|
+
operations: {
|
|
5765
|
+
findUnique: {
|
|
5766
|
+
args: Prisma.ProjectKnowledgeBaseFindUniqueArgs<ExtArgs>
|
|
5767
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
|
|
5768
|
+
}
|
|
5769
|
+
findUniqueOrThrow: {
|
|
5770
|
+
args: Prisma.ProjectKnowledgeBaseFindUniqueOrThrowArgs<ExtArgs>
|
|
5771
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5772
|
+
}
|
|
5773
|
+
findFirst: {
|
|
5774
|
+
args: Prisma.ProjectKnowledgeBaseFindFirstArgs<ExtArgs>
|
|
5775
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
|
|
5776
|
+
}
|
|
5777
|
+
findFirstOrThrow: {
|
|
5778
|
+
args: Prisma.ProjectKnowledgeBaseFindFirstOrThrowArgs<ExtArgs>
|
|
5779
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5780
|
+
}
|
|
5781
|
+
findMany: {
|
|
5782
|
+
args: Prisma.ProjectKnowledgeBaseFindManyArgs<ExtArgs>
|
|
5783
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
5784
|
+
}
|
|
5785
|
+
create: {
|
|
5786
|
+
args: Prisma.ProjectKnowledgeBaseCreateArgs<ExtArgs>
|
|
5787
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5788
|
+
}
|
|
5789
|
+
createMany: {
|
|
5790
|
+
args: Prisma.ProjectKnowledgeBaseCreateManyArgs<ExtArgs>
|
|
5791
|
+
result: BatchPayload
|
|
5792
|
+
}
|
|
5793
|
+
createManyAndReturn: {
|
|
5794
|
+
args: Prisma.ProjectKnowledgeBaseCreateManyAndReturnArgs<ExtArgs>
|
|
5795
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
5796
|
+
}
|
|
5797
|
+
delete: {
|
|
5798
|
+
args: Prisma.ProjectKnowledgeBaseDeleteArgs<ExtArgs>
|
|
5799
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5800
|
+
}
|
|
5801
|
+
update: {
|
|
5802
|
+
args: Prisma.ProjectKnowledgeBaseUpdateArgs<ExtArgs>
|
|
5803
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5804
|
+
}
|
|
5805
|
+
deleteMany: {
|
|
5806
|
+
args: Prisma.ProjectKnowledgeBaseDeleteManyArgs<ExtArgs>
|
|
5807
|
+
result: BatchPayload
|
|
5808
|
+
}
|
|
5809
|
+
updateMany: {
|
|
5810
|
+
args: Prisma.ProjectKnowledgeBaseUpdateManyArgs<ExtArgs>
|
|
5811
|
+
result: BatchPayload
|
|
5812
|
+
}
|
|
5813
|
+
updateManyAndReturn: {
|
|
5814
|
+
args: Prisma.ProjectKnowledgeBaseUpdateManyAndReturnArgs<ExtArgs>
|
|
5815
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
5816
|
+
}
|
|
5817
|
+
upsert: {
|
|
5818
|
+
args: Prisma.ProjectKnowledgeBaseUpsertArgs<ExtArgs>
|
|
5819
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
5820
|
+
}
|
|
5821
|
+
aggregate: {
|
|
5822
|
+
args: Prisma.ProjectKnowledgeBaseAggregateArgs<ExtArgs>
|
|
5823
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateProjectKnowledgeBase>
|
|
5824
|
+
}
|
|
5825
|
+
groupBy: {
|
|
5826
|
+
args: Prisma.ProjectKnowledgeBaseGroupByArgs<ExtArgs>
|
|
5827
|
+
result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseGroupByOutputType>[]
|
|
5828
|
+
}
|
|
5829
|
+
count: {
|
|
5830
|
+
args: Prisma.ProjectKnowledgeBaseCountArgs<ExtArgs>
|
|
5831
|
+
result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseCountAggregateOutputType> | number
|
|
5832
|
+
}
|
|
5833
|
+
}
|
|
5834
|
+
}
|
|
5759
5835
|
StoryLink: {
|
|
5760
5836
|
payload: Prisma.$StoryLinkPayload<ExtArgs>
|
|
5761
5837
|
fields: Prisma.StoryLinkFieldRefs
|
|
@@ -6052,6 +6128,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
6052
6128
|
}
|
|
6053
6129
|
}
|
|
6054
6130
|
}
|
|
6131
|
+
StoryExternalLink: {
|
|
6132
|
+
payload: Prisma.$StoryExternalLinkPayload<ExtArgs>
|
|
6133
|
+
fields: Prisma.StoryExternalLinkFieldRefs
|
|
6134
|
+
operations: {
|
|
6135
|
+
findUnique: {
|
|
6136
|
+
args: Prisma.StoryExternalLinkFindUniqueArgs<ExtArgs>
|
|
6137
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload> | null
|
|
6138
|
+
}
|
|
6139
|
+
findUniqueOrThrow: {
|
|
6140
|
+
args: Prisma.StoryExternalLinkFindUniqueOrThrowArgs<ExtArgs>
|
|
6141
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6142
|
+
}
|
|
6143
|
+
findFirst: {
|
|
6144
|
+
args: Prisma.StoryExternalLinkFindFirstArgs<ExtArgs>
|
|
6145
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload> | null
|
|
6146
|
+
}
|
|
6147
|
+
findFirstOrThrow: {
|
|
6148
|
+
args: Prisma.StoryExternalLinkFindFirstOrThrowArgs<ExtArgs>
|
|
6149
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6150
|
+
}
|
|
6151
|
+
findMany: {
|
|
6152
|
+
args: Prisma.StoryExternalLinkFindManyArgs<ExtArgs>
|
|
6153
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
|
|
6154
|
+
}
|
|
6155
|
+
create: {
|
|
6156
|
+
args: Prisma.StoryExternalLinkCreateArgs<ExtArgs>
|
|
6157
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6158
|
+
}
|
|
6159
|
+
createMany: {
|
|
6160
|
+
args: Prisma.StoryExternalLinkCreateManyArgs<ExtArgs>
|
|
6161
|
+
result: BatchPayload
|
|
6162
|
+
}
|
|
6163
|
+
createManyAndReturn: {
|
|
6164
|
+
args: Prisma.StoryExternalLinkCreateManyAndReturnArgs<ExtArgs>
|
|
6165
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
|
|
6166
|
+
}
|
|
6167
|
+
delete: {
|
|
6168
|
+
args: Prisma.StoryExternalLinkDeleteArgs<ExtArgs>
|
|
6169
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6170
|
+
}
|
|
6171
|
+
update: {
|
|
6172
|
+
args: Prisma.StoryExternalLinkUpdateArgs<ExtArgs>
|
|
6173
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6174
|
+
}
|
|
6175
|
+
deleteMany: {
|
|
6176
|
+
args: Prisma.StoryExternalLinkDeleteManyArgs<ExtArgs>
|
|
6177
|
+
result: BatchPayload
|
|
6178
|
+
}
|
|
6179
|
+
updateMany: {
|
|
6180
|
+
args: Prisma.StoryExternalLinkUpdateManyArgs<ExtArgs>
|
|
6181
|
+
result: BatchPayload
|
|
6182
|
+
}
|
|
6183
|
+
updateManyAndReturn: {
|
|
6184
|
+
args: Prisma.StoryExternalLinkUpdateManyAndReturnArgs<ExtArgs>
|
|
6185
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>[]
|
|
6186
|
+
}
|
|
6187
|
+
upsert: {
|
|
6188
|
+
args: Prisma.StoryExternalLinkUpsertArgs<ExtArgs>
|
|
6189
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$StoryExternalLinkPayload>
|
|
6190
|
+
}
|
|
6191
|
+
aggregate: {
|
|
6192
|
+
args: Prisma.StoryExternalLinkAggregateArgs<ExtArgs>
|
|
6193
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateStoryExternalLink>
|
|
6194
|
+
}
|
|
6195
|
+
groupBy: {
|
|
6196
|
+
args: Prisma.StoryExternalLinkGroupByArgs<ExtArgs>
|
|
6197
|
+
result: runtime.Types.Utils.Optional<Prisma.StoryExternalLinkGroupByOutputType>[]
|
|
6198
|
+
}
|
|
6199
|
+
count: {
|
|
6200
|
+
args: Prisma.StoryExternalLinkCountArgs<ExtArgs>
|
|
6201
|
+
result: runtime.Types.Utils.Optional<Prisma.StoryExternalLinkCountAggregateOutputType> | number
|
|
6202
|
+
}
|
|
6203
|
+
}
|
|
6204
|
+
}
|
|
6055
6205
|
StoryFilterView: {
|
|
6056
6206
|
payload: Prisma.$StoryFilterViewPayload<ExtArgs>
|
|
6057
6207
|
fields: Prisma.StoryFilterViewFieldRefs
|
|
@@ -8972,6 +9122,16 @@ export const StoryDependencyScalarFieldEnum = {
|
|
|
8972
9122
|
export type StoryDependencyScalarFieldEnum = (typeof StoryDependencyScalarFieldEnum)[keyof typeof StoryDependencyScalarFieldEnum]
|
|
8973
9123
|
|
|
8974
9124
|
|
|
9125
|
+
export const ProjectKnowledgeBaseScalarFieldEnum = {
|
|
9126
|
+
id: 'id',
|
|
9127
|
+
projectId: 'projectId',
|
|
9128
|
+
kbId: 'kbId',
|
|
9129
|
+
createdAt: 'createdAt'
|
|
9130
|
+
} as const
|
|
9131
|
+
|
|
9132
|
+
export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
|
|
9133
|
+
|
|
9134
|
+
|
|
8975
9135
|
export const StoryLinkScalarFieldEnum = {
|
|
8976
9136
|
id: 'id',
|
|
8977
9137
|
storyId: 'storyId',
|
|
@@ -8991,7 +9151,10 @@ export const StoryAttachmentScalarFieldEnum = {
|
|
|
8991
9151
|
fileName: 'fileName',
|
|
8992
9152
|
fileSize: 'fileSize',
|
|
8993
9153
|
mimeType: 'mimeType',
|
|
9154
|
+
description: 'description',
|
|
8994
9155
|
storageUrl: 'storageUrl',
|
|
9156
|
+
bytes: 'bytes',
|
|
9157
|
+
fileHash: 'fileHash',
|
|
8995
9158
|
createdAt: 'createdAt'
|
|
8996
9159
|
} as const
|
|
8997
9160
|
|
|
@@ -9018,6 +9181,17 @@ export const StoryDocLinkScalarFieldEnum = {
|
|
|
9018
9181
|
export type StoryDocLinkScalarFieldEnum = (typeof StoryDocLinkScalarFieldEnum)[keyof typeof StoryDocLinkScalarFieldEnum]
|
|
9019
9182
|
|
|
9020
9183
|
|
|
9184
|
+
export const StoryExternalLinkScalarFieldEnum = {
|
|
9185
|
+
id: 'id',
|
|
9186
|
+
storyId: 'storyId',
|
|
9187
|
+
group: 'group',
|
|
9188
|
+
externalId: 'externalId',
|
|
9189
|
+
createdAt: 'createdAt'
|
|
9190
|
+
} as const
|
|
9191
|
+
|
|
9192
|
+
export type StoryExternalLinkScalarFieldEnum = (typeof StoryExternalLinkScalarFieldEnum)[keyof typeof StoryExternalLinkScalarFieldEnum]
|
|
9193
|
+
|
|
9194
|
+
|
|
9021
9195
|
export const StoryFilterViewScalarFieldEnum = {
|
|
9022
9196
|
id: 'id',
|
|
9023
9197
|
userId: 'userId',
|
|
@@ -9651,6 +9825,20 @@ export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaMod
|
|
|
9651
9825
|
|
|
9652
9826
|
|
|
9653
9827
|
|
|
9828
|
+
/**
|
|
9829
|
+
* Reference to a field of type 'Bytes'
|
|
9830
|
+
*/
|
|
9831
|
+
export type BytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes'>
|
|
9832
|
+
|
|
9833
|
+
|
|
9834
|
+
|
|
9835
|
+
/**
|
|
9836
|
+
* Reference to a field of type 'Bytes[]'
|
|
9837
|
+
*/
|
|
9838
|
+
export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes[]'>
|
|
9839
|
+
|
|
9840
|
+
|
|
9841
|
+
|
|
9654
9842
|
/**
|
|
9655
9843
|
* Reference to a field of type 'SubscriptionStatus'
|
|
9656
9844
|
*/
|
|
@@ -9873,10 +10061,12 @@ export type GlobalOmitConfig = {
|
|
|
9873
10061
|
storyReaction?: Prisma.StoryReactionOmit
|
|
9874
10062
|
commentReaction?: Prisma.CommentReactionOmit
|
|
9875
10063
|
storyDependency?: Prisma.StoryDependencyOmit
|
|
10064
|
+
projectKnowledgeBase?: Prisma.ProjectKnowledgeBaseOmit
|
|
9876
10065
|
storyLink?: Prisma.StoryLinkOmit
|
|
9877
10066
|
storyAttachment?: Prisma.StoryAttachmentOmit
|
|
9878
10067
|
storyPrdLink?: Prisma.StoryPrdLinkOmit
|
|
9879
10068
|
storyDocLink?: Prisma.StoryDocLinkOmit
|
|
10069
|
+
storyExternalLink?: Prisma.StoryExternalLinkOmit
|
|
9880
10070
|
storyFilterView?: Prisma.StoryFilterViewOmit
|
|
9881
10071
|
monitoringRequestLog?: Prisma.MonitoringRequestLogOmit
|
|
9882
10072
|
monitoringErrorReport?: Prisma.MonitoringErrorReportOmit
|
|
@@ -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',
|
|
@@ -1273,6 +1275,16 @@ export const StoryDependencyScalarFieldEnum = {
|
|
|
1273
1275
|
export type StoryDependencyScalarFieldEnum = (typeof StoryDependencyScalarFieldEnum)[keyof typeof StoryDependencyScalarFieldEnum]
|
|
1274
1276
|
|
|
1275
1277
|
|
|
1278
|
+
export const ProjectKnowledgeBaseScalarFieldEnum = {
|
|
1279
|
+
id: 'id',
|
|
1280
|
+
projectId: 'projectId',
|
|
1281
|
+
kbId: 'kbId',
|
|
1282
|
+
createdAt: 'createdAt'
|
|
1283
|
+
} as const
|
|
1284
|
+
|
|
1285
|
+
export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
|
|
1286
|
+
|
|
1287
|
+
|
|
1276
1288
|
export const StoryLinkScalarFieldEnum = {
|
|
1277
1289
|
id: 'id',
|
|
1278
1290
|
storyId: 'storyId',
|
|
@@ -1292,7 +1304,10 @@ export const StoryAttachmentScalarFieldEnum = {
|
|
|
1292
1304
|
fileName: 'fileName',
|
|
1293
1305
|
fileSize: 'fileSize',
|
|
1294
1306
|
mimeType: 'mimeType',
|
|
1307
|
+
description: 'description',
|
|
1295
1308
|
storageUrl: 'storageUrl',
|
|
1309
|
+
bytes: 'bytes',
|
|
1310
|
+
fileHash: 'fileHash',
|
|
1296
1311
|
createdAt: 'createdAt'
|
|
1297
1312
|
} as const
|
|
1298
1313
|
|
|
@@ -1319,6 +1334,17 @@ export const StoryDocLinkScalarFieldEnum = {
|
|
|
1319
1334
|
export type StoryDocLinkScalarFieldEnum = (typeof StoryDocLinkScalarFieldEnum)[keyof typeof StoryDocLinkScalarFieldEnum]
|
|
1320
1335
|
|
|
1321
1336
|
|
|
1337
|
+
export const StoryExternalLinkScalarFieldEnum = {
|
|
1338
|
+
id: 'id',
|
|
1339
|
+
storyId: 'storyId',
|
|
1340
|
+
group: 'group',
|
|
1341
|
+
externalId: 'externalId',
|
|
1342
|
+
createdAt: 'createdAt'
|
|
1343
|
+
} as const
|
|
1344
|
+
|
|
1345
|
+
export type StoryExternalLinkScalarFieldEnum = (typeof StoryExternalLinkScalarFieldEnum)[keyof typeof StoryExternalLinkScalarFieldEnum]
|
|
1346
|
+
|
|
1347
|
+
|
|
1322
1348
|
export const StoryFilterViewScalarFieldEnum = {
|
|
1323
1349
|
id: 'id',
|
|
1324
1350
|
userId: 'userId',
|
|
@@ -220,6 +220,7 @@ export type KnowledgeBaseWhereInput = {
|
|
|
220
220
|
updatedAt?: Prisma.DateTimeFilter<"KnowledgeBase"> | Date | string
|
|
221
221
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
222
222
|
documents?: Prisma.KnowledgeDocumentListRelationFilter
|
|
223
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
export type KnowledgeBaseOrderByWithRelationInput = {
|
|
@@ -235,6 +236,7 @@ export type KnowledgeBaseOrderByWithRelationInput = {
|
|
|
235
236
|
updatedAt?: Prisma.SortOrder
|
|
236
237
|
user?: Prisma.UserOrderByWithRelationInput
|
|
237
238
|
documents?: Prisma.KnowledgeDocumentOrderByRelationAggregateInput
|
|
239
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
export type KnowledgeBaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -253,6 +255,7 @@ export type KnowledgeBaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
253
255
|
updatedAt?: Prisma.DateTimeFilter<"KnowledgeBase"> | Date | string
|
|
254
256
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
255
257
|
documents?: Prisma.KnowledgeDocumentListRelationFilter
|
|
258
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
256
259
|
}, "id">
|
|
257
260
|
|
|
258
261
|
export type KnowledgeBaseOrderByWithAggregationInput = {
|
|
@@ -299,6 +302,7 @@ export type KnowledgeBaseCreateInput = {
|
|
|
299
302
|
updatedAt?: Date | string
|
|
300
303
|
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
301
304
|
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
305
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
302
306
|
}
|
|
303
307
|
|
|
304
308
|
export type KnowledgeBaseUncheckedCreateInput = {
|
|
@@ -313,6 +317,7 @@ export type KnowledgeBaseUncheckedCreateInput = {
|
|
|
313
317
|
createdAt?: Date | string
|
|
314
318
|
updatedAt?: Date | string
|
|
315
319
|
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
320
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
316
321
|
}
|
|
317
322
|
|
|
318
323
|
export type KnowledgeBaseUpdateInput = {
|
|
@@ -327,6 +332,7 @@ export type KnowledgeBaseUpdateInput = {
|
|
|
327
332
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
328
333
|
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
329
334
|
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
335
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
330
336
|
}
|
|
331
337
|
|
|
332
338
|
export type KnowledgeBaseUncheckedUpdateInput = {
|
|
@@ -341,6 +347,7 @@ export type KnowledgeBaseUncheckedUpdateInput = {
|
|
|
341
347
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
348
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
343
349
|
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
350
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
344
351
|
}
|
|
345
352
|
|
|
346
353
|
export type KnowledgeBaseCreateManyInput = {
|
|
@@ -489,6 +496,20 @@ export type KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput = {
|
|
|
489
496
|
update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeBaseUpdateToOneWithWhereWithoutDocumentsInput, Prisma.KnowledgeBaseUpdateWithoutDocumentsInput>, Prisma.KnowledgeBaseUncheckedUpdateWithoutDocumentsInput>
|
|
490
497
|
}
|
|
491
498
|
|
|
499
|
+
export type KnowledgeBaseCreateNestedOneWithoutProjectLinksInput = {
|
|
500
|
+
create?: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
501
|
+
connectOrCreate?: Prisma.KnowledgeBaseCreateOrConnectWithoutProjectLinksInput
|
|
502
|
+
connect?: Prisma.KnowledgeBaseWhereUniqueInput
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export type KnowledgeBaseUpdateOneRequiredWithoutProjectLinksNestedInput = {
|
|
506
|
+
create?: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
507
|
+
connectOrCreate?: Prisma.KnowledgeBaseCreateOrConnectWithoutProjectLinksInput
|
|
508
|
+
upsert?: Prisma.KnowledgeBaseUpsertWithoutProjectLinksInput
|
|
509
|
+
connect?: Prisma.KnowledgeBaseWhereUniqueInput
|
|
510
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeBaseUpdateToOneWithWhereWithoutProjectLinksInput, Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput>, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
511
|
+
}
|
|
512
|
+
|
|
492
513
|
export type KnowledgeBaseCreateWithoutUserInput = {
|
|
493
514
|
id?: string
|
|
494
515
|
name: string
|
|
@@ -500,6 +521,7 @@ export type KnowledgeBaseCreateWithoutUserInput = {
|
|
|
500
521
|
createdAt?: Date | string
|
|
501
522
|
updatedAt?: Date | string
|
|
502
523
|
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
524
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
503
525
|
}
|
|
504
526
|
|
|
505
527
|
export type KnowledgeBaseUncheckedCreateWithoutUserInput = {
|
|
@@ -513,6 +535,7 @@ export type KnowledgeBaseUncheckedCreateWithoutUserInput = {
|
|
|
513
535
|
createdAt?: Date | string
|
|
514
536
|
updatedAt?: Date | string
|
|
515
537
|
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
538
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
516
539
|
}
|
|
517
540
|
|
|
518
541
|
export type KnowledgeBaseCreateOrConnectWithoutUserInput = {
|
|
@@ -568,6 +591,7 @@ export type KnowledgeBaseCreateWithoutDocumentsInput = {
|
|
|
568
591
|
createdAt?: Date | string
|
|
569
592
|
updatedAt?: Date | string
|
|
570
593
|
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
594
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
571
595
|
}
|
|
572
596
|
|
|
573
597
|
export type KnowledgeBaseUncheckedCreateWithoutDocumentsInput = {
|
|
@@ -581,6 +605,7 @@ export type KnowledgeBaseUncheckedCreateWithoutDocumentsInput = {
|
|
|
581
605
|
isDeleted?: boolean
|
|
582
606
|
createdAt?: Date | string
|
|
583
607
|
updatedAt?: Date | string
|
|
608
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
584
609
|
}
|
|
585
610
|
|
|
586
611
|
export type KnowledgeBaseCreateOrConnectWithoutDocumentsInput = {
|
|
@@ -610,6 +635,7 @@ export type KnowledgeBaseUpdateWithoutDocumentsInput = {
|
|
|
610
635
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
611
636
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
612
637
|
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
638
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
613
639
|
}
|
|
614
640
|
|
|
615
641
|
export type KnowledgeBaseUncheckedUpdateWithoutDocumentsInput = {
|
|
@@ -623,6 +649,79 @@ export type KnowledgeBaseUncheckedUpdateWithoutDocumentsInput = {
|
|
|
623
649
|
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
624
650
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
625
651
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
652
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export type KnowledgeBaseCreateWithoutProjectLinksInput = {
|
|
656
|
+
id?: string
|
|
657
|
+
name: string
|
|
658
|
+
description?: string | null
|
|
659
|
+
icon?: string
|
|
660
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
661
|
+
visibility?: string
|
|
662
|
+
isDeleted?: boolean
|
|
663
|
+
createdAt?: Date | string
|
|
664
|
+
updatedAt?: Date | string
|
|
665
|
+
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
666
|
+
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export type KnowledgeBaseUncheckedCreateWithoutProjectLinksInput = {
|
|
670
|
+
id?: string
|
|
671
|
+
name: string
|
|
672
|
+
description?: string | null
|
|
673
|
+
icon?: string
|
|
674
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
675
|
+
visibility?: string
|
|
676
|
+
userId: string
|
|
677
|
+
isDeleted?: boolean
|
|
678
|
+
createdAt?: Date | string
|
|
679
|
+
updatedAt?: Date | string
|
|
680
|
+
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export type KnowledgeBaseCreateOrConnectWithoutProjectLinksInput = {
|
|
684
|
+
where: Prisma.KnowledgeBaseWhereUniqueInput
|
|
685
|
+
create: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type KnowledgeBaseUpsertWithoutProjectLinksInput = {
|
|
689
|
+
update: Prisma.XOR<Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
690
|
+
create: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
691
|
+
where?: Prisma.KnowledgeBaseWhereInput
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type KnowledgeBaseUpdateToOneWithWhereWithoutProjectLinksInput = {
|
|
695
|
+
where?: Prisma.KnowledgeBaseWhereInput
|
|
696
|
+
data: Prisma.XOR<Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export type KnowledgeBaseUpdateWithoutProjectLinksInput = {
|
|
700
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
701
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
702
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
703
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
704
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
705
|
+
visibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
706
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
707
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
708
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
709
|
+
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
710
|
+
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput = {
|
|
714
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
715
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
716
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
717
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
718
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
719
|
+
visibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
720
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
721
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
722
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
723
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
724
|
+
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
626
725
|
}
|
|
627
726
|
|
|
628
727
|
export type KnowledgeBaseCreateManyUserInput = {
|
|
@@ -648,6 +747,7 @@ export type KnowledgeBaseUpdateWithoutUserInput = {
|
|
|
648
747
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
649
748
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
650
749
|
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
750
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
651
751
|
}
|
|
652
752
|
|
|
653
753
|
export type KnowledgeBaseUncheckedUpdateWithoutUserInput = {
|
|
@@ -661,6 +761,7 @@ export type KnowledgeBaseUncheckedUpdateWithoutUserInput = {
|
|
|
661
761
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
662
762
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
663
763
|
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
764
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
664
765
|
}
|
|
665
766
|
|
|
666
767
|
export type KnowledgeBaseUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -682,10 +783,12 @@ export type KnowledgeBaseUncheckedUpdateManyWithoutUserInput = {
|
|
|
682
783
|
|
|
683
784
|
export type KnowledgeBaseCountOutputType = {
|
|
684
785
|
documents: number
|
|
786
|
+
projectLinks: number
|
|
685
787
|
}
|
|
686
788
|
|
|
687
789
|
export type KnowledgeBaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
688
790
|
documents?: boolean | KnowledgeBaseCountOutputTypeCountDocumentsArgs
|
|
791
|
+
projectLinks?: boolean | KnowledgeBaseCountOutputTypeCountProjectLinksArgs
|
|
689
792
|
}
|
|
690
793
|
|
|
691
794
|
/**
|
|
@@ -705,6 +808,13 @@ export type KnowledgeBaseCountOutputTypeCountDocumentsArgs<ExtArgs extends runti
|
|
|
705
808
|
where?: Prisma.KnowledgeDocumentWhereInput
|
|
706
809
|
}
|
|
707
810
|
|
|
811
|
+
/**
|
|
812
|
+
* KnowledgeBaseCountOutputType without action
|
|
813
|
+
*/
|
|
814
|
+
export type KnowledgeBaseCountOutputTypeCountProjectLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
816
|
+
}
|
|
817
|
+
|
|
708
818
|
|
|
709
819
|
export type KnowledgeBaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
710
820
|
id?: boolean
|
|
@@ -719,6 +829,7 @@ export type KnowledgeBaseSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
719
829
|
updatedAt?: boolean
|
|
720
830
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
721
831
|
documents?: boolean | Prisma.KnowledgeBase$documentsArgs<ExtArgs>
|
|
832
|
+
projectLinks?: boolean | Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>
|
|
722
833
|
_count?: boolean | Prisma.KnowledgeBaseCountOutputTypeDefaultArgs<ExtArgs>
|
|
723
834
|
}, ExtArgs["result"]["knowledgeBase"]>
|
|
724
835
|
|
|
@@ -767,6 +878,7 @@ export type KnowledgeBaseOmit<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
767
878
|
export type KnowledgeBaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
768
879
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
769
880
|
documents?: boolean | Prisma.KnowledgeBase$documentsArgs<ExtArgs>
|
|
881
|
+
projectLinks?: boolean | Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>
|
|
770
882
|
_count?: boolean | Prisma.KnowledgeBaseCountOutputTypeDefaultArgs<ExtArgs>
|
|
771
883
|
}
|
|
772
884
|
export type KnowledgeBaseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -781,6 +893,7 @@ export type $KnowledgeBasePayload<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
781
893
|
objects: {
|
|
782
894
|
user: Prisma.$UserPayload<ExtArgs>
|
|
783
895
|
documents: Prisma.$KnowledgeDocumentPayload<ExtArgs>[]
|
|
896
|
+
projectLinks: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
|
|
784
897
|
}
|
|
785
898
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
786
899
|
id: string
|
|
@@ -1189,6 +1302,7 @@ export interface Prisma__KnowledgeBaseClient<T, Null = never, ExtArgs extends ru
|
|
|
1189
1302
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1190
1303
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1191
1304
|
documents<T extends Prisma.KnowledgeBase$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeBase$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KnowledgeDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1305
|
+
projectLinks<T extends Prisma.KnowledgeBase$projectLinksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1192
1306
|
/**
|
|
1193
1307
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1194
1308
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1652,6 +1766,30 @@ export type KnowledgeBase$documentsArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
1652
1766
|
distinct?: Prisma.KnowledgeDocumentScalarFieldEnum | Prisma.KnowledgeDocumentScalarFieldEnum[]
|
|
1653
1767
|
}
|
|
1654
1768
|
|
|
1769
|
+
/**
|
|
1770
|
+
* KnowledgeBase.projectLinks
|
|
1771
|
+
*/
|
|
1772
|
+
export type KnowledgeBase$projectLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1773
|
+
/**
|
|
1774
|
+
* Select specific fields to fetch from the ProjectKnowledgeBase
|
|
1775
|
+
*/
|
|
1776
|
+
select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
|
|
1777
|
+
/**
|
|
1778
|
+
* Omit specific fields from the ProjectKnowledgeBase
|
|
1779
|
+
*/
|
|
1780
|
+
omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
|
|
1781
|
+
/**
|
|
1782
|
+
* Choose, which related nodes to fetch as well
|
|
1783
|
+
*/
|
|
1784
|
+
include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
|
|
1785
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
1786
|
+
orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
|
|
1787
|
+
cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
|
|
1788
|
+
take?: number
|
|
1789
|
+
skip?: number
|
|
1790
|
+
distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1655
1793
|
/**
|
|
1656
1794
|
* KnowledgeBase without action
|
|
1657
1795
|
*/
|