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

index.ts

22 lines700 Bytes

1// Re-export all public APIs
2export { useLiveQuery } from './useLiveQuery'
3export type {
4 ConditionalUseLiveQueryConfig,
5 UseConditionalLiveQueryResult,
6 UseLiveQueryConfig,
7 UseLiveQueryResult,
8 UseLiveQueryStatus,
9} from './useLiveQuery'
10export { useLiveInfiniteQuery } from './useLiveInfiniteQuery'
11export type {
12 UseLiveInfiniteQueryConfig,
13 UseLiveInfiniteQueryReturn,
14 UseLiveInfiniteQueryReturnWithCollection,
15} from './useLiveInfiniteQuery'
16​
17// Re-export everything from @tanstack/db
18export * from '@tanstack/db'
19​
20// Re-export some stuff explicitly to ensure the type & value is exported
21export type { Collection } from '@tanstack/db'
22export { createTransaction } from '@tanstack/db'