summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go')
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
index 3359b9df7..80b87ea43 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
@@ -3,13 +3,22 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// GoToSocialGoToSocialAnnounceApprovalExtends returns true if AnnounceApproval
+// extends from the other's type.
+func GoToSocialGoToSocialAnnounceApprovalExtends(other vocab.Type) bool {
+ return typeannounceapproval.GoToSocialAnnounceApprovalExtends(other)
+}
+
// GoToSocialGoToSocialCanAnnounceExtends returns true if CanAnnounce extends from
// the other's type.
func GoToSocialGoToSocialCanAnnounceExtends(other vocab.Type) bool {
@@ -33,3 +42,15 @@ func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool {
func GoToSocialGoToSocialInteractionPolicyExtends(other vocab.Type) bool {
return typeinteractionpolicy.GoToSocialInteractionPolicyExtends(other)
}
+
+// GoToSocialGoToSocialLikeApprovalExtends returns true if LikeApproval extends
+// from the other's type.
+func GoToSocialGoToSocialLikeApprovalExtends(other vocab.Type) bool {
+ return typelikeapproval.GoToSocialLikeApprovalExtends(other)
+}
+
+// GoToSocialGoToSocialReplyApprovalExtends returns true if ReplyApproval extends
+// from the other's type.
+func GoToSocialGoToSocialReplyApprovalExtends(other vocab.Type) bool {
+ return typereplyapproval.GoToSocialReplyApprovalExtends(other)
+}