Public function

Signature
function createBindingPropsMigrationIds<
  S extends string,
  T extends Record<string, number>,
>(
  bindingType: S,
  ids: T
): {
  [k in keyof T]: `com.tldraw.binding.${S}/${T[k]}`
}
Parameters
NameDescription

bindingType

S

ids

T
Returns
{
  [k in keyof T]: `com.tldraw.binding.${S}/${T[k]}`
}
Source

packages/tlschema/src/records/TLBinding.ts

createBindingIdcreateBindingPropsMigrationSequence