document-drive 1.0.0-alpha.62 → 1.0.0-alpha.63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-drive",
3
- "version": "1.0.0-alpha.62",
3
+ "version": "1.0.0-alpha.63",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "module": "./src/index.ts",
@@ -25,14 +25,14 @@ import { DocumentDriveStorage, DocumentStorage, IDriveStorage } from './types';
25
25
 
26
26
  type Transaction =
27
27
  | Omit<
28
- PrismaClient<Prisma.PrismaClientOptions, never>,
29
- | '$connect'
30
- | '$disconnect'
31
- | '$on'
32
- | '$transaction'
33
- | '$use'
34
- | '$extends'
35
- >
28
+ PrismaClient<Prisma.PrismaClientOptions, never>,
29
+ | '$connect'
30
+ | '$disconnect'
31
+ | '$on'
32
+ | '$transaction'
33
+ | '$use'
34
+ | '$extends'
35
+ >
36
36
  | ExtendedPrismaClient;
37
37
 
38
38
  function storageToOperation(
@@ -390,7 +390,7 @@ export class PrismaStorage implements IDriveStorage {
390
390
  ELSE NULL
391
391
  END AS "resultingState"
392
392
  FROM ranked_operations
393
- WHERE "driveId" = '${driveId}' AND "documentId" = '${id}'
393
+ WHERE "driveId" = ${driveId} AND "documentId" = ${id}
394
394
  ORDER BY scope, index;
395
395
  `;
396
396
 
@@ -446,6 +446,8 @@ export class PrismaStorage implements IDriveStorage {
446
446
  attachments: {}
447
447
  };
448
448
 
449
+
450
+
449
451
  return doc;
450
452
  }
451
453