document-drive 4.1.0-dev.40 → 4.1.0-dev.41
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/dist/prisma/schema.prisma +1 -0
- package/dist/src/storage/prisma/client/edge.js +6 -2
- package/dist/src/storage/prisma/client/index.js +10 -2
- package/dist/src/storage/prisma/client/libquery_engine-linux-musl.so.node +0 -0
- package/dist/src/storage/prisma/client/package.json +1 -1
- package/dist/src/storage/prisma/client/schema.prisma +3 -2
- package/package.json +3 -3
|
@@ -203,6 +203,10 @@ const config = {
|
|
|
203
203
|
"fromEnvVar": null,
|
|
204
204
|
"value": "debian-openssl-3.0.x",
|
|
205
205
|
"native": true
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"fromEnvVar": null,
|
|
209
|
+
"value": "linux-musl"
|
|
206
210
|
}
|
|
207
211
|
],
|
|
208
212
|
"previewFeatures": [],
|
|
@@ -229,8 +233,8 @@ const config = {
|
|
|
229
233
|
}
|
|
230
234
|
}
|
|
231
235
|
},
|
|
232
|
-
"inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider
|
|
233
|
-
"inlineSchemaHash": "
|
|
236
|
+
"inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider = \"prisma-client-js\"\n binaryTargets = [\"native\", \"linux-musl\"]\n output = \"../src/storage/prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Drive {\n id String @id\n driveDocuments DriveDocument[]\n}\n\nmodel Document {\n id String @id\n // ordinal used only for paging\n ordinal Int @unique @default(autoincrement())\n created DateTime @default(now())\n lastModified DateTime @default(now())\n slug String? @unique\n revision String\n name String?\n operations Operation[]\n initialState String // json object with the scope as keys of the root object\n documentType String\n meta String?\n synchronizationUnits SynchronizationUnit[]\n scopes String[]\n}\n\n// Model to map the many-to-many relationship between drives and documents\nmodel DriveDocument {\n driveId String\n documentId String\n drive Drive @relation(fields: [driveId], references: [id], onDelete: Cascade)\n\n @@id([driveId, documentId])\n @@index([driveId])\n @@index([documentId])\n}\n\nmodel Operation {\n id String @id @default(uuid())\n opId String?\n Document Document? @relation(fields: [documentId], references: [id], onDelete: Cascade)\n documentId String\n scope String\n branch String\n index Int\n skip Int\n hash String\n timestamp DateTime\n actionId String\n input String\n type String\n attachments Attachment[]\n syncId String?\n clipboard Boolean? @default(false)\n context Json?\n resultingState Bytes?\n\n SynchronizationUnit SynchronizationUnit? @relation(fields: [syncId], references: [id], onDelete: Cascade)\n\n @@unique([documentId, scope, branch, index(sort: Asc)], name: \"unique_operation\")\n}\n\nmodel SynchronizationUnit {\n id String @id\n documentId String\n\n Document Document @relation(fields: [documentId], references: [id], onDelete: Cascade)\n scope String\n branch String\n operations Operation[]\n}\n\nmodel Attachment {\n id String @id @default(uuid())\n operationId String\n Operation Operation @relation(fields: [operationId], references: [id], onDelete: Cascade)\n\n mimeType String\n data String\n filename String?\n extension String?\n hash String\n}\n",
|
|
237
|
+
"inlineSchemaHash": "def9250859812e8f340f32ed129ff919181a0536056618a496218e59a3582c17",
|
|
234
238
|
"copyEngine": true
|
|
235
239
|
}
|
|
236
240
|
config.dirname = '/'
|
|
@@ -204,6 +204,10 @@ const config = {
|
|
|
204
204
|
"fromEnvVar": null,
|
|
205
205
|
"value": "debian-openssl-3.0.x",
|
|
206
206
|
"native": true
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"fromEnvVar": null,
|
|
210
|
+
"value": "linux-musl"
|
|
207
211
|
}
|
|
208
212
|
],
|
|
209
213
|
"previewFeatures": [],
|
|
@@ -230,8 +234,8 @@ const config = {
|
|
|
230
234
|
}
|
|
231
235
|
}
|
|
232
236
|
},
|
|
233
|
-
"inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider
|
|
234
|
-
"inlineSchemaHash": "
|
|
237
|
+
"inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider = \"prisma-client-js\"\n binaryTargets = [\"native\", \"linux-musl\"]\n output = \"../src/storage/prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Drive {\n id String @id\n driveDocuments DriveDocument[]\n}\n\nmodel Document {\n id String @id\n // ordinal used only for paging\n ordinal Int @unique @default(autoincrement())\n created DateTime @default(now())\n lastModified DateTime @default(now())\n slug String? @unique\n revision String\n name String?\n operations Operation[]\n initialState String // json object with the scope as keys of the root object\n documentType String\n meta String?\n synchronizationUnits SynchronizationUnit[]\n scopes String[]\n}\n\n// Model to map the many-to-many relationship between drives and documents\nmodel DriveDocument {\n driveId String\n documentId String\n drive Drive @relation(fields: [driveId], references: [id], onDelete: Cascade)\n\n @@id([driveId, documentId])\n @@index([driveId])\n @@index([documentId])\n}\n\nmodel Operation {\n id String @id @default(uuid())\n opId String?\n Document Document? @relation(fields: [documentId], references: [id], onDelete: Cascade)\n documentId String\n scope String\n branch String\n index Int\n skip Int\n hash String\n timestamp DateTime\n actionId String\n input String\n type String\n attachments Attachment[]\n syncId String?\n clipboard Boolean? @default(false)\n context Json?\n resultingState Bytes?\n\n SynchronizationUnit SynchronizationUnit? @relation(fields: [syncId], references: [id], onDelete: Cascade)\n\n @@unique([documentId, scope, branch, index(sort: Asc)], name: \"unique_operation\")\n}\n\nmodel SynchronizationUnit {\n id String @id\n documentId String\n\n Document Document @relation(fields: [documentId], references: [id], onDelete: Cascade)\n scope String\n branch String\n operations Operation[]\n}\n\nmodel Attachment {\n id String @id @default(uuid())\n operationId String\n Operation Operation @relation(fields: [operationId], references: [id], onDelete: Cascade)\n\n mimeType String\n data String\n filename String?\n extension String?\n hash String\n}\n",
|
|
238
|
+
"inlineSchemaHash": "def9250859812e8f340f32ed129ff919181a0536056618a496218e59a3582c17",
|
|
235
239
|
"copyEngine": true
|
|
236
240
|
}
|
|
237
241
|
|
|
@@ -271,6 +275,10 @@ Object.assign(exports, Prisma)
|
|
|
271
275
|
// file annotations for bundling tools to include these files
|
|
272
276
|
path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node");
|
|
273
277
|
path.join(process.cwd(), "src/storage/prisma/client/libquery_engine-debian-openssl-3.0.x.so.node")
|
|
278
|
+
|
|
279
|
+
// file annotations for bundling tools to include these files
|
|
280
|
+
path.join(__dirname, "libquery_engine-linux-musl.so.node");
|
|
281
|
+
path.join(process.cwd(), "src/storage/prisma/client/libquery_engine-linux-musl.so.node")
|
|
274
282
|
// file annotations for bundling tools to include these files
|
|
275
283
|
path.join(__dirname, "schema.prisma");
|
|
276
284
|
path.join(process.cwd(), "src/storage/prisma/client/schema.prisma")
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
3
3
|
|
|
4
4
|
generator client {
|
|
5
|
-
provider
|
|
6
|
-
|
|
5
|
+
provider = "prisma-client-js"
|
|
6
|
+
binaryTargets = ["native", "linux-musl"]
|
|
7
|
+
output = "../src/storage/prisma/client"
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
datasource db {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-drive",
|
|
3
|
-
"version": "4.1.0-dev.
|
|
3
|
+
"version": "4.1.0-dev.41",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"sqlite3": "^5.1.7",
|
|
49
49
|
"uuid": "^11.0.5",
|
|
50
50
|
"zod": "^3.24.3",
|
|
51
|
-
"@powerhousedao/config": "4.1.0-dev.
|
|
52
|
-
"document-model": "4.1.0-dev.
|
|
51
|
+
"@powerhousedao/config": "4.1.0-dev.41",
|
|
52
|
+
"document-model": "4.1.0-dev.41"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@anatine/zod-mock": "^3.14.0",
|