ManagerMetadata
Defined in: packages/core/src/types.ts:82
Metadata used for Optimistic Concurrency Control and schema validation.
Properties
Section titled “Properties”dataVersion
Section titled “dataVersion”dataVersion:
number
Defined in: packages/core/src/types.ts:87
Monotonically increasing number representing the version of the data. Used to detect write conflicts in async adapters.
schemaVersion
Section titled “schemaVersion”schemaVersion:
number
Defined in: packages/core/src/types.ts:92
The version of the schema that the data adheres to. Used to trigger migrations.