@allbluecn/database 0.4.10 → 0.4.12
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 +5 -0
- package/generated/client.ts +5 -0
- package/generated/internal/class.ts +14 -4
- package/generated/internal/prismaNamespace.ts +94 -2
- package/generated/internal/prismaNamespaceBrowser.ts +18 -1
- package/generated/models/DeveloperLog.ts +1283 -0
- package/generated/models.ts +1 -0
- package/generated-sqlite/browser.ts +5 -0
- package/generated-sqlite/client.ts +5 -0
- package/generated-sqlite/internal/class.ts +14 -4
- package/generated-sqlite/internal/prismaNamespace.ts +94 -2
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +18 -1
- package/generated-sqlite/models/DeveloperLog.ts +1281 -0
- package/generated-sqlite/models.ts +1 -0
- package/migrations/20260823000000_add_developer_logs/migration.sql +18 -0
- package/package.json +2 -2
- package/schema.prisma +17 -0
- package/schema.sqlite.prisma +17 -0
|
@@ -478,7 +478,8 @@ export const ModelName = {
|
|
|
478
478
|
RoleAssignment: 'RoleAssignment',
|
|
479
479
|
ComplianceExport: 'ComplianceExport',
|
|
480
480
|
UserAgent: 'UserAgent',
|
|
481
|
-
UserSkill: 'UserSkill'
|
|
481
|
+
UserSkill: 'UserSkill',
|
|
482
|
+
DeveloperLog: 'DeveloperLog'
|
|
482
483
|
} as const
|
|
483
484
|
|
|
484
485
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -494,7 +495,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
494
495
|
omit: GlobalOmitOptions
|
|
495
496
|
}
|
|
496
497
|
meta: {
|
|
497
|
-
modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "teamMembership" | "teamInvitation" | "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"
|
|
498
|
+
modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "teamMembership" | "teamInvitation" | "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"
|
|
498
499
|
txIsolationLevel: TransactionIsolationLevel
|
|
499
500
|
}
|
|
500
501
|
model: {
|
|
@@ -7528,6 +7529,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
7528
7529
|
}
|
|
7529
7530
|
}
|
|
7530
7531
|
}
|
|
7532
|
+
DeveloperLog: {
|
|
7533
|
+
payload: Prisma.$DeveloperLogPayload<ExtArgs>
|
|
7534
|
+
fields: Prisma.DeveloperLogFieldRefs
|
|
7535
|
+
operations: {
|
|
7536
|
+
findUnique: {
|
|
7537
|
+
args: Prisma.DeveloperLogFindUniqueArgs<ExtArgs>
|
|
7538
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload> | null
|
|
7539
|
+
}
|
|
7540
|
+
findUniqueOrThrow: {
|
|
7541
|
+
args: Prisma.DeveloperLogFindUniqueOrThrowArgs<ExtArgs>
|
|
7542
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7543
|
+
}
|
|
7544
|
+
findFirst: {
|
|
7545
|
+
args: Prisma.DeveloperLogFindFirstArgs<ExtArgs>
|
|
7546
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload> | null
|
|
7547
|
+
}
|
|
7548
|
+
findFirstOrThrow: {
|
|
7549
|
+
args: Prisma.DeveloperLogFindFirstOrThrowArgs<ExtArgs>
|
|
7550
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7551
|
+
}
|
|
7552
|
+
findMany: {
|
|
7553
|
+
args: Prisma.DeveloperLogFindManyArgs<ExtArgs>
|
|
7554
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
7555
|
+
}
|
|
7556
|
+
create: {
|
|
7557
|
+
args: Prisma.DeveloperLogCreateArgs<ExtArgs>
|
|
7558
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7559
|
+
}
|
|
7560
|
+
createMany: {
|
|
7561
|
+
args: Prisma.DeveloperLogCreateManyArgs<ExtArgs>
|
|
7562
|
+
result: BatchPayload
|
|
7563
|
+
}
|
|
7564
|
+
createManyAndReturn: {
|
|
7565
|
+
args: Prisma.DeveloperLogCreateManyAndReturnArgs<ExtArgs>
|
|
7566
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
7567
|
+
}
|
|
7568
|
+
delete: {
|
|
7569
|
+
args: Prisma.DeveloperLogDeleteArgs<ExtArgs>
|
|
7570
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7571
|
+
}
|
|
7572
|
+
update: {
|
|
7573
|
+
args: Prisma.DeveloperLogUpdateArgs<ExtArgs>
|
|
7574
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7575
|
+
}
|
|
7576
|
+
deleteMany: {
|
|
7577
|
+
args: Prisma.DeveloperLogDeleteManyArgs<ExtArgs>
|
|
7578
|
+
result: BatchPayload
|
|
7579
|
+
}
|
|
7580
|
+
updateMany: {
|
|
7581
|
+
args: Prisma.DeveloperLogUpdateManyArgs<ExtArgs>
|
|
7582
|
+
result: BatchPayload
|
|
7583
|
+
}
|
|
7584
|
+
updateManyAndReturn: {
|
|
7585
|
+
args: Prisma.DeveloperLogUpdateManyAndReturnArgs<ExtArgs>
|
|
7586
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
7587
|
+
}
|
|
7588
|
+
upsert: {
|
|
7589
|
+
args: Prisma.DeveloperLogUpsertArgs<ExtArgs>
|
|
7590
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
7591
|
+
}
|
|
7592
|
+
aggregate: {
|
|
7593
|
+
args: Prisma.DeveloperLogAggregateArgs<ExtArgs>
|
|
7594
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDeveloperLog>
|
|
7595
|
+
}
|
|
7596
|
+
groupBy: {
|
|
7597
|
+
args: Prisma.DeveloperLogGroupByArgs<ExtArgs>
|
|
7598
|
+
result: runtime.Types.Utils.Optional<Prisma.DeveloperLogGroupByOutputType>[]
|
|
7599
|
+
}
|
|
7600
|
+
count: {
|
|
7601
|
+
args: Prisma.DeveloperLogCountArgs<ExtArgs>
|
|
7602
|
+
result: runtime.Types.Utils.Optional<Prisma.DeveloperLogCountAggregateOutputType> | number
|
|
7603
|
+
}
|
|
7604
|
+
}
|
|
7605
|
+
}
|
|
7531
7606
|
}
|
|
7532
7607
|
} & {
|
|
7533
7608
|
other: {
|
|
@@ -9049,6 +9124,22 @@ export const UserSkillScalarFieldEnum = {
|
|
|
9049
9124
|
export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
|
|
9050
9125
|
|
|
9051
9126
|
|
|
9127
|
+
export const DeveloperLogScalarFieldEnum = {
|
|
9128
|
+
id: 'id',
|
|
9129
|
+
date: 'date',
|
|
9130
|
+
year: 'year',
|
|
9131
|
+
title: 'title',
|
|
9132
|
+
desc: 'desc',
|
|
9133
|
+
tags: 'tags',
|
|
9134
|
+
commitSha: 'commitSha',
|
|
9135
|
+
createdAt: 'createdAt',
|
|
9136
|
+
updatedAt: 'updatedAt',
|
|
9137
|
+
isDeleted: 'isDeleted'
|
|
9138
|
+
} as const
|
|
9139
|
+
|
|
9140
|
+
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
9141
|
+
|
|
9142
|
+
|
|
9052
9143
|
export const SortOrder = {
|
|
9053
9144
|
asc: 'asc',
|
|
9054
9145
|
desc: 'desc'
|
|
@@ -9538,6 +9629,7 @@ export type GlobalOmitConfig = {
|
|
|
9538
9629
|
complianceExport?: Prisma.ComplianceExportOmit
|
|
9539
9630
|
userAgent?: Prisma.UserAgentOmit
|
|
9540
9631
|
userSkill?: Prisma.UserSkillOmit
|
|
9632
|
+
developerLog?: Prisma.DeveloperLogOmit
|
|
9541
9633
|
}
|
|
9542
9634
|
|
|
9543
9635
|
/* Types for Logging */
|
|
@@ -145,7 +145,8 @@ export const ModelName = {
|
|
|
145
145
|
RoleAssignment: 'RoleAssignment',
|
|
146
146
|
ComplianceExport: 'ComplianceExport',
|
|
147
147
|
UserAgent: 'UserAgent',
|
|
148
|
-
UserSkill: 'UserSkill'
|
|
148
|
+
UserSkill: 'UserSkill',
|
|
149
|
+
DeveloperLog: 'DeveloperLog'
|
|
149
150
|
} as const
|
|
150
151
|
|
|
151
152
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -1646,6 +1647,22 @@ export const UserSkillScalarFieldEnum = {
|
|
|
1646
1647
|
export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
|
|
1647
1648
|
|
|
1648
1649
|
|
|
1650
|
+
export const DeveloperLogScalarFieldEnum = {
|
|
1651
|
+
id: 'id',
|
|
1652
|
+
date: 'date',
|
|
1653
|
+
year: 'year',
|
|
1654
|
+
title: 'title',
|
|
1655
|
+
desc: 'desc',
|
|
1656
|
+
tags: 'tags',
|
|
1657
|
+
commitSha: 'commitSha',
|
|
1658
|
+
createdAt: 'createdAt',
|
|
1659
|
+
updatedAt: 'updatedAt',
|
|
1660
|
+
isDeleted: 'isDeleted'
|
|
1661
|
+
} as const
|
|
1662
|
+
|
|
1663
|
+
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
1664
|
+
|
|
1665
|
+
|
|
1649
1666
|
export const SortOrder = {
|
|
1650
1667
|
asc: 'asc',
|
|
1651
1668
|
desc: 'desc'
|