blob: 80b87ea438ba7ecb085b3cfcc2485ee385ec5122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
// Code generated by astool. DO NOT EDIT.
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 {
return typecanannounce.GoToSocialCanAnnounceExtends(other)
}
// GoToSocialGoToSocialCanLikeExtends returns true if CanLike extends from the
// other's type.
func GoToSocialGoToSocialCanLikeExtends(other vocab.Type) bool {
return typecanlike.GoToSocialCanLikeExtends(other)
}
// GoToSocialGoToSocialCanReplyExtends returns true if CanReply extends from the
// other's type.
func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool {
return typecanreply.GoToSocialCanReplyExtends(other)
}
// GoToSocialGoToSocialInteractionPolicyExtends returns true if InteractionPolicy
// extends from the other's type.
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)
}
|