Keep your NestJS app modular and inputs validated.
Recent revisions are kept. Restoring one creates a new revision.