Skip to content

Commit 1469a1d

Browse files
committed
Export IR
1 parent 3353b5f commit 1469a1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/db/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// 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+
26
export * from "./collection"
37
export * from "./SortedMap"
48
export * from "./transactions"
@@ -18,3 +22,4 @@ export { type IndexOptions } from "./indexes/index-options.js"
1822

1923
// Re-export some stuff explicitly to ensure the type & value is exported
2024
export type { Collection } from "./collection"
25+
export { IR }

0 commit comments

Comments
 (0)