summaryrefslogtreecommitdiff
path: root/internal/ap/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ap/interfaces.go')
-rw-r--r--internal/ap/interfaces.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go
index a20f39bd2..da7e001db 100644
--- a/internal/ap/interfaces.go
+++ b/internal/ap/interfaces.go
@@ -133,6 +133,12 @@ type Announceable interface {
WithCC
}
+// Addressable represents the minimum interface for an addressed activity.
+type Addressable interface {
+ WithTo
+ WithCC
+}
+
// CollectionPageable represents the minimum interface for an activitystreams 'CollectionPage' object.
type CollectionPageable interface {
WithJSONLDId