{"draft":null,"from":4,"to":5,"files":[{"path":"client/src/issues-wire.ts","added":12,"removed":1,"diff":"--- a/client/src/issues-wire.ts\n+++ b/client/src/issues-wire.ts\n@@ -45,8 +45,19 @@\n \tkind: \"comment\" | \"objection\";\n \ttext: string;\n \tat: number;\n+\t/** Images it carries (abso issue 171); left out when none. */\n+\tattachments?: Attachment[];\n }\n \n+/** An image on an issue or comment (abso issue 171): GET /p/:project/attachments/<id> serves it. */\n+export interface Attachment {\n+\t/** \"a\" and the first 12 hex of its sha256: what a text points at. */\n+\tid: string;\n+\tname: string;\n+\ttype: string;\n+\tsize: number;\n+}\n+\n export interface Ask {\n \tid: number;\n \t/** The issue it's on; none for a decision that belongs to no issue. */\n@@ -74,7 +85,7 @@\n }\n \n export interface IssuePage {\n-\tissue: IssueRow & { description: string; lines: Lines | null; watchers: string[] };\n+\tissue: IssueRow & { description: string; lines: Lines | null; watchers: string[]; attachments?: Attachment[] };\n \tcomments: Comment[];\n \tedits: Edit[];\n \tasks: Ask[];"}],"unmatched":[]}