diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-09 19:54:57 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-09 19:54:57 +0200 |
| commit | 5b8e532bb15261eb2822bce8a7f44c5a40553df0 (patch) | |
| tree | b32373a164c80e9c7c6bf05224b4760c2ac50a81 | |
| parent | 5fc3e332b46dc1bee3bfc9b67200069291ce2301 (diff) | |
| download | hurrycurry-5b8e532bb15261eb2822bce8a7f44c5a40553df0.tar hurrycurry-5b8e532bb15261eb2822bce8a7f44c5a40553df0.tar.bz2 hurrycurry-5b8e532bb15261eb2822bce8a7f44c5a40553df0.tar.zst | |
Add missing title to text book page types
| -rw-r--r-- | test-client/protocol.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |