Add Preview field to Object

This supports the `preview` AS2 attribute to support short-form previews
for `article`s, per FEP-b2b8.
This commit is contained in:
Matt Baer
2025-05-07 17:52:29 -04:00
parent d476017273
commit 344c4299f8
+1
View File
@@ -123,6 +123,7 @@ type Object struct {
ContentMap map[string]string `json:"contentMap,omitempty"`
Tag []Tag `json:"tag,omitempty"`
Attachment []Attachment `json:"attachment,omitempty"`
Preview *Object `json:"preview,omitempty"`
// Person
Inbox string `json:"inbox,omitempty"`