Inspect and update your Figma designs with scripts.
Recent revisions are kept. Restoring one creates a new revision.