Skip to main content
Version: 1.x.x

Data Version

quip.apps.Record.DATA_VERSION

Optional static field that defines the data version that new Records of this type should be created with.

quip.apps.Record.prototype

getDataVersion

Function() => number

Returns a number representing the version for the data schema this Record was written with. Can be used to help the developer differentiate between Record data written with different versions of code. Reflects the data version specified on the class at Record creation or through calls to setDataVersion(). If a data version was unspecified, this returns 0.

setDataVersion

Function(version: number) => void

Updates the data version associated with this Record instance.