ManagerMetadata
Defined in: packages/core/src/types.ts:60
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:65
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:70
The version of the schema that the data adheres to. Used to trigger migrations.