Skip to content

RenameOperation

Rename operation accepted by client.commit.apply (#4848). Rewrites a thing’s or shape’s name in place — a version-less metadata op that records a from→to event but mints no new body version.

https://docs.warmhub.ai/writes/operations/#rename-operations

operation: "rename"

Operation discriminator. Required.


name: string

Current target: Shape/oldName for a thing/assertion, or the plain shape name for a shape.


newName: string

New bare name — within the same shape for a thing/assertion, or the new shape name for a shape rename.


optional kind?: "shape" | "thing" | "assertion" | "collection"

Optional kind safety hint: thing, assertion, shape, or collection.