@allbluecn/database 0.4.13 → 0.4.15

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.
@@ -461,9 +461,7 @@ export const ModelName = {
461
461
  ComplianceExport: 'ComplianceExport',
462
462
  UserAgent: 'UserAgent',
463
463
  UserSkill: 'UserSkill',
464
- DeveloperLog: 'DeveloperLog',
465
- Notification: 'Notification',
466
- NotificationPreference: 'NotificationPreference'
464
+ DeveloperLog: 'DeveloperLog'
467
465
  } as const
468
466
 
469
467
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -479,7 +477,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
479
477
  omit: GlobalOmitOptions
480
478
  }
481
479
  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" | "notification" | "notificationPreference"
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"
483
481
  txIsolationLevel: TransactionIsolationLevel
484
482
  }
485
483
  model: {
@@ -6255,154 +6253,6 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
6255
6253
  }
6256
6254
  }
6257
6255
  }
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
6256
  }
6407
6257
  } & {
6408
6258
  other: {
@@ -7696,32 +7546,6 @@ export const DeveloperLogScalarFieldEnum = {
7696
7546
  export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
7697
7547
 
7698
7548
 
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
7549
  export const SortOrder = {
7726
7550
  asc: 'asc',
7727
7551
  desc: 'desc'
@@ -8012,8 +7836,6 @@ export type GlobalOmitConfig = {
8012
7836
  userAgent?: Prisma.UserAgentOmit
8013
7837
  userSkill?: Prisma.UserSkillOmit
8014
7838
  developerLog?: Prisma.DeveloperLogOmit
8015
- notification?: Prisma.NotificationOmit
8016
- notificationPreference?: Prisma.NotificationPreferenceOmit
8017
7839
  }
8018
7840
 
8019
7841
  /* Types for Logging */
@@ -128,9 +128,7 @@ export const ModelName = {
128
128
  ComplianceExport: 'ComplianceExport',
129
129
  UserAgent: 'UserAgent',
130
130
  UserSkill: 'UserSkill',
131
- DeveloperLog: 'DeveloperLog',
132
- Notification: 'Notification',
133
- NotificationPreference: 'NotificationPreference'
131
+ DeveloperLog: 'DeveloperLog'
134
132
  } as const
135
133
 
136
134
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -1403,32 +1401,6 @@ export const DeveloperLogScalarFieldEnum = {
1403
1401
  export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
1404
1402
 
1405
1403
 
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
1404
  export const SortOrder = {
1433
1405
  asc: 'asc',
1434
1406
  desc: 'desc'