Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

index.ts

34 lines819 Bytes

1// Export QueryCollectionMeta from global.ts
2// This ensures the module augmentation in global.ts is processed by TypeScript
3export type { QueryCollectionMeta } from './global'
4​
5export {
6 queryCollectionOptions,
7 type QueryCollectionConfig,
8 type QueryCollectionUtils,
9 type SyncOperation,
10} from './query'
11​
12export * from './errors'
13​
14export { createCursorPager } from './cursor-pagination'
15export type {
16 CursorPage,
17 CursorPager,
18 CursorPagerOptions,
19} from './cursor-pagination'
20​
21// Re-export expression helpers from @tanstack/db
22export {
23 parseWhereExpression,
24 parseOrderByExpression,
25 extractSimpleComparisons,
26 parseLoadSubsetOptions,
27 extractFieldPath,
28 extractValue,
29 walkExpression,
30 type FieldPath,
31 type SimpleComparison,
32 type ParseWhereOptions,
33 type ParsedOrderBy,
34} from '@tanstack/db'