We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3353b5f commit 1469a1dCopy full SHA for 1469a1d
packages/db/src/index.ts
@@ -1,4 +1,8 @@
1
// Re-export all public APIs
2
+// Re-export IR types under their own namespace
3
+// because custom collections need access to the IR types
4
+import * as IR from "./query/ir.js"
5
+
6
export * from "./collection"
7
export * from "./SortedMap"
8
export * from "./transactions"
@@ -18,3 +22,4 @@ export { type IndexOptions } from "./indexes/index-options.js"
18
22
19
23
// Re-export some stuff explicitly to ensure the type & value is exported
20
24
export type { Collection } from "./collection"
25
+export { IR }
0 commit comments