From 7dde692101a7e36e0a431aeb864cbf3a0c0e96f8 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 31 Jan 2020 19:43:24 +0100 Subject: compiler: add thumbnail size to index --- design-notes.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'design-notes.md') diff --git a/design-notes.md b/design-notes.md index 91764cc..d59f511 100644 --- a/design-notes.md +++ b/design-notes.md @@ -143,7 +143,14 @@ Serialised item structure: ], "path": "[resource path]", - "thumbnail": "[resource path | null]", + + "thumbnail": null | { + "resource": "[resource path]", + "resolution": { + "width": 400, + "height": 200 + } + }, "_comment": "type-dependent", -- cgit v1.2.3