lix 0.12.1

Embeddable version control for apps and AI agents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::changelog::{ChangeId, ChangeRecord};
use crate::row_pk::RowPk;

pub(crate) fn test_change_record() -> ChangeRecord {
    ChangeRecord {
        format_version: 1,
        change_id: ChangeId::for_test_label("change-1"),
        account_id: crate::ANONYMOUS_ACCOUNT_ID.to_string(),
        schema_key: "message".to_string(),
        row_pk: RowPk::single("row-1"),
        file_id: Some("file-1".to_string()),
        snapshot: crate::json_store::JsonSlot::None,
        metadata: crate::json_store::JsonSlot::None,
        created_at: crate::common::LixTimestamp::expect_parse("created_at", "2026-05-12T00:00:00Z"),
        origin_key: None,
    }
}