@allbluecn/database 0.4.9 → 0.4.11
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
|
@@ -459,7 +459,8 @@ export const ModelName = {
|
|
|
459
459
|
RoleAssignment: 'RoleAssignment',
|
|
460
460
|
ComplianceExport: 'ComplianceExport',
|
|
461
461
|
UserAgent: 'UserAgent',
|
|
462
|
-
UserSkill: 'UserSkill'
|
|
462
|
+
UserSkill: 'UserSkill',
|
|
463
|
+
DeveloperLog: 'DeveloperLog'
|
|
463
464
|
} as const
|
|
464
465
|
|
|
465
466
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -475,7 +476,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
475
476
|
omit: GlobalOmitOptions
|
|
476
477
|
}
|
|
477
478
|
meta: {
|
|
478
|
-
modelProps: "systemSetting" | "user" | "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" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill"
|
|
479
|
+
modelProps: "systemSetting" | "user" | "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" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog"
|
|
479
480
|
txIsolationLevel: TransactionIsolationLevel
|
|
480
481
|
}
|
|
481
482
|
model: {
|
|
@@ -6103,6 +6104,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
6103
6104
|
}
|
|
6104
6105
|
}
|
|
6105
6106
|
}
|
|
6107
|
+
DeveloperLog: {
|
|
6108
|
+
payload: Prisma.$DeveloperLogPayload<ExtArgs>
|
|
6109
|
+
fields: Prisma.DeveloperLogFieldRefs
|
|
6110
|
+
operations: {
|
|
6111
|
+
findUnique: {
|
|
6112
|
+
args: Prisma.DeveloperLogFindUniqueArgs<ExtArgs>
|
|
6113
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload> | null
|
|
6114
|
+
}
|
|
6115
|
+
findUniqueOrThrow: {
|
|
6116
|
+
args: Prisma.DeveloperLogFindUniqueOrThrowArgs<ExtArgs>
|
|
6117
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6118
|
+
}
|
|
6119
|
+
findFirst: {
|
|
6120
|
+
args: Prisma.DeveloperLogFindFirstArgs<ExtArgs>
|
|
6121
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload> | null
|
|
6122
|
+
}
|
|
6123
|
+
findFirstOrThrow: {
|
|
6124
|
+
args: Prisma.DeveloperLogFindFirstOrThrowArgs<ExtArgs>
|
|
6125
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6126
|
+
}
|
|
6127
|
+
findMany: {
|
|
6128
|
+
args: Prisma.DeveloperLogFindManyArgs<ExtArgs>
|
|
6129
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
6130
|
+
}
|
|
6131
|
+
create: {
|
|
6132
|
+
args: Prisma.DeveloperLogCreateArgs<ExtArgs>
|
|
6133
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6134
|
+
}
|
|
6135
|
+
createMany: {
|
|
6136
|
+
args: Prisma.DeveloperLogCreateManyArgs<ExtArgs>
|
|
6137
|
+
result: BatchPayload
|
|
6138
|
+
}
|
|
6139
|
+
createManyAndReturn: {
|
|
6140
|
+
args: Prisma.DeveloperLogCreateManyAndReturnArgs<ExtArgs>
|
|
6141
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
6142
|
+
}
|
|
6143
|
+
delete: {
|
|
6144
|
+
args: Prisma.DeveloperLogDeleteArgs<ExtArgs>
|
|
6145
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6146
|
+
}
|
|
6147
|
+
update: {
|
|
6148
|
+
args: Prisma.DeveloperLogUpdateArgs<ExtArgs>
|
|
6149
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6150
|
+
}
|
|
6151
|
+
deleteMany: {
|
|
6152
|
+
args: Prisma.DeveloperLogDeleteManyArgs<ExtArgs>
|
|
6153
|
+
result: BatchPayload
|
|
6154
|
+
}
|
|
6155
|
+
updateMany: {
|
|
6156
|
+
args: Prisma.DeveloperLogUpdateManyArgs<ExtArgs>
|
|
6157
|
+
result: BatchPayload
|
|
6158
|
+
}
|
|
6159
|
+
updateManyAndReturn: {
|
|
6160
|
+
args: Prisma.DeveloperLogUpdateManyAndReturnArgs<ExtArgs>
|
|
6161
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>[]
|
|
6162
|
+
}
|
|
6163
|
+
upsert: {
|
|
6164
|
+
args: Prisma.DeveloperLogUpsertArgs<ExtArgs>
|
|
6165
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DeveloperLogPayload>
|
|
6166
|
+
}
|
|
6167
|
+
aggregate: {
|
|
6168
|
+
args: Prisma.DeveloperLogAggregateArgs<ExtArgs>
|
|
6169
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDeveloperLog>
|
|
6170
|
+
}
|
|
6171
|
+
groupBy: {
|
|
6172
|
+
args: Prisma.DeveloperLogGroupByArgs<ExtArgs>
|
|
6173
|
+
result: runtime.Types.Utils.Optional<Prisma.DeveloperLogGroupByOutputType>[]
|
|
6174
|
+
}
|
|
6175
|
+
count: {
|
|
6176
|
+
args: Prisma.DeveloperLogCountArgs<ExtArgs>
|
|
6177
|
+
result: runtime.Types.Utils.Optional<Prisma.DeveloperLogCountAggregateOutputType> | number
|
|
6178
|
+
}
|
|
6179
|
+
}
|
|
6180
|
+
}
|
|
6106
6181
|
}
|
|
6107
6182
|
} & {
|
|
6108
6183
|
other: {
|
|
@@ -7363,6 +7438,22 @@ export const UserSkillScalarFieldEnum = {
|
|
|
7363
7438
|
export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
|
|
7364
7439
|
|
|
7365
7440
|
|
|
7441
|
+
export const DeveloperLogScalarFieldEnum = {
|
|
7442
|
+
id: 'id',
|
|
7443
|
+
date: 'date',
|
|
7444
|
+
year: 'year',
|
|
7445
|
+
title: 'title',
|
|
7446
|
+
desc: 'desc',
|
|
7447
|
+
tags: 'tags',
|
|
7448
|
+
commitSha: 'commitSha',
|
|
7449
|
+
createdAt: 'createdAt',
|
|
7450
|
+
updatedAt: 'updatedAt',
|
|
7451
|
+
isDeleted: 'isDeleted'
|
|
7452
|
+
} as const
|
|
7453
|
+
|
|
7454
|
+
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
7455
|
+
|
|
7456
|
+
|
|
7366
7457
|
export const SortOrder = {
|
|
7367
7458
|
asc: 'asc',
|
|
7368
7459
|
desc: 'desc'
|
|
@@ -7651,6 +7742,7 @@ export type GlobalOmitConfig = {
|
|
|
7651
7742
|
complianceExport?: Prisma.ComplianceExportOmit
|
|
7652
7743
|
userAgent?: Prisma.UserAgentOmit
|
|
7653
7744
|
userSkill?: Prisma.UserSkillOmit
|
|
7745
|
+
developerLog?: Prisma.DeveloperLogOmit
|
|
7654
7746
|
}
|
|
7655
7747
|
|
|
7656
7748
|
/* Types for Logging */
|
|
@@ -126,7 +126,8 @@ export const ModelName = {
|
|
|
126
126
|
RoleAssignment: 'RoleAssignment',
|
|
127
127
|
ComplianceExport: 'ComplianceExport',
|
|
128
128
|
UserAgent: 'UserAgent',
|
|
129
|
-
UserSkill: 'UserSkill'
|
|
129
|
+
UserSkill: 'UserSkill',
|
|
130
|
+
DeveloperLog: 'DeveloperLog'
|
|
130
131
|
} as const
|
|
131
132
|
|
|
132
133
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -1366,6 +1367,22 @@ export const UserSkillScalarFieldEnum = {
|
|
|
1366
1367
|
export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
|
|
1367
1368
|
|
|
1368
1369
|
|
|
1370
|
+
export const DeveloperLogScalarFieldEnum = {
|
|
1371
|
+
id: 'id',
|
|
1372
|
+
date: 'date',
|
|
1373
|
+
year: 'year',
|
|
1374
|
+
title: 'title',
|
|
1375
|
+
desc: 'desc',
|
|
1376
|
+
tags: 'tags',
|
|
1377
|
+
commitSha: 'commitSha',
|
|
1378
|
+
createdAt: 'createdAt',
|
|
1379
|
+
updatedAt: 'updatedAt',
|
|
1380
|
+
isDeleted: 'isDeleted'
|
|
1381
|
+
} as const
|
|
1382
|
+
|
|
1383
|
+
export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
|
|
1384
|
+
|
|
1385
|
+
|
|
1369
1386
|
export const SortOrder = {
|
|
1370
1387
|
asc: 'asc',
|
|
1371
1388
|
desc: 'desc'
|