feat: playback where I left off

This commit is contained in:
talksik
2026-03-19 11:24:41 -07:00
parent 71dd0149bc
commit c43f66d915
5 changed files with 71 additions and 32 deletions
+2 -2
View File
@@ -136,8 +136,8 @@ export const ParticleSchema = z.discriminatedUnion("type", [
// e.g. ["human:[email protected]", "human:[email protected]"] - visible only to Aron and John
// e.g. ["network:123"] - visible to everyone in the network
visible_to: z.array(z.string()),
// Marks emails to their `playback_position_at`: where they left off in a conversation
markers: z.record(z.string(), z.coerce.date()).optional(),
// Marks human_id to their `playback_position_at`: where they left off in a conversation
playback_markers: z.record(z.string(), z.coerce.date()).optional(),
// Timestamp of the most recent child particle
// used for sorting streams by recent activity without needing to query subcollections
last_child_created_at: z.coerce.date().optional(),