UNPKG

crann

Version:

Effortless State Synchronization for Web Extensions

17 lines (16 loc) 997 B
/** * Crann v2 - Effortless State Synchronization for Web Extensions * * Main entry point for the Crann library. */ export { Store, createStore } from "./store"; export { createConfig } from "./store"; export { clearOrphanedData } from "./store"; export { Scope, Persist } from "./store"; export { Agent, connectStore } from "./agent"; export type { ConfigSchema, ValidatedConfig, StateItemDefinition, ActionDefinition, ActionsDefinition, ActionContext, ActionHandler, DerivedState, DerivedSharedState, DerivedAgentState, DerivedActions, StateChanges, StateChangeListener, StoreOptions, AgentOptions, ConnectionStatus, AgentConnectionInfo, ScopeType, PersistType, } from "./store"; export type { AgentAPI, StateSubscriber } from "./agent"; export { CrannError, ConfigError, ActionError, LifecycleError, ValidationError, } from "./errors"; export { create, Crann } from "./crann"; export { connect, connected } from "./crannAgent"; export { Partition, Persistence } from "./model/crann.model";