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

index.ts

12 lines489 Bytes

1// Re-export all public APIs
2export * from './useLiveQuery.svelte.js'
3export * from './useLiveInfiniteQuery.svelte.js'
4export { useDbClient, useOptionalDbClient } from './db-context.js'
5export { default as DbProvider } from './DbProvider.svelte'
6​
7// Re-export everything from @tanstack/db
8export * from '@tanstack/db'
9​
10// Re-export some stuff explicitly to ensure the type & value is exported
11export type { Collection } from '@tanstack/db'
12export { createTransaction } from '@tanstack/db'