summaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-11-18 19:17:52 +0100
committermetamuffin <metamuffin@disroot.org>2024-11-18 19:17:59 +0100
commit3519e5669313ae4fa28774e81168c142954034c1 (patch)
tree32c69e7d22477546ea2895da086ef515b7d9e90c /test-client/protocol.ts
parent942bc6d2157fefa6ea3adefb54ef8aa0bf949b9d (diff)
downloadhurrycurry-3519e5669313ae4fa28774e81168c142954034c1.tar
hurrycurry-3519e5669313ae4fa28774e81168c142954034c1.tar.bz2
hurrycurry-3519e5669313ae4fa28774e81168c142954034c1.tar.zst
many more document elements
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index 55d2fc15..25d33cb5 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -110,3 +110,7 @@ export type DocumentElement =
| { t: "par", es: DocumentElement[] }
| { t: "text", s: Message, size: number, color?: string, font?: string, bold: boolean }
| { t: "conditional", cond: string, value: boolean, e: DocumentElement }
+ | { t: "label", id: string, e: DocumentElement }
+ | { t: "ref", id: string, e: DocumentElement }
+ | { t: "container", es: DocumentElement[] }
+ | { t: "align", dir: "flow_end" | "bottom", e: DocumentElement }