feat(core): hubs, tag pages and types, with ffi, history and import support

Hubs and templates are page kinds; tags are pages of kind tag linked by a TAGGED
edge; types are plain names on the page. Schema v5. Snapshots carry
synapse-kind/tags/types. Also adapts search, import and server tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-26 02:45:22 +01:00
1 parent 91a8276966
commit b800248d67
35 files changed
+7983 -141

No files matched your search

+4 -2
View File
@@ -318,7 +318,8 @@ impl Search {
Some(d) => (day_of_date(d), true),
None => (day_of_ms(p.updated_at), false),
};
self.ft.upsert_page(id, &p.title, &aliases, day, journal)?;
self.ft
.upsert_page(id, &p.title, &aliases, &p.description, day, journal)?;
}
None => {
self.ft.delete(id);
@@ -350,7 +351,8 @@ impl Search {
Some(d) => (day_of_date(d), true),
None => (day_of_ms(p.updated_at), false),
};
self.ft.upsert_page(p.id, &p.title, &al, day, journal)?;
self.ft
.upsert_page(p.id, &p.title, &al, &p.description, day, journal)?;
}
}
Ok(())