feat(P4B.T2): WhiteboardPayload + shared whiteboards CRUD wrappers + tests

Adds WhiteboardPayload wire-format variant to MessagePayload/ParsedMessagePayload,
creates the whiteboards.ts CRUD wrapper (createWhiteboard, listWhiteboardStrokes,
insertWhiteboardStroke, clearWhiteboardStrokes), writes 5 unit tests (38/38 pass),
re-exports from chat/index.ts, and registers conversation_whiteboards +
whiteboard_strokes in packages/db-types so typecheck passes cleanly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
byGalax
2026-05-16 20:23:45 +02:00
parent f95858c703
commit 3df7cc01ea
5 changed files with 301 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ export * from './userKeyMigration';
export * from './pinnedMessages';
export * from './mentions';
export * from './viewOnceAttachments';
export * from './whiteboards';
// ----- RPC wrappers ---------------------------------------------------------