diff --git a/httpd-client/lib/project/comment.ts b/httpd-client/lib/project/comment.ts index 6bd1f5a1e..78a3f5437 100644 --- a/httpd-client/lib/project/comment.ts +++ b/httpd-client/lib/project/comment.ts @@ -8,6 +8,14 @@ export const commentSchema = object({ id: string(), author: object({ id: string(), alias: string().optional() }), body: string(), + edits: array( + object({ + author: object({ id: string(), alias: string().optional() }), + body: string(), + embeds: array(object({ name: string(), content: string() })), + timestamp: number(), + }), + ), embeds: array(object({ name: string(), content: string() })), reactions: array(tuple([string(), string()])), timestamp: number(), diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index 2af1f4b09..7f5a03b24 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -1,5 +1,5 @@