message: Allow Transient References on Removed Segments
diff: @@ -2549,8 +2549,9 @@ export class MergeTree {
  client: Client,
  ): LocalReferencePosition {
  if (isRemoved(segment)) {
  - if (!refTypeIncludesFlag(refType, ReferenceType.SlideOnRemove)) {
  - throw new UsageError("Can only create SlideOnRemove local reference position on a removed segment");
  + if (!refTypeIncludesFlag(refType, ReferenceType.SlideOnRemove | ReferenceType.Transient)) {
  + throw new UsageError(
  + "Can only create SlideOnRemove or Transient local reference position on a removed segment");
  }
  }
  const localRefs = segment.localRefs ?? new LocalReferenceCollection(segment);
  