Skip to content

ManagerMetadata

Defined in: packages/core/src/types.ts:60

Metadata used for Optimistic Concurrency Control and schema validation.

dataVersion: number

Defined in: packages/core/src/types.ts:65

Monotonically increasing number representing the version of the data. Used to detect write conflicts in async adapters.


schemaVersion: number

Defined in: packages/core/src/types.ts:70

The version of the schema that the data adheres to. Used to trigger migrations.