@prisma-next/mongo-lowering 0.0.1 → 0.3.0-dev.146

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.
@@ -0,0 +1,16 @@
1
+ import { MongoQueryPlan } from "@prisma-next/mongo-query-ast";
2
+ import { AnyMongoWireCommand } from "@prisma-next/mongo-wire";
3
+
4
+ //#region src/adapter-types.d.ts
5
+ interface MongoAdapter {
6
+ lower(plan: MongoQueryPlan): AnyMongoWireCommand;
7
+ }
8
+ //#endregion
9
+ //#region src/driver-types.d.ts
10
+ interface MongoDriver {
11
+ execute<Row>(wireCommand: AnyMongoWireCommand): AsyncIterable<Row>;
12
+ close(): Promise<void>;
13
+ }
14
+ //#endregion
15
+ export { type MongoAdapter, type MongoDriver };
16
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/adapter-types.ts","../src/driver-types.ts"],"sourcesContent":[],"mappings":";;;;UAGiB,YAAA;cACH,iBAAiB;AAD/B;;;UCDiB,WAAA;4BACW,sBAAsB,cAAc;WACrD;ADDX"}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export { };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@prisma-next/mongo-lowering",
3
- "version": "0.0.1",
3
+ "version": "0.3.0-dev.146",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Adapter and driver interfaces for Prisma Next MongoDB lowering",
7
7
  "dependencies": {
8
- "@prisma-next/mongo-query-ast": "0.0.1",
9
- "@prisma-next/mongo-wire": "0.0.1"
8
+ "@prisma-next/mongo-query-ast": "0.3.0-dev.146",
9
+ "@prisma-next/mongo-wire": "0.3.0-dev.146"
10
10
  },
11
11
  "devDependencies": {
12
12
  "tsdown": "0.18.4",