diff --git a/schema/memory.capnp b/schema/memory.capnp index 7fbdfb4..d65c581 100644 --- a/schema/memory.capnp +++ b/schema/memory.capnp @@ -31,6 +31,9 @@ struct ContentNode { # Spaced repetition lastReplayed @17 :Float64; # unix epoch spacedRepetitionInterval @18 :UInt32; # days: 1, 3, 7, 14, 30 + + # Section ordering within a file + position @19 :UInt32; # 0 = file-level, 1+ = section index } enum NodeType { diff --git a/src/capnp_store.rs b/src/capnp_store.rs index 4e5b647..d183bd1 100644 --- a/src/capnp_store.rs +++ b/src/capnp_store.rs @@ -1106,7 +1106,7 @@ fn read_content_node(r: memory_capnp::content_node::Reader) -> Result Result {