Table of contents
interface SerializedSchemaV1 {}

Properties

recordVersions

Record versions are the versions for each record type. e.g. adding a new field to a record

recordVersions: Record<
  string,
  | {
      subTypeKey: string
      subTypeVersions: Record<string, number>
      version: number
    }
  | {
      version: number
    }
>

schemaVersion

Schema version is the version for this type you're looking at right now

schemaVersion: 1

storeVersion

Store version is the version for the structure of the store. e.g. higher level structure like removing or renaming a record type.

storeVersion: number

RecordsDiffSerializedSchemaV2