Skip to content

Commit bcba60b

Browse files
committed
Export IR
1 parent 73c02c9 commit bcba60b

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
@@ -10,6 +10,10 @@ export * from "./local-only"
1010
export * from "./local-storage"
1111
export * from "./errors"
1212

13+
// Re-export IR types under their own namespace
14+
// because custom collections need access to the IR types
15+
import * as IR from "./query/ir.js"
16+
1317
// Index system exports
1418
export * from "./indexes/base-index.js"
1519
export * from "./indexes/btree-index.js"
@@ -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/index.js"
25+
export { IR }

0 commit comments

Comments
 (0)