From 5b8e532bb15261eb2822bce8a7f44c5a40553df0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 9 Oct 2025 19:54:57 +0200 Subject: Add missing title to text book page types --- test-client/protocol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-client/protocol.ts b/test-client/protocol.ts index 0a62f557..ad7c4352 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -120,7 +120,7 @@ export interface Book { pages: BookPage[] } export type BookPage = { page_type: "cover" } | { page_type: "contents", table: [Message, number][] } - | { page_type: "text", paragraphs: Message[] } + | { page_type: "text", title: Message, paragraphs: Message[] } | { page_type: "recipe", descriptions: Message, diagram: Diagram } export interface Diagram { -- cgit v1.3