@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
|
@@ -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,9 +462,7 @@ export const ModelName = {
|
|
|
461
462
|
ComplianceExport: 'ComplianceExport',
|
|
462
463
|
UserAgent: 'UserAgent',
|
|
463
464
|
UserSkill: 'UserSkill',
|
|
464
|
-
DeveloperLog: 'DeveloperLog'
|
|
465
|
-
Notification: 'Notification',
|
|
466
|
-
NotificationPreference: 'NotificationPreference'
|
|
465
|
+
DeveloperLog: 'DeveloperLog'
|
|
467
466
|
} as const
|
|
468
467
|
|
|
469
468
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -479,7 +478,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
479
478
|
omit: GlobalOmitOptions
|
|
480
479
|
}
|
|
481
480
|
meta: {
|
|
482
|
-
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"
|
|
481
|
+
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"
|
|
483
482
|
txIsolationLevel: TransactionIsolationLevel
|
|
484
483
|
}
|
|
485
484
|
model: {
|
|
@@ -1889,6 +1888,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
1889
1888
|
}
|
|
1890
1889
|
}
|
|
1891
1890
|
}
|
|
1891
|
+
ProjectKnowledgeBase: {
|
|
1892
|
+
payload: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>
|
|
1893
|
+
fields: Prisma.ProjectKnowledgeBaseFieldRefs
|
|
1894
|
+
operations: {
|
|
1895
|
+
findUnique: {
|
|
1896
|
+
args: Prisma.ProjectKnowledgeBaseFindUniqueArgs<ExtArgs>
|
|
1897
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
|
|
1898
|
+
}
|
|
1899
|
+
findUniqueOrThrow: {
|
|
1900
|
+
args: Prisma.ProjectKnowledgeBaseFindUniqueOrThrowArgs<ExtArgs>
|
|
1901
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1902
|
+
}
|
|
1903
|
+
findFirst: {
|
|
1904
|
+
args: Prisma.ProjectKnowledgeBaseFindFirstArgs<ExtArgs>
|
|
1905
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload> | null
|
|
1906
|
+
}
|
|
1907
|
+
findFirstOrThrow: {
|
|
1908
|
+
args: Prisma.ProjectKnowledgeBaseFindFirstOrThrowArgs<ExtArgs>
|
|
1909
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1910
|
+
}
|
|
1911
|
+
findMany: {
|
|
1912
|
+
args: Prisma.ProjectKnowledgeBaseFindManyArgs<ExtArgs>
|
|
1913
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
1914
|
+
}
|
|
1915
|
+
create: {
|
|
1916
|
+
args: Prisma.ProjectKnowledgeBaseCreateArgs<ExtArgs>
|
|
1917
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1918
|
+
}
|
|
1919
|
+
createMany: {
|
|
1920
|
+
args: Prisma.ProjectKnowledgeBaseCreateManyArgs<ExtArgs>
|
|
1921
|
+
result: BatchPayload
|
|
1922
|
+
}
|
|
1923
|
+
createManyAndReturn: {
|
|
1924
|
+
args: Prisma.ProjectKnowledgeBaseCreateManyAndReturnArgs<ExtArgs>
|
|
1925
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
1926
|
+
}
|
|
1927
|
+
delete: {
|
|
1928
|
+
args: Prisma.ProjectKnowledgeBaseDeleteArgs<ExtArgs>
|
|
1929
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1930
|
+
}
|
|
1931
|
+
update: {
|
|
1932
|
+
args: Prisma.ProjectKnowledgeBaseUpdateArgs<ExtArgs>
|
|
1933
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1934
|
+
}
|
|
1935
|
+
deleteMany: {
|
|
1936
|
+
args: Prisma.ProjectKnowledgeBaseDeleteManyArgs<ExtArgs>
|
|
1937
|
+
result: BatchPayload
|
|
1938
|
+
}
|
|
1939
|
+
updateMany: {
|
|
1940
|
+
args: Prisma.ProjectKnowledgeBaseUpdateManyArgs<ExtArgs>
|
|
1941
|
+
result: BatchPayload
|
|
1942
|
+
}
|
|
1943
|
+
updateManyAndReturn: {
|
|
1944
|
+
args: Prisma.ProjectKnowledgeBaseUpdateManyAndReturnArgs<ExtArgs>
|
|
1945
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>[]
|
|
1946
|
+
}
|
|
1947
|
+
upsert: {
|
|
1948
|
+
args: Prisma.ProjectKnowledgeBaseUpsertArgs<ExtArgs>
|
|
1949
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectKnowledgeBasePayload>
|
|
1950
|
+
}
|
|
1951
|
+
aggregate: {
|
|
1952
|
+
args: Prisma.ProjectKnowledgeBaseAggregateArgs<ExtArgs>
|
|
1953
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateProjectKnowledgeBase>
|
|
1954
|
+
}
|
|
1955
|
+
groupBy: {
|
|
1956
|
+
args: Prisma.ProjectKnowledgeBaseGroupByArgs<ExtArgs>
|
|
1957
|
+
result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseGroupByOutputType>[]
|
|
1958
|
+
}
|
|
1959
|
+
count: {
|
|
1960
|
+
args: Prisma.ProjectKnowledgeBaseCountArgs<ExtArgs>
|
|
1961
|
+
result: runtime.Types.Utils.Optional<Prisma.ProjectKnowledgeBaseCountAggregateOutputType> | number
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1892
1965
|
KnowledgeDocument: {
|
|
1893
1966
|
payload: Prisma.$KnowledgeDocumentPayload<ExtArgs>
|
|
1894
1967
|
fields: Prisma.KnowledgeDocumentFieldRefs
|
|
@@ -6255,154 +6328,6 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
6255
6328
|
}
|
|
6256
6329
|
}
|
|
6257
6330
|
}
|
|
6258
|
-
Notification: {
|
|
6259
|
-
payload: Prisma.$NotificationPayload<ExtArgs>
|
|
6260
|
-
fields: Prisma.NotificationFieldRefs
|
|
6261
|
-
operations: {
|
|
6262
|
-
findUnique: {
|
|
6263
|
-
args: Prisma.NotificationFindUniqueArgs<ExtArgs>
|
|
6264
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload> | null
|
|
6265
|
-
}
|
|
6266
|
-
findUniqueOrThrow: {
|
|
6267
|
-
args: Prisma.NotificationFindUniqueOrThrowArgs<ExtArgs>
|
|
6268
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6269
|
-
}
|
|
6270
|
-
findFirst: {
|
|
6271
|
-
args: Prisma.NotificationFindFirstArgs<ExtArgs>
|
|
6272
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload> | null
|
|
6273
|
-
}
|
|
6274
|
-
findFirstOrThrow: {
|
|
6275
|
-
args: Prisma.NotificationFindFirstOrThrowArgs<ExtArgs>
|
|
6276
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6277
|
-
}
|
|
6278
|
-
findMany: {
|
|
6279
|
-
args: Prisma.NotificationFindManyArgs<ExtArgs>
|
|
6280
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>[]
|
|
6281
|
-
}
|
|
6282
|
-
create: {
|
|
6283
|
-
args: Prisma.NotificationCreateArgs<ExtArgs>
|
|
6284
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6285
|
-
}
|
|
6286
|
-
createMany: {
|
|
6287
|
-
args: Prisma.NotificationCreateManyArgs<ExtArgs>
|
|
6288
|
-
result: BatchPayload
|
|
6289
|
-
}
|
|
6290
|
-
createManyAndReturn: {
|
|
6291
|
-
args: Prisma.NotificationCreateManyAndReturnArgs<ExtArgs>
|
|
6292
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>[]
|
|
6293
|
-
}
|
|
6294
|
-
delete: {
|
|
6295
|
-
args: Prisma.NotificationDeleteArgs<ExtArgs>
|
|
6296
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6297
|
-
}
|
|
6298
|
-
update: {
|
|
6299
|
-
args: Prisma.NotificationUpdateArgs<ExtArgs>
|
|
6300
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6301
|
-
}
|
|
6302
|
-
deleteMany: {
|
|
6303
|
-
args: Prisma.NotificationDeleteManyArgs<ExtArgs>
|
|
6304
|
-
result: BatchPayload
|
|
6305
|
-
}
|
|
6306
|
-
updateMany: {
|
|
6307
|
-
args: Prisma.NotificationUpdateManyArgs<ExtArgs>
|
|
6308
|
-
result: BatchPayload
|
|
6309
|
-
}
|
|
6310
|
-
updateManyAndReturn: {
|
|
6311
|
-
args: Prisma.NotificationUpdateManyAndReturnArgs<ExtArgs>
|
|
6312
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>[]
|
|
6313
|
-
}
|
|
6314
|
-
upsert: {
|
|
6315
|
-
args: Prisma.NotificationUpsertArgs<ExtArgs>
|
|
6316
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPayload>
|
|
6317
|
-
}
|
|
6318
|
-
aggregate: {
|
|
6319
|
-
args: Prisma.NotificationAggregateArgs<ExtArgs>
|
|
6320
|
-
result: runtime.Types.Utils.Optional<Prisma.AggregateNotification>
|
|
6321
|
-
}
|
|
6322
|
-
groupBy: {
|
|
6323
|
-
args: Prisma.NotificationGroupByArgs<ExtArgs>
|
|
6324
|
-
result: runtime.Types.Utils.Optional<Prisma.NotificationGroupByOutputType>[]
|
|
6325
|
-
}
|
|
6326
|
-
count: {
|
|
6327
|
-
args: Prisma.NotificationCountArgs<ExtArgs>
|
|
6328
|
-
result: runtime.Types.Utils.Optional<Prisma.NotificationCountAggregateOutputType> | number
|
|
6329
|
-
}
|
|
6330
|
-
}
|
|
6331
|
-
}
|
|
6332
|
-
NotificationPreference: {
|
|
6333
|
-
payload: Prisma.$NotificationPreferencePayload<ExtArgs>
|
|
6334
|
-
fields: Prisma.NotificationPreferenceFieldRefs
|
|
6335
|
-
operations: {
|
|
6336
|
-
findUnique: {
|
|
6337
|
-
args: Prisma.NotificationPreferenceFindUniqueArgs<ExtArgs>
|
|
6338
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload> | null
|
|
6339
|
-
}
|
|
6340
|
-
findUniqueOrThrow: {
|
|
6341
|
-
args: Prisma.NotificationPreferenceFindUniqueOrThrowArgs<ExtArgs>
|
|
6342
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6343
|
-
}
|
|
6344
|
-
findFirst: {
|
|
6345
|
-
args: Prisma.NotificationPreferenceFindFirstArgs<ExtArgs>
|
|
6346
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload> | null
|
|
6347
|
-
}
|
|
6348
|
-
findFirstOrThrow: {
|
|
6349
|
-
args: Prisma.NotificationPreferenceFindFirstOrThrowArgs<ExtArgs>
|
|
6350
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6351
|
-
}
|
|
6352
|
-
findMany: {
|
|
6353
|
-
args: Prisma.NotificationPreferenceFindManyArgs<ExtArgs>
|
|
6354
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>[]
|
|
6355
|
-
}
|
|
6356
|
-
create: {
|
|
6357
|
-
args: Prisma.NotificationPreferenceCreateArgs<ExtArgs>
|
|
6358
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6359
|
-
}
|
|
6360
|
-
createMany: {
|
|
6361
|
-
args: Prisma.NotificationPreferenceCreateManyArgs<ExtArgs>
|
|
6362
|
-
result: BatchPayload
|
|
6363
|
-
}
|
|
6364
|
-
createManyAndReturn: {
|
|
6365
|
-
args: Prisma.NotificationPreferenceCreateManyAndReturnArgs<ExtArgs>
|
|
6366
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>[]
|
|
6367
|
-
}
|
|
6368
|
-
delete: {
|
|
6369
|
-
args: Prisma.NotificationPreferenceDeleteArgs<ExtArgs>
|
|
6370
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6371
|
-
}
|
|
6372
|
-
update: {
|
|
6373
|
-
args: Prisma.NotificationPreferenceUpdateArgs<ExtArgs>
|
|
6374
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6375
|
-
}
|
|
6376
|
-
deleteMany: {
|
|
6377
|
-
args: Prisma.NotificationPreferenceDeleteManyArgs<ExtArgs>
|
|
6378
|
-
result: BatchPayload
|
|
6379
|
-
}
|
|
6380
|
-
updateMany: {
|
|
6381
|
-
args: Prisma.NotificationPreferenceUpdateManyArgs<ExtArgs>
|
|
6382
|
-
result: BatchPayload
|
|
6383
|
-
}
|
|
6384
|
-
updateManyAndReturn: {
|
|
6385
|
-
args: Prisma.NotificationPreferenceUpdateManyAndReturnArgs<ExtArgs>
|
|
6386
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>[]
|
|
6387
|
-
}
|
|
6388
|
-
upsert: {
|
|
6389
|
-
args: Prisma.NotificationPreferenceUpsertArgs<ExtArgs>
|
|
6390
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$NotificationPreferencePayload>
|
|
6391
|
-
}
|
|
6392
|
-
aggregate: {
|
|
6393
|
-
args: Prisma.NotificationPreferenceAggregateArgs<ExtArgs>
|
|
6394
|
-
result: runtime.Types.Utils.Optional<Prisma.AggregateNotificationPreference>
|
|
6395
|
-
}
|
|
6396
|
-
groupBy: {
|
|
6397
|
-
args: Prisma.NotificationPreferenceGroupByArgs<ExtArgs>
|
|
6398
|
-
result: runtime.Types.Utils.Optional<Prisma.NotificationPreferenceGroupByOutputType>[]
|
|
6399
|
-
}
|
|
6400
|
-
count: {
|
|
6401
|
-
args: Prisma.NotificationPreferenceCountArgs<ExtArgs>
|
|
6402
|
-
result: runtime.Types.Utils.Optional<Prisma.NotificationPreferenceCountAggregateOutputType> | number
|
|
6403
|
-
}
|
|
6404
|
-
}
|
|
6405
|
-
}
|
|
6406
6331
|
}
|
|
6407
6332
|
} & {
|
|
6408
6333
|
other: {
|
|
@@ -6717,6 +6642,16 @@ export const KnowledgeBaseScalarFieldEnum = {
|
|
|
6717
6642
|
export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
|
|
6718
6643
|
|
|
6719
6644
|
|
|
6645
|
+
export const ProjectKnowledgeBaseScalarFieldEnum = {
|
|
6646
|
+
id: 'id',
|
|
6647
|
+
projectId: 'projectId',
|
|
6648
|
+
kbId: 'kbId',
|
|
6649
|
+
createdAt: 'createdAt'
|
|
6650
|
+
} as const
|
|
6651
|
+
|
|
6652
|
+
export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
|
|
6653
|
+
|
|
6654
|
+
|
|
6720
6655
|
export const KnowledgeDocumentScalarFieldEnum = {
|
|
6721
6656
|
id: 'id',
|
|
6722
6657
|
kbId: 'kbId',
|
|
@@ -7696,32 +7631,6 @@ export const DeveloperLogScalarFieldEnum = {
|
|
|
7696
7631
|
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
7697
7632
|
|
|
7698
7633
|
|
|
7699
|
-
export const NotificationScalarFieldEnum = {
|
|
7700
|
-
id: 'id',
|
|
7701
|
-
userId: 'userId',
|
|
7702
|
-
category: 'category',
|
|
7703
|
-
type: 'type',
|
|
7704
|
-
title: 'title',
|
|
7705
|
-
body: 'body',
|
|
7706
|
-
link: 'link',
|
|
7707
|
-
readAt: 'readAt',
|
|
7708
|
-
createdAt: 'createdAt'
|
|
7709
|
-
} as const
|
|
7710
|
-
|
|
7711
|
-
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
export const NotificationPreferenceScalarFieldEnum = {
|
|
7715
|
-
userId: 'userId',
|
|
7716
|
-
categories: 'categories',
|
|
7717
|
-
dndEnabled: 'dndEnabled',
|
|
7718
|
-
dndStart: 'dndStart',
|
|
7719
|
-
dndEnd: 'dndEnd'
|
|
7720
|
-
} as const
|
|
7721
|
-
|
|
7722
|
-
export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
7634
|
export const SortOrder = {
|
|
7726
7635
|
asc: 'asc',
|
|
7727
7636
|
desc: 'desc'
|
|
@@ -7953,6 +7862,7 @@ export type GlobalOmitConfig = {
|
|
|
7953
7862
|
invitationUse?: Prisma.InvitationUseOmit
|
|
7954
7863
|
passwordResetToken?: Prisma.PasswordResetTokenOmit
|
|
7955
7864
|
knowledgeBase?: Prisma.KnowledgeBaseOmit
|
|
7865
|
+
projectKnowledgeBase?: Prisma.ProjectKnowledgeBaseOmit
|
|
7956
7866
|
knowledgeDocument?: Prisma.KnowledgeDocumentOmit
|
|
7957
7867
|
pRD?: Prisma.PRDOmit
|
|
7958
7868
|
agentConversation?: Prisma.AgentConversationOmit
|
|
@@ -8012,8 +7922,6 @@ export type GlobalOmitConfig = {
|
|
|
8012
7922
|
userAgent?: Prisma.UserAgentOmit
|
|
8013
7923
|
userSkill?: Prisma.UserSkillOmit
|
|
8014
7924
|
developerLog?: Prisma.DeveloperLogOmit
|
|
8015
|
-
notification?: Prisma.NotificationOmit
|
|
8016
|
-
notificationPreference?: Prisma.NotificationPreferenceOmit
|
|
8017
7925
|
}
|
|
8018
7926
|
|
|
8019
7927
|
/* 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,9 +129,7 @@ export const ModelName = {
|
|
|
128
129
|
ComplianceExport: 'ComplianceExport',
|
|
129
130
|
UserAgent: 'UserAgent',
|
|
130
131
|
UserSkill: 'UserSkill',
|
|
131
|
-
DeveloperLog: 'DeveloperLog'
|
|
132
|
-
Notification: 'Notification',
|
|
133
|
-
NotificationPreference: 'NotificationPreference'
|
|
132
|
+
DeveloperLog: 'DeveloperLog'
|
|
134
133
|
} as const
|
|
135
134
|
|
|
136
135
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -424,6 +423,16 @@ export const KnowledgeBaseScalarFieldEnum = {
|
|
|
424
423
|
export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
|
|
425
424
|
|
|
426
425
|
|
|
426
|
+
export const ProjectKnowledgeBaseScalarFieldEnum = {
|
|
427
|
+
id: 'id',
|
|
428
|
+
projectId: 'projectId',
|
|
429
|
+
kbId: 'kbId',
|
|
430
|
+
createdAt: 'createdAt'
|
|
431
|
+
} as const
|
|
432
|
+
|
|
433
|
+
export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
|
|
434
|
+
|
|
435
|
+
|
|
427
436
|
export const KnowledgeDocumentScalarFieldEnum = {
|
|
428
437
|
id: 'id',
|
|
429
438
|
kbId: 'kbId',
|
|
@@ -1403,32 +1412,6 @@ export const DeveloperLogScalarFieldEnum = {
|
|
|
1403
1412
|
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
1404
1413
|
|
|
1405
1414
|
|
|
1406
|
-
export const NotificationScalarFieldEnum = {
|
|
1407
|
-
id: 'id',
|
|
1408
|
-
userId: 'userId',
|
|
1409
|
-
category: 'category',
|
|
1410
|
-
type: 'type',
|
|
1411
|
-
title: 'title',
|
|
1412
|
-
body: 'body',
|
|
1413
|
-
link: 'link',
|
|
1414
|
-
readAt: 'readAt',
|
|
1415
|
-
createdAt: 'createdAt'
|
|
1416
|
-
} as const
|
|
1417
|
-
|
|
1418
|
-
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
export const NotificationPreferenceScalarFieldEnum = {
|
|
1422
|
-
userId: 'userId',
|
|
1423
|
-
categories: 'categories',
|
|
1424
|
-
dndEnabled: 'dndEnabled',
|
|
1425
|
-
dndStart: 'dndStart',
|
|
1426
|
-
dndEnd: 'dndEnd'
|
|
1427
|
-
} as const
|
|
1428
|
-
|
|
1429
|
-
export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
1415
|
export const SortOrder = {
|
|
1433
1416
|
asc: 'asc',
|
|
1434
1417
|
desc: 'desc'
|