createdAt is the time when this revision was created.
description is a detailed explanation of this revision.
id is the unique identifier of the revision.
label is a user-friendly name for this revision.
snapshot is the serialized document content in YSON format at this revision point.
Use YSON.parse() to convert this string to a typed JavaScript object:
import { YSON } from 'yorkie-js-sdk';
const snapshot = YSON.parse(revision.snapshot);
RevisionSummaryrepresents a document revision for version management. It stores a snapshot of document content at a specific point in time, enabling features like rollback, audit, and version history tracking.