API reference › @evolu/common › local‑first/Evolu

Local-first platform.

Core

NameDescription
EvoluA local-first SQL database.
DevicePersistenceWhether this device keeps an Evolu database, stating only what Evolu knows for sure.
EvoluErrorRepresents app-level errors that can occur in Evolu.
UnuseOwnerFunction returned by Evolu.useOwner to stop using an Owner for sync.
maxMutationSizeThe largest Mutation, in bytes.

Configuration

NameDescription
AppNameErrorError produced when a value is not a valid AppName.
EvoluConfigConfiguration for createEvolu.
AppNameApplication name.
AppNameApplication name.

Construction

NameDescription
EvoluErrorDepDependency wrapper for the shared EvoluError store.
RequestPersistentStorageDepAsks the platform to keep stored databases until the user deletes them.
SyncStateDepDependency wrapper for the shared SyncState store.
EvoluDepsShared platform dependencies for creating Evolu instances.
EvoluPlatformDepsPlatform-specific dependencies required to create EvoluDeps.
createEvoluCreates an Evolu instance from EvoluSchema and EvoluConfig.
createEvoluDepsCreates shared dependencies used by all createEvolu instances on a platform.

Testing

VariableDescription
testAppNameStable valid AppName for tests and examples.