Type Alias: Change

Change = Selectable<ChangeView>

Change type with parsed snapshot_content as a JavaScript object.

This is the standard change type used throughout the application when working with business logic. The snapshot_content field is automatically parsed from JSON into a JavaScript object for easy manipulation.

Example

const change: LixChange = {
  id: "change-123",
  entity_id: "entity-456",
  // ... other fields
  snapshot_content: { key: "value" } // Parsed JavaScript object
};
ON THIS PAGE