arrowBindingVersions

See source code

Version identifiers for arrow binding property migrations. Each version represents a schema change that requires data migration.

arrowBindingVersions: {
  AddSnap: `com.tldraw.binding.arrow/${number}`
}

Example

// Check if migration is needed
if (bindingVersion < arrowBindingVersions.AddSnap) {
  // Apply AddSnap migration
}
Prev
arrowBindingProps
Next
ArrowShapeArrowheadEndStyle