@allbluecn/database 0.9.4 → 0.9.5
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/desktop-init.ts +48 -14
- package/generated/browser.ts +10 -0
- package/generated/client.ts +10 -0
- package/generated/commonInputTypes.ts +54 -54
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +152 -10
- package/generated/internal/prismaNamespaceBrowser.ts +25 -1
- package/generated/models/DesignEmbedding.ts +993 -0
- package/generated/models/HarnessPlugin.ts +0 -8
- package/generated/models/KnowledgeEmbedding.ts +1017 -0
- package/generated/models/User.ts +400 -1
- package/generated/models.ts +2 -0
- package/generated-sqlite/commonInputTypes.ts +54 -54
- package/generated-sqlite/internal/class.ts +4 -4
- package/generated-sqlite/internal/prismaNamespace.ts +8 -7
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1 -0
- package/generated-sqlite/models/HarnessPlugin.ts +0 -8
- package/generated-sqlite/models/User.ts +288 -1
- package/migrations/20261026130000_recreate_vector_tables/migration.sql +38 -0
- package/migrations/20261028120000_audit_token_version_share_index/migration.sql +8 -0
- package/package.json +6 -5
- package/schema.prisma +31 -1
- package/schema.sqlite.prisma +2 -1
- package/src/lib/share-utils.ts +9 -4
- package/src/lib/vec-tables.ts +33 -0
|
@@ -527,7 +527,9 @@ export const ModelName = {
|
|
|
527
527
|
CollabUpdate: 'CollabUpdate',
|
|
528
528
|
CollabClient: 'CollabClient',
|
|
529
529
|
AiTask: 'AiTask',
|
|
530
|
-
AiTaskRun: 'AiTaskRun'
|
|
530
|
+
AiTaskRun: 'AiTaskRun',
|
|
531
|
+
KnowledgeEmbedding: 'KnowledgeEmbedding',
|
|
532
|
+
DesignEmbedding: 'DesignEmbedding'
|
|
531
533
|
} as const
|
|
532
534
|
|
|
533
535
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -543,7 +545,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
543
545
|
omit: GlobalOmitOptions
|
|
544
546
|
}
|
|
545
547
|
meta: {
|
|
546
|
-
modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "workspaceMember" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "chatPersistenceMeta" | "harnessPlugin" | "systemPromptTemplate" | "systemPromptVersion" | "businessAgentBinding" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "emailVerificationToken" | "emailLog" | "emailPreference" | "oAuthProviderConfig" | "emailSubscriber" | "knowledgeBase" | "knowledgeDocument" | "design" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "designPage" | "componentInstance" | "blockInstance" | "designVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "projectKnowledgeBase" | "workspaceKnowledgeBase" | "workspaceQuickDoc" | "storyLink" | "storyAttachment" | "storyDesignLink" | "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" | "iteration" | "iterationAutoSchedule" | "codeSnippet" | "sandboxInstance" | "aiStreamChunk" | "desktopSetting" | "harnessWorkspace" | "workspaceFile" | "blob" | "bug" | "bugEvent" | "bugActivity" | "bugComment" | "bugCommentReaction" | "projectAccessToken" | "bugFixRun" | "bugReproRun" | "projectWebhook" | "bugProjectSettings" | "bugLabel" | "bugFilterView" | "testCase" | "testCaseFolder" | "testCaseFilterView" | "testGenerationRun" | "testPlan" | "testPlanCase" | "testRun" | "testRunCase" | "testExecRun" | "testAutomationArtifact" | "collabDocument" | "collabUpdate" | "collabClient" | "aiTask" | "aiTaskRun"
|
|
548
|
+
modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "workspaceMember" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "chatPersistenceMeta" | "harnessPlugin" | "systemPromptTemplate" | "systemPromptVersion" | "businessAgentBinding" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "emailVerificationToken" | "emailLog" | "emailPreference" | "oAuthProviderConfig" | "emailSubscriber" | "knowledgeBase" | "knowledgeDocument" | "design" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "designPage" | "componentInstance" | "blockInstance" | "designVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "projectKnowledgeBase" | "workspaceKnowledgeBase" | "workspaceQuickDoc" | "storyLink" | "storyAttachment" | "storyDesignLink" | "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" | "iteration" | "iterationAutoSchedule" | "codeSnippet" | "sandboxInstance" | "aiStreamChunk" | "desktopSetting" | "harnessWorkspace" | "workspaceFile" | "blob" | "bug" | "bugEvent" | "bugActivity" | "bugComment" | "bugCommentReaction" | "projectAccessToken" | "bugFixRun" | "bugReproRun" | "projectWebhook" | "bugProjectSettings" | "bugLabel" | "bugFilterView" | "testCase" | "testCaseFolder" | "testCaseFilterView" | "testGenerationRun" | "testPlan" | "testPlanCase" | "testRun" | "testRunCase" | "testExecRun" | "testAutomationArtifact" | "collabDocument" | "collabUpdate" | "collabClient" | "aiTask" | "aiTaskRun" | "knowledgeEmbedding" | "designEmbedding"
|
|
547
549
|
txIsolationLevel: TransactionIsolationLevel
|
|
548
550
|
}
|
|
549
551
|
model: {
|
|
@@ -11203,6 +11205,122 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
11203
11205
|
}
|
|
11204
11206
|
}
|
|
11205
11207
|
}
|
|
11208
|
+
KnowledgeEmbedding: {
|
|
11209
|
+
payload: Prisma.$KnowledgeEmbeddingPayload<ExtArgs>
|
|
11210
|
+
fields: Prisma.KnowledgeEmbeddingFieldRefs
|
|
11211
|
+
operations: {
|
|
11212
|
+
findUnique: {
|
|
11213
|
+
args: Prisma.KnowledgeEmbeddingFindUniqueArgs<ExtArgs>
|
|
11214
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload> | null
|
|
11215
|
+
}
|
|
11216
|
+
findUniqueOrThrow: {
|
|
11217
|
+
args: Prisma.KnowledgeEmbeddingFindUniqueOrThrowArgs<ExtArgs>
|
|
11218
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>
|
|
11219
|
+
}
|
|
11220
|
+
findFirst: {
|
|
11221
|
+
args: Prisma.KnowledgeEmbeddingFindFirstArgs<ExtArgs>
|
|
11222
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload> | null
|
|
11223
|
+
}
|
|
11224
|
+
findFirstOrThrow: {
|
|
11225
|
+
args: Prisma.KnowledgeEmbeddingFindFirstOrThrowArgs<ExtArgs>
|
|
11226
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>
|
|
11227
|
+
}
|
|
11228
|
+
findMany: {
|
|
11229
|
+
args: Prisma.KnowledgeEmbeddingFindManyArgs<ExtArgs>
|
|
11230
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>[]
|
|
11231
|
+
}
|
|
11232
|
+
delete: {
|
|
11233
|
+
args: Prisma.KnowledgeEmbeddingDeleteArgs<ExtArgs>
|
|
11234
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>
|
|
11235
|
+
}
|
|
11236
|
+
update: {
|
|
11237
|
+
args: Prisma.KnowledgeEmbeddingUpdateArgs<ExtArgs>
|
|
11238
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>
|
|
11239
|
+
}
|
|
11240
|
+
deleteMany: {
|
|
11241
|
+
args: Prisma.KnowledgeEmbeddingDeleteManyArgs<ExtArgs>
|
|
11242
|
+
result: BatchPayload
|
|
11243
|
+
}
|
|
11244
|
+
updateMany: {
|
|
11245
|
+
args: Prisma.KnowledgeEmbeddingUpdateManyArgs<ExtArgs>
|
|
11246
|
+
result: BatchPayload
|
|
11247
|
+
}
|
|
11248
|
+
updateManyAndReturn: {
|
|
11249
|
+
args: Prisma.KnowledgeEmbeddingUpdateManyAndReturnArgs<ExtArgs>
|
|
11250
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$KnowledgeEmbeddingPayload>[]
|
|
11251
|
+
}
|
|
11252
|
+
aggregate: {
|
|
11253
|
+
args: Prisma.KnowledgeEmbeddingAggregateArgs<ExtArgs>
|
|
11254
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateKnowledgeEmbedding>
|
|
11255
|
+
}
|
|
11256
|
+
groupBy: {
|
|
11257
|
+
args: Prisma.KnowledgeEmbeddingGroupByArgs<ExtArgs>
|
|
11258
|
+
result: runtime.Types.Utils.Optional<Prisma.KnowledgeEmbeddingGroupByOutputType>[]
|
|
11259
|
+
}
|
|
11260
|
+
count: {
|
|
11261
|
+
args: Prisma.KnowledgeEmbeddingCountArgs<ExtArgs>
|
|
11262
|
+
result: runtime.Types.Utils.Optional<Prisma.KnowledgeEmbeddingCountAggregateOutputType> | number
|
|
11263
|
+
}
|
|
11264
|
+
}
|
|
11265
|
+
}
|
|
11266
|
+
DesignEmbedding: {
|
|
11267
|
+
payload: Prisma.$DesignEmbeddingPayload<ExtArgs>
|
|
11268
|
+
fields: Prisma.DesignEmbeddingFieldRefs
|
|
11269
|
+
operations: {
|
|
11270
|
+
findUnique: {
|
|
11271
|
+
args: Prisma.DesignEmbeddingFindUniqueArgs<ExtArgs>
|
|
11272
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload> | null
|
|
11273
|
+
}
|
|
11274
|
+
findUniqueOrThrow: {
|
|
11275
|
+
args: Prisma.DesignEmbeddingFindUniqueOrThrowArgs<ExtArgs>
|
|
11276
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>
|
|
11277
|
+
}
|
|
11278
|
+
findFirst: {
|
|
11279
|
+
args: Prisma.DesignEmbeddingFindFirstArgs<ExtArgs>
|
|
11280
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload> | null
|
|
11281
|
+
}
|
|
11282
|
+
findFirstOrThrow: {
|
|
11283
|
+
args: Prisma.DesignEmbeddingFindFirstOrThrowArgs<ExtArgs>
|
|
11284
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>
|
|
11285
|
+
}
|
|
11286
|
+
findMany: {
|
|
11287
|
+
args: Prisma.DesignEmbeddingFindManyArgs<ExtArgs>
|
|
11288
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>[]
|
|
11289
|
+
}
|
|
11290
|
+
delete: {
|
|
11291
|
+
args: Prisma.DesignEmbeddingDeleteArgs<ExtArgs>
|
|
11292
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>
|
|
11293
|
+
}
|
|
11294
|
+
update: {
|
|
11295
|
+
args: Prisma.DesignEmbeddingUpdateArgs<ExtArgs>
|
|
11296
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>
|
|
11297
|
+
}
|
|
11298
|
+
deleteMany: {
|
|
11299
|
+
args: Prisma.DesignEmbeddingDeleteManyArgs<ExtArgs>
|
|
11300
|
+
result: BatchPayload
|
|
11301
|
+
}
|
|
11302
|
+
updateMany: {
|
|
11303
|
+
args: Prisma.DesignEmbeddingUpdateManyArgs<ExtArgs>
|
|
11304
|
+
result: BatchPayload
|
|
11305
|
+
}
|
|
11306
|
+
updateManyAndReturn: {
|
|
11307
|
+
args: Prisma.DesignEmbeddingUpdateManyAndReturnArgs<ExtArgs>
|
|
11308
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DesignEmbeddingPayload>[]
|
|
11309
|
+
}
|
|
11310
|
+
aggregate: {
|
|
11311
|
+
args: Prisma.DesignEmbeddingAggregateArgs<ExtArgs>
|
|
11312
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDesignEmbedding>
|
|
11313
|
+
}
|
|
11314
|
+
groupBy: {
|
|
11315
|
+
args: Prisma.DesignEmbeddingGroupByArgs<ExtArgs>
|
|
11316
|
+
result: runtime.Types.Utils.Optional<Prisma.DesignEmbeddingGroupByOutputType>[]
|
|
11317
|
+
}
|
|
11318
|
+
count: {
|
|
11319
|
+
args: Prisma.DesignEmbeddingCountArgs<ExtArgs>
|
|
11320
|
+
result: runtime.Types.Utils.Optional<Prisma.DesignEmbeddingCountAggregateOutputType> | number
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
}
|
|
11206
11324
|
}
|
|
11207
11325
|
} & {
|
|
11208
11326
|
other: {
|
|
@@ -11264,6 +11382,7 @@ export const UserScalarFieldEnum = {
|
|
|
11264
11382
|
image: 'image',
|
|
11265
11383
|
role: 'role',
|
|
11266
11384
|
status: 'status',
|
|
11385
|
+
tokenVersion: 'tokenVersion',
|
|
11267
11386
|
createdAt: 'createdAt',
|
|
11268
11387
|
updatedAt: 'updatedAt',
|
|
11269
11388
|
lastLoginAt: 'lastLoginAt',
|
|
@@ -13488,6 +13607,27 @@ export const AiTaskRunScalarFieldEnum = {
|
|
|
13488
13607
|
export type AiTaskRunScalarFieldEnum = (typeof AiTaskRunScalarFieldEnum)[keyof typeof AiTaskRunScalarFieldEnum]
|
|
13489
13608
|
|
|
13490
13609
|
|
|
13610
|
+
export const KnowledgeEmbeddingScalarFieldEnum = {
|
|
13611
|
+
id: 'id',
|
|
13612
|
+
content: 'content',
|
|
13613
|
+
kbId: 'kbId',
|
|
13614
|
+
documentId: 'documentId',
|
|
13615
|
+
chunkIndex: 'chunkIndex'
|
|
13616
|
+
} as const
|
|
13617
|
+
|
|
13618
|
+
export type KnowledgeEmbeddingScalarFieldEnum = (typeof KnowledgeEmbeddingScalarFieldEnum)[keyof typeof KnowledgeEmbeddingScalarFieldEnum]
|
|
13619
|
+
|
|
13620
|
+
|
|
13621
|
+
export const DesignEmbeddingScalarFieldEnum = {
|
|
13622
|
+
id: 'id',
|
|
13623
|
+
content: 'content',
|
|
13624
|
+
designPageId: 'designPageId',
|
|
13625
|
+
chunkIndex: 'chunkIndex'
|
|
13626
|
+
} as const
|
|
13627
|
+
|
|
13628
|
+
export type DesignEmbeddingScalarFieldEnum = (typeof DesignEmbeddingScalarFieldEnum)[keyof typeof DesignEmbeddingScalarFieldEnum]
|
|
13629
|
+
|
|
13630
|
+
|
|
13491
13631
|
export const SortOrder = {
|
|
13492
13632
|
asc: 'asc',
|
|
13493
13633
|
desc: 'desc'
|
|
@@ -13599,30 +13739,30 @@ export type ListEnumUserStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$P
|
|
|
13599
13739
|
|
|
13600
13740
|
|
|
13601
13741
|
/**
|
|
13602
|
-
* Reference to a field of type '
|
|
13742
|
+
* Reference to a field of type 'Int'
|
|
13603
13743
|
*/
|
|
13604
|
-
export type
|
|
13744
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
13605
13745
|
|
|
13606
13746
|
|
|
13607
13747
|
|
|
13608
13748
|
/**
|
|
13609
|
-
* Reference to a field of type '
|
|
13749
|
+
* Reference to a field of type 'Int[]'
|
|
13610
13750
|
*/
|
|
13611
|
-
export type
|
|
13751
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
|
|
13612
13752
|
|
|
13613
13753
|
|
|
13614
13754
|
|
|
13615
13755
|
/**
|
|
13616
|
-
* Reference to a field of type '
|
|
13756
|
+
* Reference to a field of type 'Json'
|
|
13617
13757
|
*/
|
|
13618
|
-
export type
|
|
13758
|
+
export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
|
|
13619
13759
|
|
|
13620
13760
|
|
|
13621
13761
|
|
|
13622
13762
|
/**
|
|
13623
|
-
* Reference to a field of type '
|
|
13763
|
+
* Reference to a field of type 'QueryMode'
|
|
13624
13764
|
*/
|
|
13625
|
-
export type
|
|
13765
|
+
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
|
|
13626
13766
|
|
|
13627
13767
|
|
|
13628
13768
|
|
|
@@ -14054,6 +14194,8 @@ export type GlobalOmitConfig = {
|
|
|
14054
14194
|
collabClient?: Prisma.CollabClientOmit
|
|
14055
14195
|
aiTask?: Prisma.AiTaskOmit
|
|
14056
14196
|
aiTaskRun?: Prisma.AiTaskRunOmit
|
|
14197
|
+
knowledgeEmbedding?: Prisma.KnowledgeEmbeddingOmit
|
|
14198
|
+
designEmbedding?: Prisma.DesignEmbeddingOmit
|
|
14057
14199
|
}
|
|
14058
14200
|
|
|
14059
14201
|
/* Types for Logging */
|
|
@@ -194,7 +194,9 @@ export const ModelName = {
|
|
|
194
194
|
CollabUpdate: 'CollabUpdate',
|
|
195
195
|
CollabClient: 'CollabClient',
|
|
196
196
|
AiTask: 'AiTask',
|
|
197
|
-
AiTaskRun: 'AiTaskRun'
|
|
197
|
+
AiTaskRun: 'AiTaskRun',
|
|
198
|
+
KnowledgeEmbedding: 'KnowledgeEmbedding',
|
|
199
|
+
DesignEmbedding: 'DesignEmbedding'
|
|
198
200
|
} as const
|
|
199
201
|
|
|
200
202
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -235,6 +237,7 @@ export const UserScalarFieldEnum = {
|
|
|
235
237
|
image: 'image',
|
|
236
238
|
role: 'role',
|
|
237
239
|
status: 'status',
|
|
240
|
+
tokenVersion: 'tokenVersion',
|
|
238
241
|
createdAt: 'createdAt',
|
|
239
242
|
updatedAt: 'updatedAt',
|
|
240
243
|
lastLoginAt: 'lastLoginAt',
|
|
@@ -2459,6 +2462,27 @@ export const AiTaskRunScalarFieldEnum = {
|
|
|
2459
2462
|
export type AiTaskRunScalarFieldEnum = (typeof AiTaskRunScalarFieldEnum)[keyof typeof AiTaskRunScalarFieldEnum]
|
|
2460
2463
|
|
|
2461
2464
|
|
|
2465
|
+
export const KnowledgeEmbeddingScalarFieldEnum = {
|
|
2466
|
+
id: 'id',
|
|
2467
|
+
content: 'content',
|
|
2468
|
+
kbId: 'kbId',
|
|
2469
|
+
documentId: 'documentId',
|
|
2470
|
+
chunkIndex: 'chunkIndex'
|
|
2471
|
+
} as const
|
|
2472
|
+
|
|
2473
|
+
export type KnowledgeEmbeddingScalarFieldEnum = (typeof KnowledgeEmbeddingScalarFieldEnum)[keyof typeof KnowledgeEmbeddingScalarFieldEnum]
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
export const DesignEmbeddingScalarFieldEnum = {
|
|
2477
|
+
id: 'id',
|
|
2478
|
+
content: 'content',
|
|
2479
|
+
designPageId: 'designPageId',
|
|
2480
|
+
chunkIndex: 'chunkIndex'
|
|
2481
|
+
} as const
|
|
2482
|
+
|
|
2483
|
+
export type DesignEmbeddingScalarFieldEnum = (typeof DesignEmbeddingScalarFieldEnum)[keyof typeof DesignEmbeddingScalarFieldEnum]
|
|
2484
|
+
|
|
2485
|
+
|
|
2462
2486
|
export const SortOrder = {
|
|
2463
2487
|
asc: 'asc',
|
|
2464
2488
|
desc: 'desc'
|