shapeIdValidator
Validator for shape IDs, ensuring they follow the "shape:" format.
shapeIdValidator: T.Validator<TLShapeId>;Example
const validId = shapeIdValidator.validate("shape:abc123"); // ✓
const invalidId = shapeIdValidator.validate("page:abc123"); // ✗ throws errorPrev
scribbleValidatorNext
textShapeMigrations