sveltekit-sync
Version:
Local-first sync engine for SvelteKit
13 lines (12 loc) • 711 B
JavaScript
// Core sync engine
export { SyncEngine, CollectionStore } from './client/sync.svelte.js';
// Real-time and Presence
export { SyncChannel } from './client/channel.svelte.js';
export { PresenceStore } from './client/presence.svelte.js';
export { RealtimeClient } from './realtime/client.js';
// Hooks
export { usePresence } from './client/hooks/usePresence.svelte.js';
// Awareness Utilities
export { useCursorTracking, useSelectionTracking, useWhoIsHere } from './client/awareness/index.js';
export { QueryBuilder } from './client/query/index.js';
export { eq, ne, gt, gte, lt, lte, inArray, notInArray, contains, startsWith, endsWith, between, isNull, isNotNull, and, or, not } from './client/query/index.js';