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, 4 insertions, 2 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go
index 28b5c0d20..faf793bd8 100644
--- a/internal/ap/interfaces.go
+++ b/internal/ap/interfaces.go
@@ -755,8 +755,10 @@ type WithInteractionPolicy interface {
// WithPolicyRules represents an activity with always and approvalRequired properties.
type WithPolicyRules interface {
- GetGoToSocialAlways() vocab.GoToSocialAlwaysProperty
- GetGoToSocialApprovalRequired() vocab.GoToSocialApprovalRequiredProperty
+ GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty
+ GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty
+ GetGoToSocialAlways() vocab.GoToSocialAlwaysProperty // Deprecated
+ GetGoToSocialApprovalRequired() vocab.GoToSocialApprovalRequiredProperty // Deprecated
}
// WithApprovedBy represents a Statusable with the approvedBy property.