From 3dc7644ae6bdbfbae2e126896937e322247b5b33 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 6 Oct 2021 18:18:02 +0200 Subject: Derive visibility fixes (#271) * use pub public const * don't error on no summary * move extract visibility to separate function * extract visibility test * add addressable interface --- internal/ap/interfaces.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/ap/interfaces.go') 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 -- cgit v1.2.3