feat: store AP note extensions in JSONB and render movies-diary posts as rich cards

This commit is contained in:
2026-05-24 04:29:04 +02:00
parent f4932af2ba
commit 5097c91261
17 changed files with 227 additions and 9 deletions

View File

@@ -12,6 +12,7 @@ thiserror = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
futures = { workspace = true }
url = { workspace = true }
bytes = { workspace = true }

View File

@@ -21,6 +21,7 @@ pub struct Thought {
pub local: bool,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
pub note_extensions: Option<serde_json::Value>,
}
impl Visibility {
@@ -69,6 +70,7 @@ impl Thought {
local: true,
created_at: Utc::now(),
updated_at: None,
note_extensions: None,
}
}
}