Public function

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

shapeType

S

ids

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

packages/tlschema/src/records/TLShape.ts

createShapeIdcreateShapePropsMigrationSequence