Validate your TypeScript data with Zod schemas.
Recent revisions are kept. Restoring one creates a new revision.