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 35ce937a1..803eda640 100644
--- a/internal/ap/interfaces.go
+++ b/internal/ap/interfaces.go
@@ -40,6 +40,7 @@ type Accountable interface {
WithFollowers
WithFeatured
WithManuallyApprovesFollowers
+ WithEndpoints
}
// Statusable represents the minimum activitypub interface for representing a 'status'.
@@ -337,3 +338,8 @@ type WithItems interface {
type WithManuallyApprovesFollowers interface {
GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty
}
+
+// WithEndpoints represents a Person or profile with the endpoints property
+type WithEndpoints interface {
+ GetActivityStreamsEndpoints() vocab.ActivityStreamsEndpointsProperty
+}