locorda library
Classes
- Auth
- Abstract authentication interface for Solid Pod access.
- AuthValueListenable
- CrdtImmutable
- Annotation for immutable properties that never change.
- CrdtIndexConfig
- CrdtLwwRegister
- Annotation for Last-Writer-Wins Register merge strategy.
- CrdtOrSet
- Annotation for Observed-Remove Set merge strategy.
- DriftMainHandler
- Main-thread plugin handler for the Drift (SQLite) sync storage backend.
- FilePerResource
- One file per resource — graph format (default: Turtle).
- FullIndexConfig
- GroupIndexConfig
- GroupingPropertyData
- GroupKey
- Annotation for GroupIndex key classes that organize root resources into logical groups for partitioned indexing.
- IndexItem
- Annotation for index item (entry) classes that represent projections of root resources within indices.
- IndexItemConfig
- IndexItemIriStrategy
- InMemoryStorageMainHandler
- Locorda
- Main facade for the locorda system.
- LocordaConfig
- LocordaDriftNativeOptions
- LocordaDriftOptions
- Unified options for the Drift storage backend.
- LocordaDriftWebOptions
- Options for web-based Drift databases.
- LocordaGraph
- Graph-based facade for CRDT sync with direct RDF access.
- LocordaStatusDefaults
- Default implementations for LocordaStatusWidget customization.
- LocordaStatusState
- Immutable state representing current authentication and sync status.
- LocordaStatusWidget
- A combined authentication and sync status widget for the app bar.
- LocordaUILocalizations
-
Callers can lookup localized strings with an instance of LocordaUILocalizations
returned by
LocordaUILocalizations.of(context). - MainHandler
- Plugin interface for main-thread components that interact with worker.
- MergeIdentifying
- Annotation to mark a property as identifying for a local resource (blank node).
- MultiBackendStatusWidget
- Unified status widget for multiple storage backends.
- ObjectSyncEngine
- Object-oriented facade for CRDT sync operations with automatic RDF mapping.
- RegexTransformData
- Defines how a property should be used for grouping in a GroupIndex.
- RemoteMainHandler
- Main-thread handler for remote backend communication.
- RemoteStorageLayout
- Storage layout determining how resources are organized on the remote.
- RemoteUiAdapter
- UI adapter for remote storage backends.
- ResourceConfig
- RootIriStrategy
- RootResource
- Annotation for top-level RDF resources with CRDT synchronization.
- RootResourceFetchPolicy
- Controls whether root resources referenced by an index are proactively fetched from remotes during sync, or only when explicitly requested.
- RootResourceRef
- ShardDataset
- All resources in one dataset file per shard — dataset format (default: TriG).
- SimpleConfigService
- Simple config service for testing that doesn't listen to remote changes.
- SingleFile
- All shards and resources in a single dataset file — dataset format (default: TriG).
- StandardSyncEngine
- Main facade for the locorda system.
- StandardSyncManager
- Manager for coordinating synchronization operations with reactive status updates.
- StorageMainHandler
- Main-thread handler for local storage backend.
- SubIriStrategy
- SubResource
- Annotation for nested RDF resources within a root resource.
- SyncEngine
- Main facade for the locorda system.
- SyncEngineConfig
- SyncManager
- SyncRefreshIndicator
- A RefreshIndicator wrapper that integrates with Locorda's SyncManager.
- UiAdapterRegistry
- Central registry for remote backend UI adapters.
Constants
- defaultIndexLocalName → const String
Typedefs
- MainHandlerFactory = MainHandler Function(MainHandlerContext workerHandle)
- Factory for creating worker plugins with access to the worker handle.
- MapperInitializerFunction = RdfMapper Function(MappingContext context)
- Type alias for mapper initializer functions.
-
TypedHydrationBatch<
T> = ({String? cursor, List< String> deletions, List<T> updates}) -
Type alias for a hydration batch with decoded objects of type
T.