@allbluecn/database 0.9.3 → 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 +9 -23
- 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
- package/dist/cf-env-stub.d.ts +0 -1
- package/dist/cf-env-stub.js +0 -4
- package/dist/cf-env.d.ts +0 -1
- package/dist/cf-env.js +0 -8
- package/dist/get-prisma.d.ts +0 -1
- package/dist/get-prisma.js +0 -7
- package/dist/lib/share-utils.d.ts +0 -2
- package/dist/lib/share-utils.js +0 -17
|
@@ -7661,6 +7661,7 @@ export const UserScalarFieldEnum = {
|
|
|
7661
7661
|
image: 'image',
|
|
7662
7662
|
role: 'role',
|
|
7663
7663
|
status: 'status',
|
|
7664
|
+
tokenVersion: 'tokenVersion',
|
|
7664
7665
|
createdAt: 'createdAt',
|
|
7665
7666
|
updatedAt: 'updatedAt',
|
|
7666
7667
|
lastLoginAt: 'lastLoginAt',
|
|
@@ -9253,6 +9254,13 @@ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel
|
|
|
9253
9254
|
|
|
9254
9255
|
|
|
9255
9256
|
|
|
9257
|
+
/**
|
|
9258
|
+
* Reference to a field of type 'Int'
|
|
9259
|
+
*/
|
|
9260
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
9261
|
+
|
|
9262
|
+
|
|
9263
|
+
|
|
9256
9264
|
/**
|
|
9257
9265
|
* Reference to a field of type 'Json'
|
|
9258
9266
|
*/
|
|
@@ -9274,13 +9282,6 @@ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel,
|
|
|
9274
9282
|
|
|
9275
9283
|
|
|
9276
9284
|
|
|
9277
|
-
/**
|
|
9278
|
-
* Reference to a field of type 'Int'
|
|
9279
|
-
*/
|
|
9280
|
-
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
9285
|
/**
|
|
9285
9286
|
* Reference to a field of type 'Float'
|
|
9286
9287
|
*/
|
|
@@ -579,14 +579,6 @@ export type HarnessPluginUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
579
579
|
deleteMany?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
export type IntFieldUpdateOperationsInput = {
|
|
583
|
-
set?: number
|
|
584
|
-
increment?: number
|
|
585
|
-
decrement?: number
|
|
586
|
-
multiply?: number
|
|
587
|
-
divide?: number
|
|
588
|
-
}
|
|
589
|
-
|
|
590
582
|
export type HarnessPluginCreateWithoutUserInput = {
|
|
591
583
|
id?: string
|
|
592
584
|
name: string
|